Welcome To Snipplr


Everyone's Recent Snippets Tagged server



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 1701 posted 15 years ago by jackoder
0 1384 posted 15 years ago by snippetsdemo
another bash quickie!
1 1473 posted 15 years ago by adkatrit
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 2363 posted 15 years ago by drwitt
This is based upon a debian guide, it seems to work well for ubuntu as well, all these steps can be performed via remote ssh (no need to access the machine).
0 1456 posted 16 years ago by narkisr
4 1711 posted 16 years ago by vas3k
This is excellent for testing (mocking a SOAP server for example), we use an in memory http server in order to answer client requests.
0 1776 posted 16 years ago by narkisr
0 1581 posted 16 years ago by iloveitaly
0 1388 posted 16 years ago by tobewan
0 1082 posted 16 years ago by tobewan
If you need to list all of the MySQL databases managed by Plesk along with their corresponding domains and login credentials, you can use this query:
1 1481 posted 16 years ago by tobewan
0 1191 posted 16 years ago by tobewan
0 1095 posted 16 years ago by tobewan
0 1269 posted 16 years ago by tobewan
1 1807 posted 16 years ago by oslego
0 1459 posted 16 years ago by tandouri
0 1168 posted 16 years ago by manatlan
Create two new bookmarks - one for dev, one for live and add the following corresponding code to each.
1 1681 posted 16 years ago by Meander365
Returns only the directory path to the current file — no host or filename, just URI directory structure.
1 1507 posted 16 years ago by radarseven