|
-
Aug 11th, 2000, 02:47 PM
#1
Thread Starter
Hyperactive Member
Hi,
Does Anybody know where I can download a beginners CGI tutorial? Thanks
-
Aug 11th, 2000, 05:29 PM
#2
-
Aug 11th, 2000, 06:16 PM
#3
Monday Morning Lunatic
What language? If you want to use Perl, then remember this little goodie:
Code:
# read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); # POST only
# $buffer = $ENV{'QUERY_STRING'}; # GET only
@pairs = split(/&/, $buffer);
foreach $pair (@pairs) {
($name, $value) = split(/=/, $pair); $value =~ tr/+/ /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$value =~ s/~!/ ~!/g;
$FORM{$name} = $value;
}
This way, you can use stuff like print $FORM{'txtMyTextBox'};
On the other hand, there's CGI4VB (do a search), if you want to use our very own VB.
C++, I can email you a class that handles all the stuff you'll need.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 11th, 2000, 06:58 PM
#4
I would like that very much parksie 
[email protected]
-
Aug 12th, 2000, 01:05 PM
#5
Thread Starter
Hyperactive Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|