简体   繁体   中英

The requested URL [filename.php] was not found on this server

    <?php
    echo "hello";   
?>

<!DOCTYPE html>
<html>
    <head>
    </head>
    <body>
        <form action="/one1.php" method="POST" enctype="multipart/form-data">
            <input type="file" name="image" />
            <input type="submit"/>
        </form>
    </body>
</html>

`

I have a Url on my server This url is working. I have written echo "hello" in this.

but when i go through in this url i have written the html file upload code

It says The requested URL [one1.php] was not found on this server.

I checked my file_upload is on.

确保将表单标签上的“ action ”属性设置为/one1.php

I got the answer I contact the hosting team. They told to off the mod security in my panel and things the worked.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM