Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Have you looked into jQuery or a similar framework? This sort of thing is simple with a decent framework? Otherwise, where are you stuck? You haven't exactly posted any code.
  2. Your point? phpBB likely allows blocks to appear raw when there is no data within them. I still fail to see the logic in your question / problem. What exactly would you expect your parser to do when it sees a closing [/code] tag? I would expect it to close the code block.
  3. You need to turn error reporting on on your server, your code is riddled with syntax errors.
  4. Which is exactly what your rewrite rule does.
  5. Post your current code.
  6. What exactly would you expect to happen? Any parser still needs the correct syntax given to it.
  7. .box1 { background-image:url(images/newimage.jpg); }
  8. You have html after the ; on that line, which continues onto the next line.
  9. Ubuntu has a package manager that is perfectly capable of installing the amp stack. Did you use it to install xampp?
  10. What makes you believe JSP is any quicker than PHP?
  11. Again, you cannot execute anything on the clients computer.
  12. Why would there be a restriction on being able to use php sessions? You can use standard php sessions and still store all session data in a database if the writing of files is the problem.
  13. A bat file is just another executable. Where exactly are you trying to execute these? On the server or the client?
  14. If it is enabled. Your not going to be able to execute an exe file on a client.
  15. Were not here to write code for people. I suggest you learn enough cold fusion to pull this apart and turn it into php. Or, if you know php well enough, just write it from scratch.
  16. Thanks for what?
  17. That is pretty much what package managers do. If however (as you have found) the packages you depend on are not available through whatever package manager you (or the end user) are using you won't have much choice but to have them manually install the application. Obviously, you should try and avoid uncommon dependencies when writing an application for distribution. What you could also do however (and this will mean allot more work) is actually provide (and maintain) the dependencies yourself as packages as well.
  18. You need to draw up a document outlining a sites requirements before work even begins. Anything outside of these requirements needs to be re-negotiated. And yes, you should always get sign-off on work completed. Generally I work on the principle of 1/3 upfront, 1/3 at beta and the final 3rd when the spec is completed.
  19. Because most (if not all) Linux distributions have there own package management systems distribution should be rather simple. Release a pure src version allowing a manual install and simply list any dependencies within a README file. Then, either you or someone else could maintain distro specific packages. eg; deb, rpm or ebuild scripts.
  20. Its likely out of scope from where it is being called. No way I'm digging through all that code to find out however.
  21. PHP and the web servers it runs on are completely stateless and therefore have no way of executing script a given time. Depending on how you want your script to work you could either setup the timer in Javascript (on the client) and have the web browser make a new request every 15 minutes. Or you could schedule the script to be execute by your OS's schedule daemon 9this of course would not be seen by any client).
  22. Strings need to be surrounded by quotes. eg; mysql_connect('localhost','example','example')
  23. Variables are not interpolated within single quotes.
  24. Obviously you didn't read the sticky at the top of it then.
  25. Nothing flash. Connects to a database creating a drop down list of countries with India selected by default.
×
×
  • 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.