Database Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesDatabase Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old August 4th, 2003, 06:42 PM
stamato stamato is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 stamato User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
form to mysql db currently using cgi

I am currently using ennyform a cgi form mail script that allows me to mail the results based on form choice. ie choose area code 111 and it will be mailed to email address x, choose area code 222 and it will mail to address y and so on. It also allows multiple addresses. It will also add the time and date and save the info to a flat txt file. I don't want to lose these functions. I understand that to get the results of the form over to a mysql db I need to use php. I was told that i could implement php a script to do this and still use my cgi form mailer. I was told to look into using includes. any insight on doing this. Is there an obviously correct way of getting the results I want. I went to hotscripts and could find no script either cgi or php that does all the functions I want. Is it logical to have two scripts doing differnt functions on the same form? I really don't want to start from scratch.

Reply With Quote
  #2  
Old August 4th, 2003, 07:13 PM
marcel marcel is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Nieuw Vennep ,Netherlands
Posts: 108 marcel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: form to mysql db currently using cgi

I think it would be helpfull if you specified the language you have written your cgi script in.

Or even better, post the code

If written in bash or sh, you would have big problems in escaping your code but you could do something like this

echo "insert into `test` (`field1`,`field2`) values('$a','$b') ;quit"|mysql test

but if some joker posts in $a " your script will crash

Reply With Quote
  #3  
Old August 5th, 2003, 03:54 AM
stamato stamato is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 stamato User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: form to mysql db currently using cgi

I don't know how it was written. It is a free script. I just configured it. No coding. It is called ennyform. I am looking more at the overall picture. Is it correct to use inserts and run multiple scripts from one form to get more funtions. There are other freescripts that will insert into mysql. I am not even sure how to use inserts it was just one thing someone said so I am looking for info. Someone else said start from scratch and create one script. Obviously I won't be writting a script but I need to know the correct way to go before paying someone to do it.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > form to mysql db currently using cgi


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT