dynamic file names? with php or otherwise
Posted: Fri Feb 06, 2009 10:41 am
I was wondering if it were possible to accomplish dynamic file names.
Right now I am developing a site for schools and a typical link for a school would be
/schools.php?sname=ps28 for PS28
would there be any way to make a folder schools and with htaccess or otherwise accomplish:
/schools/ps28.php or /schools/ps28/ or /schools/ps28.htm
and have it call a file that sets sname to ps28 without using GET?
I hope that makes sense.
Thanks.
Right now I am developing a site for schools and a typical link for a school would be
/schools.php?sname=ps28 for PS28
would there be any way to make a folder schools and with htaccess or otherwise accomplish:
/schools/ps28.php or /schools/ps28/ or /schools/ps28.htm
and have it call a file that sets sname to ps28 without using GET?
I hope that makes sense.
Thanks.