Re: showsource
| From: | Monte Ohrt | Date: | Wed, 01 Nov 2000 21:32:35 +0000 |
| Subject: | Re: showsource | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23247@lists.php.net to get a copy of this message | ||
That will work as well, unless you don't want to deal with symbolic
links. It can get messy quick if you want to be able to view the source
to a LOT of files.
"Julia A . Case" wrote:
>
> Quoting Monte Ohrt (monte@ispi.net):
> > Just beware, that may be a bit dangerous for public use:
> >
> > showsourcescript.php?script=%2Fetc%2fpasswd
> >
> If I understand you right... link the script.php to script.phps then look at the file with
> your browser and it will show color highlighted code.
>
> Julie
>
> --
> [ Julia Anne Case ] [ Ships are safe inside the harbor, ]
> [Programmer at large] [ but is that what ships are really for. ]
> [ Admining Linux ] [ To thine own self be true. ]
> [ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
>
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/