PHP question RH Linux ---a bit ot---
Jason
jason at kernbuilt.com
Thu Nov 6 13:28:44 EST 2003
All,
Trying to run an upload script.
<?php
if ($userfile=="none")
{
echo "Problem: no file uploaded";
exit;
}
if (move_uploaded_file($userfile,"/here/".$userfile_name))
{
echo "your file was loaded successfully";
exit;
}
else
{
echo "nope";
}
?>
A look at the configuration /etc/php.ini of PHP4.1.2 shows "no value" for
upload_tmp_dir should I change this to a proper path? if so do I have to
restart anything?
Any hints?
Jason
More information about the gnhlug-discuss
mailing list