Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers!
utopia is evil
i coded dystopia (www.woofcat.com/dystopia) which is much better... but i'm not giving away the source (unless you want to offer $$$?) :)
utopia is coded in delphi btw... dominion is asp...
no, php is is much easier... and the person asked for a php solution, not your biased opinion on which language is better.
foreach($file as $x)
though if what you're trying to do is check what kind of image a file is better than checking the extension would be something like:
do function gif;
do function jpg;
do function png;
why create new variables and use array functions to parse a simple string?
$url = 'http://somerandomlocation.com/blahblah/file.ext';
do function a;
do function b;
do function c;
in php at the top of the page put:
<?$t=time();if(empty($pop)||$pop<$t-86400)header('Set-Cookie: pop='.$t.'; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/');else $t=0?>
and where your ad code is use:
the setcookie() function has problems with some browsers, so i'd recommend doing them yourself with header() instead...
header('Set-Cookie: cookie=whatever; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/');
would set $cookie to whatever... and stay even if browser is closed (until jan 19...
yeah but last time i was back i changed the email in my profile and it never send me the email to verify it so my return was pretty short lived... vbulletin is so annoying, don't know why people like it so much... hmm...