check I get the database data of the opposite party through php curl (both parties give me json) for example, after I take it out, I print out a hypothetical bit . foreach ($xxx->{ xxx } as $key){ echo $key->{ xxx-price }; } how do I ad...
should mean I have written an api I want to list all the data of a certain table and then let the counterparty access but through php curl . what am I supposed to do? what should I do with the other side? I am stuck in array because my company ...
print out after using $_ SERVER [ HTTP_USER_AGENT ] Mozilla 5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit 537.36 (KHTML, like Gecko) Chrome 65.0.3325.181 Safari 537.36 find on posts function os_info($uagent) { the order of this array ...
mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean it is OK on the local side, but such an error occurs after ubuntu my local side and ubuntu both install php7 . The difference is that it is possible that I am 7.2.2 ubuntu is 7, but ...
want to check the hypothesis. I want the counterparty to access my database via php curl what can I do this? Is there a template you can refer to? this is due to the fact that the host is in parallel with mysql and all the mysql data are managed cent...
I wrote an api hypothesis called sql.php myself. I am in another sql-test.php $data = array( "errno" => 1 , "errstr" => 2 , "errfile" => 3 , "errline" => 4 ); $data_string = js...
the first paragraph is that I want to decide whether $_ GET [ status ] is empty. Yes, please indicate $_GET[ status ]!= ? x : ; but in x I want to add another criterion $_GET[ status ]==1 ? : ; that is, when you make sure that the...
$con = new mysqli($servername, $username, $password, $mysqldb); $fineLog = $con->query( "SELECT * FROM `error_report` " ); while ($row = mysqli_fetch_array($fineLog)) { echo $row[ errno ]; } I don t know why this error occurred my...
want to check I want the network address get to add up for example, the existing network address is region=abc&status=1 when I may enter another web address I want him to add & xxx=1 but will not wash out the previous GET parameters region=ab...
function myErrorHandler($errno, $errstr, $errfile, $errline) { switch ($errno) { case E_USER_WARNING: $errno = "USER_WARNING"; break; case E_USER_NOTICE: $errno = "USER_NOTICE"; break; case E_NOTICE: $errno = &quo...
my mysql database has two pieces of data when I print_r, it looks like this: [{"errno":"1","errstr":"2","errfile":"3","errline":"4"},{"errno":"12",...
some errors are Undefined index: password The category is like this . I have added @ not to report , but it will still be available on set_error_handler. can you skip the @? ...
I d like to ask all the great gods if you don t use packages or frames, what are the ways to upload pre-download videos? for example, used to be a "very tall " piece all forced to 800x600 16:9 (proportional) or a very high film does not chang...
foreach ($region_get_all->{ regions } as $value) { echo $value->{ region-id }[0]; } I use curl to match the data $region_get_all- > { regions } is already json_decode I want to get the first data of those numbers (region-...
check the php upload photos can I catch the height of the photos uploaded by the user? in this way I can restrict the upload px, for example, can only upload photos of the px below 800x600 $_FILES[ xxx ][ size ] I can know size in this way, but...
the counterparty uses the nginx ubuntu server I use curl to communicate with him I would like to say how to make a php interview after entering this interview, I can find out the current server status of the counterparty but how can I write this co...
I wrote an upload photo api for ios to use: if($_FILES[ cover ][ size ] != ){ do.... }else{ echo error! ; } The counterpart bit is also cover and post matching , but it just happens to be error! can t catch the file size of th...
to put it simply, I can type the word I want to write in php and then import it into a txt file (no files will be written) will write all the time, just like log will automatically how can I do this? (non-frame type) ...
the api I am talking to now is a request from others. is to use curl to catch the opposite party http. I give it to the opposite party json , and then the opposite party gives back to me json, and then I show it (using mongodb, nodejs) ). it s just t...
I use curl to ask my counterparty for json data. the data given to me by the opposite party is 20 years old how can I get the first number of the opposite party? do I want to set it up this time, or do I want to do it on the right side? ...