Search Engine Optimization > Web Development > which cgi script would fit
which cgi script would fit
Posted by Matt on June 2nd, 2004

Hi, I'm looking for an alternative to the formmail script.
What I'd like is a script which enables the contents of a form to be written
to a file and saved in a folder on the server somewhere, (thus able to use
SSL to access the data created).

Any ideas - gratefully received.

Thanks
Matt


Posted by Gazza on June 2nd, 2004

In article <1086214606.668262@news01.eclipse.net.uk>,
matt.jamesRemthIS@tesco.net says...
PHP would sit nicely.
fopen a file named with the date/time in it so each file is unique[1],
collect your $_POST variables into a string, and fwrite it. You could
fopen within a folder that is also dated if that would help organise
things.

[1] As unique as it this method allows. You may want to write an extra
slice of code if you think there's a small chance that two people could
submit forms on exactly the same second.

--
Gazza
http://www.rossmore.org/
http://www.garyjones.co.uk/

Posted by Geoff Berrow on June 3rd, 2004

I noticed that Message-ID:
<MPG.1b286989e47bfa3f9896c6@news.ntlworld.com> from Gazza contained the
following:

or use the unique function :-) And surely there's not much point using
SSL to access the data if you don't use it to acquire it?

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

Posted by Matt on June 3rd, 2004

Geoff,
Thanks for th enote - to clarify, I would propose using SSL on the entry
form also.

Cheers, MAtt

"Geoff Berrow" <blthecat@ckdog.co.uk> wrote in message
newskosb0507her744snrmpuri9rimvf8gsce@4ax.com...


Posted by Geoff Berrow on June 3rd, 2004

I noticed that Message-ID: <1086242418.787935@news01.eclipse.net.uk>
from Matt contained the following:

Cool. I'd also store the data in a MySql database rather than writing
files. Much easier to manipulate.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

Posted by Ace Internet on June 3rd, 2004

Hi Matt

Take a look at the excellent http://cgi.resourceindex.com/ or if
you have PHP enabled space http://php.resourceindex.com/

Thousands of ready made scripts, some / most free of charge.

Regards
================================================== ==============
Ace Internet | http://www.ace-internet.co.uk
Internet Connectivity | ADSL | Web Hosting | Domain names
t: 0870 740 7555 | f: 0870 740 5335 | e: sales@aceinternet.co.uk
================================================== ==============



Funbolt.com - Entertainment portal, wallpapers, sexy celebs