
taith
Members-
Posts
1,514 -
Joined
-
Last visited
Everything posted by taith
-
hello, i have the following rewrite rules, which work wonderfully, however it is overpowering any subdomains i create... does anyone know the rewritecond so that it will not continue with the rule if there is a subdomain(excluding www)? RewriteEngine on RewriteBase / RewriteCond %{REQUEST_URI} !staging/$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ site.php?s=$1 [L] basically url.com and www.url.com <-- rewrote, and no others...
-
hello, im just wondering if theres a behavior attribute that firefox/chrome/safari/etc support? it seems to be ie only :S
-
yes, im aware of using classes, i was hoping that it would be doable without...
-
i dont want it to select the th tho... i want it to select the tds, but ONLY IF there is a th in the table... something tells me css cannot do this
-
that would select all tables, or if with a class/id modifier... im looking for a way of css automatically detecting if theres a th child... essentially id expect it to look like this... table<th td{}
-
i need one that goes the other way, that matches any E element that has an F child
-
im pretty sure i have it backwards somewhere... i need to select the tables with the th children, not selecting the th itself
-
hello, im looking to add some automation to my css... what im looking for, eventually, is for it to automatically detect when theres a th tag, and select the tds thereafter... however, for some reason, its not even detecting the tables with th's... what am i doing wrong? <!DOCTYPE html> <html> <head> <style type="text/css"> table~th{ background:red; } </style> </head> <body> <table> <tr> <th>test</th> </tr> <tr> <td>test2</td> <tr> </table> </body> </html>
-
aha! mybad! was aparently missing a file... strange error to get tho... thank you VERY kindly for your help!
-
sorry, that was my tinkering to try get it working again... and no, it is still failing... RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ site.php?s=$1 [L]
-
RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^*$ site.php?s=$1 [L] is still ISE'ing... when i remove the rule, everything works happily... :S
-
hello, ive lately been having a mod rewrite error, and i was hoping someone could help... RewriteRule ^(.*)$ site.php?s=$1 [L] it should be turning "url.com/pagenames/id" into "site.php?s=pagenames/id" but its just giving me a 500 internal server error. help?
-
Hello, I'm looking for a better serialize() function. the php one has a fault of counting the slashes, before stripping them out, making the deserialize() fail, because the actual string count, is different from the string count as referenced... does anyone have one already?
-
aaaah before session start silly me... tyvm
-
i just tried this, and it doesnt seem to effect session cookies... $currentCookieParams = session_get_cookie_params(); session_set_cookie_params($currentCookieParams["lifetime"],$currentCookieParams["path"],'.website.com',$currentCookieParams["secure"],$currentCookieParams["httponly"]); with the real website of course. and using the root domain, or any subs, it starts a different session for each
-
hello, im looking for a way of maintaining a single session across sub-domains... for example. domain.com shop.domain.com each starts its own session, i need a way of preserving that session across both. any thoughts?
-
first tip: start do logon, then character selection screen and build from there on out... php games generally require a considerable amount of math and ALOT of time to build(and rebuild)
-
how many people try to hack a web app game?
taith replied to JeremyCanada26's topic in Miscellaneous
i agree... assume that 100% of your players are exploiting bugs, and 110% of your players are hacking... that way, all your surprises are pleasant.