WordPress.org

Ready to get started?Download WordPress

Forums

PHP / Form question (4 posts)

  1. nydanv
    Member
    Posted 8 years ago #

    Hello all. I have created a form with the below code. On submit the form call sendmail and sendmail does all the processing.

    My issue is when I change themes I also have to change the action. What is the best way to go about this. Should I move sendmail.php to the root? Thank you in advance.

    <form method="post" id="searchform" action="http://foo.org/wp-content/themes/dark_maple/sendmail.php">

  2. moshu
    Member
    Posted 8 years ago #

    Moving it to the root or someplace where is accessible from anywhere... would probably be a good idea.
    (nice theme you have, LOL)

  3. nydanv
    Member
    Posted 8 years ago #

    Thank you. you are so fast do you get paid for this?

  4. moshu
    Member
    Posted 8 years ago #

    All the helpers in the forum are volunteers!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags