[PHP-DB] using fsockopen to handle redirections

2005-12-23 Thread Yemi Obembe
Any way i can use fsockopen to detect url redirections? for example if ds: www.ex1.com redirects to www.ex2.com and i'm using: $fp = fsockopen(www.ex1.com, 80) to connect to the site, anyway i can know if there is a redirection to another url?

[PHP-DB] Re: Subject: Scrolling News

2005-12-23 Thread Neil Smith [MVP, Digital media]
At 20:39 22/12/2005, you wrote: Date: Thu, 22 Dec 2005 20:38:58 + From: Alex Major <[EMAIL PROTECTED]> To: Message-ID: <[EMAIL PROTECTED]> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Scrolling News Hi there. I'm trying to m

[PHP-DB] Re : Subject: using fsockopen to handle redirections

2005-12-23 Thread Neil Smith [MVP, Digital media]
Date: Fri, 23 Dec 2005 10:04:16 + From: Yemi Obembe <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: using fsockopen to handle redirections Any way i can use fsockopen to detect url redirections? for example if ds: www.ex1.com redirects to www.ex2.com and i'm using: $fp = fsockopen(ww

[PHP-DB] how can I execute bash file by using exec or system

2005-12-23 Thread Murat Beyhan
hello, I try to execute bash script file by using following script exec('/path/test.sh'); this test.sh file includes the Global Mapping Tools script and create map.ps file taht is the epicenter distribution file of the earthquakes. I have obtain epicenters.csv file by using PHP-MYSQ

Re: [PHP-DB] Re: Subject: Scrolling News

2005-12-23 Thread Alex Major
Thanks for that, it does look great, however I seem to be encountering some problems with it and alas I can't seem to find the problem. The code for the header (which is where this is located) is http://www.w3.org/TR/html4/loose.dtd";> Untitled Document