I have used this little script somewhere
It used to run in an RedHat Linux machine and al was working fine.
But now this machine has died and a new one is on the scene but i installed FreeBSD on it.
php works only the script does not.
Some one told me to change something in the php.ini file but that it will give me some security issues.
He told me is was better to use it on another way but not telling ne how
the script looks like this
- <a href=\"index.php\">Home</a><br>
- <a href=\"$PHP_SELF?it=nieuw\">Toevoegen</a><br>
- <a href=\"$PHP_SELF?it=data\">Overzicht </a><br>
<hr size=\"3\" align=\"left\" color=\"FF00FF\">";
if ($it=="delete") { include('delete.php'); }
elseif ($it=="nieuw") { include('nieuw.php'); }
elseif ($it=="data") { include('data.php'); }
elseif ($it=="del") { include('del.php'); }
elseif ($it=="add") { include('add.php'); }
elseif ($it=="renew") { include('renew.php'); }
elseif ($it=="wijzig") { include('wijzig.php'); }
else { include('main.php'); }
Can someone give me an idea how to change this so it will work without the php.ini adjustment
Thanks in advance
Johan