Suppose you have the following tables:
t1
_c1_c2_
| a | 1 |
| a | 9 |
| a | 4 |
t2
_c1____c2__
| a | alpha |
| b | beta |
Is there a way to query the two tables (perhaps a weird join) that would return the following?:
_t2.c1___t2.c2___(something here)_
| a | alpha | 1,9,4...
is there a good way to set privileges for files that post data to a cgi, such that those files are the only ones allowed to post to the designated cgi file?
i know you could check the ENV{'HTTP_REFERER'} environmental variable to see which file requested the cgi, but is there another way, maybe...
CGI is not perl...it's Common Gateway Interface. I've written cgi's in c/c++ etc etc... cgi is a super set interface which emcompasses many programming languages.
Anywho, I will (and do) utilize read/write functions in my scripts. But see, I need to be able to create a text file in my script...
I just started writing cgi's for the web and I'm need to know how I can create a text file dynamically through my cgi script (to store data later) instead of having to create it by hand (statically).
I've thumbed through sever perl/cgi books and none make mention of this (they just tell how to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.