You are working with Register globals turned off, so try
is_upload_file($_FILES['tmp_name']['filename'])
bill wrote:
I'm converting old code to work with Register globals turned off in php.ini.
With it on, is_upload_file($filename) works fine but when turned off doesn't
work at all.
What am I mis
bill wrote:
I'm converting old code to work with Register globals turned off in php.ini.
With it on, is_upload_file($filename) works fine but when turned off doesn't
work at all.
What am I missing.. Help me please !!
...the "Handling file uploads" section of the manual.
http://www.php.net/manual
http://us3.php.net/features.file-upload
--- bill <[EMAIL PROTECTED]> wrote:
> I'm converting old code to work with Register
> globals turned off in php.ini.
> With it on, is_upload_file($filename) works fine but
> when turned off doesn't
> work at all.
>
> What am I missing.. Help me please !!
>
I'm converting old code to work with Register globals turned off in php.ini.
With it on, is_upload_file($filename) works fine but when turned off doesn't
work at all.
What am I missing.. Help me please !!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
4 matches
Mail list logo