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 1850 posted 15 years ago by jackoder
0 1519 posted 16 years ago by snippetsdemo
another bash quickie!
1 1618 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 2536 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 1599 posted 16 years ago by narkisr
4 1845 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 1934 posted 16 years ago by narkisr
0 1740 posted 16 years ago by iloveitaly
0 1510 posted 16 years ago by tobewan
0 1184 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 1616 posted 16 years ago by tobewan
0 1310 posted 16 years ago by tobewan
0 1193 posted 16 years ago by tobewan
0 1397 posted 16 years ago by tobewan
1 1961 posted 16 years ago by oslego
0 1606 posted 16 years ago by tandouri
0 1280 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 1816 posted 16 years ago by Meander365
Returns only the directory path to the current file — no host or filename, just URI directory structure.
1 1658 posted 16 years ago by radarseven