umeed hayyat wrote:
I have a form where user can add a category or edit some existing category. It is perfectly running on localhost but when i uploaded it to an ftp server (that was Linux based), it isnt displaying any images when i add any image through image uploading script, neither can i view any image on edit_category page, nor i can view when i change image while i edit any category.

if(isset($Upload)) {
 $uploaddir = '../images/categories/';
 $uploadfile = $uploaddir . $_FILES['file1']['name'];
 $name = $HTTP_POST_FILES['file1']['name'];


$name = $_FILES['file1']['name'];

check if $name holds the correct img name

Sebastian Mendel |

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to