Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by gw1500se

  1. There are lots of them around and asking for advice about which to use could start a religious war. 😀 I use RJ TextEd.
  2. Unlikely you will get any help here without posting the errant code. Perhaps it is just me but your attitude may need changing as well. As for the error, make sure you have error reporting turned on and include the error in your post. error_reporting(E_ALL);
  3. Search engines are your friend. is_null
  4. From the manual: "Returns the value encoded in json in appropriate PHP type. Values true, false and null are returned as true, false and null respectively. null is returned if the json cannot be decoded or if the encoded data is deeper than the nesting limit." The value you are trying to decode is not a JSON encoded string. You need to translate the ' to ".
  5. Search engines are your friend. PHPMyAdmin
  6. First you don't need an 'elseif' just 'else' unless there is more to the 'if' than you posted. When you call the function simply pass a boolean depending on which code you want to execute. if($condition){ run this code else{ run this code }
  7. First please edit your post and use the code icon (<>) at the top of the menu and specify PHP. Second, what did you try and what did not work as expected or that error do you get?
  8. Check your mail log on the public server for error messages. From an SMTP perspective they are different.
  9. I don't think there is a way to do what you want with fgets. I don't know why you think mincom won't work. I haven't tried it but perhaps, as you suggested earlier, using sockets might work.
  10. 'fgets' reads until it finds an EOF, newline or reaches a specified number of bytes. You didn't show any code so if none of those conditions occurs in your case it will hang forever. I am guessing what you are trying to accomplish but I suspect you are using the wrong read for a ttyUSB device. You might try minicom instead.
  11. The manual explains stream_set_timeout.
  12. There are 2 ways. Use either try...catch or the less desirable 'die'.
  13. It is not ignored, it is not being passed anywhere. I suspect you meant to do this: function MySql_Excel_Exporter($firma)
  14. Are you asking how to create a table within a cell of an outer table?
  15. Este é um fórum de língua inglesa.
  16. If I understand correctly, you loop on the outer sorted array. The within that loop you sort each inner array and loop on that to output the table.
  17. You can't just copy and paste code you find on the internet. You need to understand what the code does and how to adapt it to your environment. As a help forum you need to post your code here (using the code icon (<>) in the top menu specifying PHP or HTML as appropriate) along with any error messages and/or what output you expect that is different from what you actually get. The first place to start is to make sure your httpd is running properly. What files are currently in your DocRoot?
  18. Place your credentials in a file outside of DocRoot and read that file from the PHP connection script. Make sure you set permissions so only the user running httpd (usually 'apache' on Linux) can access that file.
  19. Yes. Specify an absolute path (i.e. use a leading '/' in the path name).
  • 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.