Hi Jason,
 
probably this very old CGI unit is worth reading for you.....
I'm not using it any longer, I'm using the Borland build in functions,
but if you want to read something to better understand it could help.
 
Best regards
 
Thomas

________________________________

Von: Jason P Sage [mailto:[email protected]] 
Gesendet: Freitag, 14. August 2009 12:49
An: 'Ararat Synapse'
Betreff: [Synalist] CGI Blues...



Hi folks.. First off I must say my issue is not DIRECTLY a Synapse issue
(as synapse is working great) but my issue is in the "web development"
world and is point blank enough that I thought you might not mind
reading about this and maybe commenting on it.

 

Getting Environment Strings (For the Get Query) in my CGI apps, in
windows use the "getenv" function  or the "envstr(some index)" function
and these both work but are limited to 255 chars. (Not a decent GET
query string length by a long shot).

 

In linux ONLY, I am now using the "fpgetenv('String Name of Environment
Variable Here') function, and there is no such length limit.

 

So my Question, how would you avoid this lowend "char length limit" in
non Linux platforms? Is there another function one can use to get
environment variables from the OS? Should I try changing the code base
to the RTL or specifically the DOS unit itself?

 

Any suggestions at all would be great :)

 

--Jason

Attachment: ConsCGI.pas
Description: ConsCGI.pas

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to