Re: [PHP] copy() not working

2004-12-05 Thread Peter Lauri
Solution to the problem: instead of trying to write it to "/image/filename" I write it to "../image/filename", that solves my problem :) /Peter "Peter Lauri" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Thank you. Now I am getting somewhere, but I get this error-msg now, I d

Re: [PHP] copy() not working

2004-11-16 Thread Peter Lauri
Thank you. Now I am getting somewhere, but I get this error-msg now, I do not understand the content of it. Have tried to read about the Auth in PHP but I did not get any information to solve the problem: Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 113

Re: [PHP] copy() not working

2004-11-16 Thread Jason Wong
On Tuesday 16 November 2004 21:58, Peter Lauri wrote: > Is there anyone that see any errors in the problem? I have checked severeal > manuals and this is how it should be. Funny, the example(s) in the manual look quite different. Try the ones in the manual, when you get them working then modify

Re: [PHP] copy() not working

2004-11-16 Thread Burhan Khalid
On Tue, 2004-11-16 at 14:58 +0100, Peter Lauri wrote: > Best groupmember, > > I am implementing a script to upload a file to my webserver. I am using this > form that I copied from a working application: > [ snipped ] > To handle the form I am using this script... > > if($File) { > if(copy($Fi

Re: [PHP] copy() not working

2004-11-16 Thread Richard Davey
Hello Peter, Tuesday, November 16, 2004, 1:58:48 PM, you wrote: PL> if($File) { PL> if(copy($File, $File_name)) { PL>echo 'The image was not uploaded!'; PL> } else { PL>echo 'The file was not uploaded!'; PL> } PL> } PL> It does not even enter the if($File) part (checked it witch e