Jump to content

dynamic file names with php or otherwise?


matstars

Recommended Posts

good morning.

 

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.