值传送

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原创
2016-06-13 11:16:05887浏览

值传递
以下代码可以取出本机mac码,我想将取取来的$nac在user表中where得出ip字段内容,不会写格式。然后再将$mac和$ip传递到如asb.php?MA=$mac&v2=$ip,最好是打开页面自动传递

<?php     <br />    class GetMacAddr   <br>    {   <br>            var $return_array = array(); <br>            var $mac_addr;   <br>               <br>            function GetMacAddr($os_type)<br>            {   <br>                    switch ( strtolower($os_type) )   <br>                    {   <br>                            case "linux":<br>                                    $this->forLinux();   <br>                                    break;   <br>                            case "solaris":   <br>                                    break;   <br>                            case "unix":   <br>                                    break;   <br>                            case "aix":   <br>                                    break;   <br>                            default:   <br>                                    $this->forWindows();   <br>                                    break;   <br>                    }                   <div class="clear">
                 
              
              
        
            </div>
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn