csaw programming ressources

FacebookTwitter

Free Online Generate SHA1 from any text input

http://darrenfauth.com/generators/sha1 I normally encrypt using MD5 , but php also has a sha1() function . Either way you go, for me I've found it handy to not encrypt the password while developing administration web applications so I can easily see a password in the database and login as different user levels. Once the testing is done I needed a way to encrypt the passwords I had been using. This little SHA1 Generator was the tool I built for it. About SHA1 Encryption:
Since I feel this is rather vague and non-helpful, I thought I'd make a post detailing the mechanics of the glob regex. glob uses two special symbols that act like sort of a blend between a meta-character and a quantifier. These two characters are the * and ?

glob

http://php.net/manual/en/function.glob.php

How to upload files to remote server with PHP cURL | web development tutorials

http://www.maheshchari.com/upload-image-file-to-remote-server-with-php-curl/ In this example we learn how to upload static files to remote server using PHP cURL library. We must know following functionality before we continue this example Files and Folders
You are seeing this very light version of the page, as you are using an outdated browser! Onlinetools.org is done in XHTML 1.0 and supports CSS 2.0, please upgrade your browser if you want a better version of this site. Thank you, please help us developers keep up with the industry rather than patching our code for outdated applications.

EasyFileBrowse - Create your own sortable folder index.

http://www.onlinetools.org/tools/easyfilebrowse.php#usagenotes

PHP Tutorial - File Upload

http://www.tizag.com/phpT/fileupload.php A very useful aspect of PHP is its ability to manage file uploads to your server. Allowing users to upload a file to your server opens a whole can of worms, so please be careful when enabling file uploads.
Reading and writing Extensible Markup Language (XML) in PHP may seem a little frightening. In fact, XML and all its related technologies can be intimidating. However, reading and writing XML in PHP doesn't have to be a daunting task.

Reading and writing the XML DOM with PHP

http://www.ibm.com/developerworks/library/os-xmldomphp/
On Sun, 06 Mar 2005 21:19:49 +0100, Michael Fesser .oO(Andy Hassall) Do exactly the same, but replace it with empty strings. $test = str_replace(chr(32), "", $test);

removing whitespace from a string? - PHP

http://bytes.com/topic/php/answers/10950-removing-whitespace-string
This can be used to create the coolest effects in a website. Thats the good news. The bad news is that each browser appears to have its unique way of handling these tags. So what appears to be an extremely cool effect in your favorite browser will appear to be something very similar to green goo on other browsers.

DIV/SPAN

http://www.openjs.com/tutorials/advanced_tutorial/div_span.php
A popup contact form has many benefits. You can add a button/link in every page that pops up the contact form in a modal popup. That makes the contact form easily accessible from any part of the website. Your web site visitors do not have to ‘hunt’ for the ‘contact us’ page. Download the popup contact form code http://www.html-form-guide.com/contact-form/simple-modal-popup-contact-form.html

Here is a simple popup contact form (modal popup)

http://www.onlamp.com/pub/a/php/2006/05/18/managing-sessions-and-state.html

Managing Sessions and State with PHP

<a href="http://adserver.adtechus.com/adlink/3.0/5159/425846/0/16/ADTECH;loc=300;key=key1+key2+key3+key4;grp=[group]" target="_blank"><img src="http://adserver.adtechus.com/adserv/3.0/5159/425846/0/16/ADTECH;loc=300;key=key1+key2+key3+key4;grp=[group]" border="0" width="1" height="1"></a> by Brian Fioca 05/18/2006 MVC Frameworks, such as WASP , provide a solid jumping-off point for entry-level programmers to produce strong, well-formed code.
We're all trying to build an effective and good looking web forms. But there are always a new challenges. If you read my previous articles on how to build a better web forms, you could have noticed there are so many details. Label positioning, context highlighting or justifying elements.

Enhance your input fields with simple CSS tricks

PHP :: PHP Sending Whitespace After Headers?

Sponsored Links: Related Forum Messages:

DOMDocument, whitespace, PHP | NetWebLogic

The DOMDocument is a convenient way of manipulating an XML file. While this is for PHP, I’ve come across some great parsers for use on a business iphone using lib2xml but we leave that for another day. One issue I ran into was the fact that when loading an XML file, DOMDocument treats the tabs and spaces which make the XML readable as empty text nodes. This presents a problem when you try and traverse the DOM by using attributes like firstChild and nextChild. For example: Here is the XML file, “example.xml”: