Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. Did you do what I suggested and do print_r($_POST)?
  2. Curtis: Yes it is. http://www.tizag.com/sqlTutorial/sqlin.php
  3. Is the image() function included on the page? You have to have it on the page you're running in order to call it.
  4. This is an HTML problem I think. Did you try printing the POST to see if they are set? Maybe you have to access it as an array, since you'll have several things with the same name. print_r($_POST);
  5. You KNOW you wanna hax0r Neopets. That's what all the cool kids use PHP for. That and changing their college GPA. Oh wait, that's just senators. You schedule the cron job to run the page which uses curl? I think that's what he meant by curl and cron. I don't know about curl so I have no idea if that makes sense. Yarr.
  6. You need to have it in PHP tags. <?=image()?> (works with short tags on, otherwise use <?php echo image(); ?>) You can't just write it and expect the computer to guess what is php. :-P
  7. No, the code where you get image() as the text.
  8. Jessica

    time()

    if you want to insert the current time, use NOW(); $sql = "INSERT INTO table VALUES(now())"; otherwise use time() and format it with date(). DATETIME in mysql is YYYY-MM-DD HH:MM:SS ("Y-m-d H:i:s") Date is same without the time ;)
  9. Your browser is caching the image.
  10. oh noes, he's gonna hax0r neopets.
  11. I would do $sql = "UPDATE this SET wins = wins+1 WHERE id = 4321"; $sql = "UPDATE this SET loss = loss+1 WHERE id = 1234";
  12. Can you show your code that isn't working?
  13. Have the link have the letter on the end .php?letter=a Then use $_GET['letter'] to get the letter to put in your SQL.
  14. str_replace alternatively, to remove all html : strip_tags()
  15. *headdesk* I can't believe that didn't occur to me thorpe. I just have to add a bit to my db wrapper and that will work. You rock :)
  16. Please use the code tags (The # button). Where is $path_thumbs defined? same for $breaker? Does it suggest 2 if there are NO files?
  17. || is 'or' in php. TUTORIALS FOR THE LOVE OF PETE PLEASE GO READ SOME MORE.
  18. I added a _, whatever. It's stripslashes then. I swear you didn't have that in your code when I suggested it...
  19. That's amazing that searching for PHP Image Size returned only CSS. I tried it just now and got a plethora of wonderful results of PHP. No CSS, wow. Maybe your google is like, broken? omg.
  20. Vague Question. Look at some php image tutorials. Google is this awesome tool, you type what you want in it, and it finds relevant pages. If I type "PHP Image Size"  I get some awesome info on PHP and Image Sizes.
  21. The button with the # on it.
  22. strip_slashes()
  23. So save the information in the session, and print it out on the form using the html value=""
  24. [quote author=jesirose link=topic=121547.msg499917#msg499917 date=1168282262] (In reality, there are 4 databases and they are all very big, so I don't want to combine them if at all possible.) [/quote] No, I don't want one database. It would have a hell of a lot of tables. Not just two.
×
×
  • 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.