Jump to content

Php File Name Strip For Id Code


Orionsbelter

Recommended Posts

If you actually have a file named "2-lines-noted-pads-565.php" then just hardcode the number. Then kick yourself for actually having a file named that.

 

Hopefully you have URL rewriting. If that's the case then your rewriting should match that number and pass it to the underlying script. Doing so depends on (cough) what you have right now...

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.