Re: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-15 Thread Erik Price
ix-and-Internet-Fundamentals-HOWTO/ HTH, Erik >> -Original Message- >> From: Erik Price [mailto:[EMAIL PROTECTED]] >> Sent: Friday, February 15, 2002 8:41 AM >> To: Kevin Stone >> Subject: Re: [PHP] Anyway to open a PHP file and view its code in the >>

Re: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-15 Thread Ashley M. Kirchner
Kevin Stone wrote: > Thanks for proving the point. It's like I said. No one is willing to > explain what symbolic links are. -Kevin I just realized that URL talks about backing up symbolic links, as opposed to doing an indepth explanation of what they are. Never the less, at the top it d

Re: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-15 Thread Ashley M. Kirchner
Kevin Stone wrote: > Thanks for proving the point. It's like I said. No one is willing to > explain what symbolic links are. -Kevin You just didn't search well enough: http://pucc.princeton.edu/~clients/symlink.readme -- W | I haven't lost my mind; it's backed up on tape somewhere.

RE: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-15 Thread Kevin Stone
y to open a PHP file and view its code in the > browser? > > > On Thursday, February 14, 2002, at 05:44 PM, Kevin Stone wrote: > > > I did a net wide search on Symbolic links to learn what they are and how > > to use them. Wouldn't you know everyone's talking a

Re: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-15 Thread Anas Mughal
If you are on the same machine, why don't you just open the file as follows: file:/filename.php Just don't go thru the webserver. --- Kevin Stone <[EMAIL PROTECTED]> wrote: > How can I open a local PHP script and view its code > to the browser? The > Readfile() method appears to parse and e

Re: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-14 Thread Christopher William Wesley
Create a script to which you can pass a file namem and calls show_source() on the file name. http://www.php.net/manual/en/function.show-source.php Be very careful to check the input, such that the file name parameter which eventually gets passed to show_source() cannot be one which you do not wa

RE: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-14 Thread Jeff Sheltren
s of *active* scripts. Changing the >file > > > name to phps makes the scripts inactive. > > > > > > Any other ideas? > > > > > > -Kevin > > > > > > > -Original Message----- > > > > From: SHEETS,JASON

RE: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-14 Thread Martin Towell
f it's possible) but on unix, use the command "ln" HTH Martin -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 9:44 AM To: 'Andreas Gietl'; [EMAIL PROTECTED] Subject: RE: [PHP] Anyway to open a PHP file and view its c

RE: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-14 Thread Kevin Stone
JASON (Non-HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, February 14, 2002 1:38 PM > > > To: 'Kevin Stone' > > > Subject: RE: [PHP] Anyway to open a PHP file and view its code in the > > > browser? > > > > >

Re: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-14 Thread Andreas Gietl
source code highlighting. > > > > Jason > > > > -Original Message- > > From: Kevin Stone [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, February 14, 2002 1:26 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP] Anyway to open a PHP file and view its

RE: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-14 Thread Kevin Stone
vin > -Original Message- > From: SHEETS,JASON (Non-HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 14, 2002 1:38 PM > To: 'Kevin Stone' > Subject: RE: [PHP] Anyway to open a PHP file and view its code in the > browser? > > Rename the fil

Re: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-14 Thread Erik Price
On Thursday, February 14, 2002, at 03:26 PM, Kevin Stone wrote: > How can I open a local PHP script and view its code to the browser? The > Readfile() method appears to parse and execute the code. The Fopen() > method appears to parse and then not execute the code, leaving a blank > screen,

[PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-14 Thread Kevin Stone
How can I open a local PHP script and view its code to the browser? The Readfile() method appears to parse and execute the code. The Fopen() method appears to parse and then not execute the code, leaving a blank screen, or at the very least displaying any non-PHP text existing in the script. Th