[EMAIL PROTECTED] wrote:
Hi Sluggers:

I subscribed with a new email address. So I am reposting my query on this.

Setup:
Url comes to site like this

http://www.yourdomain.com/index.html?hop=some_data

Q1. If I click on a link to go to another HTML page say name.html, I lose
the "hop=some_data" part. How do I make the "hop=some_data" go with the
"name.html" with the <a> tag from an HTML document ? Is this possible or a
script can do this only ?

Q2. The order page calls a Perl script say "orderpage.pl", I want the
script to capture the "hop=some_data". I got the script to print the whole
%ENV, and I see no "HTTP_REFERER". I thought "HTTP_REFERER" would show the
url that called "orderpage.pl" with the "hop=some_data" . But if I cannot
see "HTTP_REFERER", then how do I get the script to capture the
"hop=some_data" ?

OK, read this answer as more philosophical than anything else.


Firstly:  Hi education (or whatever your name is).  I run a company
that does web design and programming in a Linux environment.  We know
all of the answers to all of your problems.  We do HTML, Perl, CGI,
PHP, and even Cold Fusion if we have to.  Our rates are very reasonable.
Our web site is here:  http://www.babel.com.au/  You can find our
contact details there.

end of plug.

Now for the philosophical bit.

I could answer your question.  I won't.  The reason I won't do so
on the SLUG list is primarily because I'd be undercutting my own
business doing so.  It sounds like you are either writing or getting
written or modifying a commercial web application of some kind here, of
the type that accepts orders, has people pay money, and earns you
some kind of profit.

Not that I have a problem with that.  It's good that Linux gets
used in this sort of environment and I think you'll find that one
of Linux's great strengths is the stability and robustness of the
code base that goes into such products as Apache, PHP, mod_ssl,
the kernel, Perl, etc, that make your kind of project possible.

I am quite happy to help even the most casual interlopers on the
SLUG list that are playing with web site programming perhaps as
a hobby, perhaps for a uni project (but I won't do your homework
for you), or perhaps for their school fete or church fair.  I
think, however, that offering free advice on design and programming
of what _sounds a lot_ like a commercial project (not saying it is,
just it sounds a lot like one, and if it isn't perhaps you should
give us some more information) is moderately unfair.  It's unfair
to the companies (like mine) that try to employ people making a
living out of this sort of thing, and unfair to the people who do
the development of free software that aren't getting the pay back
from work like yours that they might get if it were channelled
through companies like mine, Anthony's, or even IBM (I know I
contribute modestly in a financial sense to free software, IBM
does extensively, and I guess Everything Linux does to some extent
somewhere along the supply chain too).

So.

Are you following this so far?

Yes, I'd be happy to help.  It sounds like you're out of your
depth a bit.  More importantly, it sounds like you're trying to
pass around HTTP GET variables between web pages, something
that is inherently unsafe and extremely vulnerable to external
attack.  It sounds like you need some professional assistance,
and I suggest you get some.  You need to find someone who knows
all about session management, session encryption probably, web
based authentication methodologies, and safe data encapsulation
in session code.  You are certain to find people here that will
help you short or long term, and even more certain to find people
on [EMAIL PROTECTED] that will do likewise.

End of philosophical bit.

Start of SLUG committee / mailing list management bit.

Spam wars aside, is there an official SLUG policy on this sort
of thing on the SLUG list?  I know there are mumbled-in-beard
words about not-using-the-list-for-commercial-purposes from time
to time, but what's the official published policy?  Should there
be one?

Back to your regularly scheduled flame war.  Hey, at least we're
not arguing about distros at the moment.

--
Del

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to