RE: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-11 Thread Steve Jackson
Writing and moving require the same permissions. Also, there is a big difference between root and webroot. Which one are you talking about? Web root. Sorry not the root directory of the server but the webroot. 1 directory back in fact is all I need so the structure would be: Web Cms

Re: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-11 Thread Jason Wong
On Friday 11 July 2003 15:20, Steve Jackson wrote: Writing and moving require the same permissions. Also, there is a big difference between root and webroot. Which one are you talking about? Web root. Sorry not the root directory of the server but the webroot. 1 directory back in fact is

RE: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-11 Thread Steve Jackson
PROTECTED] Mobile +358 50 343 5159 -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: 11. heinäkuuta 2003 11:47 To: [EMAIL PROTECTED] Subject: Re: [PHP] Please assist - been on this for hours - Permissions onserver On Friday 11 July 2003 15:20, Steve Jackson

Re: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-11 Thread Marek Kilimajer
Write the file with ftp right away: // Define the filename to write to. $filename = 'ftp://username:[EMAIL PROTECTED]/your_webdir/test.txt'; // Open the file for overwriting. $fp = fopen($filename, w); // Write the string to the file $write = fputs($fp, $string); // Close the file fclose($fp);

RE: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-11 Thread Steve Jackson
PROTECTED] Sent: 11. heinäkuuta 2003 13:32 To: Steve Jackson Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Please assist - been on this for hours - Permissions onserver Write the file with ftp right away: // Define the filename to write to. $filename = 'ftp://username:[EMAIL PROTECTED

Re: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-11 Thread Jason Wong
On Friday 11 July 2003 18:54, Steve Jackson wrote: Same error. Warning: fopen(ftp://[EMAIL PROTECTED]/misc/webpage/cms/test.txt,w) - Inappropriate ioctl for device in /home/stephenj/public_html/misc/webpage/cms/generator.php on line 51 You *are* using the correct user/pass? It should be the

Re: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-11 Thread Marek Kilimajer
[mailto:[EMAIL PROTECTED] Sent: 11. heinäkuuta 2003 13:32 To: Steve Jackson Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Please assist - been on this for hours - Permissions onserver Write the file with ftp right away: // Define the filename to write to. $filename = 'ftp://username:[EMAIL PROTECTED

RE: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-11 Thread Steve Jackson
You *are* using the correct user/pass? It should be the same as what you use to upload files to your webroot. If you can't get this to work then try the ftp functions. Yes I am. Alternatively, you could consider storing them in a DB. Yes that's what I was thinking they only need put

Re: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-11 Thread Marek Kilimajer
Steve Jackson wrote: You *are* using the correct user/pass? It should be the same as what you use to upload files to your webroot. If you can't get this to work then try the ftp functions. Yes I am. Alternatively, you could consider storing them in a DB. Yes that's what I was thinking

Re: [PHP] Please assist - been on this for hours - Permissions onserver

2003-07-10 Thread Brad Pauly
Steve Jackson wrote: I don't particularly need to *write* to the root directory. I do need to move the file to the root directory though as it's part of a CMS system. I can write the file to a directory which is adequately protected, but there has to be a way to move the file after it is written