Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. Try using a DOM Parser.
  2. If you want to take twice as many steps, sure.
  3. rename($file1, $temp1); rename($file2, $file1); rename($temp1, $file2);
  4. Post your actual code.
  5. Rename($file1, 'temp'); Rename($file2, 'file1); Rename($file1, 'file2'); Pseudo code.
  6. Really? Because the first result for "google plus rename page" is pretty darn clear. Have you considered remedial reading tutoring, since you claim to have no reading comprehension in every other post?
  7. What you have described is only possible via AJAX (taking into account the title of your post.) Check out jQuery. Moving this to the AJAX forum.
  8. Whine whine whine. How can the usernames be too long, they're on a SINGLE LINE BY THEMSELVES.
  9. function AuthorizeNet ($xml) { parent::__construct(); $this->setup('login','password','testmode'); $this->xml = $xml; } Then use $this->xml
  10. Okay that's fine. I misunderstood the problem Your query looks right then. Move to step B.
  11. You've set the time limit of 300. while(1) will cause this script to run INFINITELY. You can set the time to whatever you want, eventually you'll run out of memory. WTF are you trying to do?
  12. A. You need to normalize your data. B. what debugging have you done? Echo the query, run it in MySQL/phpMyAdmin, etc? But ignore B until after you do A. Edit: That's assuming your structure looks like that. You said rows, but your code doesn't look like it's trying to do rows. Do you have many COLUMNS with those names, or you want many rows? (Hint: rows is right.)
  13. You were also given the answers to the exact same questions almost a year ago: http://forums.phpfreaks.com/topic/263338-using-pdo/
  14. Name does not have to come before id.
  15. You want both actually.
  16. Did you look at the manual? There's great examples.
  17. Jessica

    XSS

    Thanks for sharing your solution so others can learn.
  18. Explode and array_pop
  19. You just have a random string, you didn't actually execute it.
  20. Yes. In the manual.
  21. It already IS an array.
  22. Or make your code use arrays. That's what they're there for.
  23. So create a PHP (or html) file with a form, and make the action the page you want to go to.
  24. Your table should have an auto-incrementing primary id. You can also record the start and end times, and sort by them, the fact that they go over midnight makes no difference. Edit: What psycho said. Stupid forum.)
×
×
  • 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.