Forum Moderators: coopster
//I set up an .htaccess file with this inside ->
//ForceType application/x-httpd-php
//And contact is a file without extension with php code inside!
//Suppose we have this URL.
//http://mydomain.com/Experiment/contact.php?one=7&&two=8$$three=9
/////////////////////////////////////////////////////
//http://mydomail.com/Experimento/contacto/7/8/9
/////////////////////////////////////////////////////
$url = $SERVER['REQUEST_URI'];
echo "$url<br>"; ///Experiment/contact/7/8/9
$laurl = explode("/", $url);
print_r($laurl);
//Array ( [0] => [1] => Experiment [2] => contact [3] => 7 [4] => 8 [5] => 9)
How safe is to transfer variables this way?
Is there a better way?
Regards
Franco