Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6073893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:19:17+00:00 2026-05-23T10:19:17+00:00

I keep getting a Parse error: syntax error, unexpected ‘:’, expecting ‘)’ in /home/jobkill/public_html/process.php

  • 0

I keep getting a

 "Parse error: syntax error, unexpected ':', expecting ')' in /home/jobkill/public_html/process.php on line 8"

when processing inputs from a page that redirects here. I dont know what to fix,

Here’s the code:

<?
$aff = $_GET['aff'] ;
$click_id = $_GET['click_id'] ;
$zipcode = @$_GET['zip'];
$state = @$_GET['custom_state'];
$subid = $_GET['subid'] ;
$urls = array(
“http://consumerheadlinesdaily.com/debt/direct_2de89f.php?

cdb=23&zip=<?print $zipcode?>”,
“http://consumerheadlinesdaily.com/debt/direct_2de89f.php?

cdb=80&zip=<?print $zipcode?>”,
“http://consumerheadlinesdaily.com/debt/direct_2de89f.php?

cdb=46&zip=<?print $zipcode?>”,
“http://consumerheadlinesdaily.com/debt/direct_2de89f.php?

cdb=37&zip=<?print $zipcode?>”,
“http://consumerheadlinesdaily.com/debt/direct_2de89f.php?

cdb=55&zip=<?print $zipcode?>”,
“http://consumerheadlinesdaily.com/debt/direct_2de89f.php?

cdb=71&zip=<?print $zipcode?>”);

$url = $urls[array_rand($urls)];

echo “<meta http-equiv=\"refresh\" content=3; url='$url'>”;

?>
<html>
<HEAD>
<LINK href="./index_files/style2.css" rel="stylesheet" type="text/css">
<STYLE>
#middlename
{
    display:none;
    visibility:hidden;
}
</STYLE>
<SCRIPT type="text/javascript" src="./index_files/scripts.js"></SCRIPT>
<SCRIPT type="text/javascript" 

src="./index_files/functions.js"></SCRIPT>

<script language="JavaScript" 

src="http://j.maxmind.com/app/geoip.js"></script>
</HEAD><BODY>

<DIV id="form_complete">

<!-- OPEN MAIN TABLE -->
<TABLE width="100%" height="850" border="0" align="center" 

cellpadding="0" cellspacing="0" class="tablebg2">
  <TBODY>
  <TR>
    <TD valign="top" align="center">


  <!-- OPEN PLACEMENT TABLE -->
  <table width="1010" height="500" border="0" cellspacing="0" 

cellpadding="0">

    <tr><td height="220" colspan="3">&nbsp;</td></tr>
    <tr>
      <td width="51%"><div align="center"><img 

src="index_files/blank.gif" border="0" width="425" height="344" 

/></div></td>
      <td 

width="10%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp

;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td

>
      <td width="39%" align="left">


    &nbsp;
    <br /><br /><br />
    <div id="super-container0">
    <div id="wrapper">
      <span style="color:#000000;font-weight:bold;font-

size:24px;color:#898;">Now Searching...</span><br /><span 

style="color:#000000;font-weight:bold;font-size:32px;"><script 

language="Javascript">document.write(geoip_city());</script>, <script 

language="Javascript">document.write(geoip_region());</script></span>
      <!-- <h2>for <span style="color:#000000;font-weight:bold">30-

34</span> Year Old <span style="color:#000000;font-

weight:bold">Male</span> Drivers</h2> -->
      <div id="block"></div>
      <div id="progress-bar"><img src="index_files/progress.gif"></div>

    </div>
    </div>
    </DIV>






    </td>
  </tr>
  <tr>
    <td height="350" colspan="3">&nbsp;</td>
  </tr>
  <tr>

    <td colspan="3">
    <DIV class="Privacy" style="width: 1000px; margin: 0 auto;">
      <P style="font-family:Arial, Helvetica, sans-serif; font-

size:11px; margin: 0px; padding: 0px;">All personal information and 

email addresses are kept confidential. By           

submitting your expression of interest you are consenting to receive 

telephone calls from our participating partners even if you have been 

previously listed on a state or federal Do-Not-Call List.
    </P><P style="width: 1000px; text-align: center; margin-top: 0px; 

padding-top: 0px;"><A href="#" onclick="MM_openBrWindow

(&#39;privacy.htm&#39;,&#39;&#39;,&#39;scrollbars=yes,width=500,height=

400&#39;)" target="_blank" style="font-family:Arial, Helvetica, sans-

serif; font-size:10px; color:#03C">Privacy Policy</A></P>
</DIV></td>
  </tr>
</table> <!-- CLOSE PLACEMENT TABLE -->
</TD></TR></TABLE>  <!-- CLOSE MAIN TABLE -->



<DIV id="processing" style="display:none">
<br /><br /><br /><br />
<CENTER><img src="./index_files/logo2.gif" /><br /><br />
<H2>Searching for a specialist now ...<BR>Thank you for giving us an 

opportunity to assist you today.</H2><STRONG>(Please do not Refresh 

page as that will result in an error in the system.)</STRONG><BR>

  <IMG src="./index_files/ajax-loader.gif" width="220" height="19" 

alt="Processing">
</CENTER>
</DIV>

</BODY></html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:19:18+00:00Added an answer on May 23, 2026 at 10:19 am

    UPDATE:
    added whole code, tested and working

    replace <?print $zipcode?> with $zipcode

    i.e. “http://consumerheadlinesdaily.com/debt/direct_2de89f.php?cdb=23&zip=<?print $zipcode?>”,
    into “http://consumerheadlinesdaily.com/debt/direct_2de89f.php?cdb=23&zip=$zipcode”,

    and replace quotation marks (“”) to normal ones ("")

    basically your code should look like this:

    <?php
    $aff = $_GET['aff'] ;
    $click_id = $_GET['click_id'] ;
    $zipcode = @$_GET['zip'];
    $state = @$_GET['custom_state'];
    $subid = $_GET['subid'] ;
    $urls = array(
    "http://consumerheadlinesdaily.com/debt/direct_2de89f.php?cdb=23&zip=$zipcode",
    "http://consumerheadlinesdaily.com/debt/direct_2de89f.php?cdb=80&zip=$zipcode",
    "http://consumerheadlinesdaily.com/debt/direct_2de89f.php?cdb=46&zip=$zipcode",
    "http://consumerheadlinesdaily.com/debt/direct_2de89f.php?cdb=37&zip=$zipcode",
    "http://consumerheadlinesdaily.com/debt/direct_2de89f.php?cdb=55&zip=$zipcode",
    "http://consumerheadlinesdaily.com/debt/direct_2de89f.php?cdb=71&zip=$zipcode");
    
    $url = $urls[array_rand($urls)];
    ?>
    <html>
    <HEAD>
    <LINK href="./index_files/style2.css" rel="stylesheet" type="text/css">
    <STYLE>
    #middlename
    {
        display:none;
        visibility:hidden;
    }
    </STYLE>
    <SCRIPT type="text/javascript" src="./index_files/scripts.js"></SCRIPT>
    <SCRIPT type="text/javascript" 
    
    src="./index_files/functions.js"></SCRIPT>
    
    <script language="JavaScript" 
    
    src="http://j.maxmind.com/app/geoip.js"></script>
    <meta http-equiv="refresh" content="3;url=<?php echo $url; ?>"> 
    </HEAD><BODY>
    
    <DIV id="form_complete">
    
    <!-- OPEN MAIN TABLE -->
    <TABLE width="100%" height="850" border="0" align="center" 
    
    cellpadding="0" cellspacing="0" class="tablebg2">
      <TBODY>
      <TR>
        <TD valign="top" align="center">
    
    
      <!-- OPEN PLACEMENT TABLE -->
      <table width="1010" height="500" border="0" cellspacing="0" 
    
    cellpadding="0">
    
        <tr><td height="220" colspan="3">&nbsp;</td></tr>
        <tr>
          <td width="51%"><div align="center"><img 
    
    src="index_files/blank.gif" border="0" width="425" height="344" 
    
    /></div></td>
          <td 
    
    width="10%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
    
    ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td
    
    >
          <td width="39%" align="left">
    
    
        &nbsp;
        <br /><br /><br />
        <div id="super-container0">
        <div id="wrapper">
          <span style="color:#000000;font-weight:bold;font-
    
    size:24px;color:#898;">Now Searching...</span><br /><span 
    
    style="color:#000000;font-weight:bold;font-size:32px;"><script 
    
    language="Javascript">document.write(geoip_city());</script>, <script 
    
    language="Javascript">document.write(geoip_region());</script></span>
          <!-- <h2>for <span style="color:#000000;font-weight:bold">30-
    
    34</span> Year Old <span style="color:#000000;font-
    
    weight:bold">Male</span> Drivers</h2> -->
          <div id="block"></div>
          <div id="progress-bar"><img src="index_files/progress.gif"></div>
    
        </div>
        </div>
        </DIV>
    
    
    
    
    
    
        </td>
      </tr>
      <tr>
        <td height="350" colspan="3">&nbsp;</td>
      </tr>
      <tr>
    
        <td colspan="3">
        <DIV class="Privacy" style="width: 1000px; margin: 0 auto;">
          <P style="font-family:Arial, Helvetica, sans-serif; font-
    
    size:11px; margin: 0px; padding: 0px;">All personal information and 
    
    email addresses are kept confidential. By           
    
    submitting your expression of interest you are consenting to receive 
    
    telephone calls from our participating partners even if you have been 
    
    previously listed on a state or federal Do-Not-Call List.
        </P><P style="width: 1000px; text-align: center; margin-top: 0px; 
    
    padding-top: 0px;"><A href="#" onclick="MM_openBrWindow
    
    (&#39;privacy.htm&#39;,&#39;&#39;,&#39;scrollbars=yes,width=500,height=
    
    400&#39;)" target="_blank" style="font-family:Arial, Helvetica, sans-
    
    serif; font-size:10px; color:#03C">Privacy Policy</A></P>
    </DIV></td>
      </tr>
    </table> <!-- CLOSE PLACEMENT TABLE -->
    </TD></TR></TABLE>  <!-- CLOSE MAIN TABLE -->
    
    
    
    <DIV id="processing" style="display:none">
    <br /><br /><br /><br />
    <CENTER><img src="./index_files/logo2.gif" /><br /><br />
    <H2>Searching for a specialist now ...<BR>Thank you for giving us an 
    
    opportunity to assist you today.</H2><STRONG>(Please do not Refresh 
    
    page as that will result in an error in the system.)</STRONG><BR>
    
      <IMG src="./index_files/ajax-loader.gif" width="220" height="19" 
    
    alt="Processing">
    </CENTER>
    </DIV>
    
    </BODY></html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

here's the error I keep getting: Parse error: syntax error, unexpected T_DOUBLE_ARROW, expecting ')'
I keep getting the error Parse error: syntax error, unexpected T_STRING on line #9
I keep geting this error: Parse error: syntax error, unexpected '}' in /Users/skline/Sites/tiptap/Site/tiptap/survey_current.php on
I'm making a login script and I keep getting this error Parse error: syntax
Im trying to parse twitter trends but i keep getting a parser error at
I keep getting this error message and I don't understand why: src\Parsing.hs:21:18: parse error
I keep getting this T_STRING Parse error im not sure what it is but
I keep getting the following error when trying to parse some html using BeautifulSoup:
I keep getting a PermGen error on my Tomcat 6 server. I know what
I want to rename a database, but keep getting the error that 'couldn't get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.