Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
| Search | Today's Posts | Mark Forums Read
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 9th, 2005, 07:52 PM
Friend of Wrox
 
Join Date: Mar 2005
Location: , , .
Posts: 264
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to email IP and browser type on page load in p

Hi all i am kind of new to php. I wonder how i can email user ip address and browser type on page load. What i mean is once a page loaded on visitor browser it sends me the administrator of a site an email with ip address of visitor and browser type . I be happy if an expert help me achiving this task.Thanks
  #2 (permalink)  
Old November 11th, 2005, 06:48 AM
Friend of Wrox
 
Join Date: Mar 2004
Location: Bhopal, MP, India.
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

Hi,

You should be always happy ;).

There is no page load in PHP. (It's in JavaScript.)

Well PHP is server-side (it executes on remote machine), so put the PHP code on top of your .php page, before any html.

Please read about using these functions on PHP Web site (php.net): mail(), ini_set(). Also read about server-side $_SERVER[] variables.

`~@#\^%&*/\.<.\/-|+|_!:;..=?>
Support Indian students' finances http://scholarship.mediasworks.com/


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error could not load type - RoleManager mussitsch ASP.NET 2.0 Professional 0 August 21st, 2007 11:31 AM
page could not be load on browser vivek123 ASP.NET 1.0 and 1.1 Professional 2 August 28th, 2006 05:01 AM
Could not load type 'WebForm1' error hastikeyvan ASP.NET 2.0 Basics 0 June 22nd, 2006 01:31 AM
type load exception crazy_eye_bob Crystal Reports 4 November 7th, 2005 01:16 PM
Cannot load Type Abstract planoie VS.NET 2002/2003 2 September 3rd, 2003 03:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.