davieboy Posted October 9, 2008 Share Posted October 9, 2008 Im trying to develop a script that will parse an email address when a user enters it on a forum signup script, it will check against other registered users. (I have this script.) The 'parsing' will need to be done via a different site. Any ideas on how i would go about this David Link to comment https://forums.phpfreaks.com/topic/127724-parse-and-email-address/ Share on other sites More sharing options...
Slip Posted October 9, 2008 Share Posted October 9, 2008 If your MySQL database is hosted on another server, you will have to set up a user for the MySQL that allows connection from hosts other than localhost. Then you just write your script as you normally would as if it were being executed on the same server - just your connection settings would be different i.e. $user = 'username'; $pass = 'passw0rd'; $host = '111.111.111.111'; // whatever ip your MySQL db is hosted on $link = mysql_connect($host,$user,$pass); Link to comment https://forums.phpfreaks.com/topic/127724-parse-and-email-address/#findComment-661043 Share on other sites More sharing options...
davieboy Posted October 9, 2008 Author Share Posted October 9, 2008 how would it get the email address from the filled in fields? david Link to comment https://forums.phpfreaks.com/topic/127724-parse-and-email-address/#findComment-661077 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.