I am not sure about the Embedded Webserver as I have never used it, but
I remember vaguely about some kind of problem we have fixed regarding
pathinfo with Apache 2.4 and the mod_proxi_fcgi a few years ago.
There was a bug report, let me see if I can find it: ...
http://bugs.freepascal.org/view
Forgot to mention that there is a global Request property which is the
same.
So Request.URI ...
AB
On 5/1/2015 08:59, ABorka wrote:
ARequest.URI ?
There are other properties that can be useful:
ARequest.URL
ARequest.Location
ARequest.PathInfo
ARequest.PathTranslated
ARequest.ScriptName
ARequest.URI ?
There are other properties that can be useful:
ARequest.URL
ARequest.Location
ARequest.PathInfo
ARequest.PathTranslated
ARequest.ScriptName
ARequest.Query
On 5/1/2015 07:29, leledumbo wrote:
Is there any easy way to retrieve URI given TFPWebModule and TFPWebAction
instances?
f
The OnGetParam and OnReplaceTag are two totally different ways to handle
templates. The former is the original version found in FPC packages, the
latter is the newer, more Delphi-like - although enhanced - way to do
templates. The two are mutually exclusive and controlled by the
AllowTagParams
You do not need to use javascript. There are examples for fpTemplate on
how to do this. See .../packages/fcl-base/texts/fptemplate.txt for details.
Examples are in .../packages/fcl-web/examples/fptemplate/...
All your logic (loop) can be in your fpc source code for grids.
What you seem to want
On 11/9/2011 14:27, tcoq wrote:
Dear Luciano.
I would suggest using the StringReplace function (Sysutiles) in combination
with a TStringList.
Easy to do and quite powerful.
You can also use a second string list to store the values and patterns to
replace, using the Names and Values properties,
On 10/31/2011 10:14, Felipe Monteiro de Carvalho wrote:
There is no form and no form data here. I want to pass raw data via
post. And yes, I checked that it is sent correctly.
Then your Content-Type header is neither "MULTIPART/FORM-DATA" nor
"APPLICATION/X-WWW-FORM-URLENCODED" when you use PO
On 10/31/2011 08:56, Felipe Monteiro de Carvalho wrote:
Ok, I figured part of it out. I can get past the exception if I use 2.5.1
And the action was necessary, which is really strange because it
worked nicely without it when using GET
But now my problem is that I cannot get my POST data. I trye
On 10/19/2011 07:05, Leonardo M. Ramé wrote:
> - Original Message -
<...snip...>
>>> I created a FastCGI based server that handles JSON requests from a
>>> Win32/Linux GUI app, that uses a custom made ORM similar to tiOPF
and it
>>> works really fast, even on slow-long distance netw
..
>The error that exists in the ticket is not displayed. Seemingly, start
> of httpd seems to success. However, the process terminate immediately.
>
> Is there another possible cause?
>
> Takashi
If you compile with the proper HTTPD directory (httpd22 in this case),
it should work.
No error
On 5/26/2011 13:36, Takashi Ishikawa wrote:
Hello, all
I'm writing apache module with fpc.
When I compile my program on fpc 2.4.4, Apache terminate immediately.
But on fpc 2.2.4, Apache and my module will work fine.
Code is compiled with no problem. Apache can load module. But the
running has
Hello,
Does fpWeb have any method/function that escape and un-escape html and
URI elements ?
Thanks,
Ido
There are
Function HTTPDecode(const AStr: String): String;
Function HTTPEncode(const AStr: String): String;
in unit httpdefs.pp of fcl-web.
AB
_
On 10/30/2010 04:07, Graeme Geldenhuys wrote:
On 30 October 2010 11:26, Jonas Maebe wrote:
Reverse execution is a new feature that was added to gdb 7.0, although you
probably want to use 7.2 for the extra bug fixes. The supported targets are
listed at http://www.gnu.org/software/gdb/news/rev
On 9/9/2010 06:45, Jonas Maebe wrote:
On 09 Sep 2010, at 15:31, Mark Morgan Lloyd wrote:
I've just had my attention drawn to this elsewhere, and thought it
would be of general interest.
"In particular, we are relaxing all restrictions on the development
tools used to create iOS apps, as long
...snip...
4. The JSON html is working now, but the xml one doesn't list anything
in the grid. This might be that I did something wrong, will check
demo2 and try both there.
c; demo2 - demo6
1. "The following package failed to load: lazwebdata" (there are a
lazwebdata.pas and reglazwebdata.pp fi
...snip...
c; demo2 - demo6
1. "The following package failed to load: lazwebdata" (there are a
lazwebdata.pas and reglazwebdata.pp files in the demo directory, so
that might be something to use somehow)
No, this is the old package name before it was renamed to lazwebextra. I
will check this.
WinXP 32, FPC and Lazarus latest SVN checkout.
I was trying to play a little bit with the promising new fcl-web
webdata features to see how JSON/EXTJS works with FPC/Lazarus and came
up with the following problems in the first demo example
...fpcdir...\packages\fcl-web\examples\webdata\demo\
.
Hi,
WinXP 32, FPC and Lazarus latest SVN checkout.
I was trying to play a little bit with the promising new fcl-web webdata
features to see how JSON/EXTJS works with FPC/Lazarus and came up with
the following problems in the first demo example
...fpcdir...\packages\fcl-web\examples\webdata\d
I've added some words on templates that points to the readme files and
the example projects now coming with Lazarus demonstrating the usage of
templates.
AB
On 7/16/2010 00:35, Michael Van Canneyt wrote:
On Fri, 16 Jul 2010, Felipe Monteiro de Carvalho wrote:
I added a small introduction
/lazarus/components/fpweb/demo/fptemplate/*.*
has examples of how to use templates and template tags.
On 7/13/2010 07:47, Felipe Monteiro de Carvalho wrote:
Hello,
Thanks, with this blog I seam to be going somewhere and it worked ok
with fpc 2.4.0 and the weblaz.lpk package.
One thing still:
On 5/24/2010 09:52, Leonardo M. Ramé wrote:
-- On Mon, 5/24/10, ABorka wrote:
From: ABorka
Subject: Re: [fpc-pascal] Powtils Apache and Windows Seven 64bits
To: "FPC-Pascal users discussions"
Date: Monday, May 24, 2010, 1:48 PM
On 5/24/2010 09:02, Leonardo M. Ramé
wrote:
Aldo, I k
On 5/24/2010 09:02, Leonardo M. Ramé wrote:
Aldo, I know it has templates, the problem I'm facing now is in Windows Seven
64bits, It can't read environment/GET/POST vars, so the GetVar function doesn't
return anything. That's why I had to look elsewere.
Leonardo M. Ramé
http://leonardorame.blo
On 5/23/2010 08:57, Vannus wrote:
How do you get cgi uploads to work??
Im using TModuledCGIApplication
procedure TCGIDatamodule1.DataModuleCGIRequest(Sender: TObject);
begin
// upload handling
writeln('filenamevar:
'+application.requestvariables['file']+''); // works when get but
post is
I had a problem like this before.
If memory serves right, I had to set all four of these for StrToDate to
work under Linux after moving some code from Windows:
LongTimeFormat := 'hh:mm:ss';
ShortDateFormat := '/MM/DD';
DateSeparator := '/';
TimeSeparator := ':';
AB
On 5/2
This usually comes when you compiled your Apache module with the wrong
version of httpdXX directory from fpc/packages/.
There are 3 included in fpc:
httpd13
httpd20
and
httpd22
Delete the two that are not your Apache version and recompile your
module (or in Lazarus -> Project -> Compiler Optio
indy10/branches/Tiburon
but do not expect too much! it only works on windows as they are reinventing
the wheel
on iconv support
so far it does not work at least on MACOSX
-- Hinnack
reply to message:
date: 03.09.2009 01:19:39
from: "ABorka"
to: "FPC-Pascal users discussions"
pc.ppu', needed by
`fpc_units'. Stop.
Jonas Maebe wrote:
On 03 Sep 2009, at 01:19, ABorka wrote:
There is a \Lib\indymaster-Makefile.fpc but it gives
"
make -f indymaster-Makefile.fpc all
indymaster-Makefile.fpc:1: *** missing separator. Stop.
"
Normally, a Makefi
Well, if one checks out the latest Indy SVN sources from
svn://svn.atozed.com/indy/indy10/trunk
the latest revision is 3778 (last update was in April 2009) there is no
way to compile it for FPC/Lazarus.
The FPC related README file is the same as for the 2007 10.2.0.3 FPC
only version and the s
Funny... always these problems with C and bounds checkings
http://www.theregister.co.uk/2009/05/15/microsoft_banishes_memcpy/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
I think all those patches are now applied - with minor changes - by
Joost in the latest SVN.
Giovanni Premuda wrote:
ABorka wrote:
Not sure about this error, but make sure you are using the latest SVN
source code for FPC because recently there were multiple bug fixes
done in fcl-web
I
Not sure about this error, but make sure you are using the latest SVN
source code for FPC because recently there were multiple bug fixes done
in fcl-web
Giovanni Premuda wrote:
Joost van der Sluis wrote:
Op dinsdag 28-04-2009 om 02:58 uur [tijdzone +0200], schreef Giovanni
Premuda:
Is it p
At the moment, it loads the whole content into a stream for processing
line by line.
It is possible to create a patch to not do processing (exception, error
message, trigger an event handler, etc.) if the ContentLength exceeds a
specified size.
Leonardo M. Ramé wrote:
Hi, I'm looking at ht
I think "execsql" never returns any records, you supposed to use "open"
for queries returning results.
Execsql is for insert, delete, update, etc.
David B Copeland wrote:
Hi,
I am trying to pre-fill a TComboBox with the all the tables in a
database, without sucess. I am running Suse 10.3, a
33 matches
Mail list logo