var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Mod Rewrite or PHP?
Hi, I'm having difficulty with Mod Rewrite and I am wondering how to change destination url's
for example :
I would like to change
Should I use php or mod rewrite for this? If php, then what kind of coding would I need?
Thanks in Advance!
Note: I didn't test the above code... Rewrite is nice, but can mess with things if you use another script that tries to use that path, thats where PHP comes in handy...
$url_array = explode ( "/" , $REQUEST_URI );
$page = $url_array [ 0 ];
$l = $url_array [ 1 ];
//Other page content here....
A little off topic, but I'd just like to say that you could improve your page speed a LOT by using DHTML to display links from a specific letter when you click it's link, rather than linking to a whole new page. If you need, I could give you a code for it..