Link Details

Link 131229 thumbnail
User 315218 avatar

By gezzle
via htmlblog.net
Published: Nov 03 2008 / 18:05

A small list of some useful code snippets which might help you when writing your PHP scripts including file uploads, get user IP address, using MDB2, sending mail, password generator, XSL, etc
  • 13
  • 1
  • 1782
  • 889

Comments

Add your comment
User 225823 avatar

c-ovidiu.tk replied ago:

0 votes Vote down Vote up Reply

That getRealIpAddr() function is retarded. It's less reliable that just checking REMOTE_ADDR. At least when relying on REMOTE_ADDR you have *something* (the IP of the proxy), but that function can give you complete garbage.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.