Your own Apsara stack interface supports crontab and is shared with you for free!
Previously, I saw the Feixin interface released by some people, which is used to sell money, BS... I took the time to write one and share it with you. if the writing is not good, you can discuss and study it together. Requirement: it must be a mobile user, followed by a friend of Feixin. no matter how games are played, game rules cannot be violated. ========================================================== ================================== Project description: Index. php => online mail sending Portal page Demo. php => project demo page. we recommend that you use demo. php for the first time to test whether the program runs normally. Cron. php => a script used to regularly send some information to a friend of Feixin Weather_php.bat => open the comment in Notepad and use it with cron. php. Weather_php.vbs => The vbs script is used in combination with the preceding weather_php.bat batch processing to hide the command window during batch processing. Class. fetion. php => This is not much to say. it depends on the core file. Others: For cron. php to be regularly executed, Windows users must use "scheduled tasks" and add a task by themselves to regularly run weather_php.vbs. If you are a Linux user, you can use/etc/crontab and write a shell script by yourself. let's study it by yourself ~ The Dongdong district is in the compressed package. I also noted the instructions in README.txt ~ ========================================================== ====================================== Online demo address: http://feixin.cxxmv.com: 81 Modify the last line of the sendmsg. php page to echo Fetion: sendMsg ($ fid, $ msgContent). If an echo is missing, the sending result is not displayed. Thanks"Huang Bo SEEVIA"Feedback
- Set_time_limit (0 );
- Date_default_timezone_set ('prc ');
- Include 'class. fetion. php ';
- #================ CURL to obtain third-party data, please modify it yourself [to put it bluntly, it is to collect data, thieves program ~!] ==================
- $ Ch = curl_init ('http: // www.weather.com ');
- Curl_setopt ($ ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0 )");
- Curl_setopt ($ ch, CURLOPT_TIMEOUT, 30 );
- Curl_setopt ($ ch, CURLOPT_RETURNTRANSFER, TRUE );
- Curl_setopt ($ ch, CURLOPT_HEADER, 0 );
- $ Result = curl_exec ($ ch );
- Curl_close ($ ch );
- If (! $ Result ){
- Exit;
- }
- Preg_match ('/(. *) <\/a> <\/p>
|