Soma Posted March 31, 2014 Share Posted March 31, 2014 If you add temporary code, to delete certain pages, to the templates/admin.php: remember to remove it afterwards to avoid headaches, facepalms and keep you healthy. Actually happened a couple times already, I'm getting older too. 8 Link to comment Share on other sites More sharing options...
Martijn Geerts Posted March 31, 2014 Share Posted March 31, 2014 lol, If you remove data with javascript, you should not search why PHP is not outputting 1 Link to comment Share on other sites More sharing options...
kongondo Posted March 31, 2014 Share Posted March 31, 2014 Hehe...this should be in the tutorials section ;-).... Link to comment Share on other sites More sharing options...
Joss Posted March 31, 2014 Share Posted March 31, 2014 The best one I ever did (many, many years ago) was to reformat a disc. I studiously backed up the contents to another drive and then reformatted the entire disc. I can't remember exactly what the point was when I remembered that the other drive was in fact just a partition of the same disc..... 3 Link to comment Share on other sites More sharing options...
Valery Posted March 31, 2014 Share Posted March 31, 2014 Hey Soma, everyone of us is better off with a tar or two backups of our php's Good luck! Link to comment Share on other sites More sharing options...
diogo Posted March 31, 2014 Share Posted March 31, 2014 This is what I do to avoid accidents if ($input->get->kill == "yes") { // do dangerous things } 1 Link to comment Share on other sites More sharing options...
pwired Posted March 31, 2014 Share Posted March 31, 2014 Formatting a harddisk doesn't make the data on it go away, only overwriting does. It only looks like that because the data is no longer accessable through the bootrecord/partition table. An off-line sector scanner like RStudio brings back all data after formatting a harddisk. Link to comment Share on other sites More sharing options...
Wanze Posted March 31, 2014 Share Posted March 31, 2014 I just tried 40 minutes to connect to a DB server via a python script, always getting errors that no host is available.... until I finally realized, that the IP used was not public and I needed a VPN connection first. 1 Link to comment Share on other sites More sharing options...
Joss Posted March 31, 2014 Share Posted March 31, 2014 Wanze, I am always doing things like that. I develop web stuff on a local box where I create domain names with my own local top level domain which is a sort of in-family joke about a character I used to do for the kids - and then just massage my host file to point in the right place. When a client wanted to see something I was doing the other day, I happily emailed him a link. "What the hell is dot BEAR?" he replied 2 Link to comment Share on other sites More sharing options...
Craig Posted March 31, 2014 Share Posted March 31, 2014 "What the hell is dot BEAR?" he replied Did things get a little grizzly after that exchange? 1 Link to comment Share on other sites More sharing options...
Joss Posted April 1, 2014 Share Posted April 1, 2014 brrrrrr crash! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now