Current location: Hot Scripts Forums » Programming Languages » PHP » Can a PHP page send info to a 3rd party while a session is going with the client


Can a PHP page send info to a 3rd party while a session is going with the client

Reply
  #1 (permalink)  
Old 09-14-06, 04:21 AM
Nap Nap is offline
Newbie Coder
 
Join Date: Aug 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Can a PHP page send info to a 3rd party while a session is going with the client

I have a situation where I would like to send some info from a host web server to another web server after a client has connected to the host server. I would like to do it in such a way that is transparent to the client.

Have a look at this diagram for a better description. The message sent to the other web site is most likely to occur when the client initially connects to the main server.

I pretty sure this is possible with cgi scripts (eg. counters), but that's not how I need to do this, since both servers are shared SSL sites.


Cheers,
Nap
Reply With Quote
  #2 (permalink)  
Old 09-14-06, 09:52 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Sure, you could do this fairly easily with a couple of calls to mail(). Detect when the session starts, flag it, then test for that and send an email of the event.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i make php open another web page? wonderland PHP 6 09-23-08 06:55 PM
Classified Ads skipper23 Perl 3 11-22-05 02:22 AM
php on a html page Bonzo PHP 9 02-06-04 10:40 PM
Need Epinions-lite system in PHP & MYSQL wali001 Job Offers & Assistance 4 01-12-04 06:02 AM
Classified Ads skipper23 Perl 2 12-30-03 03:43 AM


All times are GMT -5. The time now is 07:28 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.