note 62095 added to function.parse-url

From: Date: Mon, 20 Feb 2006 00:09:09 +0000
Subject: note 62095 added to function.parse-url
Groups: php.notes 
Request: Send a blank email to php-notes+get-104040@lists.php.net to get a copy of this message
Thanks! nifty script to get real url...I borrowed it to add to a series of checks I am using for a link database.

I have a question, though. 

If someone puts in a url that redirects to another domain, I am only interested in the final destination to avoid multiple redirected pages that end up the same place. Is this going to do the job? to test, I put in pages I knew were redirects and it gave back the urls that were only redirects. I am starting to think this script is not what I think it is.

I will do some more reading to understand some functions in your script I never used before, but I thought I would ask.

Thanks

Jamie ---- Server IP: 66.163.161.117 Probable Submitter: 68.84.70.25 ---- Manual Page -- http://www.php.net/manual/en/function.parse-url.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+62095 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+62095&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+62095&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+62095&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+62095&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+62095&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+62095&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+62095&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+62095&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#104040) next »