Welcome to WebmasterWorld Guest from 54.159.214.250

Forum Moderators: coopster & jatar k

imap header

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

5+ Year Member



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

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

5+ Year Member



no one knows ?
2:00 pm on Feb 4, 2009 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

Featured Threads

Hot Threads This Week

Hot Threads This Month