Search found 11 matches
- Jul 01, 2019 18:38
- Forum: General
- Topic: CGI and Cookies
- Replies: 2
- Views: 1462
Re: CGI and Cookies
Thank you!
- Jun 30, 2019 18:32
- Forum: Sources, Examples, Tips and Tricks
- Topic: CGI - How to process HTML forms!
- Replies: 11
- Views: 12742
Re: CGI - How to process HTML forms!
Thanks sir, I need to take a deep look into this
- Jun 29, 2019 13:07
- Forum: General
- Topic: CGI and Cookies
- Replies: 2
- Views: 1462
CGI and Cookies
Hi,
After a long absence I want to pick up where I left my CGI adventure.
Seeing my old sources it works all well, exept for cookies.
Anyone an example how to set and read a cookie ?
Johan
After a long absence I want to pick up where I left my CGI adventure.
Seeing my old sources it works all well, exept for cookies.
Anyone an example how to set and read a cookie ?
Johan
- Jun 29, 2019 13:04
- Forum: Sources, Examples, Tips and Tricks
- Topic: CGI - How to process HTML forms!
- Replies: 11
- Views: 12742
Re: CGI - How to process HTML forms!
Lol.. 2 years later I want to pick off where I left..
How to do cookie handling ?
How to do cookie handling ?
- May 14, 2015 9:28
- Forum: General
- Topic: FB, CGI and a Cookie
- Replies: 1
- Views: 676
Re: FB, CGI and a Cookie
Found a simple example..
http://newsgroups.derkeiler.com/Archive ... 00001.html
http://newsgroups.derkeiler.com/Archive ... 00001.html
- May 12, 2015 16:56
- Forum: General
- Topic: FB, CGI and a Cookie
- Replies: 1
- Views: 676
FB, CGI and a Cookie
I wondering how to in a convienent way to place and readback a cookie from within a Freebasic cgi program. Looking at some examples at the PowerBasic forum I see it is possible, but they use specific functions offered by PB. Is there a way to do this with FB ? any library one can recommend or needed...
- Dec 28, 2014 17:01
- Forum: General
- Topic: CGI upload/download files
- Replies: 7
- Views: 3439
Re: CGI upload/download files
I have solved it by using a Perl script and a hidden field.
Would like to see a genuine FB solution, if there is any.
Its above my head..
Would like to see a genuine FB solution, if there is any.
Its above my head..
- Dec 28, 2014 9:02
- Forum: General
- Topic: CGI upload/download files
- Replies: 7
- Views: 3439
Re: CGI upload/download files
I was thinking like that. Suppose I have a form, where one can select a file for upload, and an email address.. How to get both in FB puzzles me. The form: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/x...
- Dec 23, 2014 16:47
- Forum: General
- Topic: CGI upload/download files
- Replies: 7
- Views: 3439
CGI upload/download files
Hi, I have successfully managed to read forms, and create CGI's under Ubuntu with Freebasic, and with code found on this forum. Now, I like to be able to recieve and send binary files, like a PFD file. How do I implement that ? A bit of a noob question I guess.. I guess the code below will not do it...
- Dec 23, 2014 16:34
- Forum: Sources, Examples, Tips and Tricks
- Topic: CGI - How to process HTML forms!
- Replies: 11
- Views: 12742
Re: CGI - How to process HTML forms!
My changes: Function URLDecode(arg as string) as string Dim as string char, query, value, rlt Dim i as integer char = "&H" For i = 0 To len(arg) query = Mid(arg, i, 1) If query = "%" Then value = chr(valint(char & Mid(arg, i + 1, 2))) rlt = rlt & value i = i + 2 ElseI...
- Dec 23, 2014 7:13
- Forum: Sources, Examples, Tips and Tricks
- Topic: CGI - How to process HTML forms!
- Replies: 11
- Views: 12742
Re: CGI - How to process HTML forms!
Yes, easily.. I just worked it out myself. Compile it, and place it (standard ubuntu) in /usr/lub/cgi-bin Create a form, with post action, and start the compiled freebasic with it. Works well. Note that you need to alter above to decode the url-encoded recieved text, otherwise % and + signs are adde...