lexx_13
New Around Here
I have Asus RT-N66U with AsusWRT-Merlin firmware 3.0.0.4.270.25
I have http server on local machine. I configured port forwarding to it (see attach).
I create simple php-script for upload files to http-server.
This script works perfect in intranet, but it's not work from internet.
(just long loading of page, very long, more 5 min)
I think it is because of wrong router configure.
Could you help me with my error?
I have http server on local machine. I configured port forwarding to it (see attach).
I create simple php-script for upload files to http-server.
Code:
<html>
<head>
<title>Upload file</title>
</head>
<body>
<h2><p><b>Select file </b></p></h2>
<form action="upload.php" method="post" enctype="multipart/form-data">
<input type="file" name="filename"><br>
<input type="submit" value="Upload"><br>
</form>
<?php
if (!empty($_FILES))
{
if(is_uploaded_file($_FILES["filename"]["tmp_name"]))
{
move_uploaded_file($_FILES["filename"]["tmp_name"], "./files/".$_FILES["filename"]["name"]);
} else {
echo("Error upload");
}
}
?>
</body>
</html>
This script works perfect in intranet, but it's not work from internet.
(just long loading of page, very long, more 5 min)
I think it is because of wrong router configure.
Could you help me with my error?