/**
* Reduced image function
* deleted the original image after the operation of the picture has been preserved
* @param string $fileName
* @return void
*/
Private Function createsmallimg ($fileName)
{
List
$imageurl = ' http://127.0.0.1/1.png ';
$headers = Get_headers ($imageurl);
Copy CodeIn fact, the picture is also a local image, but it is really "remote", remote images can also be understood as a URL address of the picture.Use
# Virtural hosts start the configuration of the virtual host
Include conf/extra/httpd-vhosts.conf
ServerAdmin kongdaoxian@gmail.com
DocumentRoot "E:/skydao/apache2/htdocs/zendtest/public"
ServerName
Finally completed my life in the first PHP, HTML project, instantly ignited the heart of the struggle of the Yi Zhi, tell yourself: really can do, but you usually lazy a little! For the first time, there was such a strong sense of accomplishment
/**
* A method for drawing a positive cosine curve on a picture
* edit:bbs.it-home.org
*/
Define ("Max_width_pixel", 600);
Define ("Max_height_pixel", 240);
Send header information
Header ("Content-type:image/gif");
Class Session_handler {
protected $maxlifetime = null;
protected $dbHandle = null;
public $config = null;
public static function init ($args) {
return new self ($args);
}
Public function __construct ($args) {
$
echo "\ r \ n The first case \ r \ n";
$a =array (1,2,3,4,5,6);
$b =array (7,8,9);
$c =array_merge ($a, $b);
Print_r ($c);
$c = $a + $b;
Print_r ($c);
$c = $b + $a;
Print_r ($c);
echo "\ r \ n the
It tutorial sharing ~! php/linux/html/js/Hand Tour development/mysql/such as tutorial ~!Nonsense not to say, on resources:New Linux video tutorial: Http://pan.baidu.com/s/1c01r15YHTML5 Video Tutorial: Http://yun.baidu.com/s/1jGIJLumJava, Android
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service