The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

PHP / Form question (4 posts)

  1. nydanv
    Posted 10 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
    Posted 10 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
    Posted 10 years ago #

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

  4. moshu
    Posted 10 years ago #

    All the helpers in the forum are volunteers!

Topic Closed

This topic has been closed to new replies.

About this Topic