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
 
Old October 31st, 2006, 11:01 AM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reading current http url dynamically in php

Hi
I want to read the dynamically current http url in php.
after reading url i want to split the url .

thanks

 
Old November 1st, 2006, 04:16 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: colombo, WP, Sri Lanka.
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

Hi,
Is this you want?
<?php
echo $_SERVER["HTTP_REFERER"] ;
echo $_SERVER["REQUEST_URI"] ;
?>
or try this url
http://www.php.net/reserved.variables

surendran
(Anything is Possible)
http://ssuren.spaces.msn.com




Similar Threads
Thread Thread Starter Forum Replies Last Post
get Current UrL from Firefox senpark15 C# 2005 6 May 16th, 2008 09:03 AM
Ch28 - HTTP Status 503 - Servlet action is current mona3000m BOOK: Beginning JavaServer Pages 0 December 3rd, 2006 04:19 AM
http get method not allowed by URL tryingHard Servlets 4 February 26th, 2004 07:55 AM
to get the url from the http packet du_aa C++ Programming 0 December 4th, 2003 03:24 AM
Reading Current IIS Log rayapur VS.NET 2002/2003 4 July 16th, 2003 12:53 PM





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