How to make the redirect URL invisible in the source code?

Thank you for the wonderful PHP formMail program. I plan to install it but at this point I wonder if the following request/task could be accomplished:

How to make the redirect URL invisible in the source code?

In other word, could you make a new array ("URL array" for example) so that the HTML source code will display a "code" rather than the real "redirect URL", for the new webpage after the form is submitted/sent?

This has similar effect/goal as in "$recipient_array" which displays a "code" rather than the real recipient email address in the HTML source code.

Purposes: Just don't want the result page to be known (by looking up the HTML source code) unless the form is actually submitted/sent - Say, my result page contains info only intended for the form mail sender, rather than just a normal THANK YOU page.

Thank you in advance.

CofaMail
4/1/2009

By cofamail on

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I do not know if it is

I do not know if it is possible by modifying the PHPFormMail configuration, but you could change the PHPFormMail code to hard-wire the redirect filename instead of getting it from the redirect hidden field in the contact form.  You actually do not have to hard-wire the redirect filename by using a string literal in the PHPFormMail code that redirects the visitor after the form is successfully submitted:  you could define the redirect filename at the beginning of formmail.php and then use that constant instead of using a string literal.

Stalk me!

Drupal Association Member