in reply to How to display part of the page when click on submit (CGI)

use strict; use warnings; use CGI; if($ENV{REQUEST_METHOD} eq 'GET') { # print form with method 'POST' and submit button } else { # print the rest of the page }

Perhaps AJAX would suit you better for this.

I hope you know what I mean.

Sure, I'm certified telepathic :)

Replies are listed 'Best First'.
Re^2: How to display part of the page when click on submit (CGI)
by Jarek (Novice) on Nov 16, 2009 at 13:06 UTC
    Hehe, thanks. The problem is I cant reload the page, as it's executed by remote site using CURL. I have looked around and I haven't found anything better than AJAX. The problem is I'm not familiar with AJAX at all. Thank you again. Regards.