Can anyone pls help me...my script is following...
<?php
if (isset($name))
{
if (!isset($file)) { $file="index"; }
$modpath="modules/$name/$file.php";
if (file_exists($modpath)) {
include($modpath);
}
else{
echo " file doesn't exist";
}
}
?>
...but what I receive for the $file is "1.php"..
example to run the scripts..
htt://www.myname.com/index.php&name=mp3z&file=create
..now what I suppose to get for the $file is "create.php" but instead what I got is "1.php"....
Can anyone help me please..anyhelp would be appreciated..
Azn4Ever.