De error is:
Parse error: syntax error, unexpected < in /home/jlzwbpey/domains/jlzwbpey.twentyfive.versio.nl/public_html/pages/upload.php on line 13
Het komt uit dit script:
Ik ben niet zo ervaren, weet iemand hoe ik dit fix?
Diegene die me kan helpen krijgt 0.1 punt
Parse error: syntax error, unexpected < in /home/jlzwbpey/domains/jlzwbpey.twentyfive.versio.nl/public_html/pages/upload.php on line 13
Het komt uit dit script:
[COLOR= #0000BB]<?php
$hash[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]hash[/COLOR][COLOR= #007700]];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/preg_match"]preg_match[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"/^[A-Za-z0-9]{10}$/"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$hash[/COLOR][COLOR= #007700])){[/COLOR]
[COLOR= #0000BB]$sql[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"select `filename` from `files` where `hash`=$hash limit 1"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$filename[/COLOR] [COLOR= #007700]= @[/COLOR][URL="http://www.php.net/mysql_result"]mysql_result[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/print"]print[/URL]
[COLOR= #007700]<[/COLOR]SCRIPT type[COLOR= #007700]=[/COLOR][COLOR= #DD0000]"text/javascript"[/COLOR][COLOR= #007700]>
function[/COLOR] highlight[COLOR= #007700]([/COLOR]field[COLOR= #007700])
{[/COLOR]
field[COLOR= #007700].[/COLOR]focus[COLOR= #007700]();[/COLOR]
field[COLOR= #007700].[/COLOR]select[COLOR= #007700]();
}[/COLOR]
</script>
<h1>Succesvol geupload!</h1>
<p>
<img src="/img=$hash/thumb" /><br />
<a href="/img=$hash" target="_blank"><strong>Klik hier om het hele image te bekijken</strong></a><br /><br />
<h1>Dump Opties</h1>
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
<tr>
<td style="width: 180px;"><h3>UBB link</h3></td>
<td><input style="width: 300px;" type="text" onClick="highlight(this);" value="[url]http://{$site[url]}/upload/$hash/{$filename}[/url]" /></td>
</tr>
<tr>
<td style="height: 6px;"></td>
<td></td>
<td></td>
</tr>
<tr>
<td style="width: 180px;"><h3>UBB link met image</h3></td>
<td><input style="width: 300px;" type="text" onClick="highlight(this);" value="[url=http://{$site[url]}/upload/$hash/{$filename}][img]http://{$site[url]}/img={$hash}[/img][/url]" /></td>
</tr>
<tr>
<td style="height: 6px;"></td>
<td></td>
<td></td>
</tr>
<tr>
<td style="width: 180px;"><h3>UBB image</h3></td>
<td><input style="width: 300px;" type="text" onClick="highlight(this);" value="[img]http://{$site[url]}/img={$hash}[/img]" /></td>
</tr>
<tr>
<td style="height: 6px;"></td>
<td></td>
<td></td>
</tr>
<tr>
<td style="width: 180px;"><h3>HTML link</h3></td>
<td><input style="width: 300px;" type="text" onClick="highlight(this);" value="<a href=http://{$site[url]}/upload/$hash/$filename>NAME</a>" /></td>
</tr>
<tr>
<td style="height: 6px;"></td>
<td></td>
<td></td>
</tr>
<tr>
<td style="width: 180px;"><h3>HTML Image</h3></td>
<td><input style="width: 300px;" type="text" onClick="highlight(this);" value="<img src=http://{$site[url]}/img=$hash />" /></td>
</tr>
<tr>
<td style="height: 6px;"></td>
<td></td>
<td></td>
</tr>
<tr>
<td style="width: 180px;"><h3>Directe link</h3></td>
<td><input style="width: 300px;" type="text" onClick="highlight(this);" value="http://{$site[url]}/img=$hash" /></td>
</tr>
</table>
</p>
?> Ik ben niet zo ervaren, weet iemand hoe ik dit fix?
Diegene die me kan helpen krijgt 0.1 punt
