homepage Welcome to WebmasterWorld Guest from 54.204.215.209
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
imap header
nick patrick




msg:3840956
 8:14 am on Feb 3, 2009 (gmt 0)

i need a little help with this
i want to get ip address of sender using php
when i checked the mail header its showing the ip
Received: from [xx.xx.#*$!.#*$!]....
but i can't getting the object value to get the ip with php
for example if i want to get from line so 'fromaddress' what for sender IP ?

i am sure you got my point if you know amount imap

 

nick patrick




msg:3841849
 7:19 am on Feb 4, 2009 (gmt 0)

no one knows ?

coopster




msg:3842100
 2:00 pm on Feb 4, 2009 (gmt 0)

Return the object value (CAST as type string) using imap_headerinfo [php.net] and a regular expression to extract the information you desire.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved