Forum Home
Press F1
 
Thread ID: 78925 2007-05-02 20:53:00 Help with CGI for a Web Form DeSade (984) Press F1
Post ID Timestamp Content User
546409 2007-05-04 04:32:00 I am a complete noob with php etc, I have the questions I want to ask
So what I want to do is simply copy and paste a script into my own site layout and change the questions to match what I want to ask then change the emails to point to the five I want it to send too when done.

Honestly I never thought this would be such a mission.
DeSade (984)
546410 2007-05-04 04:50:00 I am a complete noob with php etc, I have the questions I want to ask
So what I want to do is simply copy and paste a script into my own site layout and change the questions to match what I want to ask then change the emails to point to the five I want it to send too when done.

Honestly I never thought this would be such a mission.

If you contact your web host, they should have a shared script that will allow you to do just that ,so you don't need to worry at all about setting up a form processing script. You would just have the details between the tags <form .....></form> in the page that you need to worry about. I would recommend this, because spammers will also try to hijack a form to send out their spam, and a shared script will be more secure. Also you should also have a capcha image in the form to stop automated spam bots.

If you need to use a form processing script, using a seperate PHP script instead of a seperate CGI script is far simplier, as they are very similar scripts. but you don't need to worry about uploading the cgi script in ascii and changing the file permissions to get it to work.
rogerp (6864)
546411 2007-05-04 05:26:00 Web host is just a mate who has made a part of his business server available for this site, its not a "host" as you know it.

Can someone just post the code or point me to somewhere I can copy it please.
DeSade (984)
546412 2007-05-04 05:47:00 DeSade E-mail me stuartw77 [at] hotmail [dot] com or add me to your MSN messenger list & I will be happy to help :) stu161204 (123)
546413 2007-05-04 07:03:00 Web host is just a mate who has made a part of his business server available for this site, its not a "host" as you know it.

Can someone just post the code or point me to somewhere I can copy it please.


Would have been good to know that initially, as it would have saved us a lot of time. You may not be able to use CGI on such a server anyway, as generally the host provides a special cgibin folder, which without it you may not be able to use a CGI script.

I use this script myself www.boaddrink.com for one of my website forms, however it has recently been attacked by spammers using it as a relay.
The www.boaddrink.com script has all the help files and examples, and even a monkey could set it up, it is that easy, and no you don't need to know how to use php to use it and it doesn't require permissions.
rogerp (6864)
546414 2007-05-06 15:06:00 DeSade E-mail me stuartw77 [at] hotmail [dot] com or add me to your MSN messenger list & I will be happy to help :)

Hi

I have emailed you, no reply as yet.
Are you still willing to help?
DeSade (984)
546415 2007-05-07 04:22:00 I have emailed you, no reply as yet.
Are you still willing to help?

Yes, I am, sorry about not replying to your e-mail, I have had problems accessing my e-mail & I had a big job on over the weekend, so I was not able to read your e-mail.

I will reply to it ASAP :)
stu161204 (123)
546416 2007-05-23 22:19:00 Hi Stu
I have sent you another email and also a PM
I still need help with this if your willing.

Anyone else that wants to jump in and help also it would be appreciated

I have some server information

Apache/2.2.3 (Debian) PHP/5.2.0-8+etch1 Server at southern-star.net.nz Port 80

php is working on the server so it would be good if the form could be php based.
DeSade (984)
546417 2007-05-23 23:49:00 Guess I could make a php form for you if nothing else works, or you can't get anything going.

It would have to wait until the weekend though. PM me then if you need to.
mejobloggs (264)
546418 2007-05-24 00:27:00 Thank you, I will send the PM on Saturday with all the information. DeSade (984)
1 2