PDA

View Full Version : Email system



Moh
18-10-2007, 01:33 PM
Is there a system where admins can creat a code to give to a member and this codes alows them to make a email so if you dont have the code you cant creat a email?

Galaxay1
18-10-2007, 02:11 PM
What dya mean, like when trying to register an email a/c they need to have this code to enter to prove that their allowed it?

MrCraig
18-10-2007, 03:31 PM
Just do something like, create a table called code and use a mysql_num_rows to check whether the code exists..

Then delete the code from the table when the codes been used..

eg


<?php
$code = clean($_POST[code]);
$ck = mysql_num_rows(mysql_query("select * from code"));
if($ck!=0)
{
/*
All your creating email account stuff here...
*/
mysql_query("delete from code where code = '$code'");
}
else
die("Invalid Code");
?>

Scania
18-10-2007, 06:19 PM
If you got moniez go to dentafrice.

Dentafrice,
18-10-2007, 07:31 PM
I could create a PHP (IMAP) E-Mail system that works with the cPanel webmail.

Jamie.
18-10-2007, 07:48 PM
If you got moniez go to dentafrice.
Sorry 'ard.

I could create a PHP (IMAP) E-Mail system that works with the cPanel webmail.
I've heard about that I also heard it was difficult well night, off to get some icecream.

Dentafrice,
18-10-2007, 09:43 PM
How is that difficult?

Want to hide these adverts? Register an account for free!