|
Posted by on 10/28/07 15:29
On Oct 26, 1:26 am, Kevin Blount <kevin.blo...@gmail.com> wrote:
> I'm having a very odd issue, that arose this morning after working
> fine yesterday...
>
> here's a very simple script:
>
> 1: <?php
> 2: $test = $_GET['test'];
> 3: echo "Hello" . $test . "<p>";
> 4: ?>
>
> when called using this URL:
>
> http://216.244.107.150/info.php?test=me
>
> the code should just output:
>
> Hello me
>
> but instead the server just hangs, until my browser timesout. If I
> remove "?test=me" from the URL, the script works just fine (output:
> "Hello "), but for some reason all my PHP scripts now hang when I try
> and pass a name/pair on the URL.
>
> Any ideas?? I'm very new to PHP and probably change the config of IIS6
> somehow, or just broken it in some other way. Any advice would be
> appreciated.
>
> Beekay
url
http://216.244.107.150/info.php?test=urlencode(me)
<?php
$test = urldecode($_POST['test']);
echo "hello {$test}";
?>
Navigation:
[Reply to this message]
|