Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Like I said a few posts back. You really need to learn the basics first. Once you have, these questions like 'how do I make...' will become obsolete. Because you'll just need to think about what steps would need to be taken to create a guestbook. You'll already know how to do all the programming.
  2. Were not here to write code for you. There are plenty of tutorials around that teach you how to write php, this board is for help with code that YOU have written that your having problems with.
  3. The PEAR library already has all its functionality within classes.
  4. The expect extension is what your after.
  5. You might want to at least get a grasp of functional programming before eve attempting OOP. The classes connect() & clean_input syntactically incorrect and will not function. auth_user() should probably just return true or false. Making it redirect to specific pages makes it completely tied to the current application.
  6. trq

    Expand / Collapse...

    Considering that the premier language for programming within a browser is Javascript, you might start there.
  7. You have failed to actually ask any question. Where exactly are you stuck?
  8. Cleaning user input & making a database connection has nothing at all to do with user authentication and should be in there own classes. Your auth_user() method is completely floored. mysql_result() returns either a result resource if the query succeeds (this is not the same as finding a result) or false otherwise. It will never return 1.
  9. A powerful one at that given the right environment. JavaScript is actually a programming language.
  10. Buy a license key.
  11. Checked your server logs?
  12. It would be more helpful if you would simply post some relevant code.
  13. Your question doesn't really make sense. Could you give us an example of what your trying to do?
  14. CruiseControl is pretty much just an application for displaying information created during the different stages of your build process. eg; Unit test results, code coverage & documentation.
  15. I'm sorry, but you may need to find a forum that speaks your language.
  16. Your using a form right? Thats not php.
  17. I always use jQuery's date picker now days (http://docs.jquery.com/UI/API/1.8/Datepicker). You can have it return whatever format you need.
  18. I wouldn't necessarily call it the best way as its all a matter of personal opinion. There's nothing wrong with the approach however and if it works for you, go for it.
  19. The Location header requires a complete url according to the http spec. It can be problematic without it.
  20. GPL2 also sounds similar to what your after. 3 is more restrictive. http://www.gnu.org/licenses/gpl-2.0.html
  21. This wouldn't be that hard to write yourself using jQuery and you where looking for a place to start.
  22. I'm not sure there are open-source licenses like that around. Generally, your free to modify and then redistribute the modified code as long as the original author is still credited and the original license remains n place.
  23. trq

    CMS PHP

    Your not exactly describing your issue very well, but it sounds to me like your design is floored somewhere. I have a CMS that runs multiple (currently almost 300) web sites. Know where within this system do I need to store php within a database or allow clients to edit any php.
  24. Not daft, but you haven't really explained what you want to do with this data.
×
×
  • 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.