Jump to content

Philip

Staff Alumni
  • Posts

    4,665
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by Philip

  1. I'd also suggest looking into setting up a separate server of yours for just static images. Nginx servers static files super quick with a very small footprint. On larger sites (especially forums) I have it setup to where the actual forum is getting served via one server (and possibly one mysql server) and then one "media" server that hosts all the images/videos/etc.
  2. It depends on the project. My typical when doing a quick script that isn't attached to a project: if($condition == value) { return $x; }
  3. And what happens when there aren't any files? $mp3s is then undefined as compared to being empty. I typically initialize an empty array before using it, out of habit instead of creating it via the square bracket syntax. But like thehippy pointed out, you do not need to initialize using array();
  4. The term is misunderstood by the media. ^^ I hear that way too often and just shake my head.
  5. What more are you looking for? That's a pretty complete list, its just spelling out all of the hex/octal notations.
  6. Those are escape sequences. They vary on the language, although roughly they are the same across the board: http://php.net/manual/en/language.types.string.php#language.types.string.syntax.double
  7. He does that, quite often. We've actually been discussing the idea [well, we were. I haven't heard much recently of it] of trying to out a karma-like system, with just positive karma only. The problem in the past was that if somebody didn't like your answer because it was better than theirs or they just wanted to have the OP see their answer they'd just give everyone else negative... so everything ended up being skewed.
  8. I'm typically too lazy to get up in the morning, but after I get off work I tend to do 20-30 miles on the bike on weekdays and then a few hours on the weekend. Although with the weather being so freaking hot, I'm going to start riding in the morning.
  9. I'm gunna hijack this thread... I haven't understood the hype behind minecraft. Whats so... thrilling about it?
  10. [*]IF your host is actually claiming its a server issue, move away from them if they cannot fix it & use your backups. [*]IF you're not doing backups, you better start doing so soon, otherwise next time this happens you'll be sitting in a puddle again. [*]but as others have said, I'd imagine it is more of an injection. Injecting "; TRUNCATE TABLE table1; TRUNCATE TABLE table2; is more common than you think. Make your host give you the logs so you can verify that it is or is not an injection. To answer your other question, no it is not possible to monitor MySQL with just PHP. Unless you make them use your own function, you cannot log all the queries just with PHP.
  11. I'm guessing the servers are optimized to handle this & the queries are also optimized.
  12. Hope this reply is not too late for others who are also seeking for a same help.
  13. Depends on what you're wanting to do. For web design, Fireworks has fulfilled almost all my need. Creating page designs and such are super easy in FW and I love using it. However, logos / icons that are in vector format - you need AI, and photo manipulation you'll need PS. There really isn't a "one-size-fits-all" solution.
  14. No. Yes. but PHP won't like you!
  15. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=340098.0
  16. http://codecanyon.net/
  17. And although I see the usefulness of this, I still prefer tab to tab between form elements. I know you can set it to a different key, but meh. Type it in another program + c/p it over.
  18. Ah, interesting. I wasn't aware of that.
  19. To add what Gizmola said, take initiative! Most people are so nervous they forget to answer any questions. I can't tell you how many times I've seen someone that I wanted to hire, but when it came to the group interview they completely bombed it because they didn't say a peep on their own.
  20. iPhone SDK : 99 USD Android SDK : free Also, be careful (and have your ass covered) once you start to get into video licenses & media rights.
  21. I do like the design. The only comment I have is the File / Edit / Controls.. buttons. They are pretty hard to read, perhaps a slight glow behind them over hover would help?
  22. Depends on what you're using the computer for
  23. You should have the option to, although I'd imagine in select boards.
  24. It's amazing what happens when you try things yourself, isn't it xc0n? In any case, please refrain from biting the hands that are trying to feed you.
×
×
  • 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.