CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
My parser do'nt work whith HTML tags! HELP!

 



photores
Deleted

Aug 7, 2000, 4:40 PM

Post #1 of 1 (412 views)
My parser do'nt work whith HTML tags! HELP! Can't Post

Hi!
I write CGI for my images portfolio. This is my first "serious" script, and I need anyone, who can help me.:-)
I modified parse_template subroutine for returning parsed txt file in program, and using as easy customizable page
parts. Code for call this subpoutine is:
$file = "$txt_files/file.txt";
if (!&parse_file($file)) {
$read_file = "Can not read $file_txt";
}
# set 'SUBHEADER' for parse_template
$VAR{'SUBHEADER'} = "$read_file";
This work wonderful, if file.txt is only text file, but do'nt work, if file.txt include HTML tags (a.s. code for HTML form).:-(
Please, help me. That I do wrong?The full code you can see only clicking on link. greeting-card.virtualave.net/test.html

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives