yipeiwu_com6年前    
        
                                具体如下: 1>如我们知道开始时间,要加减一个时间,得出一个结果时间,可以用以下代码 $time1='2008-10-1 12:30:30'; echo date('Y-m-d H...                        
                                                                                                 
    
    
        yipeiwu_com6年前    
        
                                复制代码 代码如下:<?php header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); header('Last-Modified: '...                        
                                                                                                 
    
    
        yipeiwu_com6年前    
        
                                复制代码 代码如下:<?php //获取域名或主机地址 echo $_SERVER['HTTP_HOST']."<br>"; //获取网页地址 echo $_SERVE...                        
                                                                                                 
    
    
        yipeiwu_com6年前    
        
                                从网上搜集到的,据说是雅虎的面试题。 1. Which of the following will not add john to the users array? 1. $users[...                        
                                                                                                 
    
    
        yipeiwu_com6年前    
        
                                使用setcookie()函数时总是报以下错误: Warning: Cannot modify header information - headers already sent by....                        
                                                                                                 
    
    
        yipeiwu_com6年前    
        
                                <?php define ('P_S', PATH_SEPARATOR); define ('ROOT', "../"); set_include_path(ROOT .P_S ....                        
                                                                                                 
    
    
        yipeiwu_com6年前    
        
                                当然是在程序里解决比较灵活,例如: “select convert(char,日期字段,120) as date2 from table” convert(char,date,N)输出的...                        
                                                                                                 
    
    
        yipeiwu_com6年前    
        
                                string str_pad ( string , int pad_length , string pad_string , int pad_type); string 指定字符串,pa...                        
                                                                                                 
    
    
        yipeiwu_com6年前    
        
                                如果 time 的格式是绝对时间则 now 参数不起作用。如果 time 的格式是相对时间则其所相对的时间由 now 提供,或者如果未提供 now 参数时用当前时间。失败时返回 -1。...                        
                                                                                                 
    
    
        yipeiwu_com6年前    
        
                                array array_intersect ( array array1, array array2 [, array ...]) array_intersect() 函数返回两个或多个...