cannot find file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oll3i
    Contributor
    • Mar 2007
    • 679

    cannot find file

    i have a form
    <form name="editor" method="post" action="<? echo "save.php?langu age=$language"? >">
    but when i click the submit button i get 404 error but save.php is in that directory.What could be the reason?
    thank You
  • satas
    New Member
    • Nov 2007
    • 82

    #2
    Check html output for form tag. It is possible that you need to add slash before "save.php" :

    [HTML]<form name="editor" method="post" action="<? echo "/save.php?langua ge=$language"?> ">[/HTML]

    Comment

    • oll3i
      Contributor
      • Mar 2007
      • 679

      #3
      no it doesnt work even if i pass the whole address and the file is there ... weird

      Comment

      • Markus
        Recognized Expert Expert
        • Jun 2007
        • 6092

        #4
        Originally posted by oll3i
        no it doesnt work even if i pass the whole address and the file is there ... weird
        What do you get outputted in the html source?

        Comment

        • oll3i
          Contributor
          • Mar 2007
          • 679

          #5
          [code=html]
          <form name="editor" method="post" action="save.ph p?language=engl ish" onsubmit="if (checkTitle(thi s,'english')) { setOfferCookies (); return true;} else {return false;}">
          .....
          </form>
          [/code]

          Comment

          • Markus
            Recognized Expert Expert
            • Jun 2007
            • 6092

            #6
            Originally posted by oll3i
            [code=html]
            <form name="editor" method="post" action="save.ph p?language=engl ish" onsubmit="if (checkTitle(thi s,'english')) { setOfferCookies (); return true;} else {return false;}">
            .....
            </form>
            [/code]
            and when you submit you get save.php as not found?

            Comment

            • oll3i
              Contributor
              • Mar 2007
              • 679

              #7
              exactly that i get an error page not found

              Comment

              Working...