Re: Viewing PHP code offline
| From: | Stas Trefilov | Date: | Fri, 14 Jul 2000 16:15:50 +0000 |
| Subject: | Re: Viewing PHP code offline | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-1092@lists.php.net to get a copy of this message | ||
Wyatt Erp wrote:
>
> I am seeking a way to test my php codes offline prior to uploading them to
> my website. I have tried installing PHP 3.0.16 along with Apache 1.3.12
> (both for Win32) and have had no luck. I have Windows 95 as my operating
> system. I just want to be able to make sure my code operates error-free and
> as I want it to before making it available to those that use my site.
> Please help.
You can run your scripts in command line mode, producing an html file and
then load this file into your browser to check it. Do this:
C:\>php.exe -q myscript.php > myscript.html
--
Stas Trefilov
Moscow Russia