NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Nick

Pages: [1] 2 3 ... 8
1
Web Server - Ask For Help / Re: Keep-alive
« on: April 24, 2015, 07:37:23 AM »
You're right. I put that in about 5-6 years ago.
I better can skip it I guess. See if someone complains...

Cheers,
Nick

2
Web Server - Ask For Help / Re: Keep-alive
« on: April 24, 2015, 05:46:15 AM »
So this is still valid?
p_web._OkSent = 1
p_web.noopchar = ' '
p_web.NoOp()

3
Web Server - Ask For Help / Re: packet.append > 16kB
« on: April 24, 2015, 05:44:19 AM »
Thanks!

Cheers,
Nick

4
Web Server - Ask For Help / Keep-alive
« on: April 23, 2015, 02:48:54 PM »
How does the keep-alive work?
If I uncheck the setting for it I still see "keep alive" in the headings...
In the past I had to use:

p_web._OkSent = 1
p_web.noopchar = ' '
p_web.NoOp()

to prevent a browse from timing out if searching took too long.

Is that still necessary or does the keep alive the same?

TIA,
Nick

5
At one of my customers the server seems to slow down after some time and a webshop search-function finally
produces NO results in a webbrowser screen but in the pagesource I see the (search) results...
Any idea why this can happen?


TIA,
Nick

6
Web Server - Ask For Help / packet.append > 16kB
« on: April 23, 2015, 12:41:36 PM »
In the past the packet string had a limit of about 16kB.
Is that limit still in the packet.append object?
Can I do a send packet > 16 kB ?

TIA,
Nick

7
Web Server - Ask For Help / Re: Google drive?
« on: June 10, 2014, 04:13:18 AM »
Hi Bruce,

Ok, just wanted to know before...
Yes sharing is a good idea!

Cheers,
Nick

8
Web Server - Ask For Help / Google drive?
« on: June 09, 2014, 12:23:39 PM »
Hi Bruce,

Is there or will there be in the nearby future support for connecting to Google drive?
I know they have an API for accessing the drive with web-apps.

Cheers,
Nick

9
Web Server - Ask For Help / Re: PHP support
« on: May 23, 2014, 06:07:36 AM »
Hi Bruce,

Thanks!
Nick

10
Web Server - Ask For Help / Re: PHP support
« on: May 23, 2014, 12:53:09 AM »
Thanks for your thoughts!
Still I would like to know (Bruce?) at which code-point the .php page will be send to the php-exe (by using OddJob I guess).
If it is the content of the page that triggers NT to feed it to the php-exe as you said then NT must first examine the
page-content.

Nick

11
Web Server - Ask For Help / Re: PHP support
« on: May 22, 2014, 03:20:10 PM »
>>The php page gets processed by php-cgi.exe as soon as it is called.

I think NT picks it up first and feeds it with OddJob to php-exe.

>>You can even include session varaibles. Just make sure you add the '<!-- NetWebServer -->' tag at the beginning of the page.

 I know but I think that happens after it is processed by php-exe.

>>What exactly do you want to merge into the page each time it is called?

Values from Clarion database (tps). I use tokens that are filled out at runtime and these could be used in the PHP-code.
Example: if you need to setup a connection with a PSP for processing credit cards, paypal and other payment options
the PSP gives you free PHP (or ASP etc) code that does the job.
In Clarion you have to build it up from scratch.
So it could be handy to use PHP but it needs some values at runtime that can't be hardcoded.
Of course you can setup things in SQL and let the PHP code retrieve the information but that is another interesting approach.

Regards,
Nick 


12
Web Server - Ask For Help / Re: PHP support
« on: May 22, 2014, 02:00:11 PM »
Hi Trent,

Thanks. I've got the PHP-example working too.
I still want to know:
at which point of the code the php-page will be send by the NT-webserver (with OddJob)
to the php-exe and at which point of the code the html-result will be returned to NT-webserver and then send
to the browser? Is that done in the Netwebhandler?

I would like to merge some stuff into the php-page each time before it is sent to php-exe so I need to know
at which point in code it goes to the php-exe.
I believe you can do this with NT but AFTER it is processed by php-exe.

Regards,
Nick

13
Web Server - Ask For Help / PHP support
« on: May 22, 2014, 01:09:56 PM »
Hi,

Can someone tell me at which point of the code the php-page will be send by the NT-webserver (with OddJob)
to the php-exe and at which point of the code the html-result will be returned to NT-webserver and then send
to the browser? Is that done in the Netwebhandler?
I've looked at the php-example but it is not obvious to me where this happens.
 
What makes a NT webserver "PHP aware", how does it know to serve php-pages?
Is it triggered just by the extension ".php"?

Thanks.
Nick
NT 7.34 C9.1

14
Web Server - Ask For Help / Re: Upload where in Webhandler?
« on: April 10, 2014, 02:02:41 PM »
Would the exists() function do well here?

Cheers,
Nick

15
Web Server - Ask For Help / Re: Upload where in Webhandler?
« on: April 10, 2014, 12:10:46 PM »
Well, I mean the moment when the uploaded file has been saved to disk.
That's what I mean by completed.
I use the .SafeFile() method in the Webhandler.
I guess this is working async. so it may be hard to tell when the file is completely saved on disk (?)


Cheers,
Nick

Pages: [1] 2 3 ... 8