PHP CSS Preprocessor





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

« Previous 1 2 3 4 5 6 7 8 9  ...  16 17 Next »
2
Date Submitted Tue. Apr. 10th, 2007 9:39 PM
Revision 1
Helper snowdonkey
Tags Form | PHP | Validate
Comments 3 comments
The following script is a single interface for pre-validating any HTML form. It lets you validate your form data the way you want, while handling the rudimentary tasks itself.

1) Change just one variable to make it work with $_GET or $_POST or $_REQUEST.

2) Name which elements are 'required' all at once in a hidden HTML text input.

3) Easily provide field descriptions in hidden HTML text inputs that you can use to print error statements.

4) Call a single function to print out error statements that you can easily style with CSS.

5) It automatically checks if fields marked 'required' have been filled out.

Most of the pre-validation code is from PHP 5: Unleashed by Sams Publishing. I found it extremely useful for a recent project. Sharing it here, I removed some unnecessary functions, and tried to simplify some points.

All the comments are my own; hopefully I provided more than enough explanation.
2
Date Submitted Wed. Nov. 7th, 2007 2:45 PM
Revision 1
Helper Idlemind
Tags PHP
Comments 2 comments
If it's a .php page, you can simply include this file where you want a hit counter to appear.

One file - text output. Very simple, very easy. Based off the filename of the page (creates a pagename.counter file to hold the count).
(No use for it myself - made it for a friend).
2
Date Submitted Mon. Oct. 10th, 2005 3:25 PM
Revision 1
Helper ryan
Tags Clear | CSS | Floats
Comments 1 comments
Clearing Floats
2
Date Submitted Sun. Oct. 22nd, 2006 6:57 PM
Revision 1
Helper fastmike
Tags CSS
Comments 3 comments
Hi. i found this css file very useful for all the newbies who use frontpage2003 text. Just try this css code and specially for color text.
(Explanation on how to upload a css file in frontpage for newbies)
assuming that you already have index.html and you have some text in it describing also.
in frontpage open file new and then delete all the tagson the page and just copy and paste the code which i have posted. save the page as a .css file. after that go to your index page or any other page you would like to link with this css file. in the Index page go to format and then style sheet links and then click on add and find the .css file and click on and select for all pages or just for the index page and then click ok. have fu
2
Date Submitted Thu. Oct. 18th, 2007 8:32 AM
Revision 1
Beginner Tr0y
Tags PHP
Comments 0 comments
Use this to print alternating values from an array.

It cycles through a series of values based on an iteration number.

For example, you could use this for alternating background colors.
3
Date Submitted Thu. Mar. 6th, 2008 3:09 AM
Revision 1
Scripter Fordiman
Tags JavaScript | parse_url | PHP
Comments 0 comments
Simple. It's parse_url, from PHP, implemented in Javascript. Seen a lot of similar ones around the web, but they were all bulky code and none of them took advantage of the RegEx parser in JS.

Applied as a member of the String prototype, so just call as myURL.parseURL(); Will return a named object with naming identical to that of PHP's function.

Additional: if first argument is present, will break the querystring up into name/value pairs, unescaped, and return that instead of the raw querystriing.
3
Date Submitted Wed. Nov. 28th, 2007 1:08 PM
Revision 1
Helper HRCerqueira
Tags CSS | DOM | HTML | JavaScript
Comments 1 comments
These are some prototype methods to handle class names in html elements. As you all should know, a html element can have more than one class name.

This is part of my dom handling toolkit. Check it out and use it at will.

Cheers
3
Date Submitted Tue. Nov. 13th, 2007 12:37 PM
Revision 1
Beginner cyberhitesh
Tags Online | PHP | PHP5 | Storage | Unlimited
Comments 0 comments
Software Requirements:

Crypt_HMAC:
http://pear.php.net/package/Crypt_HMAC
HTTP_REQUEST:
http://pear.php.net/package/HTTP_Request
PEAR:
http://pear.php.net/
4
Date Submitted Tue. Sep. 4th, 2007 5:21 PM
Revision 1
Helper explode
Tags "credit card" | Class | PHP
Comments 0 comments
This is a simple credit card validation class that you can check for most issues before you process you form through paypal, authorize.net, or anywhere else. This also uses my Simple Error Class, the error class is required for this.
4
Date Submitted Sat. Mar. 8th, 2008 2:08 PM
Revision 1
Beginner ysg
Tags CSS | HTML
Comments 1 comments
check title ; ) unfortunately cannot remember the name(s) of the author(s) , so the courtesy goes to them ...
« Previous 1 2 3 4 5 6 7 8 9  ...  16 17 Next »