[PHP] Setting Cookies

2002-06-07 Thread Scott 'INtense!' Reismanis
Hey all, I am having some troubles setting cookies at the moment wondering if anyone knows the solution. Anyhow basically what is happening, is that cookies are been set fine, however say I try to set two cookies in the one script i.e. setcookie(username, $HTTP_POST_VARS['username'],

[PHP] error reporting

2002-06-09 Thread Scott 'INtense!' Reismanis
Hey all, I recently installed Apache2, PHP4.2 on my win2k box as a module. It works fine however say a script has a syntax error all that happens is a blank screen is displayed. No errors are shown and thus it is very hard to debug when I don't know what the error is, and what line it occurs

[PHP] Search - 'AND' ... 'OR'

2002-06-15 Thread Scott 'INtense!' Reismanis
Hey all, I am in the middle of writing a script to allow users to search through news archives on my website. Anyhow I am just wondering which logic you believe best suits a search. i.e. say a user types in 'games AND playstation' then only results containing both those words will be returned

[PHP] Smart URLs

2002-06-02 Thread Scott 'INtense!' Reismanis
RewriteBase / RewriteRule ^/(.+)/(.+) $1.php [L] Thanks for your time and hopefully someone understands what I am trying to say :), and as always any suggestions at all would be awesome! Regards, Scott 'INtense!' Reismanis Mod Database System