RE: [PHP] Anyway to open a PHP file and view its code in the browser?
| From: | Jeff Sheltren | Date: | Thu, 14 Feb 2002 22:54:59 +0000 |
| Subject: | RE: [PHP] Anyway to open a PHP file and view its code in the browser? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84841@lists.php.net to get a copy of this message | ||
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 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 <Kevin@helpelf.com> 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'snotwhat I need to do. I'm uploading and updating my scripts all thetime.So I need to offer code views of *active* scripts. Changing thefilename to phps makes the scripts inactive. Any other ideas? -Kevin[mailto:jason_sheets@non.hp.com]-----Original Message----- From: SHEETS,JASON (Non-HP-Boise,ex1)theSent: Thursday, February 14, 2002 1:38 PM To: 'Kevin Stone' Subject: RE: [PHP] Anyway to open a PHP file and view its code insource)browser? Rename the file you want to display as PHP code to .phps (phpbrowser?instead of .php. This will also activate PHP's built in source code highlighting. Jason -----Original Message----- From: Kevin Stone [mailto:kevin@helpelf.com] Sent: Thursday, February 14, 2002 1:26 PM To: php-general@lists.php.net Subject: [PHP] Anyway to open a PHP file and view its code in the browser? How can I open a local PHP script and view its code to theTheFopen()Readfile() method appears to parse and execute the code. Theblankmethod appears to parse and then not execute the code, leaving ainscreen, or at the very least displaying any non-PHP text existingtheOrscript. This is obviously rare question because I can't find any references on this list or on Usenet. Is there a trick to this?is-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpit simply not possible. Much Thanks, Kevin Stone <Kevin@helpelf.com>