and let the client maintain the pages' unique part for
each member in his group.
This way also he could have more data then just name/address.
And you could make the static part ONCE in the page generation script.
We do this to maintain a list of static pages that are
made on the fly by a sister organization. They put in the
info and the script generates the page to a static file.
> -- [ From: lists * EMC.Ver #2.5.02 ] --
> I need a little help trying to figure out how to pass a variable through a
> I need to set up a website that has a bit of dynamic content. A customer
> has an MLM business and he wants to set up a web page for each of his
> customers (the people who have joined under him). The web pages will be the
> same for each customer, except for a few items like their name, address, etc
> ... He wants to give each customer their own URL so they can advertise it.
> I really don't want to set up 100 subdirectories and then replicate all of
> the HTML (except for the name and address) for each person. I was thinking
> that maybe I could make a script that would take data from the URL and then
> create the web page. Something like:
> www.domain.com/whatever?smith or
> www.domain.com/whatever?bob or
> If I could get the above to work, I could have a script that would intercept
> the variable and then find the customer information from a small database
> and insert it into the HTML.
> I'm not sure how to intercept the variable. I've tried:
> print"HTTP/1.0 200 OK/n Content-type: text/html\n\n"
> print "<html><head><title>Thank You</title></head>\n"
> print "<body><H1>This is a test</H1>\n"
> print "</BODY></HTML>"
> Can anybody help me out? It seems to work OK from the command line when I
> call it like:
> test.pl mystery_variable
> However, it doesn't seem to work (pass the variable) when I call it from a
> web browser like:
> Is there a better way to do this?
> NTISP Mailing List firstname.lastname@example.org