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 1960 posted 16 years ago by jackoder
0 1610 posted 16 years ago by snippetsdemo
another bash quickie!
1 1721 posted 16 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 2686 posted 16 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 1704 posted 16 years ago by narkisr
4 1965 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 2042 posted 16 years ago by narkisr
0 1832 posted 16 years ago by iloveitaly
0 1595 posted 16 years ago by tobewan
0 1277 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 1711 posted 16 years ago by tobewan
0 1393 posted 16 years ago by tobewan
0 1274 posted 16 years ago by tobewan
0 1501 posted 16 years ago by tobewan
1 2074 posted 16 years ago by oslego
0 1718 posted 16 years ago by tandouri
0 1376 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 1906 posted 16 years ago by Meander365
Returns only the directory path to the current file — no host or filename, just URI directory structure.
1 1747 posted 16 years ago by radarseven