A bug in the way PHP converts certain numbers may cause it to exhaust all system resources. For example, on 32-bit systems, converting the string 2.2250738585072011e-308 into a floating point number using the function zend_strtod results in an infinite loop and consequent full utilisation of CPU. PHP 5.2 and 5.3 are affected, but only on
Archive for the ‘PHP/MySql’ Category
PHP & TOR – Anonymity with PHP cURL
For PHP CURL library we need to add an option to Curl to use a proxy to access the internet. The option is CURLOPT_PROXY which contains the proxy address and port. This address will point at TOR, which is located at 127.0.0.1 on port 9050 as SOCKS5 proxy. Here is the code: 1 2 3
Send mail with attachment in php
This code will help you with attachment of files in anytype in sending a mail with php include this input field inside “form” tag 1 2 <input type="file" name="fileatt" size="22" /> <input type="submit" name="career_submit" size="22" /> When the page is submitted use the following code to send the mail to the receipent with the attachment.
RSS Feed
Twitter
Posted in
