Reply
php check user and email match,,,
Old 07-30-2010, 11:12 AM php check user and email match,,,
Novice Talker

Posts: 14
Name: Ali Arif
Trades: 0
i use this code to display the email of the logged in user...
PHP Code:
<?php
require_once("sitelokpw.php");
 echo 
$slemail

?>
here is the content of sitelokpw.php
http://pastie.org/1067184


i also use a an email script which emails a temporary downlload link to an entered email...

here is the script http://pastie.org/1067190

and here is the content of linklok.php
http://pastie.org/1067202

i want the email to be sent if the entered email matches with the logged in users email... if not give an error message....
luvrockz is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 07-30-2010, 01:17 PM Re: php check user and email match,,,
chrishirst's Avatar
Super Moderator

Posts: 32,316
Location: Blackpool. UK
Trades: 0
PHP Code:
if ($email1 == $email2) {
    
//send email
} else {
     
//display error message

__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Code Samples | Crowded Nightclub? | Random Ramblings
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-30-2010, 01:44 PM Re: php check user and email match,,,
Novice Talker

Posts: 14
Name: Ali Arif
Trades: 0
can u explain me a lil bit... cox im totally new to php... and bro which script should i edit to get the result...
luvrockz is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to php check user and email match,,,
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.14553 seconds with 13 queries