php resource centre

  • about
  • articles
  • tutorials
  • resources
  • certification
Home

Primary links

  • About
  • Articles
  • Tutorials
  • Resources
  • Certification

Articles

An Intro to using Ajax in PHP

admin — Sun, 27/08/2006 - 9:16pm

AJAX is an acronym for Asynchronous JavaScript and XML. Simply put, AJAX can be read "empowered JavaScript", because it essentially offers a technique for client-side JavaScript to make background server calls and retrieve additional data as needed, updating certain portions of the page without causing full page reloads.
{mosgoogle}


  • Articles
  • Read more

PHP IDE's / Editors

admin — Wed, 23/08/2006 - 10:53pm


  • Articles
  • Read more

MySql Related

admin — Wed, 23/08/2006 - 10:33pm

Column types and attributes
1) Be familiar with MySQL's column types along with their ranges/lengths. You should use the smallest column type that will hold the data that you expect to store. Most of the time, you probably don't need INT, because MEDIUMINT, SMALLINT, or TINYINT have enough range. Using a smaller type saves space and speeds things up.

  • Articles
  • Read more

Common Tips

admin — Wed, 23/08/2006 - 10:32pm

PHP tags
I recommend always using the full PHP open tag, <?php, rather than the short one, <?. This means also that instead of <?=$var?>, it's better to use the full <?php echo $var?>. Using the full open tag ensures that your code will work on all PHP installations, regardless of the short_open_tag setting.
  • Articles
  • Read more

Escaping Techniques

admin — Wed, 23/08/2006 - 10:30pm

magic_quotes, addslashes(), and stripslashes()
magic_quotes_gpc, when on, automatically adds slashes to all GET/POST/COOKIE data so that you don't need to use addslashes() before using GET/POST/COOKIE data in MySQL queries, etc. (e.g. with magic_quotes_gpc OR addslashes(), I'm becomes I\\'m). Well, magic_quotes_gpc is no convenience and just complicates things!
{mosgoogle}
  • Articles
  • Read more
  • « first
  • ‹ previous
  • 1
  • 2
Syndicate content

User login

  • Request new password

Follow Us

Who's online

There are currently 0 users and 1 guest online.

Who's new

  • Nisha
  • linnaeus
  • Yameen
  • TalleyReedy
  • admin

Follow vipin7873 on Twitter

  • about
  • articles
  • tutorials
  • resources
  • certification

copyright © 2010 Vipin Chandran