Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

PHP ÏàÆ¬ÒÆ¶¯ÎÊÌâ - Web ¿ª·¢ / JavaScript

´óϺÃÇ£¬ÄãÃǺã¡
  СµÜ¸ÕѧϰPHP²»¾Ã£¬ÔÚʵÏÖͼƬ°´ÕÕÖ¸¶¨µÄ·¾¶Ô˶¯¹¦ÄÜÊÇÓöµ½ÎÊÌ⣬Çë¸÷¸ö´óϺ°ï°ïСµÜ£¡
ÎÊÌ⣺±¾ÊÇÏëʵÏÖͼƬ°´ÕÕÖ¸¶¨Â·¾¶Ô˶¯£¬µ±Åöµ½±ß¿òʱ»á×Ô¶¯·´µ¯£¬µ«Êǽá¹ûÊÇͼƬÅöµ½±ß¿ò»¹ÊǼÌÐøÇ°½ø£¡
Ô´´úÂëÈçÏ£º
<html>
  <head>
  <title>ÑØÖ¸¶¨Â·¾¶Ô˶¯µÄͼƬ</title>
  </head>
  <script language="JavaScript">
  var win_width,win_height,img_left,img_top;
  var x_flag=0,y_flag=0;
  var x_step=2,y_step=1;
  var scroll_x; //Ò³ÃæÔÚˮƽ·½ÏòÉÏÒѾ­¹ö¶¯µÄ¾àÀë
  var scroll_y; //Ò³ÃæÔÚÊúÖ±·½ÏòÉÏÒѾ­¹ö¶¯µÄ¾àÀë
   
  function do_move()
  {
  scroll_x=id_body.scrollLeft;
  scroll_y=id_body.scrollTop;
  win_width=window.innerWidth?window.innerWidth:id_body.clientWidth;
  win_height=window.innerHeight?window.innerHeight:id_body.clientHeight;
  var img=document.getElementById("div_img");
   
  img_left=parseInt(img.style.left);
  img_top=parseInt(img.style.top);
  //===Í¼Æ¬ÒÆ¶¯µÄ×ó±ß½çΪ2
  if(img_left<=scroll_x+2)
  x_flag=1;
  //===Í¼Æ¬ÒÆ¶¯µÄÓұ߽çΪwin_width-moving_pic.width-2
  if(img_left>=scroll_x+win_width-moving_pic.width-2);
 


Ïà¹ØÎÊ´ð£º

¿Õ¼äÉÏphpÎļþ²»ÄÜä¯ÀÀ£¬ä¯ÀÀ¾ÍÏÂÔØphpÎļþ

ÔÚ¹úÍâµÄ¿Õ¼ä£¬ÆäËüµÄphpÕ¾µã¶¼Õý³££¬¿ÉÖ»ÓÐ×î½ü½¨µÄÕâ¸öÕ¾µã£¬Ö»ÒªÒ»ä¯ÀÀphpÎļþ¾Í³öÏÖÏÂÔØÌáʾ£¬ÏÂÔØÏÂÀ´µÄÎļþ¶¼ÊÇ´øÓÐphpÔ´Â룬¸÷λ·¹ýµÄ£¬°ï°ïÎÒ£¬¿´¿´Ê²Ã´Ô­Òò£¬ÏÈлÁË¡£
¿ÉÄÜÊÇÒòΪ¸ÃÕ¾µãûÓÐÄãÏëÒªµÄä¯ÀÀÆ ......

Î人ÄÄÀïPHPÅàѵ±È½ÏÕý¹æ - PHP / »ù´¡±à³Ì

¹ýÍêÄêҪȥÎ人ÁË£¬ÏëÁ˽âÒ»ÏÂPHPÅàѵ±È½ÏÕý¹æ?

Ŷ ¶ÔÁË£¬»¹ÓУ¡PHPÊÖ²á±ØÐëµÃŪһ¸ö

àÅ ÌìÌìÔÚ¿´Ê¥¾­£¨Ò»ÌìÒ²¾ÍÖ»ÄÜ¿´¸ö¶þʮҳ£©£¬PHP100ÊÓÆµ½Ì³Ì¿´ÁË33½²ÁË£¨Ò»ÌìÒ²Ö»¿´Ò»½²£©
ÎÒ»á¼á³Ö°ÑÕâ±¾ÊéºÍÊÓÆµ¸ã¶¨ ......

Çó½ÌPHPÖÐstr_replaceº¯ÊýÎÊÌâ - PHP / »ù´¡±à³Ì

ÇëÎÊ£¬ÒÔÏ´úÂ룬Ϊʲô²»¹ÜÓ㿾Ístr_replaceÕâ¸öº¯Êý£¬Ì滻ôÓÐÆð×÷Óã¿
PHP code:
$gg='<script type=\"text/JavaScript\">
alimama_pid=\"mm_14281022_2030060_8250750\";
alima ......

phpÁ¬½ÓaccessÊý¾Ý¿âʱ³ö´í

$conn = @new COM("ADODB.Connection") or die ("ADOÁ¬½Óʧ°Ü!");
$connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" . realpath("database.mdb");
$conn-&g ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ