php – xdebug.overload_var_dump (configuração removida no Xdebug 3) e agora?

A configuração do xdebug.overload_var_dump removida no Xdebug 3, na documentação aparece

xdebug.overload_var_dump Has been removed. PHP’s var_dump() is now
always overloaded through xdebug_var_dump() when xdebug.mode is set to
develop. The xdebug_var_dump() function is available independent of
which mode is configured.

essa configuração foi removida não funciona mais…

ini_set('xdebug.overload_var_dump', 1);

Como faço agora, pra remover a linha do caminho do arquivo do var_dump com o Xdebug 3?

html – Como conectar com o SQL SERVE usando PHP, agora que lançou o PHP 8.0?

como eu posso conectar o SQL SERVE usando PHP ? pois não estou encontrando as DLL da versão 8

php – Comparando timestamp de agora com a timestamp de vencimento

O que eu estou tentando fazer é o seguinte, fazer com que a váriavel $timenow compare o tempo de expiração com o resultado que fica no banco de dados $row("exp_time"), e se tiver vencido (ou se não for encontrado nenhum resultado), cair ali no else, o que eu tentei fazer foi colocar o exp_time no banco de dados 0 pra ser menor, e também tentei colocando maior, como por exemplo 99999999, e os 2 estão caindo no else, o certo era só se expirar (ou se não for encontrado nenhum resultado) cair no else, o que pode ser?


<?php 
$stream_id = $_GET('id'); 
$timenow = time();
$time = time() + (1*60*60);
?>


<?php

// GET DATA FROM SQL
require('sql.php');

// Create connection
$conn = mysqli_connect($servername, $username, $password, $dbname, $db_port);
// Check connection
if (!$conn) {
  die("Connection failed: " . mysqli_connect_error());
}

$sql = "SELECT * FROM `links` WHERE id=$stream_id";
$result = mysqli_query($conn, $sql);



if (mysqli_num_rows($result) > 0 and $timenow < $row("exp_time")) {
 
      // output data of each row
      while($row = mysqli_fetch_assoc($result)) {
        echo "Link ainda funciona.<br>";
        echo " ".$row("id")."<br>";
        echo " ".$row("link")."<br>";
        echo "Tempo agora"; echo time(); echo "<br>";
        echo " ".$row("exp_time")."<br>";
      }
    
    mysqli_close($conn);

} else {
        
        // INSERT INTO TABLE
        $link = "http://teste.com/";

        require('sql.php');

        // Create connection
        $conn = mysqli_connect($servername, $username, $password, $dbname, $db_port);
        // Check connection
        if (!$conn) {
            die("Connection failed: " . mysqli_connect_error());
        }

        $sql = "INSERT INTO links (id, link, exp_time) VALUES ($stream_id, '$link', $time) ON DUPLICATE KEY UPDATE link='$link', exp_time='$time'";

        if (mysqli_query($conn, $sql)) {
            echo "New record created successfully";
        } else {
            echo "Error: " . $sql . "<br>" . mysqli_error($conn);
        }

        mysqli_close($conn);

}
?>

html – Coloquei position absolute no meu background e agora qualquer section que eu crio esta indo pra dentro deste background

Coloquei position absolute no meu background e agora qualquer section que eu crio esta indo pra dentro deste background… Não sei o que fazer para arrumar, pois agora todos as sections que crio no meu site estão ficando por baixo ou por cima do background e não da forma original do HTML em que elas seriam deixadas uma em baixo da outra. No print a seguir eu mostro a section que deveria ficar abaixo da scrollbar, mas por conta do position absolute que usei la no background a gambiarra continua nas outras sections. inserir a descrição da imagem aqui

Código:

<html lang="pt-br">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://kit.fontawesome.com/e6b1f34d6c.js" crossorigin="anonymous"></script>
    <link href="css/style.css" rel="stylesheet">
    <link href="css/responsive.css" rel="stylesheet">
    <title>White</title>
</head>
<body>

    <header class="header">
        <div class="container">
            <a href="#" class="logomarca">WHITE</a>
            <nav class="menu">
                <ul>
                    <li><a href="#">Home</a></li>
                    <li><a href="#">About</a></li>
                    <li><a href="#">Contact</a></li>
                </ul>
            </nav>
            <div class="icon">
                <div class="um"></div>
                <div class="dois"></div>
                <div class="tres"></div>
            </div>
        </div>        
    </header>

    <!-- BACKGROUND -->

    <section class="bg">
       <div class="slide">
            <img class="selected" src="imgs/bg1.jpg" alt="Background 1">
            <img src="imgs/bg2.jpg"  alt="Background 2">
            <img src="imgs/bg3.jpg" alt="Background 3">
            <img src="imgs/bg4.png" alt="Background 4">

            <div class="icon-next">
                <i class="fas fa-arrow-down"></i>
            </div>
       </div>      
    </section>

    <!-- GALERIA -->

    <section class="galeria">
        <div class="container">

            <div class="galeria-flex">
                <img src="imgs/video.png" alt="player de video">

                <div class="galeria-text">
                    <h1>Lorem Ipsum</h1>
                    <p>Donec rutrum congue leo eget malesuada. Praesent sapien massa, convallis a pellentesque nec, egestas non nisi.</p>
                    <div class="galeria-button">
                        <a href="#">Explorar</a>
                    </div>
                </div>            
            </div>  
            
            <div class="galeria-scroll">
                <img src="imgs/fotos.png" alt="Fotos">
                <img src="imgs/fotos.png" alt="Fotos">
                <img src="imgs/fotos.png" alt="Fotos">
                <img src="imgs/fotos.png" alt="Fotos">
                <img src="imgs/fotos.png" alt="Fotos">
                <img src="imgs/fotos.png" alt="Fotos">
                <img src="imgs/fotos.png" alt="Fotos">
                <img src="imgs/fotos.png" alt="Fotos">
                <img src="imgs/fotos.png" alt="Fotos">
            </div>
        </div>        
    </section>

    <!-- NEWSLETTER -->

    <section class="newsletter">
        <h2>Donecsolli  citudin</h2>
        
        <form>
            <input type="email" placeholder="Insira seu email aqui...">
            <button>ENVIAR</button>
        </form>
    </section>

    <script src="js/script.js"></script>
</body>
</html> ```









CÓDIGO DO CSS:
``` *{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;600;800;900&display=swap);

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f1f1f1;  
}

html{
    font-size: 62.5%;
}

.container{
    max-width: 1400px;
    margin: 0 auto;
    width: 85%;
}

/* INÍCIO DA FOLHA DE ESTILO */

.header{
    background-color: white;
    padding: 20px 0;

    position: absolute;
    width: 100%;
    z-index: 9999;
}

.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* MENU DESKTOP ITENS*/

.logomarca{
    font-size: 4.0rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: black;
}

.menu ul{
    display: flex;
} 

.menu li+li{
    margin-left: 40px;
}

.menu a{
    font-size: 2.0rem;
    color: black;
    letter-spacing: 2px;
}

@media (min-width: 1024px){
    .icon{
        display: none;
    }
}

/* BACKGROUND */

.slide img{
    width: 100%;
    height: 70vh;
    object-fit: cover;
    position: relative;
    position: absolute;

    opacity: 0;
    transition: opacity 1s; 
}

.slide img.selected{    
    opacity: 1;        
}

.icon-next{
    position: absolute;
    left: 50%;
    bottom: 32%;    
    transform: translate(-50%, -50%);
}

.icon-next i{
    background-color: white;    
    padding: 15px 40px;
    border-radius: 20px;

    font-size: 30px;    
    cursor: pointer;    
}

/* GALERIA */

.galeria{
    position: relative;
    top: 75rem;
}

.galeria-flex img{
    max-width: 600px;
    cursor: pointer;
}

.galeria-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.galeria-text h1{
    letter-spacing: 15px;
    text-transform: uppercase;
    font-size: 6.0rem;
    font-weight: 300;
    color: #000000;
}

.galeria-text p{
    letter-spacing: 3px;
    font-size: 2.0rem;
    font-weight: 300;
    color: #000000;
    max-width: 400px;
    margin: 30px 0 60px 0;
}

.galeria-button a{
    background-color: black;
    padding: 20px 40px;
    font-size: 2.0rem;
    color: white;
    border-radius: 20px;
    font-weight: 100;
    letter-spacing: 3px;
}

/* SCROLL */

.galeria-scroll{
    overflow-x: scroll;
    display: flex;
    margin-top: 100px;   
}

.galeria-scroll img{
    max-width: 400px;   
    margin-bottom: 40px; 
}

.galeria-scroll img+img{
    margin-left: 100px;
}

.galeria-scroll::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #ccc;
}

.galeria-scroll::-webkit-scrollbar
{
    width: 12px;
    height: 12px;    
    background-color: #f8f8f8;
}

.galeria-scroll::-webkit-scrollbar-thumb
{   
    
    border-radius: 10px;
    background-color: #000000;
}

/* NEWSLETTER */ ```

Como eu faço pra mostrar o ultimo numero de um laço for? Até agora pelo que pesquisei só encontrei exemplos para listas. obs: sou iniciante em python

def sequencia(n):
    a = 1
    b = 2

    if n == 1:
        print(a)
    else:
        print(a)
        print(b)

        for i in range (2, n):
            c = (a + b) - 1
            a = b
            b = c
            print(c)
sequencia(10)

typescript – ¿Cómo puedo manejar las ventanas remotas de agora io para darle estilos en angular?

Actualmente estoy trabajando con agora io en angular
Necesito crear usuarios pero uno de ellos es el administrador de la sala por lo cual necesito que su vista abarque más en la pantalla que los demás remotos pero no se como identificarlo o manejar estilos diferentes para los usuarios

[GET] The Agora Financial Copy School System


  1. michael francis

    michael francis
    Jr. VIP
    Jr. VIP

    joined:
    February 22, 2014
    Messages:
    645
    Likes received:
    9,723
    Trophy Points:
    93
    Gender:
    Male
    Place:
    London

    The Agora Financial Copy School System
    [​IMG]"data-url =" https://getwsodo.net/wp-content/uploads/2018/07/The-Agora-Financial-Copy-School-System.jpg
    It's the most requested text system in the world and … "It puts people off the streets in million dollar marketing producers … in a few days!

    No outsider ever got access to the legendary copywriting process
    From Agora Financial …
    Now is your chance!
    The demand for this package is OVERWARED …
    The Agora Financial copywriting process is so powerful that newcomer marketers and copywriters who have never written a word before are using Mil Dollar campaigns within days.
    Today you have an unprecedented opportunity to get your hands on …
    The most sought-after copywriting method on the planet!
    About Agora Inc .:
    Agora Inc. is the 800-pound gorilla in the world of direct response marketing.
    They began as a small publishing house and today generate an annual turnover of over one billion US dollars.
    And Agora Financial is the fastest growing business of ALL agora companies.
    You generate over 3 MIL A WEEK!
    They've developed a special training process over the last decade – the Agora Financial Copy School – which literally takes people off the streets and …
    In the best days you will become the best marketers and copywriters!
    People without marketing experience … no copy experience … no creative experience … not even a writing experience …
    So, what is it?
    Simple: the key to the golden goose!
    Your ticket to know how to write a copy that attracts monster sales! The financial way of the agora.
    I'm talking about having the power to make money almost anytime, if you want.
    No more writer's block … no longer not knowing what to say or how to say it … no more endless hours working on the copy just to make it flop … and no campaign duds anymore. Never again!

    DISTRIBUTION

    Code:

    http://archive.is/6PETg

    DOWNLOAD

    Code:

    https://my.pcloud.com/publink/show?code=kZkQiB7Zvz0W0Xt7M6zONUQGzvC26JVeSgkk

    Guys, that's from my personal account and is 42 GB
    I will keep the link open for a day
    please do not ask for one Mega Link, since I do not have time to upload Mega

    The


  2. Kolly Show

    Kolly Show
    Active member


    joined:
    October 8, 2010
    Messages:
    107
    Likes received:
    59
    Trophy Points:
    28

    Thanks for the share. estimate

    michaelfrancis likes this.


  3. dabber300

    dabber300
    Well-known member


    joined:
    November 19, 2010
    Messages:
    45
    Likes received:
    366
    Trophy Points:
    53

    michaelfrancis likes this.


  4. dealmein923

    dealmein923
    Well-known member


    joined:
    April 1st, 2012
    Messages:
    1,177
    Likes received:
    1,924
    Trophy Points:
    113

    I would like to … thank
    [​IMG]"data-url =" http://www.blackhatteam.com/data/avatars/m/172/172079.jpg?1467181680
    michael francis for this outstanding monster share … Over the years, I've come to know some of the offers from Agora Financial Products. The copy on her marketing documents is second to none.

    michaelfrancis likes this.


  5. mtopo

    mtopo
    member


    joined:
    January 8, 2018
    Messages:
    58
    Likes received:
    26
    Trophy Points:
    18
    Gender:
    Male

    Amazing. @michaelfrancis you are a legendary!

    michaelfrancis likes this.


  6. dw340

    dw340
    member


    joined:
    2 August 2014
    Messages:
    51
    Likes received:
    30
    Trophy Points:
    18

    An excellent share, thanks again to michaelfrancis


  7. PeppedUp

    PeppedUp
    Active member


    joined:
    November 5, 2010
    Messages:
    116
    Likes received:
    42
    Trophy Points:
    28

    I'm halfway through the download and now asks for a password. Is there one?

    Many Thanks.


  8. jlgbuss

    jlgbuss
    New member


    joined:
    December 7, 2010
    Messages:
    1
    Likes received:
    0
    Trophy Points:
    1

    No!! I missed it. LinkL does not work … Would have loved this part …

  9. Hello michaelfrancis, are there any possibilities to re-up?

    thank you in advance

  10. Bro, make it a habit to read the instructions in OP.


  11. cool breeze

    cool breeze
    Active member


    joined:
    May 19, 2011
    Messages:
    177
    Likes received:
    61
    Trophy Points:
    28
    Gender:
    Male
    Place:
    United States of America


  12. michael francis

    michael francis
    Jr. VIP
    Jr. VIP

    joined:
    February 22, 2014
    Messages:
    645
    Likes received:
    9,723
    Trophy Points:
    93
    Gender:
    Male
    Place:
    London

    coolbreeze PM Email and I will send you an invitation


  13. Jaytano

    Jaytano
    V.I.P. lifetime
    V.I.P. lifetime

    joined:
    December 17, 2010
    Messages:
    182
    Likes received:
    621
    Trophy Points:
    93

    Many thanks to michaelfrancis for your generosity! ~ J

    michaelfrancis likes this.


  14. Not blocked

    Not blocked
    New member


    joined:
    August 20, 2016
    Messages:
    13
    Likes received:
    1
    Trophy Points:
    3

    The Agora Financial Copy School System great share … can you give me the invitation code?
    I have been with BHT for 2 years. 2016 no longer knows if the new membership badge remains in the profile … I'm not as active as I would like to be, but I have the absolute respect for this site and would never share the information found here.


  15. fastfifo

    fastfifo
    Active member


    joined:
    March 9, 2012
    Messages:
    44
    Likes received:
    104
    Trophy Points:
    33

    Hi Michael
    Thank you for the link to download the course
    Could you make the password via PM?
    Many Thanks


  16. unstoppable

    unstoppable
    member


    joined:
    March 22, 2011
    Messages:
    32
    Likes received:
    74
    Trophy Points:
    18

    Is there a chance that you will receive an invitation / password?

    Thanks for the share!


  17. santhu

    santhu
    Active member


    joined:
    October 28, 2011
    Messages:
    119
    Likes received:
    118
    Trophy Points:
    43
    Occupation:
    self-employed
    Place:
    India


  18. Domainer

    Domainer
    New member


    joined:
    May 10, 2010
    Messages:
    13
    Likes received:
    1
    Trophy Points:
    3

    Please help with the password, thank you