Jump to content

Philip

Staff Alumni
  • Posts

    4,665
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by Philip

  1. Well a few things: Turn on error reporting, with E_ALL Add type="text/javascript" to your script tag Output (using var_dump/print_r $poster and/or $_SESSION to be sure
  2. See attached. [attachment deleted by admin]
  3. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=336553.0
  4. Pretty simple - in your query you can do like the following: SELECT c.id as customerID, ih.id as invoiceHeaderID, .... PS - don't forget code tags
  5. Where is $_SESSION['Username'] being set at? Does that script have session_start() at the top? Also, do note that your query is vulnerable to MySQL injections - you should consider sanitizing your input
  6. Philip

    Fathers day

    no sudo required?!
  7. If it is on the same server (using localhost) - you're fine.
  8. Front end work, right at 10 years now (holy cow where did the time go!) PHP - roughly 7-8 years
  9. If I don't make a stupid mistake I can't find within a minute... I call it a good day for me.
  10. Windows Notepad. I see the code I type in and I see the end results - its a WYSIWYG!
  11. I think anope is having problems. I'll ping CV again.
  12. I've purchased this book & used several contracts from it: http://www.amazon.com/gp/product/1413305326/
  13. On that logic, the world ends every Dec 31st for me since I have to buy a new calendar every year
  14. Yup, the form token is immune to JS being disabled. According to Adobe SiteCatalyst, ~8.3% of users have JS disabled.
  15. Using a form token is probably the method IMO. See here for more info
  16. Sorry, but I beg to disagree. They are errors, they just might not be errors you like. For instance, fixing <script> function utmx_section(){}function utmx(){} to <script type="text/javascript"> function utmx_section(){}function utmx(){} Fixes quite a few of the errors. Other errors like removing the incorrect attribute or removing deprecated stuff are pretty freakin' easy to fix. And once they are fixed, you are more likely to get a similar looking webpage in all the browsers. IE is pretty touchy when it comes to validation. Edit: fixed a stupid typo.
  17. It worries me that you are trying to put on GWO code.... when you can't get the basics down first.
  18. Happy birthday Thorpe! Enjoy it
  19. are you sure about that? We have a board for that, it's called Freelancing
  20. Simple, for existing ones posts: the parent ID of the topic is located in the same (or table joining the two) row. Every post belongs to a topic. ID | Topic ID | Post info 1 335536 ... When creating a new topic, there is a topic table, with some data about the topics, and then an AI ID kicks in. Try installing a forum and see for yourself
  21. Let PHP do the work. PHP will (almost) always be quicker, and by far more reliable. YOU control the way PHP is setup vs depending on someone's browser config and if they even allow JS.
  22. Offending code would be nice. I can tell you just by looking at the site, #content has margin: 0; when it should be margin: 0 auto; to match #nav-wrap
×
×
  • 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.