Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. And banned so quickly? Here's why: http://thorpesystems.com/2012/09/ungrateful-abusive-users.
  2. Awesome job Philip and everyone else who was involved, looks great.
  3. Don't bother asking for help without posting relevant code.
  4. We (of course) cannot help without seeing some relevant code.
  5. Why have you got a selector within the argument to load() ?
  6. PHP has nothing to do with web design.
  7. This topic has been moved to mod_rewrite. http://forums.phpfreaks.com/index.php?topic=365389.0
  8. This is pretty much "dynamic web pages 101". Where exactly are you stuck?
  9. This topic has been moved to Third Party PHP Scripts. http://forums.phpfreaks.com/index.php?topic=365356.0
  10. This topic has been moved to Application Frameworks. http://forums.phpfreaks.com/index.php?topic=365352.0
  11. This topic has been moved to Other Libraries and Frameworks. http://forums.phpfreaks.com/index.php?topic=365344.0
  12. It means the property $task is not defined within the object stdClass. You are trying to access that non-existent property on line 64 Without posting code, that is all the help we can provide.
  13. This topic has been moved to Third Party PHP Scripts. http://forums.phpfreaks.com/index.php?topic=365338.0
  14. I am yet to find that need and would avoid doing so at pretty much any cost given the choice.
  15. Have you tried reading there documentation?
  16. This topic has been moved to MySQL Help. http://forums.phpfreaks.com/index.php?topic=365296.0
  17. A folder is just a Windows users term for directory. They are the same thing.
  18. If that is aimed at me, you should read my reply again. I didn't say anything about references except that the change you have recently stumbled upon has been deprecated for a long time. I merely suggested you rewrite your code in a way that doesn't break encapsulation. I still stand by that. Functions that alter variables within the global namespace tend to lead to very flaky applications.
  19. Passing by reference has been deprecated since 5.3, that is over 3 years ago, it's not like this has snuck up on anyone. I suggest writting your code in a way that doesn't break the encapsulation that functions provide. function some_func($var) { return $var++; } $var = 1; $var = some_func($var); // var is now 2
  20. There is likely a better way. What exactly are you doing?
  21. This topic has been moved to MySQL Help. http://forums.phpfreaks.com/index.php?topic=365270.0
  22. Why don't you simply sync all your servers times using NTP?
  23. Have you looked at Doctrine's DBAL?
  24. Of course there is. Just have your site map generated by php.
  25. The part you are likely missing is a mod for apache called mod_rewrite. This allows your server to process requests for non existent pages as though they actually existed. eg; A url like: /some-article.html can be processed by your blog.php file and you can have the "some-article" part passed in as a parameter allowing you to do a database lookup by article title. A simple rule for this might look something like: RewriteRule ^([^.]+)\.html$ blog.php?article=$1 Then, in blog.php you will have $_GET['article'] which will contain the string "some-article" (given the above example).
×
×
  • 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.