Jump to content

requinix

Administrators
  • Posts

    15,229
  • Joined

  • Last visited

  • Days Won

    427

Everything posted by requinix

  1. It. Is. An. Array. There. May. Be. More. Than. One. Item. In. That. Array. You. Need. A. Loop.
  2. Probably. You'd have to post your code, explain what it's supposed to do, explain what it actually us, maybe give us some background information...
  3. requinix

    open fsockopen

    How much are you willing to pay? Because if you want us to do it for you then you better be ready to give us money for our time.
  4. 1. You shouldn't stripslashes() as those are there because of JSON and json_decode() will do it for you. 2. $obj is an array with multiple events. You need a loop.
  5. $url = "http://www.example.com/path/to/page?"; // with the question mark $get = array("key 1" => "value 1", "key 2" => "value 2", "key 3" => "value 3" /* ... */); $xml = new SimpleXMLElement($url . http_build_query($get), 0, true);From there you have a SimpleXMLElement that you can do pretty much anything you want with. What do you want to do? What kind of XML are you getting back?
  6. $_POST
  7. No. Outputting is how you return something through AJAX. If the use of the word "return" there is confusing then pretend I said "send something back".
  8. Count your columns and your values. [edit] And next time use a title that actually describes your problem. "help help help" does not give anyone any incentive to help you.
  9. Now that you're in the PHP Coding Help forum, README: PHP Resources & FAQs 3. I'm getting a "headers already sent error". What does that mean?
  10. *more than one class with the same fully-qualified name
  11. Your first problem is having more than one class with the same name. That's a no-no. Name each class differently because they are, in fact, different classes. Then rename their files appropriately and if necessary modify your autoloader to fit, since it now knows which classes you're talking about.
  12. __autoload is deprecated. Use spl_autoload_register instead. "In a different folder"? You mean you have more than one ClassAppTitle class defined?
  13. Yes. Providing Active Directory authentication via Kerberos protocol in Apache mod_authnz_ldap Apache 2 - LDAP/Active Directory - Automatic login/authentication process mod_auth_sspi Apache LDAP/Active Directory Authentication
  14. No. IP addresses are not like host or domain names that you can make up as you go. The only way it would be possible is if the server running IIS had two network connections, one on the 123.45 network and a second on the 134.25 network.
  15. $mysqli->$queryYou have three of them.
  16. 1. Don't put complicated code in an onclick 2. In fact avoid using onclick attributes and instead attach event handlers 3. if thing is checked { obj = get the object if obj value is "abc" { disable obj } }
  17. debug_print_backtrace
  18. Hiding the extension is only for the links and the forms and the other things that happen inside the client's browser. You haven't actually renamed the files.
  19. No. Outputting is how you return something through AJAX. Then it sounds like you have a bug: your script is doing something it's not supposed to do. Figure out where the flaw in the logic is that's causing the script to output when not being triggered through an AJAX action. You best get over those qualms soon because every user can see exactly what is sent and received over AJAX. And no, there's nothing you can do about it directly so make sure you don't need to send or receive anything you wouldn't want the user to know about.
  20. It's not. fputcsv($handle, $row, ";", chr(0));You specifically say in your code to use \0 as the quoting character. If you don't want that then don't do it and pick something else. Or let PHP go with the perfectly reasonable default value of an actual quote character.
  21. Use a different editor to look at the file. It's using a typical representation of control characters by showing them as "^" + chr(64 + code), like how you might see ^C if you hit Ctrl+C with a command-line application.
  22. Is your code missing a quote or did you not copy/paste your code here?
  23. That. Don't tell people you're sending Excel files when you're actually sending CSV files.
  24. I don't see how it would be doing that. fputcsv() adds newlines for you. What are you using to view the file?
×
×
  • 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.