View Single Post
Old 03-18-2008, 06:44 AM   #10 (permalink)
isaak
Member
 
Join Date: 03-02-08
Location: Belgium
Posts: 31
iTrader: 0 / 0%
Latest Blog:
None

isaak is liked by many
In PHP you can choose a default value if non alphanumeric characters are found, this is much better than trying to remove special characters:
Code:
<?php $default_id = 1; // Set your default ID $id = !preg_match('/[a-z0-9]+/i', $value) ? $default_id : $value; ?>
For best performance it's better to set these options:
Code:
MaxKeepAliveRequests 0 MaxRequestsPerChild 0
isaak is offline