Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (45 sloc) 1.34 KB
if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') === false)
header('Content-type: application/xhtml+xml; charset=utf-8');
header('Content-type: text/html; charset=utf-8');
if (isset($_FILES['userfile']['tmp_name'])) {
move_uploaded_file($_FILES['userfile']['tmp_name'], USER_IMAGEDIR.'/makelaar/rr/'.str_replace('&', 'en', $_FILES['userfile']['name']));
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<html xmlns="" xml:lang="en" >
<title><?php echo OWNER; ?></title>
<style type="text/css">
html {
background-color: #ffff99;
body {
font-family: verdana, sans-serif;
font-size: small;
input,textarea {
border: 1px solid #000;
width: auto;
float: left;
fieldset,select {
border: 1px solid #000;
<form method="post" enctype="multipart/form-data">
<legend>Fotos uploaden</legend>
<input name="userfile" type="file" style="float: left;" /> <input type="submit" value="Stuur!" class="button" />
<a href="toevoegen.php">Toevoegen</a>
Something went wrong with that request. Please try again.