"Martin Leese" <please@see.Web.for.e-mail.INVALIDwrote in message
news:JLo7j.49113$Zn.4282@edtnps90...
Quote:
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?
uhmmmm...ALL versions of php are free. as for running it on windows 95,
you'll have to get a version from the archives < php 5 (iirc). i would also
download xitami, a free web server that runs on windows. you may have to get
an archive version of that though as well. windows 95? really? i haven't
seen anyone use that in real life in almost 8 years!
anyway, all of that seems a bit feckless if all you want to do is change the
email address. if your webserver is using apache, you can have it include
bits of html into whatever your normal page would produce. if you're not
familiar with this, then look at the tools your host provides. grep and/or
awk would be awesome for this. use that in conjunction with regexp if you
need to.
just food for thought.