in reply to Display the data passed from php
What do you mean by The contents of whole page is displayed in the browser?
Are the contents of the perl script displayed in the browser, insted of its output? If that's the case, you have a problem with the configuration of your webserver, not with perl.
And a general hint: to ease debugging of CGI scripts, start them with
#!/usr/bin/perl use warnings; use strict; use CGI::Carp qw(fatalsToBrowser);
And print the header as soon as you can.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Display the data passed from php
by sandy1028 (Sexton) on Aug 20, 2007 at 09:15 UTC | |
by moritz (Cardinal) on Aug 20, 2007 at 10:39 UTC | |
| |
by Gangabass (Vicar) on Aug 20, 2007 at 11:09 UTC | |
by sandy1028 (Sexton) on Aug 20, 2007 at 12:18 UTC | |
by rvosa (Curate) on Aug 21, 2007 at 18:14 UTC |
In Section
Seekers of Perl Wisdom