fwrite() example

Description int fwrite ( resource $handle , string $string [, int $length ] ) fwrite() writes the contents of string to the file stream pointed to by handle .

how to use php generate passwords

Here are 2 kind php code can generat strong passwords: $password_length = 9; function make_seed() { list($usec, $sec) = explode(’ ‘, microtime()); return (float) $sec + ((float) $usec * 100000); } srand(make_seed()); $alfa = “1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM”; $token = “”; for($i = 0; $i < $password_length; $i ++) { $token .= $alfa[rand(0, strlen($alfa))]; } echo $token;

Hide your Affiliate Links using PHP file

If you want to make more money and profit from your affiliate links, you need to display them in different way. Don’t use the default link generated by your affiliate program script. Instead, hide it by using PHP file.

The application failed to initialize properly( 0xc0150002).Click on OK to terminate application

Today when I install XAMPP (www.apachefriends.org), an error comes out “The application failed to initialize properly( 0xc0150002).Click on OK to terminate application”, I search the internet and found the method to resolve the problem, it is very easy, just download and install the Visual C redistributable: http://www.microsoft.com/downloads/info.aspx?na=90&p=&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=200b2fd9-ae1a-4a14-984d-389c36f85647&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2fe%2f1%2fc%2fe1c773de-73ba-494a-a5ba-f24906ecf088%2fvcredist_x86.exe