This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function LoadJpeg($imgname) | |
{ | |
/* オープンします */ | |
$im = @imagecreatefromjpeg($imgname); | |
/* 失敗したかどうかを調べます */ | |
if(!$im) | |
{ | |
/* 空の画像を作成します */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function LoadJpeg($imgname) | |
{ | |
/* オープンします */ | |
$im = @imagecreatefromjpeg($imgname); | |
/* 失敗したかどうかを調べます */ | |
if(!$im) | |
{ | |
/* エラーメッセージを出力します */ |
NewerOlder