Re: Data from 4D to a webpage

2018-01-09 Thread Carl Aage Wangel via 4D_Tech
Thanks Tom, much appreciated. 

It looks promising and I shall try it out.

Carl

 

 

>Hi Carl,

> 

>Based on what you said you wanted, I think what you need is to use the 4D
HTTP client commands to post an HTTP Request to your web server from your
standalone 4D app.

>It would be the equivalent of having 4D fill out a form in a browser and
submit it to your web server. No 4D tags would be involved. To your web
server, it can be processed just like a submitted form.

> 

>Look in the 4D Language reference of the version you are using, and look
under the HTTP Client theme. You'll probably use the HTTP Request command

> 

>Regards,

> 

>Tom DeMeo

 

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Data from 4D to a webpage

2018-01-07 Thread Tom DeMeo via 4D_Tech
Hi Carl,


Based on what you said you wanted, I think what you need is to use the 4D HTTP 
client commands to post an HTTP Request to your web server from your standalone 
4D app. It would be the equivalent of having 4D fill out a form in a browser 
and submit it to your web server. No 4D tags would be involved. To your web 
server, it can be processed just like a submitted form.

Look in the 4D Language reference of the version you are using, and look under 
the HTTP Client theme. You’ll probably use the HTTP Request command


Regards,


Tom DeMeo




> On Jan 7, 2018, at 3:00 PM, 4d_tech-requ...@lists.4d.com wrote:
> 
> Message: 3
> Date: Sun, 7 Jan 2018 13:21:39 +0100
> From: "Carl Aage Wangel" <wan...@online.no <mailto:wan...@online.no>>
> To: <4d_tech@lists.4D.com <mailto:4d_tech@lists.4d.com>>
> Subject: Re: Data from 4D to a webpage
> Message-ID: <000c01d387b2$13cc2230$3b646690$@online.no 
> <mailto:000c01d387b2$13cc2230$3b646690$@online.no>>
> Content-Type: text/plain; charset="us-ascii"
> 
> Thanks Janet,
> 
> I am selling/giving away  a few (very few) stand-alone solution created in
> 4D. My dream was to make the costumer connect to my webpage from the 4D
> solution and provide needed information on an automatic level, using 4D
> TAGS. My webpage is HTML5 embedded in PHP with a mySQL connection. 
> 
> Carl

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Data from 4D to a webpage

2018-01-07 Thread Carl Aage Wangel via 4D_Tech
Thanks Janet,

I am selling/giving away  a few (very few) stand-alone solution created in
4D. My dream was to make the costumer connect to my webpage from the 4D
solution and provide needed information on an automatic level, using 4D
TAGS. My webpage is HTML5 embedded in PHP with a mySQL connection. 

Carl

> used On Web Connection to call the correct methods, load the pages, etc. I
can then edit the html >in Text Wrangler, paste it back into the field,
archive page changes, etc. You don't need it all to >reside in the web
folder.

> 

>JJ

 

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Data from 4D to a webpage

2018-01-05 Thread Carl Aage Wangel via 4D_Tech
Ok. Thank Julio, I'll see if I can get it working. Haven't got much
experience in this area.

Carl

 

>Carl,

 

>Assuming 4D webserver is indeed up and running, then On Web Connection will
be called whenever a non-existing page is requested.

>Then you can handle it yourself, load the file from anywhere, do Process 4D
Tags and Web Send Blob/HTML to serve the page.

 

>hth

>julio

 

>> On Jan 5, 2018, at 10:52 AM, Carl Aage Wangel via 4D_Tech <
 4d_tech@lists.4d.com> wrote:

>> 

>> Hi,

>> 

>> Is it possible to transfer data from 4D (v15) to a webpage when the 

>> webpage is not situated in the WebFolder? Like > value="" (opening the webpage from 4D).

>> 

>> Carl Aage Wangel

 

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Data from 4D to a webpage

2018-01-05 Thread Janet Jonas via 4D_Tech
I have used web pages where the html/xml was stored in a table in a text field 
with 4D tags and used On Web Connection to call the correct methods, load the 
pages, etc. I can then edit the html in Text Wrangler, paste it back into the 
field, archive page changes, etc. You don’t need it all to reside in the web 
folder.

JJ

> On Jan 5, 2018, at 10:34 AM, 4d_tech-requ...@lists.4d.com wrote:
> 
> --
> 
> Message: 3
> Date: Fri, 5 Jan 2018 12:11:46 -0200
> From: Julio Carneiro <jjfo...@gmail.com <mailto:jjfo...@gmail.com>>
> To: 4D iNug Technical <4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>>
> Subject: Re: Data from 4D to a webpage 
> Message-ID: <51b5ebda-5f5c-4002-b082-29babb7fb...@gmail.com 
> <mailto:51b5ebda-5f5c-4002-b082-29babb7fb...@gmail.com>>
> Content-Type: text/plain; charset=us-ascii
> 
> Carl,
> 
> Assuming 4D webserver is indeed up and running, then On Web Connection will 
> be called whenever a non-existing page is requested.
> Then you can handle it yourself, load the file from anywhere, do Process 4D 
> Tags and Web Send Blob/HTML to serve the page.
> 
> hth
> julio
> 
>> On Jan 5, 2018, at 10:52 AM, Carl Aage Wangel via 4D_Tech 
>> <4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>> wrote:
>> 
>> Hi,
>> 
>> Is it possible to transfer data from 4D (v15) to a webpage when the webpage
>> is not situated in the WebFolder? Like > value="" (opening the webpage from 4D).
>> 
>> Carl Aage Wangel
>> 
> 
> --
> Julio Carneiro
> jjfo...@gmail.com <mailto:jjfo...@gmail.com>
> 
> 

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Data from 4D to a webpage

2018-01-05 Thread Julio Carneiro via 4D_Tech
Carl,

Assuming 4D webserver is indeed up and running, then On Web Connection will be 
called whenever a non-existing page is requested.
Then you can handle it yourself, load the file from anywhere, do Process 4D 
Tags and Web Send Blob/HTML to serve the page.

hth
julio

> On Jan 5, 2018, at 10:52 AM, Carl Aage Wangel via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Hi,
> 
> Is it possible to transfer data from 4D (v15) to a webpage when the webpage
> is not situated in the WebFolder? Like  value="" (opening the webpage from 4D).
> 
> Carl Aage Wangel
> 

--
Julio Carneiro
jjfo...@gmail.com



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**