Jump to content

Philip

Staff Alumni
  • Posts

    4,665
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by Philip

  1. If you're a mother and you know it, clap your hands!
  2. Sure, it might not be harder to make... but are you using the right tool for the job? I might be able to hit a nail in with a screwdriver, but was it really the best way to do it?
  3. Sure, and I understand that. Like I said in my original post where I mentioned needing to get out more, I'm the same way - it's a nice thing to do after a long day at work. However, so many people are making it out like it's the end of the world that 'OMG I can't live without PSN for 2 weeks'. There are so many other things that could be done in the same time, with the same amount of value (entertainment / monetary) that I honestly haven't even noticed it being gone.
  4. This ...and this. More space = more rooms for monitors!
  5. Sure, I can agree to that. I honestly think that's my biggest gripe about it all, was how slow they were to give us updates. Sometimes not even once a day, whereas Amazon when AWS East Coast went out (another grand fiasco) they were updating at least once an hour. Sure, PSN isn't mission critical like AWS could be, but still, it would've been nice to have some more updates sooner. Which brings up a good point. Oh no, a FREE service went down. Sure, privacy was breached, but besides credit card info, you can find most of the other stuff (name, address, phone, age) just by looking around on the internet or God forbid we break out a phone book and flip through that. Yes, it has already happened many years ago. They also got the brunt of lawsuit-happy people. IMO, it's a bit worse if XBox live goes down because it is a paid service and I'd expect compensation - much like if I had signed up for PSN+, but I didn't. Thus, I'm grateful to be getting anything Sony hands me in compensation. People getting completely enraged that they can't play their games online seriously need to step out in the world. Shit happens, oh no. Maybe you can do something productive, instead of sitting in front of a TV all day playing video games. Don't get me wrong, I like to occasionally wind down a long day by playing some games, but uhh... there are many other things to do in life that play on the PSN. Just my $0.02
  6. Tables is not always evil. It's evil when someone uses their whole site in a giant nested table, yes. However, when using tables for what it is meant for - tabular data - it is not evil. You essentially recreated tables using a different method (unordered lists). Yours isn't wrong per-say, but it's not the method I would have used.
  7. Yup, that's why there is always a fire extinguisher handy at my place. If something goes up, I'm gunna give it a hell of a fight to burn my place down.
  8. You could always link to the new server's IP
  9. If you did it in plaintext, e.g. a .txt file and placed it in a web-accessible directory, anybody could read it. From there they could figure out what hash you used and use a rainbow table to find the actual passwords. Granted, things like salts, different hashing, etc would help... but still... it'll be accessible to the world. If you placed .htaccess disallowing to that directory, sure you might not be able to access it. However, personally I just don't trust it and would rather place a file like that below http docs, or better yet (for performance and more safety) in a database. If you had the passwords in a PHP array then nobody could see it unless you output it or the server was misconfigured and did not parse the PHP file.
  10. The orange border is a default in chrome that is persistent and cannot be overwrote. You'll find this on any form field, on any website. As far as the text - yeah the padding/line-height needs some adjustment
  11. ^^ that's what I call TL;DR
  12. This is honestly a great place to start and to keep up with practice. Trying to figure out other people's problems and seeing other's solutions really helped me when I first started learning (hell, it still does help). Anyways, quite a few books take one or two projects and just slowly build it throughout the different chapters. Try going to a local bookstore / library and see which you might like the most
  13. Worked for me... just ended up in my spam box.
  14. UGH, don't remind me!
  15. Man, do I know that feeling
  16. Happy birthday Pikachu2000 - turning 109 is no easy task! We even made you a cake!
  17. Did you look through your browsers history? The only thing Google comes up with for "open Source Image Standards" is this post and ones linking to it.
  18. Might I suggest the porn thread in the staff area? Oh wait.. I shouldn't discuss that!
  19. I looooooooooove the web developer toolbar. Somethings it has that firebug doesn't (or does better than firebug IMO): Easily see validation (a green check, or red x) for CSS & html Easily get to what is normally a somewhat lengthy process to cache and cookie options (such as disabling cache, clearing cookies on this domain, etc) Gets you a lot of information (although you may not need it too often) quickly, that is typically a manual process - see screenshot 1 [info.jpg] And provides some tools for quick QA, e.g. validate local HTML (if you have a PHP file that produces dynamic HTML this is super handy) - see screenshot 2 [tools.jpg] [attachment deleted by admin]
  20. You can also do it like this, separating the templates completely from the application logic: Application logic: <?php // Include config.php require_once("".$_SERVER['DOCUMENT_ROOT']."/lib/config.php"); $_PAGE = array( 'title' => 'Page Title Here', 'description' => 'Meta description', 'keywords' => 'Meta keywords', 'website_name' => 'My website', 'content_template' => 'register.inc', 'current_loc' => basename(__file__), ); // Process your stuff... // check if form been submitted if(isset($_POST['submit'])){ // validate, sanitize date etc $_CONTENT['name'] = $_POST['name']; $_CONTENT['email'] = $_POST['email']; $_CONTENT['password'] = $_POST['password']; // blah blah blah and the rest etc } require('main.inc'); ?> A main (minus the content) template: <?php // main.inc template file // top.inc.php require_once($top_inc); ?> <!-- Meta start --> <title>PAGE TITLE HERE</title> <meta name="description" content="PAGE DESCRIPTION HERE" /> <meta name="keywords" content="PAGE KEYWORDS HERE" /> <!-- Meta end --> <?php // main.inc.php require_once($sidebar_inc); require_once($_PAGE['content_template']); // footer.inc.php require_once($footer_inc); // end main.inc template file ?> Registration template page <?php // register.inc template file ?> <h1>Signup to <?php echo $_PAGE['website_name']; ?></h1> <form method="post" action="<?php echo $_PAGE['current_loc']; ?>" id="signup-form"> <label for="name">Name</label> <input type="text" name="name" id="name" value="<?php if(isset($_CONTENT['name'])) { echo $_CONTENT['name']; } ?>" /> <label for="email">Email</label> <input type="text" name="email" id="email" value="<?php if(isset($_CONTENT['email'])) { echo $_CONTENT['email']; } ?>" /> <label for="name">Password</label> <input type="text" name="password" id="password" value="<?php if(isset($_CONTENT['password'])) { echo $_CONTENT['password']; } ?>" /> </form> <?php // end register.inc template file ?>
  21. The difference in speed would most likely be negligible for most people on that level. Caching does help, but you might as well just let PHP create the cache on the first load instead of you manually doing it. What is your goal in doing this?
  22. Also, using project management apps such as Redmine that hook into your versioning system, has bug/feature management, wiki pages, etc, is a great way to keep track of your progress.
  23. F11 will go into full screen mode, F10 will hide menus (at least in FF4) What version are you running?
  24. Well at least you have a book to read while taking a dump.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.