I have a proxy script that I am trying to get working on my server but for some reason everytime I try to go to the site it gives me an error that looks like this:
Parse error: syntax error, unexpected T_CASE in /home/p33n0r/public_html/index.php on line 27
This is lines 20-30 in index.php:
</style>
</head>
<body onload="document.getElementById('address_box').focus()">
<div id="container">
<h1 align="center" class="style1" id="title"><font color="#FFFFFF" size="+4"><u>p33n0r</u></font></h1>
<?php
break;
case 'error':
echo '<div id="error"><p>';
switch ($data['group'])
I have hosted this EXACT SAME SCRIPT on a few other php hosting sites and it works (fairly well) and doesn't give me this error. Here is some statistics of the server:
PERL version 5.8.7
PHP version 4.4.3
Apache version 1.3.37 (Unix)
MySQL version 4.1.22-standard
Thanks in advance!
EDIT: I just got help on this from different forums but now a new problem concerning the same script has occured. It is just a little bit different but here it is:
Now the error says:
Parse error: syntax error, unexpected T_STRING in /home/p33n0r/public_html/piss/index.php on line 45
Line 40-50:
break;
case 'external':
switch ($data['error'])
{
case 1:
$message = 'The URL you have tried is black listed';
break;
case 2:
$message = 'You spelled the URL wrong';
break;
}