Developing PHP Applications

Zhannar Personal Blog

  • HOME
  • About

Posts Tagged ‘ emulator ’

Javascript’s function that fetch URL parameters. (PHP’s $_GET emulator)

  • April 7th, 2008
  • Posted in Javascript

Here’s my javascript function that fetch URL parameters (kinda PHP’s $_GET emulator). function URL_param(param){ // this condition suppress error if(location.href.match(param+'=')) return location.href.toString().split(param+'=')[1].split('&')[0]; } eg. URL: http://www.zhannar.com/?param1=value1&param2=value2 JS script: alert(URL_param('param2')); returns: value2 Simple[ READ MORE ]

Information

Change this sentence and title from admin Theme option page.
RSS FEED

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Pages

  • About

Recent Posts

  • Easier way to Maximize the Import Limit of your PhpMyAdmin
  • Javascript’s function that fetch URL parameters. (PHP’s $_GET emulator)

Categories

  • Javascript
  • off-topic
  • PHP-MySQL
  • Seasons
  • Tutorials
  • Zend Framework
  • Zhannar

Archives

  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • September 2007

Tags

Apache articles Aspell authentication code igniter code snippet config.inc.php contact form Database emulator framework Full-Text function headers holiday seasons Install Installation Introduction Javascript login mail MySQL off-topic Personal php PHP-MySQL php.ini phpMyAdmin post_max_size Pspell readings Smarty spam tag cloud Tutorial upload limit upload_max_filesize URL WAMP Zend Framework Zhannar

Blogrolls

  • No Links

Lyrics

  • Copyright ©  2007-2008  Developing PHP Applications
  • Theme designed by mono-lab
  • Powerd by WordPress