Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. You need to use isset to check that variables are set prior to accessing them.
  2. That is a directory, not a subdomain.
  3. You print your success message without actually checking first to see that your query succeeds. Obviously it fails.
  4. I know nothing about PCI and I missed the part about 'users' in your original post. Going by the quote that kingPhilip posted: It does indeed seem that your boss may be getting a few points mixed up.
  5. I think he is plainly stating that your boss is the one who is on the right track.
  6. The data you are passing to mail's header argument make no sense at all.
  7. Are you returning the data within your include like I suggested a few days ago?
  8. Why on earth would you want to duplicate your data in the database?
  9. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=347703.0
  10. Have a look at the documentation on jQuery's $.ajax method.
  11. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=347705.0
  12. The $ needs to be within the {} and variables are not interpolated when in a single quoted string.
  13. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=347691.0
  14. There are better way's of doing this if you are using an object oriented approach. See spl_autoload
  15. Can we see the code for login-index.php?
  16. There is no definitive 'PHP layout'. It's up to you to plan your application and design it accordingly. If you want more hand holding, you might consider using a framework, be aware though that they are not something I would generally recommend new comers to jump straight into.
  17. Why are you creating php files on the fly in the first place?
  18. Your going to need to be allot more descriptive than that.
  19. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=347644.0
  20. I would start by looking at the documentation provided by Twitter.
  21. That is pretty much the standard way of doing it. You could take a look at MySql's INSERT ... ON DUPLICATE KEY UPDATE See http://dev.mysql.com/doc/refman/5.0/en/insert-on-duplicate.html
  22. There is no way of obfuscating your code properly and having it compatible with all servers. Using something like ioncude, your users would need ioncude installed on there server. Just get yourself a decent license.
×
×
  • 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.