Javascript port of PHP's ParseURL





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 4 5 6 7 8 9  ...  24 25 Next »
9
Date Submitted Thu. Apr. 13th, 2006 10:46 AM
Revision 1
Coder mattrmiller
Tags Array | Case | PHP
Comments 0 comments
Change the case of an array.
10
Date Submitted Mon. May. 1st, 2006 8:26 AM
Revision 1
Coder mattrmiller
Tags Focus | Form | JavaScript | Password | Username
Comments 0 comments
This is a correct way to do login form auto-focus, checking to see if either username or password have focus already. This prevents someone from typing a username hitting TAB, then having JavaScript chime in, resetting focus to Username while user is typing in their password. In this case, the password is appended to the username which is in plaintext.
23
Date Submitted Wed. May. 3rd, 2006 4:31 PM
Revision 3
Beginner kaparo
Tags geotarget | geotargetting | PHP
Comments 3 comments
This snippet originally is used for targetting ads banners depended on the geographic location of the visitor, but can be used for other purposes. Also originally is used for US and the rest of the world, but you can add check for other countries too.
11
Date Submitted Tue. May. 23rd, 2006 8:48 AM
Revision 1
Coder mattrmiller
Tags CURL | PHP
Comments 2 comments
Example of how to use CURL with PHP.
4
Date Submitted Fri. Jun. 9th, 2006 11:40 AM
Revision 1
Coder mattrmiller
Tags Array | find | PHP | search
Comments 0 comments
A simple search array example.
16
Date Submitted Tue. Jun. 13th, 2006 12:24 AM
Revision 1
Coder mattrmiller
Tags "Phone Number" | Format | PHP
Comments 3 comments
Format a phone number with php.
13
Date Submitted Fri. Jun. 23rd, 2006 10:19 AM
Revision 1
Coder mattrmiller
Tags Authentication | Email | PHP | SMTP
Comments 0 comments
I needed to send an email through an authenticated SMTP server. I found the snippet on the PHP website to do the trick.
11
Date Submitted Wed. Jul. 5th, 2006 8:15 AM
Revision 2
Helper poncho
Tags Array | Name | PHP | String | Value
Comments 3 comments
Convert an irregular name=value pair string into a formatted array.
13
Date Submitted Tue. Jul. 11th, 2006 10:34 PM
Revision 1
Coder mattrmiller
Tags Generator | Number | PHP | Random | String
Comments 2 comments
Generate a random number or string in PHP.
12
Date Submitted Thu. Jul. 20th, 2006 11:57 AM
Revision 1
Beginner toddersbud
Tags cascade | CSS | firefox | HTML | JavaScript | Styles
Comments 0 comments
This shows how the computed style of each node differs from the computed style of its parent. The root element, which has no parent, is instead compared against the root of a blank HTML document.

* create a new bookmark called "compute styles" in your firefox toolbar. Place the snippet code in the location field of your "compute styles". click the compute styles bookmark, then click an element on the page with the crosshairs.
« Previous 1 2 3 4 5 6 7 8 9  ...  24 25 Next »