• stelu

    (@stelu)


    <?php
    if ($_SERVER[‘QUERY_STRING’] == “topframe”) {
    echo(“<html><head><meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″><title>’$title'</title></head><body bgcolor=#d3d3d3><div align=center>Se você ver este texto e seu site – <i>e n?o recebeu nenhuma mensagem de pop-ups ou caixas</i> – seu site provavelmente será aprovado</div></body></html>”);
    } else {
    echo(“<html><head><title>’$title'</title></head><frameset rows=20,* border=0><frame marginheight=0 marginwidth=0 scrolling=no noresize border=0 src=./urltest.php?topframe><frame marginheight=0 marginwidth=0 scrolling=auto noresize border=0 src=\”$_GET[url]\”></frameset></html>”);
    }
    ?>

    I get error:
    PHP Parse error: syntax error, unexpected T_STRING in /home/mondopro/public_html/urltest.php on line 3PHP Parse error: syntax error, unexpected T_STRING in /home/mondopro/public_html/urltest.php on line 3

    Can someone help me?

    Thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Michael v.d. Berg

    (@michaelvdberg)

    Please check the file urltest.php at line 3. Can you have a check if you have all required ‘ and/or ” in this line? Maybe you can put here a part of the code. I can have a look at it.

    Thread Starter stelu

    (@stelu)

    Thanks for answer!
    This is the complete code:

    1.<?php
    2.if ($_SERVER[‘QUERY_STRING’] == “topframe”) {
    3.echo(“<html><head><meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″><title>’$title'</title></head><body bgcolor=#d3d3d3><div align=center>Se você ver este texto e seu site – <i>e n?o recebeu nenhuma mensagem de pop-ups ou caixas</i> – seu site provavelmente será aprovado</div></body></html>”);
    4.} else {
    5.echo(“<html><head><title>’$title'</title></head><frameset rows=20,* border=0><frame marginheight=0 marginwidth=0 scrolling=no noresize border=0 src=./urltest.php?topframe><frame marginheight=0 marginwidth=0 scrolling=auto noresize border=0 src=\”$_GET[url]\”></frameset></html>”);
    6.}
    7.?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘T_STRING error’ is closed to new replies.