Category Archives: WebTechnology

toggle checkboxes javascript using prototype

Toggle All Check Boxes using prototype javascript library. function toggleCheckBoxes(formName) { // toggle Check Boxes using Prototype Library var form=$(formName); var i=form.getElements(‘checkbox’); i.each(function(item) { if (item.checked){ item.checked=false; } else { item.checked=true; } } ); } to call use no quotes … Continue reading

Posted in Other Tech, WebTechnology | 6 Comments

Migrating from PHP4 to PHP5

PHP 5 Gotchas – Some Common Error Messages Call-time pass-by-reference has been deprecated calling a variable by reference during the function call instead of in the function definition: $conn =&getConnection(); OCIBindByName($stmt,”EMPLID”,&$eeid, strlen($eeid) ) script declaration required (may be php.ini or … Continue reading

Posted in MySQL, WebTechnology | Leave a comment

Recursively chmod directories only

Recursively chmod directories only June 19th, 2006 find . -type d -exec chmod 755 {} \; This will recursively search your directory tree (starting at dir ‘dot’) and chmod 755 all directories only. Similarly, the following will chmod all files … Continue reading

Posted in Linux, WebTechnology | Leave a comment