- 博客(5)
- 收藏
- 关注
原创 PHP获取IP的多种方式解析
大家也许对PHP获取IP的具体方法还不是很清楚,没关系,今天我们就在文章中总结了六种实现方式,下面让么一起来看看这六种方式的具体代码吧。<br />PHP获取IP的方法有许多种,我们今天向大家总结了六种方法,希望通过对这六种方法的学习,能够加深我们对PHP语言的进一步了解,巩固我们所掌握的知识。PHP伪静态的四种方法总结PHP实现伪静态化页面的具体实现方式如何运用PHP GD库生成验证码PHP5安装GD库的具体操作步骤PHP图形验证码的具体实现方法<br />PHP获取IP方法一:<?php e
2010-09-29 23:23:00
321
原创 PHP魔术函数集锦
1。__construct()<br />实例化对象时被调用,<br />当__construct和以类名为函数名的函数同时存在时,__construct将被调用,另一个不被调用。<br />2。__destruct()<br />当删除一个对象或对象操作终止时被调用。<br />3。__call()<br />对象调用某个方法,<br />若方法存在,则直接调用;<br />若不存在,则会去调用__call函数。<br />4。__get()<br />读取一个对象的属性时,<br />若属性
2010-09-29 23:20:00
235
原创 非递归遍历文件夹
<br />#include <windows.h><br />#include <iostream><br />#include <stack><br />#include <string><br />using namespace std;<br /><br />void TraverseFolder(string& path)<br />{<br /> stack < string > find_file;<br /> WIN32_FIND_DATA Fin
2010-09-29 23:18:00
362
原创 c++ 图片加水印
<br />#include "stdafx.h"<br />#include "gdiplus.h"<br />#include "atlimage.h"<br />using namespace Gdiplus;<br />#include <string><br />using namespace std;<br />GdiplusStartupInput gSDKdiplusStartupInput = 0;<br />ULONG_PTR gSDKdiplusToken
2010-09-29 23:16:00
4830
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人