不用改。
使用urlencode
将中文变一下即可传值。
urlencode("中文名")

解决方案 »

  1.   

    window.open("attendance_detail_everyday.php?pN='.$pN.'&pId='.$pId.'&job_date='.$yr_mh.'-'.$h.'"'.',"","left=0,top=0,screenX=100,screenY=100,toolbars=0,scrollbars=1,location=0,status=0,width=400,height=300,resizable=0")其中$pN是中文,我用你的urlencode插入,不知道是我插入錯誤還是....總之還是不行
      

  2.   

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.
    --------------------------------------------------------------------------------Apache/2.0.47 (Win32) Server at nsnh30 Port 80
      

  3.   

    (1)http://nsnh30:81/demo/human/attendance_detail_everyday.php?pId=2004070308&job_date=2004-7-22
    (2)http://nsnh30:81/demo/human/attendance_detail_everyday.php?pN=陳笑貞&pId=2004070308&job_date=2004-7-22
    (1)運行正確;(2)就出現以下提示Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.
    --------------------------------------------------------------------------------Apache/2.0.47 (Win32) Server at nsnh30 Port 80
      

  4.   

    在传递时用urlencode()
    在获取时还要用urldecode()解码