Hi Jasmine,
Your code does now indeed look like it obeys security. one small bug though - if the user clicks the "advanced search" button "with no text actaully in the text box - you get a warning at the top of your page "Warning: join() [function.join]: Bad arguments" on this line:
[qcode]
$cat_search_keywords = stripslashes(htmlspecialchars(trim(join("|", $split_words1)))); // clean up user input
[/qcode]
i beleive it was because there was no user input
... anyway, it's minor but seeing as it affects your site as well you will probably want to fix it
V@no, I Have a question for you... Attached, you can see my default search form. when the user selects "advanced search" how do i get it so that it only displays the default 4images form? i only want the "Category Title Results" and "Image Category Results" when there actually is a resultset.
Anyway, keep well both of you...
Kind Regards,
WeZ