值传送

WBOY
Release: 2016-06-13 12:52:52
Original
861 people have browsed it

值传递
以下代码可以取出本机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>
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template