Damit, i allways forget to check with IE ;)
Thanks again for letting me know =)
il look into it. heheheh
UPDATE:
Seems there is some issues with the wiki and the asp syntax,
but I think ive fixed it now though.
Search found 23 matches
- Wed Jun 22, 2005 10:19 am
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
- Wed Jun 22, 2005 3:02 am
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
I setup a small page for future projects and the HTTPD, to stop bothering this forum with my minor updates ;)
http://grable.cjb.net
and downloads have been updated to
http://grable.cjb.net/downloads/grb_httpd.rar
http://grable.cjb.net/downloads/moded_wiki.rar
http://grable.cjb.net
and downloads have been updated to
http://grable.cjb.net/downloads/grb_httpd.rar
http://grable.cjb.net/downloads/moded_wiki.rar
- Tue Jun 21, 2005 9:52 pm
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
Made the cgi processor take lisp code spaned over multiple statements.. eg: <% (for (x 0 5 1) %> <b><%= x %></b><br> <% ) %> more like real server pages does it ;) now, its a little bit slower this way i imagine, since it converts that to several (print) statements and then evals it. I havent tested...
- Sun Jun 19, 2005 9:36 pm
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
A (happy) IE user say: Thanks glad to help.. it was stupid of me not to see it earlier ;) UPDATE: yes i know theres alot of them.. atleast you get the latest no? the modified wiki for grb_httpd works, and its much faster this way than running on the old httpd. just replace the files in this rar wit...
- Sun Jun 19, 2005 8:58 pm
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
I just changed the newLISP WIKI to work with the format i use in the modified httpd, wasnt that much to change. so far so good ;) I just have to test all the functionality in newLISP wiki before i post it. And i fixed some stuff in the server aswell. newest version is here: http://grable.cjb.net/grb...
- Sun Jun 19, 2005 7:44 pm
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
LOL I forgot to close the socket when done sending data ;) stupid me! its wierd that this worked on firefox at all! it should atleast have waited for the timeout.. even though i think newLISP/exe's closes open sockets on exit. but now it works atleast ;) so all you happy IE users can use this shit to.
- Sun Jun 19, 2005 7:29 pm
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
- Sun Jun 19, 2005 7:10 pm
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
hmmm.. it must be IE ;) the ppl having trouble with the ftp use IE to .. hehe have you tried with newLISP's (get-url) ? that should bypass any problems in the browser. (write-file "c:\grb_httpd.rar" (get-url "http://grable.cjb.net/grb_httpd.rar")) or better yet, switch to firefox perhaps? ;) or i co...
- Sun Jun 19, 2005 6:51 pm
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
Yes, its on the the modified newlisp server. Wierd, because i have no trouble downloading myself. I even tested a 50 mb file while constantly refreshing the index page, without any problems. Seems a few ppl have trouble acessing my ftp too :( What browser are you using? what os?? Myself am on Window...
- Sun Jun 19, 2005 4:13 pm
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
Thanks lutz =)
their in the mail...
Since some people are having trouble geting in to my ftp, ive
put the files on the http server as well..
http://grable.cjb.net/grb_httpd.rar
their in the mail...
Since some people are having trouble geting in to my ftp, ive
put the files on the http server as well..
http://grable.cjb.net/grb_httpd.rar
- Sun Jun 19, 2005 2:59 pm
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
complete turnaround ;)
I soon found out that having everything in a single process isnt to good either :/ its was a little bit faster then spawning a new process.. bit it could stil only serve 1 client at a time.. so it now spawns process again ;) LOL although this time with proper "forking" using (process) so its can ser...
- Sat Jun 18, 2005 1:21 pm
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
I have problems to access your FTP. Can you offer another option or send it? Its in the mail =) the ftp is on 24/7 so it "should" work.. dunno why you cant get in.. theres no password for anonymous, so the first one should work, but some browsers may complain so the second one is more "correct". ft...
- Sat Jun 18, 2005 2:34 am
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
Cookies!!!
my hacked version of HTTPD now eats cookies =) i merged the functions from CGI.lsp with HTTPD, so scripts have roughly the same interface. script interface: # variables HTTPD:QUERY_STRING = raw query data HTTPD:POST_STRING = raw post data HTTPD:COOKIES_STRING = raw cookies data HTTPD:CONTENT_TYPE = ...
- Sat Jun 18, 2005 1:19 am
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
Ah.. k.. i was just wondering.. glad i understood it.. hehe Imagine code in the preprocessed page hangs in a loop, then the httpd server is dead ;) hehehehe, yeah.. i thought about that, il just have to be very careful ;) Although an infinite loop could potentialy happen with another process to, sin...
- Sat Jun 18, 2005 12:00 am
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
Well i think i solved it.. theres realy no need to use env variables when i have acess to the HTTPD context.. to i just put things in HTTPD:QUERY_STRING and HTTPD:POST_STRING when the data is present.. heres the recent examle (and previous url has again been updated) il probaly revork this code, sin...
- Fri Jun 17, 2005 11:40 pm
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
- Fri Jun 17, 2005 11:37 pm
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
- Fri Jun 17, 2005 11:21 pm
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
small update...
added support for query data with GET, but am having problems with POST.
which is wierd since its basicly the same happening on both GET and POST.
(puting data in QUERY_STRING env, and runing cgi-put-page)
maybe i need a fresh pair of eyes on this ;) hehehe
dev version with funky POST HTTPD_dev
which is wierd since its basicly the same happening on both GET and POST.
(puting data in QUERY_STRING env, and runing cgi-put-page)
maybe i need a fresh pair of eyes on this ;) hehehe
dev version with funky POST HTTPD_dev
- Fri Jun 17, 2005 4:42 pm
- Forum: newLISP in the real world
- Topic: Modified HTTPD
- Replies: 29
- Views: 22682
Modified HTTPD
I tinkered with the included HTTPD some, and added a modified CGI:put-page into it, which executes an *.lsp file inside the current process and sends the result back. should be a little faster then starting new processes, and scripts have full acces to the HTTPD context. (reads <% %> and <%= %> tags...
- Thu Jun 16, 2005 1:01 pm
- Forum: newLISP and the O.S.
- Topic: Importing function pointers without a DLL
- Replies: 6
- Views: 6895
- Thu Jun 16, 2005 12:27 pm
- Forum: newLISP and the O.S.
- Topic: Importing function pointers without a DLL
- Replies: 6
- Views: 6895
hehe..
BlitzMax is great.. and its link with mingw (c/c++/asm) is very nice =)
Even if lutz doesnt add it, its not that hard to add yourself,
the source of newLISP is very clean and readable.
Even if lutz doesnt add it, its not that hard to add yourself,
the source of newLISP is very clean and readable.
- Thu Jun 16, 2005 11:40 am
- Forum: newLISP and the O.S.
- Topic: Importing function pointers without a DLL
- Replies: 6
- Views: 6895
hehe.. sure
Im using the recompiled newlisp.dll from blitzmax , a basic like language. ' function to import Function MySuperPrint( s:Byte Ptr) Print String.FromCString( s) EndFunction ' import function newlispEvalStr( "(importfn {mysuperprint} " + Int(MySuperPrint) + ")") ' call function newlispEcalStr( "(mysup...
- Thu Jun 16, 2005 1:40 am
- Forum: newLISP and the O.S.
- Topic: Importing function pointers without a DLL
- Replies: 6
- Views: 6895
Importing function pointers without a DLL
I didnt find any other way to share this but over this forum, so here goes. this should be builtin in my opinion, for easier use of newlisp.dll i just stripped down the p_importLib() function and registered it as (importfn functionName functionAddress {callingConvention}) {} = optional, win32 only C...