Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=341181.0
  2. That's a pretty specific tutorial. Do you know how to query a database? Why not start from there? You just need to break the problem down into a process of steps and work on each step. This is how programmers write code.
  3. You can get around the static ip address by using a service such as http://dyndns.org. they can give you a sub domain that points to your ip address. You'll need to install there daemon, details are on there site. As for configuration, it should be ready to go out of the box. You may need to look at your access restrictions within your Apache configuration if you can't get access.
  4. This topic has been moved to Other. http://www.phpfreaks.com/forums/index.php?topic=341136.0
  5. You can just send the data back as a string with each field delimitered by some value | is nice. Or, heaven forbid use xml (hence the X in Ajax).
  6. Yes, an Ajax request isn't really that different to any normal request.
  7. It should be buggy, from the manual:
  8. That should be fine. Do you have error reporting enabled? What errors are you getting?
  9. It's not going to happen. If you want well formatted printing ability, use pdf's. And yes, they are themselves quite difficult to implement.
  10. There are plenty of tutorials around that cover querying a database. Take a read of when and come back when you have a specific issue.
  11. Ah well. Don't bother.
  12. autoload or spl_autoload. I assume your lib files contain classes?
  13. If $background echo's correctly your issue is nothing to do with the php. Your <style> element is within the <body> of your markup. ps; You don't need any while loop if your only expecting 1 result.
  14. You are comparing $_SESSION['answer'] to $_SESSION['answer']. They are the same thing and will always be equal.
  15. You need to a) Run the code in two different locations. b) execute the code and store the results in an array then use that array in the two different locations.
  16. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=341114.0
  17. Obviously you need to execute your code in a place where the data is going to be available to use.
  18. Assuming your storing the entries within a database - ensure you store a date. Then simply check to see if there aren't already 100 entires added for the before allowing a new one to be added.
  19. That would have the potential to cause issues. Basically the email is saying it is from a different location to what the client actually received it from.
  20. Are you sending this email from the same server as the domain in the From header?
  21. You'll need to do some debugging then. Are your passwords really stored in plain text?
  22. focus only applies to elements. You cannot apply it to the entire window object.
  23. The book was describing a hack that should not be used IMO. The simple answer is, don't try and send content before sending headers.
  24. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=341084.0
  25. You can do this with a rewrite not a redirect.
×
×
  • 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.