[英]Automatically send email with php data on opening
我想在打開網頁時自動向 mydelf 發送一封電子郵件,其中包含生成的 php 數據。 這可能嗎?
$string ='"'.$QUERY_STRING.'","' // everything after "?" in the URL
.$_SERVER['REMOTE_ADDR'].'","' // ip address
.$hostname.'","' // hostname
.$_SERVER['HTTP_USER_AGENT'].'","' // browser and operating system
.$_SERVER['HTTP_REFERER'].'","' // where they got the link for this page
.$details->loc.'","' // latitude, longitude
.$details->org.'","' // internet service provider
.$details->city.'","' // city
.$details->region.'","' // state
.$details->country.'","' // country
.date("D dS M,Y h:i a").'"' // date
."\n"
;
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.