Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jan 2015
    Location
    romania
    Posts
    1
    Member #
    41357

    php uploading script error

    My script is this, but when trying to submit messages or file I get Page not found. Where is the issue?
    Thank you.

    <!DOCTYPE html>

    <html>

    <head>
    <style type="text/css">

    body {background-color:#ebff33;
    background-image:url(logo.jpg);
    background-repeat:no-repeat;
    background-position:950px 1270px;}

    p { color: #BD0102;font-family:arial;line-height:190%;text-align:center;}

    h1 {color: #5F6024;font-family:arial;text-align:center;
    background-color:white;padding:60 px;}

    a {font-family:arial;font-weight:bold;text-decoration:none;}
    a:active {background-color:white; font-size: 25px;}

    span {font-weight:bold; color:brown;}




    <title>
    Nknow.info. Joburi online.Eseuri, traduceri, lucrari de licenta si tot ce ai
    nevoie la liceu si facultate. Afla locurile unde sunt cele mai tari petreceri in orasul tau.
    </title>
    </style>
    </head>

    <body>
    <form action="dosomething" method="post">
    <img src="Nknow.png"/>

    <form>
    Spune cine esti si cum vrei sa fie iubitul/iubita ta:
    <br>
    <textarea name="bio" rows="30" cols="130">
    Scrie aici mesajul tau
    </textarea>
    <input type="Submit" value="Submit!">
    <br>
    <br>
    <p>Acum upladeaza fisierul dorit</p>
    <input type="file" name="FisierInNknow"/>
    <br>
    <br>
    </form>
    <!-- Go to www.addthis.com/dashboard to customize your tools -->
    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-54ba8f1628d8bd6e" async="async"></script>
    <br>
    <br>
    <p>Te aflii aici pentru ca doresti sa iti gasesti pe cineva care sa iti fie alaturi</p>
    <br>
    <br>
    <br>
    </body>
    </html>

  2.  

  3. #2
    Junior Member
    Join Date
    Jan 2015
    Posts
    3
    Member #
    41394
    I think it's because you have a wrong url in the action attribute of the <form>, that's why you get 404 page not found error when you post the form.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:35 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com