-
Posts
1,033 -
Joined
-
Last visited
-
Days Won
17
Everything posted by gw1500se
-
There are lots of them around and asking for advice about which to use could start a religious war. 😀 I use RJ TextEd.
-
please Dear check my code and Highlight the error.
gw1500se replied to Ehsan_collboy's topic in PHP Coding Help
Still no code? -
please Dear check my code and Highlight the error.
gw1500se replied to Ehsan_collboy's topic in PHP Coding Help
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); -
Search engines are your friend. is_null
-
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 ".
-
Search engines are your friend. PHPMyAdmin
-
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 }
-
php curl login with session and display response on next page
gw1500se replied to johnman's topic in PHP Coding Help
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? -
Using php and curl to post data to a form handler
gw1500se replied to BobSwede's topic in PHP Coding Help
Check your mail log on the public server for error messages. From an SMTP perspective they are different. -
Yes, by using exec.
-
Post the resulting raw HTML source.
-
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.
-
'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.
-
The manual explains stream_set_timeout.
-
There are 2 ways. Use either try...catch or the less desirable 'die'.
-
readfile
-
Are you asking how to create a table within a cell of an outer table?
-
Este é um fórum de lÃngua inglesa.
- 1 reply
-
- 1
-
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.
-
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?
-
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.
-
Yes. Specify an absolute path (i.e. use a leading '/' in the path name).