Menu

Editing the HTML of a PHP form

Ruan Gouws
2009-08-17
2013-06-03
  • Ruan Gouws

    Ruan Gouws - 2009-08-17

    hi, my 1'st post and def a n00bish one.

    I generated a php form (which was very very easy) after that I downloaded the form1.html file and edited it on dreamweaver. I took great care in not trying to mess up the html, so I "fit" the form into my html page and then copied it back to the server. I then copied the process.php and the global.in.php file to the publichtml folder where my contact page is located, http://www.printsecure.co.za/contact.htm

    Its there and looks fine, but when you click submit its not running. I am obviously doing something very dumb here, can any1 help? Oh yeah Ive tried copying this file to the forms directory as well (replacing the form1.html file that was there before, but the same thing happened. thanks in advance ps: I also made sure my permissions on the above files were set to 777

     
    • ismadman

      ismadman - 2009-08-26

      I see this when i goto this area
      http://www.printsecure.co.za/contact ( <- No htm extension )
      File and Directory permissions
      # The forms/form1.html file is not writeable.
      # The forms/process.php file is not writeable.Please give read+write permissions to all the files and directories mentioned above. Refresh this page after you have done so.

      If you are on a hosted account , most of them won't let you make the permissions 777 ( security )
      Try 755 or even 775

      and looking at your site I can't see the folder with all the files in it
      it must be uploaded INTACT
      then you must link your contact page to form.html inside your uploaded folder
      Editing is fine as long as you put everything back where it originally was
      If you move anything you need to make sure it is pointing to that thing throughout the whole script . So best to leave it as it is , Edit it and put it back where you got it from .

      try these things anyway . Still no good gives us a yell

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.