Re: [PHP] help with fopen path

2004-11-09 Thread James McGlinn
Hi Giles, I'm developing a fusebox PHP app and have a class in a /classes directory that opens an xml file in a directory below the site root using this path: "../siteconfig.xml" All of the places I have used this class from so far have been in the site root. I am now starting some pages in a sub d

RE: [PHP] help with fopen path

2004-11-09 Thread Graham Cossey
> -Original Message- > From: Giles Roadnight [mailto:[EMAIL PROTECTED] > Sent: 09 November 2004 13:07 > To: [EMAIL PROTECTED] > Subject: [PHP] help with fopen path > > > Hi All > > I'm developing a fusebox PHP app and have a class in a /classes >

Re: [PHP] help with fopen path

2004-11-09 Thread Marek Kilimajer
Giles Roadnight wrote: Hi All I'm developing a fusebox PHP app and have a class in a /classes directory that opens an xml file in a directory below the site root using this path: "../siteconfig.xml" All of the places I have used this class from so far have been in the site root. I am now starti

[PHP] help with fopen path

2004-11-09 Thread Giles Roadnight
Hi All I'm developing a fusebox PHP app and have a class in a /classes directory that opens an xml file in a directory below the site root using this path: "../siteconfig.xml" All of the places I have used this class from so far have been in the site root. I am now starting some pages in a sub

[PHP] HELP with fOpen

2002-08-02 Thread Shane
No lock in the archives, so here it goes... Greetings all, I am using fOpen to try and create a new file in a local directory on a remote server. Each time I run my script is says "PERMISSION DENIED" but the sys admin swears the entire directory is set to 777. Does anyone know if a setting has

Re: [PHP] Help with fopen please.

2002-08-01 Thread eat pasta type fasta
check chmods, if the directory where you're saving the $fd2 is not 777 then it wont write, keep in mind it's a security issue however, use /tmp or instead of indicating paths in the file itself have include("file with the path to the dir") instead and put that .inc file off the reach of apache

Re: [PHP] Help with fopen please.

2002-08-01 Thread Michael Sweeney
Shane, You haven't told us what the problem is, only that you're having trouble making it work. How is it not working? One other question: I have to assume that the script is running on a different server than the one your are trying to write to (otherwise, why use ftp?) - are you sure that the ft

[PHP] Help with fopen please.

2002-07-31 Thread Shane
Looked in the archive and manual and came up with no luck, so here it goes. My end result is to save the output of a PHP script as an HTML file in a specified directory on a WIN2K server. my script is such... http://myserver.net/extranet/archive.php?jobid=1";; $fd = fopen( $filename, "r" );