=
And you can see that the XDB.pm file DOES exist in that directory, and
that permissions are world-readable.
Any ideas?
- --
Aaron Craig
[EMAIL PROTECTED]
===
Get Firefox!
http://www.spreadfirefox.com/?q=affiliates&id=0&t=1
==
At 07.13 25/07/2001 -0400, you wrote:
>Click here
>
>name: fliptop©=copy
Absolutely correct! What a bummer -- they're doing reverse error
correction :) Even though an HTML entity is supposed to end with a
semi-colon, they go ahead and accept it if you leave it off, blech.
Kinda makes you wo
At 18.07 24/07/2001 -0700, you wrote:
>Paul> For example:
>
>Paul>
>Paul> http://www.somewhere.com/script?page=2&mode=examples";>
>Paul> Page 2 & examples
>Paul>
>Paul>
>
>You're getting the benefit of error-correction.
>
>Try that again setting the variable "copy" to "3".
>Or "a
gt; go for that particular task. I too read the perldocs and saw the same
> thing. In fact, I suggested to Thomas that he check them regarding just
> that problem. That message also went to the list.
cool -- just offering my $.02 :)
Aaron Craig
Programming
iSoftitler.com
from $now)
stick $expires in your database
every time the user logs in, check the current time against their
expiration date
ChargeThemMoney() if(time >= $expires);
Aaron Craig
Programming
iSoftitler.com
r. If FILEHANDLE
is omitted, reads from STDIN. This is not particularly efficient.
***However, it cannot be used by itself to fetch single characters without
waiting for the user to hit enter.
Aaron Craig
Programming
iSoftitler.com
eet smiling JPG picture from client to my server.
Have you looked at CGI.pm? It handles file uploads from HTML forms.
Aaron Craig
Programming
iSoftitler.com
At 09:22 10.07.2001 -0600, Ken Scott wrote:
>On Tue, 10 Jul 2001, Aaron Craig wrote:
>
> > At 12:21 09.07.2001 -0400, fliptop wrote:
> >
> > >why reinvent the wheel?
> >
> > I like my wheel better? :)
>
>But a wheel is just a wheel. Why not use the o
. The outputi am getting is the
>entire code with print statement...
>
>print".."
>print".."
>
>I would be happy to get some inputs in this regard
>Roopa
>
>
>
>Do You Yahoo!?
>For regular News updates go to http://in.news.yahoo.com
Aaron Craig
Programming
iSoftitler.com
My intent is to open a browser from the Win2k box and look at
>http://192.168.xxx.xxx/cgi-bin/test.cgi to open the script.
>
>Thanks
>Frank
It depends on which box will be the server. It sounds like you want that
to be on Linux -- so that's where you'll put your cgi-bin.
Aaron Craig
Programming
iSoftitler.com
e? Can you do that for
the other functions as well?
Aaron Craig
Programming
iSoftitler.com
least, check out
>CGI::Lite.
You are correct that loading CGI.pm is going to make very little difference
in the overall time it takes to run your project. But, I find it good
programming practice to be as efficient as possible -- even if the
difference is negligible.
Aaron Craig
Programming
iSoftitler.com
At 12:21 09.07.2001 -0400, fliptop wrote:
>why reinvent the wheel?
I like my wheel better? :)
Aaron Craig
Programming
iSoftitler.com
any
differences between browsers, OS's, etc. etc. I did have problems getting
it to work at the beginning, but once you get it going, it works like a charm.
Aaron Craig
Programming
iSoftitler.com
At 07:03 09.07.2001 -0700, Ask Bjoern Hansen wrote:
>Aaron Craig <[EMAIL PROTECTED]> writes:
>
>[...]
> > test.cgi?MultipleSelectMenu=1&MultipleSelectMenu=2
> >
> > since I don't use CGI.pm for basic web stuff, I have my own function
> > getting
ssion cookie.
That can easily be handled by setting a unique cookie each time someone
logs on, and storing it in your db as a "used cookie" when the user logs
off. Use big strings for you cookie value so that you can go for a long
time before you run out of cookies (or use a timestamp?)
Aaron Craig
Programming
iSoftitler.com
tuff, I have my own function
getting values out of the query string, and it was only giving me the last
value of MultipleSelectMenu -- bad :(
Aaron Craig
Programming
iSoftitler.com
gram i am new to CGi
>programming and i am unable to figure out the problem.
>it would be appreciated if i get some input in this
>regard...
>
>regards
>Nila
>
>
>
>__
>Do You Yahoo!?
>Get personalized email addresses fr
;, your
regular expression will fail, because you're looking for frontslashes.
Aaron Craig
Programming
iSoftitler.com
ReturnedArray;
>'There's always more than one way to do it' can be very confusing at times..
>--
>Martijn van Exel, [EMAIL PROTECTED]
>
>WEBkitchen
>Waterstraat 11
>3511 BW Utrecht
>tel/fax 030-6701818
>
>http://www.webkitchen.nl
Aaron Craig
Programming
iSoftitler.com
$ST_MTIME] ne $oldimagetime)
> {
> $sameCount = 0;
> $oldimagetime = $fstat[$ST_MTIME];
> }
>
> #We may send the same image multiple times but there is a strict limit
>
> if ($sameCount > ($maxNoUpdate * $freq))
> {
> die;
> }
>
> $sameCount = $sameCount +1;
>
> print "Content-type: image/$con_type\n\n";
>
> open(PIC,"$basefile");
> print STDOUT ;
> close(PIC);
>
> print "\n\n--myboundary\n";
>
>sleep($freq);
>}
>
>
>- Gaël Jeanniard du Dot -
Aaron Craig
Programming
iSoftitler.com
y message in a thread at times. No wonder I download 200+
messages a day from these two lists alone.
If the list must be set to not mess with the reply-to field, could list
members at least make sure that they cut out addresses from the To: field
before sending their mail?
Aaron Craig
Programming
iSoftitler.com
tly. The following record would break this
>(because of a middle name):
>
>Jones, John Van 35 20 02 05/02/2001 F 060506050705040405047 11 04 01
Good call -- I hadn't thought of that.
Aaron Craig
Programming
iSoftitler.com
ntf OF (" %3u", @hole[$q]);
> printf OF2 (" %3u", @hole[$q]);
Perhaps you're writing to two files needlessly? Or, if you need two
copies, can't you write to one and then copy it to another file at the
end? Why are you writing the same thing to two files?
Aaron Craig
Programming
iSoftitler.com
ariable to contain a
number, not a string.
more importantly:
sub ParseNames($)
{
my($raNames) = @_;
...
}
instead of
sub ParseNames($)
{
my($names) = @_;
...
}
6 months from now, when I'm looking at this code, I know I'm expecting this
subroutine to get passed an array reference, and nothing else.
Aaron Craig
Programming
iSoftitler.com
app was written for the
>Windows platform.
>
>Thanks,
>
>Brian
>
>_
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
Aaron Craig
Programming
iSoftitler.com
gt;myself (in my home dir) and use it from there?
>
>Is there a viable alternative? I only use it to grab some remote HTML.
>
>Any help is appreciated.
>--
>martijn van exel -- [EMAIL PROTECTED] -- http://huizen.dds.nl/~mvexel/
Aaron Craig
Programming
iSoftitler.com
nal as our correspondence, in whatever form it happens to
be in. Can you imagine the mess that would come about if the US Postal
Service began opening up envelopes and striking out words with a red pen?
Don't child-proof our world!
};
Aaron Craig
Programming
iSoftitler.com
home. Is that what I'm missing, or has Apache
changed and now requires the shebang line on Windows as well.
Aaron Craig
Programming
iSoftitler.com
nbud
>2001-06-14
>14-06-01
>DAGENS INDUSTRI
>Dragkamp om förlusttåg
>Here is the indroduction about the article and when the word
>anbud comes up it is enclosed in anbud tags.
>This is the word we use as criteria on the articels we should recive.
>
>
>Here comes the rest
nd I want to print that character
>string, BUT I want to print only 50 characters a line or less. How
>might I do this if I have a variable called @row??
Aaron Craig
Programming
iSoftitler.com
nbud
>2001-06-14
>14-06-01
>DAGENS INDUSTRI
>Dragkamp om förlusttåg
>Here is the indroduction about the article and when the word
>anbud comes up it is enclosed in anbud tags.
>This is the word we use as criteria on the articels we should recive.
>
>
>Here comes the rest
nd I want to print that character
>string, BUT I want to print only 50 characters a line or less. How
>might I do this if I have a variable called @row??
Aaron Craig
Programming
iSoftitler.com
is wrong) on them -- this allows them to set
themselves up in the proper directory with the proper files where they need
to be. However, you do not need to compile them -- this gets done at run
time by the Perl compiler itself.
Aaron Craig
Programming
iSoftitler.com
e for development and testing of cgi scripts? I know that perl looks
>for cgi scripts in the cgi-bin directory, but what about everything else?
>
>Thanks
>Frank
Aaron Craig
Programming
iSoftitler.com
o get the days, months, years, etc out, if
that's what you want to do -- I don't know if there's a module that handles
this kind of stuff.
Aaron Craig
Programming
iSoftitler.com
ce or an
empty string, if it isn't, add the dash
$count = 0;
}
else
{
$count++;
}
}
This code could be written in fewer lines, but it's nice and clear this
way, so I'll leave it :)
Aaron Craig
Programming
iSoftitler.com
omain) you can pick up the value of the input text
field.
here's the perl that would pick that up -- I know, I should be using CGI.pm :)
#!/usr/bin/perl -w
use strict;
print "Content-Type: text/html\n\n";
print $ENV{QUERY_STRING}; # prints out 'Input=My%20Value'
# or you can print out the whole ENV hash
print "$_: $ENV{$_}" foreach keys %ENV;
Hope that helps
Aaron Craig
Programming
iSoftitler.com
ow on day 135 of my 30 day trial period, still enjoying full
functionality, and I haven't paid a dime. That's free :)
However, this program is so great, that I'm going to pay for it -- a first!
Aaron Craig
Programming
iSoftitler.com
At 21:25 06.06.2001 -0700, you wrote:
>Help me I have been desperatly looking for a compiler and editing program
>for windows that is free. Please help me!
EditPlus2!! We love it! http://www.editplus.com/
Aaron Craig
Programming
iSoftitler.com
sbook.
>
>does anyone feel this would be helpful? i'd put in the time only if
>other beginners thought it would be of use.
Aaron Craig
Programming
iSoftitler.com
here, I know I'm getting a clean, empty variable.
if you put this:
use strict;
at the top of your perl script, the use of my will be required when you
declare a variable. Play around with it and see how much it helps you keep
your program in order -- it also helps find typos :)
Aaron Craig
Programming
iSoftitler.com
print qq~
Result: $apartment
$aptname$address$city
$zip$phoneContact UsRent: $rentmin to
$rentmaxBedrooms: $bedrooms
Pets: $pets Laundry:
$laundry Garage: $garage
Hyde Park Location:
$location
Comments:$comment
~;
}
}
print "\n";
Aaron Craig
Programming
iSoftitler.com
$IP . "\n";
>close (A);
>
>
>I hope that helped more than it confused you. If you need any more help,
>feel free to ask.
remote_host is not the same as HTTP_REFERRER, is it? -- http referral is
the address of the server where the page lives that the person clicked on
to arrive to the cgi script. It should also be treated with a grain of
salt, as the information it provides can easily be manipulated and forged
to make it look like the request is coming from a different computer. You
shouldn't use http referral alone for security, for instance.
Aaron Craig
Programming
iSoftitler.com
f your ISP's installation doesn't include CGI.pm, then you
>should find another ISP. :-)
You can also install your own modules in your cgi-bin (I usually stick them
in cgi-bin/lib) and then alter your shebang line to include your own library:
#! usr/bin/perl -I./lib
Aaron Craig
Programming
iSoftitler.com
45 matches
Mail list logo