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 1883 posted 15 years ago by jackoder
0 1541 posted 16 years ago by snippetsdemo
another bash quickie!
1 1652 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 2561 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 1621 posted 16 years ago by narkisr
4 1868 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 1957 posted 16 years ago by narkisr
0 1763 posted 16 years ago by iloveitaly
0 1530 posted 16 years ago by tobewan
0 1206 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 1633 posted 16 years ago by tobewan
0 1334 posted 16 years ago by tobewan
0 1217 posted 16 years ago by tobewan
0 1421 posted 16 years ago by tobewan
1 1986 posted 16 years ago by oslego
0 1632 posted 16 years ago by tandouri
0 1305 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 1839 posted 16 years ago by Meander365
Returns only the directory path to the current file — no host or filename, just URI directory structure.
1 1683 posted 16 years ago by radarseven