Quote:
Originally Posted by jeroen
I can only think of the wrong image dir?
I'm working on a live server php5 and tried several things.
I created image with create_images_table.php
so in myphpadmin there is image and made a ftp dir images
check_image.php
//upload image and check for image type
$ImageDir ="localhost/httpdocs/jeroen/images/";
tried
$ImageDir ="http://www.hostname.com/httpdocs/jeroen/images/";
tried
$ImageDir ="~/images/";
ect
anyone can tell me what the correct $ImageDir is?
|
Try to make it relevent to the php file.
i.e. if the php file is saved in "localhost/httpdocs/jeroen", then just use:
$ImageDir ="images/";