You are here: Re: Batch/local PHP « PHP Programming Language « IT news, forums, messages
Re: Batch/local PHP

Posted by Jerry Stuckle on 12/27/07 14:46

Martin Leese wrote:
> Martin Leese wrote:
>> Hi,
>>
>> I have never used PHP, so please bear with me.
>> I have a personal website with about 80 pages
>> of HTML. I created and maintain this with a
>> text editor and typing in HTML and CSS.
>> Sometimes I need to make global changes, such
>> as changing my e-mail address which is on every
>> page. Currently, I have to manually edit 80
>> pages to do this. This is a pain.
>>
>> So, PHP looks like the perfect solution for me.
>> Only difficulty is that I use free Web hosting
>> from Tripod, and they don't support PHP. (I
>> can't switch without changing my domain name,
>> and I am too cheap to register my own domain.)
>>
>> Therefore, I need a local or batch PHP system
>> which I can run on my home computer. I could
>> then use this to convert 80 pages of PHP to 80
>> pages of HTML, and then FTP these up to my Web
>> host.
>>
>> Is there a free version of PHP which will
>> allow me to do this? I run Windows 95 on my
>> home computer (which cost me $10). Is there
>> another newsgroup which would be more
>> appropriate for this question?
>>
>> Many thanks for any advice you can give.
>
> I am posting an answer to my own question so
> that it will be in the archive for others.
>
> What I needed was PHP CLI. I am running
> Windows 95, so am forced to use version
> 4.2.3. I downloaded the ZIP archive,
> extracted php-cli.exe and php4ts.dll, and
> away I go. Something like:
> php-cgi.exe -f Test.php > Test.html
>
> works great, and is just what I was looking
> for. Not sure why someone didn't suggest
> this. Maybe I posted to the wrong group.
> Now I just have to learn PHP (which is a
> useful skill to have, anyway).
>

Maybe because Win95 went to end of life years ago, and PHP 4.x is doing
so in less than a week.

Why anyone would want to use such out of date software is beyond me.
Windows XP isn't that expensive - and neither is the hardware required
to run it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация