Jump to content

scootstah

Staff Alumni
  • Posts

    3,858
  • Joined

  • Last visited

  • Days Won

    29

Everything posted by scootstah

  1. Maybe you should explain what you want the script to do, and then we can help you.
  2. Generally I like to just use the same page for form processing. That way each page is only responsible for and dependent on itself. So like for a contact page "contact.php": if (!empty($_POST)) { // process form } else { // display form } What you actually display depends on your app I guess.
  3. Change to $Recipient = $_POST['email'];
  4. Consider minifying and combining your JS files. You are making a total of 9 HTTP requests just to load JS files. Another 13 HTTP requests goes to loading images which could be combined into a CSS sprite. You can minify your CSS as well.
  5. It looks like it's from 1995. You used table-based design, not using CSS for images and not using CSS sprites for images.
  6. Then why can't you use that?
  7. What if Javascript is disabled? Then the button is going to do nothing. Confirms should be on the onsubmit event. And running it through a function like you did may work, but it can be done a much simpler way.
  8. It should be like this: <form action="" method="post" onsubmit="return confirm('Ready?');"> <input type="submit" value="submit" /> </form>
  9. It's just simple Javascript. http://www.appelsiini.net/projects/jeditable
  10. Use AES encryption on billing information and you should be okay - as long as your actual system is secure. Keep packages updated. Change passwords frequently. Don't store credit card information if you don't have to. Don't use shared hosting.
  11. Do you have or do you plan to have a user login system? If not, then there's nothing wrong with a hard coded password. Just make sure you have secure file permissions.
  12. Maybe make a column in the user table called "max_stars". Then when they donate you just figure out how many stars they should have and then update this column. So from your example if they donated $5, max_stars would be 10. Then when they choose a star make sure it doesn't exceed max_stars.
  13. Which also points to sucky host in my opinion. Most respectable hosts will have no problem adjusting some things or installing some extra modules for you if you ask nicely.
  14. You know what I meant... you are just being picky now.
  15. But then why would they say it "can't be added"?
  16. Because you can't go to GoDaddy and ask to register http://local.dev3/ or local.dev3... local.dev3 is the Base URL for the Virtual Host I created on my laptop. These are "Domain Names"... yahoo google sitepoint sony And these are "Top-Level Domain Names"... .com .net .org Of course, I was asking about the whole enchilda... http://local.dev3/ http://www.MySite.com/ I am inclined to use the term "BASE URL" to answer my original question... Debbie It's still a domain name, it just doesn't use a TLD that is currently registrable. You can make http://something.areallygnarlytld on your own machine if you want. It's still a domain name.
  17. To update, just use REPLACE. It works the same way as INSERT but if the row already exists it just updates it.
  18. They probably keep track of which invites are sent to who. And then they can just look up who is signing up with which person's invite.
  19. JSON extension has been around since PHP 5.2. Also, it is included in the default PHP bundle so the host would have to compile their own source and explicitly not include it. I see no reason why this would be the case, so I say your host just sucks.
  20. Why isn't it?
  21. If you're just starting out with frameworks I would suggest CodeIgniter. It is very well documented and very easy to start using. Zend and Cake are both good, but they have a much steeper learning curve than CodeIgniter.
  22. They are considered host names, or more specifically, domain names.
  23. Okay, so you are inserting data into a MySQL database based on the last ID that was inserted into an Oracle database?
  24. So why doesn't the code in your first post work? It should still work if you check two boxes.
  25. Considering a router is basically a switch on steroids, you should be able to dump down the router features to just act as a switch. I've done this before with an old router when I needed more connections.
×
×
  • 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.