Re: Parsing?
| From: | TD - Sales International Holland B.V. | Date: | Fri, 24 Aug 2001 00:15:13 +0000 |
| Subject: | Re: Parsing? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80733@lists.php.net to get a copy of this message | ||
On Wednesday 16 January 2002 16:14, you wrote:
You will need to appropiate lines in your apache config for that to work tho'
AddType application/x-httpd-php-source .phps
if I'm not mistaken, as long as your PHP is running, you already have the
other necessary lines in there
regards
> Doing this:
>
> cp file_i_want_to_look_at.php file_i_want_to_look_at.phps
> http://www.domain.name/file_i_want_to_look_at.phps
>
> will display coloured source listing in the browser. Is that what you want?
>
> This is referenced somewhere in the docs, and even if you only rename a
> file to phps it is sometimes useful for tracking down a peculiar bug.
>
> HTH - Miles
>
> At 03:40 PM 1/16/2002 +0100, Tony Arnold wrote:
> >I'm wondering if it's possible to parse a .php-file so i looks exactly as
> > if I just were looking at the source trough a browser with all the
> >environment-variables intact and so on?
> >
> >/ Tony...
> >
> >
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> >For additional commands, e-mail: php-general-help@lists.php.net
> >To contact the list administrators, e-mail: php-list-admin@lists.php.net