Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to send email address to existing database..

Status
Not open for further replies.

inker

Technical User
Jul 28, 2003
9
US
I have an Input text feild and a button. Need the script to make the entered value be send to an existing database...
 
what sort of server side scripting is available and what sort of database

_______________________________________
You know you're old if you can remember when bacon, eggs and sunshine were good for you
 
well all I was given was this...
<!-- BEGIN MAIL SIGN UP HERE //-->
<form method=&quot;post&quot; action=&quot;<img src=&quot; width=&quot;1&quot; height=&quot;26&quot;
border=&quot;0&quot;><br>
<input type=&quot;hidden&quot; name=&quot;what&quot; value=&quot;sub&quot;>
<img src=&quot; width=&quot;5&quot; height=&quot;1&quot;
border=&quot;0&quot;><br>
<img src=&quot; width=&quot;5&quot; height=&quot;1&quot;
border=&quot;0&quot;>
<input type=&quot;text&quot; name=&quot;email&quot; size=&quot;22&quot;><br>
<input type=&quot;hidden&quot; name=&quot;listID&quot; value=&quot;1&quot;>
<img src=&quot; width=&quot;5&quot; height=&quot;1&quot;
border=&quot;0&quot;>JOIN EMAIL LIST
<input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;submit&quot;><br>
</form>
<!-- END MAIL SIGN UP HERE //-->

and I have already built the site in Flash.

here is what I have in my flash file...on the button that will submit the text entered in the text feild with instance name 'join_email'

on (release) {
listID = &quot;1&quot;;
what = &quot;sub&quot;;
getURL(&quot; &quot;_root.join_email&quot;, &quot;POST&quot;);
}
 
that script is not much use to you.

does your sever support php ?

if it does will you want to save the data to mysql or to a text file ?

_______________________________________
You know you're old if you can remember when bacon, eggs and sunshine were good for you
 
yes you do and thats the script that will have to be altered. still dont help if your server doesnt support php.

put this into notepad

<? phpinfo() ?>


save it as info.php and put it on your server

enter the url to the file and see what happens. blank white page no php. info and you have php



_______________________________________
You know you're old if you can remember when bacon, eggs and sunshine were good for you
 
ok now where will you save the data

if straight to an external text file then i have a download you can quickly modify

if its to an existing database then what kind of database is it

_______________________________________
You know you're old if you can remember when bacon, eggs and sunshine were good for you
 
i'm really not sure...i did not set that up. I was only give the link to include in the design. Is there any way for me to find out with the information I have already provided?

 
none at all i am afraid

_______________________________________
You know you're old if you can remember when bacon, eggs and sunshine were good for you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top