thnx yet again pal .....
> No probs buddy.
> Perhaps you have an IM program loaded?
mmmmm do u mean instant messenger thinggy ....
ya ive got it on my machine ....
is THAT hinderrin my file upload sumhow ????
:S
2ndly ..... move_uploaded_file() aint workin either .....
i keep gettin the same god fo saken error .....
:(
:'(
i ve gotta make dis creepy upload thinggy work ....
else im doomed .... :'(
vat else can i try ????
thnx a mill .....
despreate as ever ...
toby ......
--- Dash McElroy <[EMAIL PROTECTED]> wrote: > Toby,
>
> Your ISP may be using 'safe_mode'. Try the move_uploaded_file
> function()
> instead of copy(). This is taken off php.net/move_uploaded_file:
>
> Note: move_uploaded_file() is not affected by the normal
> safe-mode
> UID-restrictions. This is not unsafe because move_uploaded_file()
> only
> operates on files uploaded via PHP.
>
> Hope this helps...
>
> -Dash
>
> *** NEWSFLASH ***
> Russian tanks steamrolling through New Jersey!!!! Details at
> eleven!
>
> On Sun, 24 Nov 2002, [iso-8859-1] toby z wrote:
>
> > Hi all
> > I am trying to upload a file. It works fine on my local Apache,
> but
> > gives me "Permission denied to create file" error on my online
> host..
> > Any clue???
> >
> > $file = $_FILES['userfile']['tmp_name'];
> > if (is_uploaded_file($file))
> > print_r("Copying ".$file);
> > if (copy($file, "./files/". $_FILES['userfile']['name']))
> > echo("Success");
> >
> > else
> > echo("Failure");
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php