I am trying to pass a big url as a string to another php page and fetch it there via $_REQUEST[]
but it’s not working.
Here is the code (JavaScript) from first page:
var url="index.php?module=Contacts&return_module=Campaigns&action=UD_DetailView&popuptype=detailview&select=enable&form=EditView&form_submit=false";
var intermediate_url="choose_template.php?variable_url="+url;
window.location=intermediate_url;
The code on other page is:
<?php
echo "url = ".$_REQUEST['variable_url'];
?>
The echo I get on page choose_template.php is this :
url = index.php?module=Contacts
I don’t understand. Why does it break at the occurance of first & ?
What should I do to bypass it ?
Try using in js:
Than in php: