Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged server



« Prev 1 Next »
If you want to enable GII in your live server in YII you can do by following small steps.
0 575 posted 9 years ago by adesara_jaydeep
Prints all $_Server variables to table
0 660 posted 10 years ago by kidmizere
*Example:* if (!isRewriteMod()) exit('Please install Apache mod_rewrite module.');
0 659 posted 10 years ago by phpdev
Easy PHP script for uploading and unpacking zip files to the server much faster Steps to follow: 1. create folder on the webserver called "zipper" or something else 2. copy the following PHP code into a file called "zipper.php" into this folde...
2 3777 posted 11 years ago by jvandemerwe
Get Current URL Path on Apache / IIS
2 1065 posted 11 years ago by rickygri
Get the absolute webroot URL.
1 764 posted 11 years ago by o0110o
This PHP code is made to help people using the ActionScript 3 AlivePDF library to save PDF files from a Flash app to a server. ActionScript 3 AlivePDF save code: _pdf.save(Method.REMOTE, "save.php", Download.ATTACHMENT, "MyFile.pdf");
0 794 posted 12 years ago by vamapaull
Serverside script for a personal DynDNS service. Works together with a clientside script written in ruby [ http://snipplr.com/view/55484/own-dyndns-service-clientside-script/ ] . Redirect to current saved IP(http, port 80): http://dynDns.yourver...
0 751 posted 12 years ago by madc
0 466 posted 12 years ago by jcquintero
Tiny script to write a daily logfile with the serverload. Can be run every X minutes using a cron for example. Result in logfile: 13.40 | 2.45 2.45 2.43 13.45 | 1.62 2.02 2.25
0 566 posted 12 years ago by remko
AddHandler application/x-httpd-php .php .htm ... worked for me (directory: xampp/apache/conf)
0 608 posted 12 years ago by stephcode
0 543 posted 13 years ago by metoikos
0 561 posted 13 years ago by batfan
1 611 posted 13 years ago by yeremiloli
0 546 posted 13 years ago by metoikos
Hello Php Coders, Here's a useful php code block for your projects to control server status. Use this code blokc to report a server status result. I hope you'll like it. Also; i suggest you to rest for a while on [2 KiÅŸilik Oyunlar](http://...
2 747 posted 13 years ago by jackoder
Many scripts rely on `$_SERVER[SCRIPT_URL]` which is sometimes missing. This function detects it from other server variables and fixes the missing field.
1 1321 posted 14 years ago by drwitt
Returns only the directory path to the current file — no host or filename, just URI directory structure.
1 550 posted 14 years ago by radarseven
How to replace sleep(2), for your PHP code. Ideal testing hosting/dns ping.
1 727 posted 14 years ago by nicolaspar
A basic PHP script that I simply FTP to the server and use to evaluate extensions on the server. I simply supply the extensions I require and the script does the rest of the work.
1 534 posted 14 years ago by fackz
0 424 posted 15 years ago by fredaudet
0 572 posted 15 years ago by iTony
1 823 posted 16 years ago by llbbl
« Prev 1 Next »