umeed hayyat wrote:
Hi
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'];
try:
$name = $_FILES['file1']['name'];
check if $name holds the correct img name
--
Sebastian Mendel
www.sebastianmendel.de
www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php