Welcome To Snipplr
Everyone's Recent Snippets Tagged server
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
find all files owned by xxx and change them to be owned by yyy
0
698
posted 15 years ago by stiobhart
Don't run the dev server as an actual web server. I'm just doing this so I can work remotely on a vm.
0
921
posted 15 years ago by tclancy
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
I was having the hardest time getting this to work. It's a collection of various items. For whatever reason, I needed to include the CASE statement due to NULL's coming back. If this helps you out... go for it.
0
713
posted 15 years ago by gembry
If Ubuntu Server fails to resolve hostnames or find a network connection via Parallels 3 bridged networking, it may be attempting to use the wrong network interface.
0
755
posted 16 years ago by cczona