Home >Backend Development >PHP Tutorial >A small example of php data flow application

A small example of php data flow application

WBOY
WBOYOriginal
2016-07-25 09:04:461284browse
  1. /**
  2. php data flow application
  3. date: 2013/2/19
  4. */
  5. $count = 5;
  6. start:
  7. if($count echo "Put Password: ";
  8. $handle = fopen ("php://A small example of php data flow application","r");
  9. $line = fgets($handle);
  10. if(trim($line) != '123456') {
  11. $count--;
  12. if(!$count) goto error;
  13. goto start;
  14. }
  15. goto success;
  16. error:
  17. echo "Please try after 1 hour! http://bbs.it-home.org ";
  18. goto out;
  19. success:
  20. echo "Logined!";
  21. out:
  22. ?>
Copy the code

The effect diagram is as follows: A small example of php data flow application



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn