Specials | Announcements | Contact | Site Map
Willmaster.com
Hijack-proof forms. Surveys. List building.

Solid, safe website tools.

Whatever your need, Will Bontrager builds powerful software solutions.

Affiliate Cookie Setter
Search WillMaster.com:

WillMaster > Support > CGI Q&A

If you don't find the answer to your question in these archives, ask your CGI question at the Current Master Series CGI Forum.

Adding a header in Master PFP

Author Message
7Jul02

Sikander
Subject: Adding a header in Master PFP

Hello,

I tried out Master PFP and it seems to work great. I am using &doc=self and I was wondering if it is possible to add a universal header to all the PFP pages without adding it to the orginal html file.

Thanks!
Sikander

8Jul02

Will
In response to: Adding a header in Master PFP

The last line of the program is like this:

print "Content-Type: text/html\n\n$top$doc$bottomURL\n";

Immediately above that line, insert:

$top .= q~

My stuff
here


~;

Between the first and last lines of that 4-line example, put whatever you want for the header. Multi-line is okay. If anything in your header uses a tilde character, it must be escaped with a back slash character: \~

21Jul02

Sikander
In response to: Adding a header in Master PFP

Hi,

Thank you very much for your reply.

I added the code, however, it is not displaying a header. I have also tried displaying links with the following format,

however, that also didn't show up on the pfp.

Any suggestions?

Thanks a lot,
Sikander