Welcome To Snipplr
Everyone's Recent Snippets Tagged php
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This PHP4 function will increment a given string by a given interval. This might be useful when a string has to be unique. An optional array with "forbidden" return values may be passed.
Usage:
        
        
        
            2 
        
        
            1509 
        
                    posted 18 years ago by drwitt
            it's an excerpt of a registration form with 3 pulldowns for birthday ( day, month, year )
check for empty vars and applying CSS classes to show error on "empty" fields.
there are probably better ways, but this works for me. any suggestions welcome.
        
        
        
            1 
        
        
            3490 
        
                    posted 18 years ago by assbach
            I got most of these tips out of a great book published by O'Reilly (my favorite web-design publisher): "Programming PHP, 2nd Ed." by Lerdorf, Tatroe, and McIntyre. Another good book is "Essential PHP Security," also published by O...
        
        
        
            2 
        
        
            1998 
        
                    posted 18 years ago by pckujawa
            Building a SELECT with conditional WHERE parts, given from form-get parameters.
        
        
        
            1 
        
        
            1168 
        
                    posted 18 years ago by assbach
            ГенерируетÑÑ ÐºÐ°Ñ€Ñ‚Ð¸Ð½ÐºÐ° Ñ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸ÐµÐ¼ цифр, которые пользователю предлагаетÑÑ Ð²Ð²ÐµÑти в форму Ð´Ð»Ñ ÑƒÑпешного ввода данных
        
        
        
            1 
        
        
            1001 
        
                    posted 18 years ago by Memphys
            Sends a request to a supplied path for a given host.  It can send either a GET or POST request and can pass parameters.
        
        
        
            2 
        
        
            1561 
        
                    posted 18 years ago by ryansobol
            Include Path PHP 5 class.
Usage:
$path = new fuselogic_include_path();
$path->add('/home/ekobudi/www/fuselogic');
$path->add('/home/ekobudi/www/pear');
$path->remove('/home/ekobudi/www/old_fuselgic');
        
        
        
            0 
        
        
            1254 
        
                    posted 19 years ago by ekobudisetiyo
            
