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
> 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
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
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
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:
>
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);
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
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
>
> 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
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
> 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
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
> 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
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
> 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
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
16 matches
Mail list logo