-
-
/**
- php data flow application
- date: 2013/2/19
- */
- $count = 5;
- start:
- if($count echo "Put Password: ";
- $handle = fopen ("php://A small example of php data flow application","r");
- $line = fgets($handle);
- if(trim($line) != '123456') {
- $count--;
- if(!$count) goto error;
- goto start;
- }
- goto success;
- error:
- echo "Please try after 1 hour! http://bbs.it-home.org ";
- goto out;
- success:
- echo "Logined!";
- out:
- ?>
Copy the code
The effect diagram is as follows:
|