taith
-
Posts
1,514 -
Joined
-
Last visited
Posts posted by taith
-
-
and for the record, yes, i do mean "{behavior:url();}"
-
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...
-
Try this?
tr>th ~ tr>td{
}
nothing
-
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{}
-
E>F - Matches any F element that is a child of an element E.
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)
-
Why even be concerned about how many users will try actually to hack anything? You should be coding with the assumption that all the users will be trying to hack it.
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.
-
I would add spaces..
spaces are only for user viewing... processer doesnt care
-
thank ya kindly for those that have need of it...
<? function exc($string){ $out=array(); for($i=0; $i<strlen($string); $i++) $out[]=$string{$i}; return $out; } function stb($s){ $s=exc($s); foreach($s as $k=>$v) $s[$k]=str_pad(decbin(ord($v)), 8, "0", STR_PAD_LEFT); return implode('',$s); } print_r(stb('test')); ?>
-
no, its a string... like "test" becoming "01110100011001010111001101110100"
and decbin(ord('a')) works, but it seems to remove preceding 0s but allinall, it'll do
-
does anyone know if there is a builtin ascii to binary converter?
i know i can just
$a=array('a'=>b'01100001','b'=>b'01100010');
but is there a more resource efficient way of doing this?
-
just wondering why this function never works?
Fatal error: Call to undefined function rename_function() in /var/www/rename.php on line 2when it clearly is part of php http://ca3.php.net/rename_function
strict domain rewrite conditions
in Apache HTTP Server
Posted
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)?
basically url.com and www.url.com <-- rewrote, and no others...