phpÈçºÎ·ÃÎÊobject
ÇëÎÊ
object(Helper_Uploader_File) {
protected '_file' => array(
'name' => string '4_¹âÓ°_1.jpg' (length=14)
'type' => string 'image/jpeg' (length=10)
'tmp_name' => string 'C:\WINDOWS\Temp\php166.tmp' (length=26)
'error' => integer 0
'size' => integer 115946
'full_path' => string 'E:/www/Apache docs/clubcz/file/upload/2009-12-20/image_bigimg_126131492896.jpg' (length=80)
'is_moved' => boolean TRUE
)
protected '_name' => string 'iurl2' (length=5)
}
ÈçºÎ·ÃÎÊÕâ¸öobjectÀïµÄ '4_¹âÓ°_1.jpg'
¶¥¶¥¶¥
ÄãµÄÎļþÒѾ³É¹¦ÉÏ´«£¬²¢±£´æÖÁ'E:/www/Apache docs/clubcz/file/upload/2009-12-20/image_bigimg_126131492896.jpg'
Èç¹ûÄãµÄÍøÕ¾¸ùĿ¼ÊÇÖÁ'E:/www/Apache docs'£¬ÄÇôֻҪ·ÃÎÊ'http://ÓòÃû»òIP¿ÉÄÜ´ø¶Ë¿Ú/clubcz/file/upload/2009-12-20/image_bigimg_126131492896.jpg'
°Ñ·µ»Ø½á¹û¸³Öµ¸øÒ»¸ö±äÁ¿$obj;
$obj->name;
Ïà¹ØÎÊ´ð£º
ÔÚ¹úÍâµÄ¿Õ¼ä£¬ÆäËüµÄphpÕ¾µã¶¼Õý³££¬¿ÉÖ»ÓÐ×î½ü½¨µÄÕâ¸öÕ¾µã£¬Ö»ÒªÒ»ä¯ÀÀphpÎļþ¾Í³öÏÖÏÂÔØÌáʾ£¬ÏÂÔØÏÂÀ´µÄÎļþ¶¼ÊÇ´øÓÐphpÔ´Â룬¸÷λ·¹ýµÄ£¬°ï°ïÎÒ£¬¿´¿´Ê²Ã´ÔÒò£¬ÏÈлÁË¡£
¿Õ¼ä²»Ö§³Ö¡£
»òÕßÄãµÄÕ˺ÅûÓп ......
ÎÒ°²×°µÄÕâ¸öÈí¼þVertrigoServ£¬ÔÚwindows7ÖÐÔËÐУ¬Í¼±ê¼ÓºÅΪÀ¶É«£¬±¨MySQLµÄ´íÎó£¬Çë½Ì¸÷λ¸ßÊÖ¸ÃÔõÑù¸ü¸Ä¡£Ð»Ð»¸÷λ£¡
mysql ·þÎñÊÇ·ñÆðÀ´ÁË£¿
ûÓУ¬±¨µÄÊǶ˿ڴíÎó£¬ÔÚÅäÖÃÎļþµ±ÖиÄÁË£¬Ò²²»ÐÐ
¿ÉÒÔÓÃÈ ......
Ò»¸öPHPµÄÎÊÌ⣬²»¹Ü·¢²¼Ê²Ã´¶¼ÊÇʧ°Ü
ÔÚ±¾µØ²âÊÔ¿ÉÒԳɹ¦£¬·ÅÔÚ·þÎñÆ÷ÉÏ£¬·¢²¼ÐÅϢҲʧ°Ü£¬ÐÞ¸ÄÀ¸Ä¿Ò²Ê§°Ü£¬
Ô´ÂëºÍÊý¾Ý¿â¶¼Ã»É¶ÎÊÌ⣬ȨÏÞ£¿Ã»ÓжÁ½øÊý¾Ý¿â£¿ÄÇÎÒÔÚ±¾µØ²âÊÔÓÖ¿ÉÒÔ·¢²¼ºÍÐ޸ģ¿
Çë½ÌÁË
ʧ°ÜÁËÌ ......
ÇëÎÊ£¬ÒÔÏ´úÂ룬Ϊʲô²»¹ÜÓ㿾Ístr_replaceÕâ¸öº¯Êý£¬Ì滻ôÓÐÆð×÷Óã¿
PHP code:
$gg='<script type=\"text/JavaScript\">
alimama_pid=\"mm_14281022_2030060_8250750\";
alima ......