Php Programming Questions for help! How to obtain the php file remote variable lz is a newbie and wants to use php to complete a file synchronization system. The general code is written to the PHP file on the client that uses curl to link to the remote server. a return value is required to select the next step of the client. but how can I get this value ?? Please recommend various methods ...... ------ Solution ------------------ what do you want to give to the client? & nbsp; echo & nbsp; php Programming Questions for help! How to obtain the php file remote variable
Lz is a beginner who wants to use php to complete file synchronization.
The general code is written to the PHP file on the client that uses curl to link to the remote server. a return value is required to select the next step of the client. but how can I get this value ??
Please recommend various methods ......
------ Solution --------------------
Echo what you want to send to the client
$ R = curl_exec ($ ch); after
$ R is the server echo content.