Jump to content

Free Image Hosting Script error...please advise


tones_ie

Recommended Posts

Hi guys....  sorry my first post is a request for help but ive hit a brick wall....

 

i want to install an image uploading script.....found one i like here.... 

http://www.free-php-scripts.net/P/Free_Image_Hosting

 

installed just fine...followed instructions to the letter... 

http://www.mikalaerin.com/us/

 

when u try to upload an image i get errors show at top of page ( u have to drag the mouse to see them all cos of dark background color )

 

Warning: move_uploaded_file(http://www.mikalaerin.com/us/usUploads/0205a053) [function.move-uploaded-file]: failed to open stream: HTTP wrapper does not support writeable connections. in /home/mikala/public_html/us/incs/load_submits.php on line 84

 

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpvne09e' to 'http://www.mikalaerin.com/us/usUploads/0205a053' in /home/mikala/public_html/us/incs/load_submits.php on line 84

 

Warning: imagecreatefromjpeg(http://www.mikalaerin.com/us/usUploads/0205a053) [function.imagecreatefromjpeg]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/mikala/public_html/us/incs/load_functions.php on line 206

load_submits.php on line 84 (showing lines 81-87)

if($message == NULL){

$file_name_show =  strip_tags($_FILES['user_file']['name']);

$uploadfile = $image_dir . $file_name_is;

$check_upload = move_uploaded_file($_FILES['user_file']['tmp_name'], $uploadfile);

if($ENABLE_THUMB == 1 && $extension != 'swf'){

$check_thumb = make_thumb($file_name_is,$file_name_show,$THUMB_WIDTH,$THUMB_HEIGHT,$image_dir,$thumb_dir);

}

 

load_functions.php on line 206 ( showing lines 200 - 210 )

if ( strstr ( $filename_is, '.gif' ) )

        {

            $im = imagecreatefromgif( $path . $comp_name);

        }

        elseif ( preg_match( '/(.jpg|.jpeg)/i', $filename_is ))

        {

            $im = imagecreatefromjpeg( $path . $comp_name);

        }

        elseif ( preg_match( '/.png/i', $filename_is ))

        {

            $im = imagecreatefrompng( $path . $comp_name);                   

        }       

 

 

This is a test account i have so if more info or even access is needed please let me know......

 

appreciate any help anyone can give me....Thanks in advance

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.