Page 1 of 1

is it possible to change behavior after submit?

Posted: Sun Nov 01, 2009 6:23 pm
by Gayle
/*************************************
Title: GBook
Version: 1.7
Author:
Demo:
Download:
Website:

Short description: After a user submits a comment, I would like to display a different (static) html page, instead of displaying the notice and the list of comments. Can you point me to the code I would need to modify to do this?

Thank you,

Gayle


*************************************/

(Here below you can write additional info, longer description and comments)

Posted: Mon Nov 02, 2009 4:26 pm
by Henrie
Hello Gayle,

In gbook.php (version 1.70) find line 1008

Code: Select all

} // END addEntry
Just before this code at the following:

Code: Select all

header("Location: http://www.mysite.com/mypage.html"); 
exit();
Greetings,
Henrie

Solved: is it possible to change behavior after submit

Posted: Mon Nov 02, 2009 5:36 pm
by Gayle
Thanks, Henrie - that's exactly what I needed to know,

Gayle