Search found 4 matches

by CryptWizard
Sat Apr 28, 2007 9:55 pm
Forum: How To
Topic: Secure PHP Coding
Replies: 4
Views: 1647

I find it good to use mysql_pconnect anyway, since it helps your pages load time because there's no overhead of establishing a MySQL connection every time.
by CryptWizard
Sat Apr 28, 2007 8:55 am
Forum: How To
Topic: Secure PHP Coding
Replies: 4
Views: 1647

Using mysql_real_escape_string() on a server that has magic_quotes_gpc enabled will cause the string to be quoted twice. This is a function I wrote to get aroudn that: function mysql_real_escape_gpc($link, $input) { return mysql_real_escape_string($link, (get_magic_quotes_gpc() ? stripslashes($input...
by CryptWizard
Sat Apr 28, 2007 8:52 am
Forum: How To
Topic: how to Make a PHP Based Hit Counter
Replies: 1
Views: 1056

I perfer to use a flat file for something as simple as a hit counter. The performance is much better.
by CryptWizard
Sat Apr 28, 2007 8:49 am
Forum: Cpanel help
Topic: UNI.cc domain
Replies: 48
Views: 38185

uni.cc DNS takes a VERY long time to update. That's why it's not working maybe. I like Afraid better, since they instant update, but the domains aren't that good.