-
How to check whether Global Register for opline and execute_data is open or not
1. Background of the problem: recently, it has been almost exclusively said on php7, that only php7 compiled with GCC 4.8 will open Global Register for opline and execute_data .
2. Question description: Q: what is 1Global Register for opline and e...
-
CentOS7 php composet install error
php zip
...
-
Php Notice error can you show me the word I want to show?
Notice: Undefined property: stdClass::$payment in Applications xxx xxx xxx xxx.php on line 48
I know I can turn it off , but I want to show the words I want to display first: for example, NameA because the other party has not sent json (or has not don...
-
When the content does not appear, there is a process first?
this is the appearance that will occur when the facebook hypothetical state does not appear, and will not disappear until the content is released, and the content will be displayed. How do you do that? And he will buy it, not just a piece of film. It...
-
How to break down the json, obtained from curl?
I use php curl to retrieve json data from http , and then I use foreach array to display all the data , but when I encounter a problem, how to break it down? what kind of data does the counterparty need to give me? for example, he has a total of 30 yu...
-
Number of eligible queries under php7.0
<?php @session_start();?>
<html xmlns="http: www.w3.org 1999 xhtml">
<head>
<meta http-equiv="Content-Type" content="text html; charset=utf-8" >
<?php if($_SESSION["uid"]=="")...
-
How does ubuntu cut the php version?
I found it like this
update-alternatives --set php usr bin php7.2
the original version is 7. 0 installed. I want to cut the past , but I found that etc php 7.2 is also available here. which is the right way? what else should we pay attention to?! ...
-
How does php curl achieve instant feeling? Still, it has to be ajax?.
how can the data obtained by curl when doing a http request be made immediately? That is, you don t have to rearrange entering data every once in a while or when you have data I know ajax can, but won t there be cross-domain name problems? Although ...
-
How do I catch notice, warning errors in php?
Notice: Undefined property: stdClass::$xxx in Applications xxx xxx xxx xxx.php on line 35
Warning: Invalid argument supplied for foreach() in Applications xxx xxx xxx xxx.php on line 35
how can I avoid errors like this in the above ? if I can, I d ...
-
Facebook psychometric reply: how do you do this?
I wonder if friends in mainland China can use facebook for example, ask you a question, you have to answer in discussion, and then the machine will tell you private messages to you. what kind of technique is this? Can you do it with php ...
-
Curl api request face to face, another request?.
want to check suppose I use php curl to connect http request, to the database of the opposite party and use json_decode first and then print out the json results
<?foreach ($region_get_all->regions as $key) {
echo $key->{ manager-id };
.....
-
How to strengthen and improve the seo? of articles
I use mariaDB and php to write the article system ~ just how to strengthen and improve the article seo I put meta og:. in each article. Code of the series do you have any other skills or improvements that can be improved is to make the article easier...
-
How to get the statistics of google meals?
suppose I want to catch the number of google meals how can I do it in php? I ve been thinking about it for a long time. I m almost done. do you use curl? but there are no similar codes to refer to ....
-
Function noodles do not eat outside the parameters announced?
there is a strange question suppose I declare
$self = $_SERVER[ PHP_SELF ];
then I wrote a function below
$self = $_SERVER[ PHP_SELF ];
function report(){
echo $self;
}
and then I ll do another one
report();
he will say
Undefined vari...
-
Php grabs a word of the string, does not replace it, and adds
assume that the string is
abc@gmail.com
Can realize the name of the string before catching @? (abc) no matter how long.
Can automatically add a before each string @? It will not replace any Kansi.
abc
@gmail.com
...
-
After the php curl request, use html to print out the check, how can I print it on this end?
I first send json to the counterpart. If the counterpart checks OK, it will return json,. I can use json_decode ($result); ) to catch , but now that my counterpart json, sends back to HTML, how can I print this value?!
...
-
How can you add a foreach, server to a foreach to improve efficiency?
<?foreach ($restaurant_get_all->restaurants as $key) {?>
<?foreach ($region_get_all->regions as $key2) {?>
<option value="<?=@$key2->{ region-name };?>"><?=@$key2->{ region-name };...
-
Php curl is written in the same function, but it is requested at the same time.
I write curl on a function like this:
function httpRequest ($api, $data_string)
{
$ch = curl_init($api);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, $data_st...
-
How to put the value written on the face to the outside for use?
suppose I generate a value on some if faces
$name
if(xxx==xxx){
if(xxx==xxx){
if(xxx==xxx){
$name = xxx;
}
}
}
I want to add $name to the outside of if to use so what should I do?!
...
-
How does php value to js?
I introduced menu.js " on the web site.
<script type= text javascript src="js menu.js">< script>
$abc = 123 ;
<script type= text javascript src="js menu.js">< script>
but suppose I have a value on ...