Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Not like that it's not. Try; $Controller = 'Controller\\' . ucfirst($path[0]); $Controller = new $Controller;
  2. Have you got error reporting enabled. Also, the Location header is expected to be a complete url.
  3. This topic has been moved to mod_rewrite. http://www.phpfreaks.com/forums/index.php?topic=359816.0
  4. Like kicken I keep my work under version control (Git). Once a release is tagged complete though, I usually use rsync to upload the new site.
  5. Ive got a better idea. How about you describe your problem.
  6. trq

    bbcode

    Variables don't need quotes around them and in fact will not interpolate when within single quotes. echo BBCode($descr);
  7. This topic has been moved to Application Frameworks. http://www.phpfreaks.com/forums/index.php?topic=359768.0
  8. Nope, still makes little sense. Especially seeing as I see no code that interacts with a database.
  9. Sorry, but that sentence makes no sense at all.
  10. Which part doesn't work? Are you getting errors? You should be. For starters, this line: echo “Your stock has been sold”; Will produce a fatal error because of those quotes. Have you got error reporting enabled while developing? Your going to need to provide more detail if you expect help.
  11. Um, requinix just explained how to fix it.
  12. This topic has been moved to mod_rewrite. http://www.phpfreaks.com/forums/index.php?topic=359742.0
  13. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=359750.0
  14. try using require_once instead of include_once. This should at least produce an error for you.
  15. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=359744.0
  16. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=359709.0
  17. I know this isn't really on topic but Bugzilla is a seriously dated piece of software. Have you looked at Redmine? It's a much better solution IMO.
  18. There is nothing special about setting up php libraries. You just need to put them on your include path, which the PEAR directory should already be on. If it is producing php code then something in your server is misconfigured.
×
×
  • 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.