gardens
asked on
Question for icd
Hi icd,
I am just starting to learn CGI and need a script similar to the one you added when you answered "How Do I do This?" Only instead of the two fields: Name and Email Address I like it to be: an URL (hyperlink) and Describtion. So without the many extras that are usually included with such scripts.
Thanks
I am just starting to learn CGI and need a script similar to the one you added when you answered "How Do I do This?" Only instead of the two fields: Name and Email Address I like it to be: an URL (hyperlink) and Describtion. So without the many extras that are usually included with such scripts.
Thanks
just change the names from name and email to url and description, post the code you are looking at and I will show you what to change
ASKER
Sorry flivauda, I couldn't answer before: some family related problems. I would appreciate it if you could change the code for me.
https://www.experts-exchange.com/Q.10013514
----cut here----
#!/usr/local/bin/perl
require "cgi-bin.pl";
print&PrintHeader;
print<< END__ OF_HEADER__ ;
<html>
<head>
</head>
<body>
EMAIL: $in{'email'} NAME: $in{'name'}<br>
</body>
</html>
__END-OF-HEADER__
1;
----cut here----
Just one question about this. If I store a page from Experts Exchange (with the extension html or txt) I can't just cut and
past it. The tags for EE's table are added and so are the special
characters like < and " So how can I just cut and past it (do I need a program that converts html in txt; but even then there still are the additional table tags)?
Thanks
https://www.experts-exchange.com/Q.10013514
----cut here----
#!/usr/local/bin/perl
require "cgi-bin.pl";
print&PrintHeader;
print<< END__ OF_HEADER__ ;
<html>
<head>
</head>
<body>
EMAIL: $in{'email'} NAME: $in{'name'}<br>
</body>
</html>
__END-OF-HEADER__
1;
----cut here----
Just one question about this. If I store a page from Experts Exchange (with the extension html or txt) I can't just cut and
past it. The tags for EE's table are added and so are the special
characters like < and " So how can I just cut and past it (do I need a program that converts html in txt; but even then there still are the additional table tags)?
Thanks
'END__ OF_HEADER__'
and
'__END-OF-HEADER__'
should be the same
and
'__END-OF-HEADER__'
should be the same
ASKER
Thanks ozo, you are right.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot flivauda!