Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
A great way to work on website in Mac OS X is to set up a vhost. Doing so is very easy. In System Preferences click on Sharing and then make sure you have Personal Web Sharing turned on. Then, open or create your vhosts.conf file (/private/etc/httpd/...
4
1442
posted 18 years ago by jonhenshaw
admin panel for php scripts with a login form elaborated by a function.php page, then an upload form with canc option
2
1399
posted 18 years ago by dandyna
File admin.php di una galleria di immagini in php - Function.php file to include in an image gallery php script
Directory structure:
Gallery(main directory)
_admin.php
_function.php
_photo(directory)
__image1.gif
__image2.gif
2
837
posted 18 years ago by dandyna
File function.php di una galleria di immagini in php - Function.php file to include in an image gallery php script
Directory structure:
Gallery(main directory)
_admin.php
_function.php
_photo(directory)
__image1.gif
__image2.gif
2
820
posted 18 years ago by dandyna
Heres how to use
print_r(browser_detection('full'));
We can also use this script
print "IP: ". $_SERVER['REMOTE_ADDR'].""; ### IP ADDRESS ##
print "Browser:" . $_SERVER["HTTP_USER_AGENT"].""; ## Browser
print "OS: ". $_ENV["OS"]; ### OS
8
1092
posted 18 years ago by mail_json
mran( float minimum_number , float maximum_number) (returns int)
1
766
posted 18 years ago by mouseit101
Example: nice -n 10 date
priority for root: -20 (higher priority) .. 19 (lower priority)
priority for common users: 0..19
To list process and nice value: "ps -el"
1
1281
posted 18 years ago by yuconner