• There has been a recent cluster of spammers accessing BARFer accounts and posting spam. To safeguard your account, please consider changing your password. It would be even better to take the additional step of enabling 2 Factor Authentication (2FA) on your BARF account. Read more here.

Making a webform CGI?

commo27

New member
Joined
Aug 8, 2005
Location
SSJ
Moto(s)
03 600rr
OK, I am trying to make a web form thats email me the contents a user inputs. I made the form but i don't know what to do next. So i think i need to make some CGI script but thats where i am lost. I know my hosting plan supports CGI and php, but they said dont use the normal cgi-bin directory. I have searched on the internet about CGI and now i feel like i am more lost. Can anyone help me with this? Thanks
 
I've done a litle bit with this, but I'm not a pro..

Sounds like you've got the form, the form ACTION needs to call the script you create. ie:

<FORM METHOD=GET ACTION="<ENTER_DIR>/update.php">

Never figured out if there's a way to do it without a submit button, but that's what I always used, ie:

<input type=SUBMIT name ="submit" Value = "Submit">

In between that, you've got your form, that will create the variables that are passed to the script.
 
never done php, just used forms to call cgi scripts.. but I've heard php is pretty easy so since your server supports that I'd look into it before trying the stuff I posted :)
 
Awesome guys, i will definitely look into the php stuff if its easier
 
Yea i finally figured it out. The server had its own php code i had to through in...Looks and works good now..Thanks everyone
 
Back
Top