comp.lang.perl.misc
  Home FAQ Contact Sign in
comp.lang.perl.misc only
 
Advanced search
December 2006
motuwethfrsasuw
    123 48
45678910 49
11121314151617 50
18192021222324 51
25262728293031 52
2006
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.perl.misc Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Re: Want to create a website using perl and CGI         


Author: Keith Keller
Date: Dec 18, 2006 22:16

On 2006-12-19, Andrew DeFaria DeFaria.com> wrote:
>
> Uri Guttman wrote:
>>
>>> Technically CGI is just a protocol - practically you need to
>> return HTML.

This is not true. You repeating it will not make it true.
>> no. is a GIF/JPEG/PNG html? is xml html? is plain text html? you don't
>> seem to understand this at all.
> You know what I mean... Hmmm... Perhaps you don't.

Clearly you either don't know what you mean, or don't know what you're
talking about. Let's be clear: CGI does not have to send HTML! It can
send, for example, a dynamically-generated JPEG, directly to the web
server, which in turn (if the CGI has also sent the proper HTTP headers)
sends it to the client. There's no HTML involved.

All a CGI program needs to return is a valid HTTP header and content.
Sometimes you want a CGI to send text/html; sometimes you don't.
Show full article (1.86Kb)
no comments
  Re: Want to create a website using perl and CGI         


Author: Andrew DeFaria
Date: Dec 18, 2006 21:44

Sherm Pendley wrote:
>> Why are you complaining about it?
> Because this is usenet, not a web board. HTML-formatted messages are
> not welcome here. Have you read the posting guidelines that are posted
> here frequently?
Guidelines, not rules nor laws.
>>> This is not a "web board"
>> I know that.
> So you're posting HTML to a plain-text medium on purpose?
Exactly.
> What's the point of doing that
To piss you off. Is it working?
> - do you *want* to look like a fool?
I see. So anybody who doesn't agree with you is a fool. Right.

--

Andrew DeFaria <http://defaria.com>
Sex: In America an obsession. In other parts of the world a fact. -
Marlene Dietrich

Sherm Pendley wrote:
Show full article (1.32Kb)
1 Comment
  Re: Want to create a website using perl and CGI         


Author: Andrew DeFaria
Date: Dec 18, 2006 21:40

Uri Guttman wrote:
>
>> Uri Guttman wrote:
>> and did you know that you can send any format of content back to the
>> server, not just html?
>
>> And if you do the web server errs out.
>
> you know not of what you talk.
>
>
>> Again, if you do not send back a valid HTML header the web server
>> (or at least every web server I've ever used) displays an error
>> complaining about invalid headers.
>
> there is no such thing as an HTML header. none. nada. it is an HTTP
> header.
Whatever.
> please learn the difference. it will save your life one day.
Yeah right. ...
Show full article (1.82Kb)
no comments
  Image Reader         


Author: Mike
Date: Dec 18, 2006 21:09

I'm creating my own spam filter and would like to find software that
can abstract the text from a gif and/or jpg. Any suggestions?
1 Comment
  Re: Want to create a website using perl and CGI         


Author: A. Sinan Unur
Date: Dec 18, 2006 21:03

Andrew DeFaria DeFaria.com> wrote in
news:5uKdne0SJbNF9RrYnZ2dnUVZ_trinZ2d@comcast.com:
> Sherm Pendley wrote:
>> By the way, why are you posting HTML-formatted messages to usenet?
> Why are you complaining about it? If you don't like it then feel free
> not to read it.
>> This is not a "web board"
> I know that.
>> - please stop doing that.
> Sorry but I won't.

Alrighty then. Won't be seeing you again. Bye!

Sinan
--
A. Sinan Unur <1usa@llenroc.ude.invalid>
(remove .invalid and reverse each component for email address)

comp.lang.perl.misc guidelines on the WWW:
http://augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
no comments
  Re: Want to create a website using perl and CGI         


Author: Jürgen Exner
Date: Dec 18, 2006 20:26

"Andrew DeFaria" DeFaria.com> wrote







Scott Bryce wrote:
Show full article (1.19Kb)
no comments
  Re: Want to create a website using perl and CGI         


Author: Andrew DeFaria
Date: Dec 18, 2006 20:21

Sherm Pendley wrote:
> Andrew DeFaria DeFaria.com> writes:
>> Yeah and that protocol effectively says "I'll call you, give you
>> certain things as input and I expect to see HTML handed back to me,
> It says no such thing about the output. A CGI-compliant app can
> produce HTML, SWF, PDF, XML, JPEG... anything.
It needs to at least return a proper header.
> By the way, why are you posting HTML-formatted messages to usenet?
Why are you complaining about it? If you don't like it then feel free
not to read it.
> This is not a "web board"
I know that.
> - please stop doing that.
Sorry but I won't.

--

Andrew DeFaria <http://defaria.com>
Alzheimer's advantage: New friends every day.
Show full article (1.35Kb)
1 Comment
  Re: Want to create a website using perl and CGI         


Author: Andrew DeFaria
Date: Dec 18, 2006 20:20

Uri Guttman wrote:
> and did you know that you can send any format of content back to the
> server, not just html?
And if you do the web server errs out.
> that is the whole point that was made, cgi is the PROTOCOL for a web
> server to fork and communicate with a subprocess. it
> has nothing to do with the content sent back by the process. CGI ne
> HTML. just like PERL (sic) ne CGI as we tell web newbies all the time.
Again, if you do not send back a valid HTML header the web server (or at
least every web server I've ever used) displays an error complaining
about invalid headers.

Technically CGI is just a protocol - practically you need to return HTML.

--

Andrew DeFaria <http://defaria.com>
Backups? Backups? We don't need no stinking backups!
Show full article (1.49Kb)
1 Comment
  Re: Want to create a website using perl and CGI         


Author: Andrew DeFaria
Date: Dec 18, 2006 20:18

Scott Bryce wrote:
> Andrew DeFaria wrote:
>> Yeah and that protocol effectively says "I'll call you, give you
>> certain things as input and I expect to see HTML handed back to me
> Most CGI scripts I write don't hand back HTML. The CGI protocol
> doesn't care what is sent back to the browser.
When you write a CGI script and the web server calls it and you send
back "foobar" the web server complains because you did not send back a
valid HTML header. Or at least that's what happens when I do it. What
happens when you just send back "foobar" to the web server?

--

Andrew DeFaria <http://defaria.com>
A mainframe: The biggest PC peripheral available.

Scott Bryce wrote:
Andrew DeFaria wrote:

Yeah and that protocol effectively says "I'll
call you, give you certain things as input and I expect to see HTML
handed back to me
Show full article (1.30Kb)
2 Comments
  array limit.         


Author: rajendra
Date: Dec 18, 2006 19:35

Hello All,

I would like to know if there is any limit on the size of an array in perl.
5 Comments
 
1 2 3 4