Posted by samudasu on 02/18/06 11:51
Is this url your website? If not then why would it? The page
"http://www.bluecasts.com/index.php?templateId=PT_distroDemo.txt&distroTitle=priceTitle.php&distroMainContent=prices.php"
doesn't link to your script so there's no $_GET variables available.
Now if you make a page on your own site
http://yoursite/index.php?distroMainContent=whatever
with index.php containing your code then you will see results.
<?php
echo "variable to get $variableToLookFor ";
$try = $_GET["distroMainContent"];
echo " == the server says the variable to get is $try == ";
?>
By the way, you'll need to set $variableToLookFor to something or else
php will throw an error.
Navigation:
[Reply to this message]
|