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 598 posted 9 years ago by adesara_jaydeep
Prints all $_Server variables to table
0 681 posted 10 years ago by kidmizere
*Example:* if (!isRewriteMod()) exit('Please install Apache mod_rewrite module.');
0 678 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 3822 posted 11 years ago by jvandemerwe
Get Current URL Path on Apache / IIS
2 1093 posted 11 years ago by rickygri
Get the absolute webroot URL.
1 782 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 813 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 767 posted 12 years ago by madc
0 484 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 579 posted 12 years ago by remko
AddHandler application/x-httpd-php .php .htm ... worked for me (directory: xampp/apache/conf)
0 634 posted 13 years ago by stephcode
0 559 posted 13 years ago by metoikos
0 583 posted 13 years ago by batfan
1 629 posted 13 years ago by yeremiloli
0 569 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 769 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 1364 posted 14 years ago by drwitt
Returns only the directory path to the current file — no host or filename, just URI directory structure.
1 576 posted 14 years ago by radarseven
How to replace sleep(2), for your PHP code. Ideal testing hosting/dns ping.
1 749 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 553 posted 15 years ago by fackz
0 434 posted 15 years ago by fredaudet
0 587 posted 16 years ago by iTony
1 858 posted 16 years ago by llbbl
« Prev 1 Next »