Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. You'll want to check strpos() returns false. Instead of >=0 use === false
  2. HTTP isn't designed to work the way your after.
  3. Your server needs permission to move files, not you.
  4. Iv'e never bothered using any of the GUI interfaces and you'll have a hard time using both because cPanel and the like tend to make a mess of your configs. I've always found it easier to just do things myself.
  5. Take a look at: print_r($_GET); for debugging.
  6. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=342045.0
  7. See http://php.net/manual/en/info.configuration.php#ini.magic-quotes-gpc Magic quotes can and should be disabled.
  8. It's pretty hard to tell without seeing your design, but I have my router return a command object which has class and method as properties. I would then do something like... $class = $command->getClass(); $method = $command->getMethod(); $obj = new $class; $class->$method();
  9. If your going to use it in a query what do you need to print it for? echo implode(',', $_GET['selectedSetupTop']);
  10. This statement is all together incorrect. The header function sends http headers back to the client. One of the common headers sent happens to be the Location header which asks a browser to redirect to another location.
  11. trq

    mysqld

    And your question is?
  12. You could write your own Ajax functionality in JavaScript (as you have done), but it is much better to use tried and true implementations that are well tested, flexible and easy to use. Using a framework for JavaScript just takes allot of the grunt work out of it.
  13. You could use glob to build an array of files to include then loop through that array including them. Because in the end, it's a better design that is more efficient and easier to implement.
  14. Why are you storing serialized data in the database in the first place?
  15. You should read this.
  16. That makes no sense at all and will throw a parse error. Just use include.
  17. That kind of functionality would require something custom made.
  18. You do have an smtp server installed?
  19. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=341937.0
  20. I would be inclined to do this client side using gRaphael. You could quite easily pass the required data to your views as json.
  21. Hmmm, I smell spam.
  22. There is no definitive answer, just opinion. Often the one that is well suited to your style of development and specific project requirements will be the best one to use.
  23. I used to use dynamically loading js, but it ended up being allot more efficient to put all js into one file and the minify it. Its the actual http requests to multiple files that hurts more than size. Of course it would also depend on what sizes where talking about. Loading a 50k-80k file just to use one function etc etc.
  24. Have you checked out some of the editors mentioned in this thread?
  25. This board is here for questions directly relating to already existing Third Party code. It is NOT a code repository or the place to post requests looking for specific scripts. If you can't find the script you are looking for on Google, you either don't know how to use Google or the specific script does not exist. DO NOT request help with searching.
×
×
  • 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.