No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
This script works perfect it forces the trailing slash and hides the .php extension BUT! it does not redirect people going directly to the .php extension. How can I also force people going directly to the file.php to /file/ [CODE] RewriteEngine On RewriteRule ^(.*)/$ /$1.php [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond … |
|
Your help would be most appreciated. I'm dong this jquery ajax GET right. Although it submits and sends as a $_GET and is processed fine by process.php for some reason it is not reflected in the url. [CODE]jQuery('#results-submit').click(function() { jQuery('#waiting').show(0); jQuery('#container').hide(0); jQuery('div.carpark').remove(); jQuery.ajax({ type : 'GET', url : 'process.php', dataType … |
|
I've used strip_tags, is there a better way to secure this query? the value will always be numeric, It's being displayed like this [url]http://www.somesite.com/listing.php?id=5[/url] The id will always be a different number not always 5 depending on the listing [CODE] $sql = "SELECT * FROM listings where id=" . strip_tags($id) … |