Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. A posted variable wont be empty. It will be a string. Not to mention your code is only going through what was actually posted. Edit: damn iPhone! fixed typos.
  2. And when they match like in your example?
  3. See my signature.
  4. Either use an array or do the comparison three times.
  5. That's fine, it's a string. There's absolutely no problem with that.
  6. Line 17... So there's a whole bunch of code you didn't post. Like I said - the code YOU ORIGINALLY POSTED could not produce that error.
  7. Why are you putting sensitive information into the globals array? Use constants. The code you've posted would not produce an error about an undefined variable. You're also not checking for errors.
  8. ...
  9. Thanks Kicken, I didn't look too closely at it because he said it worked.
  10. Yeah I hid it because it takes up 4/5ths of the entire page. That's annoying. Salathe can still see it, I have no idea what he wants to do with it.
  11. See, that's a whole hell of a lot different than your original post, isn't it.
  12. I would try putting the code on my laptop/desktop/whatever pc and use something like WAMP to set up a localhost to do testing, since it sounds like you're using a shared host.
  13. I don't even understand the question.
  14. This forum is for help with code you wrote. Did you try googling the topic? They should have given you a URL for their API as well.
  15. I don't see anything that indicates the OP's code works on a development server, it sounds like it does have a fatal parse error, which would cause ini_set to never get processed. Better to change it in the php.ini.
  16. echo $array['PaymentResult']['Cdc']['CdcEntry']['Items']['CdcEntryItem'][1]['Value'];
  17. Hit the Mark Solved button.
  18. Cool story bro. Edit: well if you post the code it ruins my post. Pah.
  19. Since you haven't asked a question about a specific problem, this looks more like peer-review request, so I'm moving this to critiques.
  20. Why are you defining the allowed extensions way after trying to use it?
  21. Which is your site, u-a-s.com or lahori.org??
  22. There must be more code then. I suggest A. Hire someone who knows what they're doing. B. Hire a lawyer. C. Learn from the mistake.
  23. Good job interpreting that logic and writing the code.
  24. There's two ways, one is you could set a variable to true before entering the loop, and in the while loop check to see if it's true. If it is, skip the row and set that variable to false. Then from then on it will be false and not skip the row. Probably the simpler way.
  25. Try using full tags, not short tags. If that doesn't fix it, show us the actual output.
×
×
  • 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.