On Thu, 2002-02-14 at 12:26, 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 at the very least
Oh duh. Before I was passing the whole URL and there must be some kind
of security measure in place so that users can't view the code of remote
scripts. That makes sense. It's working fine using the relative path
on the local directory which is all I need.
--
? //peekaboo.php
if
yeah - going through a seb server, you're going to get the executed version
of the code and not the code itself.
-Original Message-
From: Kevin Stone [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 9:19 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Anyway to open a PHP file
On Thu, 2002-02-14 at 14:18, Kevin Stone wrote:
Oh duh. Before I was passing the whole URL and there must be some kind
of security measure in place so that users can't view the code of remote
scripts. That makes sense. It's working fine using the relative path
on the local directory which
4 matches
Mail list logo