This is a regex for the special format of a phone number like this:
+[COUNTRY CODE] ([AREA CODE]) [CONNECTION NUMBER][[-[EXTENSION]]]
\+\d{1,3}\s\(\d{2,}\)\s\d{3,}(-\d{1,4})?$
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Dateiupload</title> | |
</head> | |
<body> | |
<form enctype="multipart/form-data" action="upload.php" method="POST"> | |
<p>Laden Sie eine Datei hoch</p> | |
<input type="file" name="file"><br /> | |
<input type="submit" value="Upload"> |