webdev2009
New Member
- Messages
- 2
- Reaction score
- 0
- Points
- 0
okay so i have my url which is
here is the code for the php page
<?php
$url_data = $_GET['url'];
echo $url_data;
?>
when i open the page it comes up with
http://www.facebook.com/home.php
and ends just before the HASH (#)
do i have to encode the url or something? im new to php by the way so please be nice! :biggrin:
many thanks
Darren
Code:
http://www.xxxxxxxx.x10hosting.com/beta/?url=http://www.facebook.com/home.php#/profile.php?id=xxxxxxxxxxxxxx&ref=nf#/profile.php?id=xxxxxxxxxxxxxx&ref=nf
here is the code for the php page
<?php
$url_data = $_GET['url'];
echo $url_data;
?>
when i open the page it comes up with
http://www.facebook.com/home.php
and ends just before the HASH (#)
do i have to encode the url or something? im new to php by the way so please be nice! :biggrin:
many thanks
Darren
Last edited: