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-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

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

2003-07-11 Thread Marek Kilimajer
Message- From: 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

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 b

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

2003-07-11 Thread Steve Jackson
e- > From: 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: >

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
e 59 Any ideas people? Steve Jackson Web Development and Marketing Manager Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED] > Sent: 11. heinäkuuta 2003 11:47 > To: [EMAIL PRO

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 fa

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> gene

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 (t

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

2003-07-10 Thread Steve Jackson
> The root of the problem (pun intended) Oh dear! ;o) > is that you're trying to > write to the > root (/) directory which is usually only possible if you're the root user. > > Again, the question is _why_ do you need to write to the root directory? > Wouldn't your file function if it wasn't

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

2003-07-10 Thread Jason Wong
On Thursday 10 July 2003 21:04, Steve Jackson wrote: > > But _why_ do you need to write to the root directory? Why not > > just write to a directory where you *do* have permission to write to? > > I can already do that. > My problem is that I need to move or copy/delete the file from the place > I

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

2003-07-10 Thread Steve Jackson
> But _why_ do you need to write to the root directory? Why not > just write to a directory where you *do* have permission to write to? I can already do that. My problem is that I need to move or copy/delete the file from the place I do have permission to write to to the root. I have generated

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

2003-07-09 Thread Jason Wong
On Wednesday 09 July 2003 19:29, Steve Jackson wrote: > > Change the ownership on the directory to whichever user > > apache is running as (this is the User directive in your > > httpd.conf file). Then you can restrict the permissions on > > that directory. You could probably make it 600 if you wa

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

2003-07-09 Thread Steve Jackson
> On Tue, 2003-07-08 at 07:21, Steve Jackson wrote: > > If I set permissions of my server root to chmod 777 that's > a security > > risk right? How do I set my server to allow me to write a > file to my > > web root from another directory using PHP? Or is it a Unix problem? > > > > I have a ge

[PHP] PLEASE ASSIST

2003-06-16 Thread Princess Joy Mswati
Good day. My apologies for this message which might be termed "unsolicited" but it is borne out of a sheer desire to solicit for assistance that I send this message. I got your contact over the internet during my search for a partner. I want you to note that what I want to introduce to you will