In our previous episode, Paul Nicholls said:
> >
> > Michael.
>
> Hi all,
> I am interested in expression parsers myself :)
>
> Where can I find the code for "fpexprpars.pp" and other fpc parsing code
> like that?
>
> I had bit of a look browsing the SVN online, but no luck...
That one is in
On Wed, 14 Jul 2010, Paul Nicholls wrote:
- Original Message - From: "Michael Van Canneyt"
To: "FPC-Pascal users discussions"
Sent: Tuesday, July 13, 2010 6:42 PM
Subject: Re: [fpc-pascal] fpc-passrc expression parser (issue #16914)
On Tue, 13 Jul 2010, dmitry boyarintsev wrote
- Original Message -
From: "Michael Van Canneyt"
To: "FPC-Pascal users discussions"
Sent: Tuesday, July 13, 2010 6:42 PM
Subject: Re: [fpc-pascal] fpc-passrc expression parser (issue #16914)
On Tue, 13 Jul 2010, dmitry boyarintsev wrote:
Hello, Michael Van Canneyt,
Sorry, I can'
On Tue, Jul 13, 2010 at 5:54 PM, Graeme Geldenhuys
wrote:
>
> While we are on the topic of CGI and Apache. Any idea how to tell
> Apache that a specific file is a CGI program, even though that file
> has no file extension like the obvious .cgi suffix? This is not to
> serious - I think Google acce
On Tue, 13 Jul 2010, Felipe Monteiro de Carvalho wrote:
By the way, is there a page in the wiki about fpweb? I used the wiki
search and found none. I would like to add this info to the wiki, but
thought about asking if there is already a page about it (the wiki
search isn't very reliable).
l
/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:
By the way, is there a page in the wiki about fpweb? I used the wiki
search and found none. I would like to add this info to the wiki, but
thought about asking if there is already a page about it (the wiki
search isn't very reliable).
thanks,
--
Felipe Monteiro de Carvalho
___
On Tue, 13 Jul 2010, Felipe Monteiro de Carvalho wrote:
On Tue, Jul 13, 2010 at 5:20 PM, Michael Van Canneyt
wrote:
My mistake, the correct name is 'Queryfields':
Avar:=Request.QueryFields['MyVar'];
Well, that takes an integer as argument, not a string, but I managed
to build my own routi
On Tue, Jul 13, 2010 at 5:20 PM, Michael Van Canneyt
wrote:
> My mistake, the correct name is 'Queryfields':
>
> Avar:=Request.QueryFields['MyVar'];
Well, that takes an integer as argument, not a string, but I managed
to build my own routine for that. If something like that isn't already
in svn f
On Tue, 13 Jul 2010, Felipe Monteiro de Carvalho wrote:
On Tue, Jul 13, 2010 at 5:10 PM, Michael Van Canneyt
wrote:
Well, Request.Variables['Myvar'] is enough, no ?
Doesn't seam to exist in fpc 2.4.0, any idea how to do that with that
version? I found a couple of stuff which didn't work, i
On Tue, Jul 13, 2010 at 5:10 PM, Michael Van Canneyt
wrote:
> Well, Request.Variables['Myvar'] is enough, no ?
Doesn't seam to exist in fpc 2.4.0, any idea how to do that with that
version? I found a couple of stuff which didn't work, including:
Request.GetFieldByName();
Self.GetParam();
--
Fe
On Tue, Jul 13, 2010 at 11:47 AM, Felipe Monteiro de Carvalho
wrote:
> (...)
> Something like powutils templates would be extremely handy ... all
> that html mixed with pascal doesn't look very nice.
Read fpc/packages/fcl-web/fptemplate.txt
MD.
___
fp
On Tue, 13 Jul 2010, Felipe Monteiro de Carvalho wrote:
Ah ... I see that you can just use Format for that ...
And what about reading a GET input =D Any ideas how to do that?
Well, Request.Variables['Myvar'] is enough, no ?
Michael.
___
fpc-pasca
On Tue, 13 Jul 2010, 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: Is there support for templates?
I am doing something like this to load my page:
procedure TFPWebMo
In the standard Apache setup it will thread anything you put in the
cgi-bin directory regardless of the extension as a cgi program. The
path to this is set in httpd.conf here:
#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the s
On 13 July 2010 16:23, Michael Van Canneyt wrote:
> Well, to make things more complicated, newer apache servers allow to disable
> PATH_INFO passing to CGI scripts alltogether. I guess it is to protect
> against search engines flooding the CGI scripts. Exactly the opposite of
> what you want to ach
Ah ... I see that you can just use Format for that ...
And what about reading a GET input =D Any ideas how to do that?
thanks,
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailma
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: Is there support for templates?
I am doing something like this to load my page:
procedure TFPWebModule1.DataModuleRequest(Sender: TObject; ARequest: TRequest;
On Tue, 13 Jul 2010, Graeme Geldenhuys wrote:
Op 2010-07-13 15:21, Michael Van Canneyt het geskryf:
When using cgi or FastCGI, the PATHINFO environment variable contains the
/myaction part - in fact, it contains whatever the server finds after the
path to the CGI app.
Thanks Michael.
I tr
Op 2010-07-13 15:21, Michael Van Canneyt het geskryf:
>
> When using cgi or FastCGI, the PATHINFO environment variable contains the
> /myaction part - in fact, it contains whatever the server finds after the
> path to the CGI app.
Thanks Michael.
I tried what you suggested but ran into a proble
On Tue, 13 Jul 2010, Graeme Geldenhuys wrote:
Hi,
Google and probably most other search engines don't index website that have
URL's in the following format:
http://localhost/mycgi?action=myaction
Basically parametrized URL's containing ? or = characters.
What do I need to do in my CGI pro
Hello,
thanks to Jonas for this tip in April!
This command line switch can really solve some recompiling problems:
-Ur (= "create release units")
I had the problem "Recompiling XYZ, checksum changed for ZZZ" when
recompiling Lazarus with my component package. It's now solved.
For the benefit of
Hi,
Google and probably most other search engines don't index website that have
URL's in the following format:
http://localhost/mycgi?action=myaction
Basically parametrized URL's containing ? or = characters.
What do I need to do in my CGI program to create Search Engine friendly
URL's? Note
Am 12.07.2010 um 22:58 schrieb Jonas Maebe:
Alexander Grau wrote on Mon, 12 Jul 2010:
Am 12.07.2010 um 22:31 schrieb Jonas Maebe:
I forgot to mention: before this works, you have to create at
least one thread using the FPC RTL in order to initialise the
threading subsystem. It can be ter
Felipe Monteiro de Carvalho escreveu:
Hello,
Does anyone know where I can find documentation or a tutorial about fpweb?
http://blog.silvioprog.com.br/2010/06/criando-um-aplicativo-cgi-com_27.html
It's in portuguese
Luiz
Also, is the version included in FPC 2.4.0 very old and I should
rea
Hello,
Does anyone know where I can find documentation or a tutorial about fpweb?
Also, is the version included in FPC 2.4.0 very old and I should
really use the FPC SVN code or can I use the units that come with FPC
2.4.0?
I want to make a simple page which converts hexadecimal to a string. I
f
On Tue, 13 Jul 2010, dmitry boyarintsev wrote:
Hello, Michael Van Canneyt,
Sorry, I can't write to the resolved issue (without re-opening) it.
- better class tree (split out binary/unary/primitive operators in subclasses)
These may break backwards compatiblity; if you prefer to do them your
27 matches
Mail list logo