Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread Curt Zirzow
* Thus wrote CF High ([EMAIL PROTECTED]): > Re: "So you want to read from a file and write back to it? I don't > understand what you're trying to accomplish, execute a script and write the > result to file?" > > Yes, the read file is a nested set of queries that populates a js pop up > menu, the s

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread andu
On Fri, 19 Sep 2003 21:29:50 -0700 "CF High" <[EMAIL PROTECTED]> wrote: > Re: "So you want to read from a file and write back to it? I don't > understand what you're trying to accomplish, execute a script and write the > result to file?" > > Yes, the read file is a nested set of queries that popu

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread CF High
Re: "So you want to read from a file and write back to it? I don't understand what you're trying to accomplish, execute a script and write the result to file?" Yes, the read file is a nested set of queries that populates a js pop up menu, the site navigational structure. That's why I need the rea

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread andu
On Fri, 19 Sep 2003 18:20:01 -0700 "CF High" <[EMAIL PROTECTED]> wrote: > Because I need to write $include_path content to file; not display it in the > browser... So you want to read from a file and write back to it? I don't understand what you're trying to accomplish, execute a script and w

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread CF High
Could you explain what you mean by: "Then you're not INCLUDEing it inline to the source" --Noah "Roger B.A. Klorese" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Because I need to write $include_path content to file; not > > display it in the > > browser... > > Then you're

RE: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread Roger B.A. Klorese
> Because I need to write $include_path content to file; not > display it in the > browser... Then you're not INCLUDEing it inline to the source, are you? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread CF High
Because I need to write $include_path content to file; not display it in the browser... --Noah "Andu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, 19 Sep 2003 17:05:47 -0700 > "CF High" <[EMAIL PROTECTED]> wrote: > > > Hm.. > > > > Looks like I was deluding m

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread andu
On Fri, 19 Sep 2003 17:05:47 -0700 "CF High" <[EMAIL PROTECTED]> wrote: > Hm.. > > Looks like I was deluding myself. The only data returned by setting a var = > include $include_path, is 0 or 1. I'm looking for a few hundred lines of > evaluated text. Back to the drawing board. Christ

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread CF High
Hm.. Looks like I was deluding myself. The only data returned by setting a var = include $include_path, is 0 or 1. I'm looking for a few hundred lines of evaluated text. Back to the drawing board. Christ, this is a pain in the. --Noah "Jay Blanchard" <[EMAIL PROTECTED]> wrote in

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread CF High
Hey Jay. Yes, the file is php code. Um, why not use include()? I'm ashamed, and very pleased, to admit that I had no idea I could set a var = to an include file! Well, one learns something new each day, often with much head banging ;--) Thanks for clueing me in. --Noah "Jay Blanchar

RE: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread Jay Blanchard
[snip] was able to use an absolute reference on my local machine to execute read file contents; e.g. fopen('http://www.mysite.com/index.php', 'a'), but on the host webserver no such luck. Administrator said I can only use relative paths. Problem is, when I use a relative path, I just get plain te

[PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread CF High
Any ideas here? was able to use an absolute reference on my local machine to execute read file contents; e.g. fopen('http://www.mysite.com/index.php', 'a'), but on the host webserver no such luck. Administrator said I can only use relative paths. Problem is, when I use a relative path, I just ge