Re: [PHP] outputting php file

2004-03-22 Thread Ryan A
Hey John, > Same as you write any other file, fopen, fwrite, fclose, etc, then send > the > appropriate headers to trigger a download of the file (discussed on > here > plenty of times). Yep, I got the working code to force a download from the list itself, but was outputting a file via readfile..

Re: [PHP] outputting php file

2004-03-22 Thread John W. Holmes
From: "Ryan A" <[EMAIL PROTECTED]> > I have a set of scripts that read off a config_inc.php file (eg: database, > username,password, admin_username,admin_pass etc), instead of the client > manually making the changes (with mistakes sometimes) I have made a form > where the client can pick most of

[PHP] outputting php file

2004-03-22 Thread Ryan A
Hi, I have a set of scripts that read off a config_inc.php file (eg: database, username,password, admin_username,admin_pass etc), instead of the client manually making the changes (with mistakes sometimes) I have made a form where the client can pick most of the values via a drop down box and then