The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
howto create email list from register.php
I am trying to update a email list database from register.php -- so far i have
in register.php i added the line -- $email appears to be the right string as well $userid = $DB_site->insert_id(); ////// CUSTOM CODE insert new email to email list database /////// exec("curl 'http://www.domain.com/addtomaillist.php?theemail=$email'"); ////// CUSTOM CODE ////// // Insert user text fields ---------------------------------- in addtomaillist.php i have <? include("../configure.inc"); if($theemail) { mysql_query("INSERT INTO emaillist (email) VALUES ('$theemail')"); } echo "done"; ?> the addtomaillist.php works i know for sure.. but im not getting the variable to pass it from register.php. I may have the custom line in the wrong area in register.php im not sure any help or suggestions would be appreciate.. im open to different ways of doing this .. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|