Search Results

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: Ted S ; Forum: PHP and child forums
Forum: PHP Sep 27th, 2004
Replies: 238
Views: 90,548
Posted By Ted S
It looks like you missed the party by keith... $thread['url'] = ereg_replace("[/?!.$%£()~*@]+", "", $thread['url']); (I believe thats on page 5 of the thread)
Forum: PHP Aug 27th, 2004
Replies: 238
Views: 90,548
Posted By Ted S
If you are using the quick style chooser as I am you will want to change the modrewrite flags [R] and [L] to [QSA,L] which will append the query strings as needed.
Forum: PHP Aug 27th, 2004
Replies: 238
Views: 90,548
Posted By Ted S
To help make this hack easier to understand I have combined my changes along with the changes from KeithMcL (http://www.theadminzone.com/forums/showpost.php?p=26705&postcount=24) into one post. ...
Forum: PHP Aug 16th, 2004
Replies: 238
Views: 90,548
Posted By Ted S
The quickstyle chooser is run via javascript using the following code:


function switch_styleid(selectobj)
{
var styleid = selectobj.options[selectobj.selectedIndex].value;

if (styleid ==...
Forum: PHP Aug 15th, 2004
Replies: 238
Views: 90,548
Posted By Ted S
Since I can't seem to edit my post, I have a little update... if you use my code please change [L] to [R] in your htaccess file which redirect to a url instead of naming the page to that url. This...
Forum: PHP Aug 15th, 2004
Replies: 238
Views: 90,548
Posted By Ted S
I really liked the idea of the titles in the url so I played aroung with modrewite and came up with this:

RewriteRule ^/f([0-9]+)-(.*)\.html$ /forumdisplay.php?forumid=$1 [L]

This tells...
Forum: PHP Aug 15th, 2004
Replies: 238
Views: 90,548
Posted By Ted S
My site has well over 300 forums and subforums so the idea of making an entry for each one is no good...

Wouldn't it be easier just to give the forums numeric ids and use modrewrite to redirect...
Showing results 1 to 7 of 7

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC