Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged server
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
If you want to enable GII in your live server in YII you can do by following small steps.
0
767
posted 10 years ago by adesara_jaydeep
*Example:*
if (!isRewriteMod()) exit('Please install Apache mod_rewrite module.');
0
857
posted 11 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
4134
posted 11 years ago by jvandemerwe
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
1014
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
973
posted 13 years ago by madc
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
762
posted 13 years ago by remko
AddHandler application/x-httpd-php .php .htm ... worked for me (directory: xampp/apache/conf)
0
807
posted 13 years ago by stephcode
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
960
posted 14 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
1600
posted 14 years ago by drwitt
Returns only the directory path to the current file — no host or filename, just URI directory structure.
1
723
posted 15 years ago by radarseven
How to replace sleep(2), for your PHP code. Ideal testing hosting/dns ping.
1
922
posted 15 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
739
posted 15 years ago by fackz
« Prev 1 Next »