Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. 'Easy packages' are not required on Linux where installing php is generally a pretty straight forward task.
  2. Urls simply point to resources. Just because a url is /foo what about that means you need to be on a page/script named foo? You just need to know that the url points to the resource you want. An awesome example if this is on Github's site. Goto https://github.com/trq/proem, click the lib directory then drill down to wherever. The url changes without an entire page refresh. But guess what? You can now bookmark something like https://github.com/trq/proem/blob/develop/lib/Proem/Application.php. Even though you are really on https://github.com/trq/proem, the resource is easy to locate.
  3. Not these days. There is such a thing as pushState(). See https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history
  4. This topic has been moved to Application Design. http://www.phpfreaks.com/forums/index.php?topic=346514.0
  5. This topic has been moved to Application Design. http://www.phpfreaks.com/forums/index.php?topic=346528.0
  6. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=346529.0
  7. This topic has been moved to Other Web Server Software. http://www.phpfreaks.com/forums/index.php?topic=346533.0
  8. It would appear so. I don't see what this has to do with php though, so I'm moving your thread.
  9. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=346503.0
  10. Don't use globals inside functions. You have just broke all encapsulation benefits a function provides. Pass it to your function as an argument.
  11. You can turn them off via ini_set or a .htaccess directive or edit the php.ini file if you can.
  12. Ha, well there is one I obviously forgot about. I generally use require because I want my scripts to fail if any dependencies aren't found, I assumed include failed silently.
  13. @Buddski include does not return true or false on success or failure. @op It also does not throw any error if it fails. You have other issues with your server. What does the error log have to say?
  14. If the file is on your include_path you just need to include it. include 'SSH2.php';
  15. mail is built into PHP. You do of course need a mail server installed though.
  16. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=346474.0
  17. trq

    SQL syntax

    Can we see the actual code that builds this query?
  18. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=346422.0
  19. $_POST is already an array, why are you passing it to the array function? As for your query. SQL is a language written in text. Text requires strings, not arrays.
  20. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=346411.0
  21. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=346425.0
  22. I would add to the virtual host configuration, though it should work in a .htaccess What errors are in your log?
  23. It's a simple multidimensional array. echo $iso['ISOSpeedRatings'][0]; echo $iso['ISOSpeedRatings'][1];
  24. This topic has been moved to Application Design. http://www.phpfreaks.com/forums/index.php?topic=346405.0
  25. This topic has been moved to Application Design. http://www.phpfreaks.com/forums/index.php?topic=346417.0
×
×
  • 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.