Top Articles

jQuery AJAX-Enabled Forms in Modal Dialog

anoyes12/13/2009, 12:00 AM

It's a problem I'm sure many of you have faced in developing web applications.  You've got a form to add a new something - perhaps a customer or an item in a to-do list.  When the user clicks that link to add a new item, a new page loads, they fill

Topic: JqueryTags: jquery, ui, dialog

Views: 26803Comments: 20

Convert string to number / Convert number to string in JavaScript

DanRollins09/25/2009, 12:00 AM

This EE article provides JavaScript examples of conversion from string to integer, string to floating-point, and number to string.  We'll also look at some related topics, including how to format numeric output with two decimal places, and one way t

Topic: JavaScriptTags: javascript, JScript, convert to string, convert to integer, convert to floating point, format currency, toFixed, parseInt, toString

Views: 16670Comments: 3

Checking for valid IP addresses using JavaScript Regular Expressions

HonorGod06/28/2009, 12:00 AM

There are times when an Internet Protocol (IP) address needs to be verified/validated.  What are examples of valid IP addresses? 127.0.0.1 1.2.3.4 192.168.1.100 The pattern is that we have 4 integer values (from 0 to 255) separated by period

Topic: JavaScriptTags: JavaScript, RegExp, Regular Expression, IP Address

Views: 9747Comments: 11

PHP - Prevent SQL Injection

abolinhas05/26/2009, 12:00 AM

SQL injection vulnerabilities have been described as one of the most serious threats for Web applications. Web applications that are vulnerable to SQL injection may allow an attacker to gain complete access to their underlying databases. Because

Topic: PHP and DatabasesTags: php, mysql

Views: 8963Comments: 14

PHP Client Registration, Login, Logout and Easy Access Control

Ray_Paseur02/03/2010, 12:00 AM

Introduction A frequent design pattern question for new PHP developers goes something like this, "How do I handle client registration and login?"  It's done in every framework and CMS, and all of them use a similar pattern.  This article builds the

Topic: PHP Scripting LanguageTags: login, client validation, session, cookie, password

Views: 8762Comments: 47

Mouse Wheel Programming in JavaScript

DanRollins01/16/2010, 12:00 AM

In this article I'll describe cross-browser techniques for using the mouse wheel (or "scroll wheel") in your JavaScript programming for HTML pages.  I'll show example Javascript for option selection and image zooming. The mouse wheel is generally

Topic: JavaScriptTags: mousewheel, scroll wheel, DOMMouseScroll, onmousewheel, pentominos, wheelDelta, Dan Rollins

Views: 8316Comments: 9

Trimming strings in Javascript

quincydude11/20/2008, 12:00 AM

User input plays a big role on webpages. It acts as an interface between users and the server. Handling user inputs is important as we need to ensure what data can be sent to the server and we cannot expect what the user will send. One of the most c

Topic: JavaScriptTags: Trimming, trim, strings, Javascript

Views: 7992Comments: 7

Client side input validation with Javascript

quincydude11/20/2008, 12:00 AM

Html Form is the main way for users to interact with server side. It can bring a lot of functionalities to web sites such as searching, data storing and different kinds of calculations. However, page involving user inputs also implies users can do s

Topic: JavaScriptTags: Client side, validation, Javascript, form

Views: 7769Comments: 2

Handling Date and Time in PHP and MySQL

Ray_Paseur11/20/2008, 12:00 AM

The DATETIME Tower of Babel Human beings can read dates and times in a variety of ways.  We readily understand such things as September 5th, 2010, and we know that it comes before November 11th, 2010,and after May 9th, 2010.  We have shorthand conv

Topic: PHP Scripting LanguageTags: PHP, MySQL, date, time, mktime, strtotime

Views: 7386Comments: 49

20 Tips to Optimize your ActionScript

moagrius12/15/2009, 12:00 AM

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS

Topic: ActionScriptTags: AS, ActionScript, AS3, Optimization, Performance

Views: 7033Comments: 18

Advanced Object-Oriented Programming in PHP

gr8gonzo03/08/2010, 12:00 AM

This article is intended to cover some of the more advanced topics of object-oriented programming (OOP) in PHP, and is intended to follow up on my previous article covering the basics of OOP in PHP. Specifically, this article will teach you all abou

Topic: PHP Scripting LanguageTags: object-oriented programming, OOP, PHP, get, set, accessors, mutators, interface, extending, classes

Views: 6937Comments: 10

Advanced DOS batch pitfalls

Qlemo05/21/2009, 12:00 AM

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some

Topic: Windows Batch ScriptingTags: DOS, batch, inconsistency, file redirection, delayed expansion

Views: 6386Comments: 20

Registration and Email Confirmation in PHP

Ray_Paseur10/17/2010, 12:00 AM

One of the frequent application design questions goes something like this: "How can I confirm when a client registers on my web site?" The registration might be for general use of a self-administered site like a forum, or for attendance at a spec

Topic: PHP Scripting LanguageTags: PHP, MySQL, Registration, Confirmation, Activation, Email, Hnadshake

Views: 6241Comments: 2

Loading Advertisement...

Top Scripting Languages Experts

  1. mplungjan

    145,789

    Master

    0 points yesterday

    Profile
    Rank: Savant
  2. Ray_Paseur

    91,292

    Master

    0 points yesterday

    Profile
    Rank: Savant
  3. billprew

    63,376

    Master

    0 points yesterday

    Profile
    Rank: Genius
  4. RobSampson

    54,636

    Master

    0 points yesterday

    Profile
    Rank: Genius
  5. DaveBaldwin

    51,700

    Master

    2,000 points yesterday

    Profile
    Rank: Genius
  6. sedgwick

    43,950

    1,600 points yesterday

    Profile
    Rank: Genius
  7. leakim971

    43,184

    0 points yesterday

    Profile
    Rank: Genius
  8. dgofman

    36,400

    0 points yesterday

    Profile
    Rank: Genius
  9. COBOLdinosaur

    28,424

    0 points yesterday

    Profile
    Rank: Genius
  10. woolmilkporc

    24,200

    0 points yesterday

    Profile
    Rank: Genius
  11. ozo

    20,600

    0 points yesterday

    Profile
    Rank: Savant
  12. Qlemo

    19,984

    2,000 points yesterday

    Profile
    Rank: Genius
  13. chaituu

    19,100

    0 points yesterday

    Profile
    Rank: Sage
  14. tagit

    19,000

    0 points yesterday

    Profile
    Rank: Genius
  15. farzanj

    18,550

    0 points yesterday

    Profile
    Rank: Genius
  16. nap0leon

    15,094

    0 points yesterday

    Profile
    Rank: Sage
  17. paultomasi

    14,700

    0 points yesterday

    Profile
    Rank: Master
  18. StingRaY

    13,136

    0 points yesterday

    Profile
    Rank: Wizard
  19. jason1178

    13,044

    0 points yesterday

    Profile
    Rank: Genius
  20. HainKurt

    12,350

    0 points yesterday

    Profile
    Rank: Genius
  21. HonorGod

    11,600

    0 points yesterday

    Profile
    Rank: Genius
  22. ahoffmann

    11,136

    0 points yesterday

    Profile
    Rank: Genius
  23. basicinstinct

    10,800

    0 points yesterday

    Profile
    Rank: Genius
  24. leew

    10,030

    0 points yesterday

    Profile
    Rank: Savant
  25. ChrisStanyon

    9,864

    0 points yesterday

    Profile
    Rank: Sage

Hall Of Fame