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: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to