post some small sample php code with your logics and tell us how good this is any script you like small one with no error format : code header code : description : thanks in advance for posting ask your questions but dont post thanksgiving post for increase your post count so lets start who is first ??
or like a game about the person above you? ($nicangeli == cool) ? 'you must be crazy' : 'false is true'; PHP: haha jk -s
//function by: fkaufusi@gmail.com //Description: This small function is very useful for check and secure your GET or POST function stripper(&$value){ if(!get_magic_quotes_gpc()){ $value = addslashes($value); } } array_walk($_POST,'stripper'); PHP: It might help you.
Here you go! Basic Variable Usage! <?php //define variables $fruit = 'apples'; $class = 'fresh'; $cost = '$1'; //print output echo "We have $class $fruit for sale at $cost each."; ?> PHP:
Well most of the stuff in here seems pretty basic. I guess I'll step it up a bit: class FileHandle { public static function iterateDelete($path) { foreach(glob($path . "/*") as $file) { if (is_dir($file)) { self::iterateDelete($file); unlink($file); } else { unlink($file); } } } } FileHandle::iterateDelete("/home/user/public_html/somedir"); PHP: Deletes all files in a directory (including subdirectories).