Re: show_source/highlight_file
| From: | Ignacio Vazquez-Abrams | Date: | Wed, 22 Nov 2000 21:47:50 +0000 |
| Subject: | Re: show_source/highlight_file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26731@lists.php.net to get a copy of this message | ||
On Wed, 22 Nov 2000, Brian C. Doyle wrote:
> Hello all,
>
> I am working with the show_source and highlight_file.
> Is it possible to use show_source for a remote file?
> Currently i have it working for files on the same server as the script i am
> using. But when i try and hit that same file with a url I just get the
> html is there any way around this?
>
> the file i am working in is
> http://demo.jbbent.com/getsource.php
>
>
>
> Brian C. Doyle
> Coach Team Force
> Earthlink Technical Support
> support@mindspring.com
>
No, because PHP can only retrieve remote files that have been processed by the
server. You would have to use some sort of file-sharing (NFS, SMB, AFS, Coda,
etc.) to see the source.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>