parsing - PHP 'get's' data without $_GET? -


i'm not sure if expected behavior. if host following on server

<?php print $stackoverflow;  ?> 

and have example.html wich contains:

<form action="http://pinguincyb.org/roc/opdracht1/lawl.php" method="post">  <input type="text" name="stackoverflow" value="example">  <input type="submit" value="submit"> </form> 

the page prints 'example', normal behavior ? shouldn't data unavailable untill

$stackoverflow = $_get["stackoverflow"]; 

it's old deprecated feature php called register globals. removed.

you should avoid it.

read manual using register globals

if have must disable it. can in php.ini, .htaccess, httpd.conf or .user.ini (since php 5.3)


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -