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
Thanks for proving the point. It's like I said. No one is willing to
explain what symbolic links are. -Kevin
-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
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.
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
On Friday, February 15, 2002, at 01:08 PM, Kevin Stone wrote:
Thanks for proving the point. It's like I said. No one is willing to
explain what symbolic links are. -Kevin
Actually, if you inspect the message I sent you (it's quoted below),
you'll see that the specific part of your
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.
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, or
I'm glad you posted this. It's great to know. Unfortunately it's not
what I need to do. I'm uploading and updating my scripts all the time.
So I need to offer code views of *active* scripts. Changing the file
name to phps makes the scripts inactive.
Any other ideas?
-Kevin
-Original
then do a symbolic link
On Thursday 14 February 2002 22:34, Kevin Stone wrote:
I'm glad you posted this. It's great to know. Unfortunately it's not
what I need to do. I'm uploading and updating my scripts all the time.
So I need to offer code views of *active* scripts. Changing the file
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 about them but no one
explains what they are or how to use them. So I'm forced to ask...
What are symbolic links? Why are they useful? And how do I use them?
--
Kevin
symbolic links are basically pointers to another file/directory
eg. you have a file foo.html you can create a symbolic link to it and call
it bar.html - if you refer to bar.html, then you're really referring to
foo.html
why are they useful ? well, suppose you want a two or more files/dirs
A symbolic link is like a pointer to a file. It is like a shortcut on
windows OS's...
Jeff
At 03:44 PM 2/14/2002 -0700, 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 about them but no one
explains
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
13 matches
Mail list logo