Whats the PHP code to make index.php?folder=folder&page=page or something liek that?
Whats the PHP code to make index.php?folder=folder&page=page or something liek that?
REMOVED
Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.
thats index.php?page=page not index.php?folder=folder&page=page
So you want it to go to a document in a folder?
REMOVED
Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.
Thanks MentorOriginally Posted by Mentor
probly wont work, but is rougly right if not
<?php
$folder = basename($folder);
$page = basename($page);
include("".$folder."/".$page.".php") ;
?>
then url to get include would be page.php?folder=bob&page=page2
or what ever, athogh its super simplifed bair basics "/
Want to hide these adverts? Register an account for free!