[REBOL] Re: web site authentication
Congratulations! chaz At 05:41 PM 12/2/00 +1300, you wrote: >On Fri, 1 Dec 2000 18:18:21 -0800 > "Larry Palmiter" <[EMAIL PROTECTED]> wrote: > >> The standard full URL for http and ftp is (using http as >> an example) >> >> http://user-name:password@domain:port-number/path >> > >Hi Larry, > >I tried that out on the site I wanted to access, and it did >not work. > >However, by putting this in the headers sent to the site > >Authorization: join {Basic } enbase rejoin [ username ":" >password ] > >I've managed to get authenticated. > >-- >Graham Chiu >-- >To unsubscribe from this list, please send an email to >[EMAIL PROTECTED] with "unsubscribe" in the >subject, without the quotes. > > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] My Web server 2
you can find my old (yet finished) web server 2 script at http://www.gsat.edu.au/~users/bluemoon/web2/webserver_2.zip If anyone would like to adapt this web server to handle simultaneous connections, feel free , also be warned that this web server does not handle images very well either... to start the web server, unzip this to a directory and run wserv2.r any comments or anyone wishing to help me do something useful with this code email me at [EMAIL PROTECTED] (also be warned that this code is VERY messy and is in dire need of cleaning up, but i think it displays alot of useful functionality) -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: web site authentication
On Fri, 1 Dec 2000 18:18:21 -0800 "Larry Palmiter" <[EMAIL PROTECTED]> wrote: > The standard full URL for http and ftp is (using http as > an example) > > http://user-name:password@domain:port-number/path > Hi Larry, I tried that out on the site I wanted to access, and it did not work. However, by putting this in the headers sent to the site Authorization: join {Basic } enbase rejoin [ username ":" password ] I've managed to get authenticated. -- Graham Chiu -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Re(2): Importing scripts as functions?
Heya Anton, >> I'm sure I could, if I knew how :) A> Check out Ingo Hohmann's TUI dialect. A> It makes a really good tutorial. I'm glad I found it. A> http://www.rebolforces.com/tui-dialect.html Interesting stuff, well worth a look. I'm not sure it's the solution to my problem though. I'd like to let other folks write commands for my IRC bot in Rebol - rather than a custom dialect. -- Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee http://www.eurogamer.net | http://www.eurogamer-network.com -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re(2): Importing scripts as functions?
> GC> You could always create your own dialect a la VID > > I'm sure I could, if I knew how :) Check out Ingo Hohmann's TUI dialect. It makes a really good tutorial. I'm glad I found it. http://www.rebolforces.com/tui-dialect.html But you will need to know parse fairly well to fully understand. Go here to learn about parsing: http://www.rebol.com/users/parintro.html For those who don't know parse yet, it's hard but worthwhile. It took me a few weeks of breaking my head open, now it doesn't seem so hard. Anton. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: web site authentication
Hi Graham The standard full URL for http and ftp is (using http as an example) http://user-name:password@domain:port-number/path If you have "funny" characters in your password or username, you may need to set up the 'scheme object instead of the simple URL above. REBOL only does BASIC authentication, it does not handle the more advanced encrypted authentication. HTH -Larry - Original Message - From: Graham Chiu <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 01, 2000 2:36 PM Subject: [REBOL] web site authentication > > Some sites you access bring up an authentication dialog > where you have to enter your network username and password. > > Where does this come from? How can I enter the values using > Rebol? > > -- > Graham Chiu > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Importing scripts as functions?
Heya Graham, GC> You could always create your own dialect a la VID I'm sure I could, if I knew how :) -- Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee http://www.eurogamer.net | http://www.eurogamer-network.com -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: web site authentication
On Sat, 02 Dec 2000 11:36:26 +1300 "Graham Chiu" <[EMAIL PROTECTED]> wrote: > Some sites you access bring up an authentication dialog > where you have to enter your network username and > password. > > Where does this come from? How can I enter the values > using > Rebol? Talking to myself ... http://www.binaryevolution.com/~tdarugar/td/tcl/http_pwd_tcl.html -- Graham Chiu htp://www.compkarori.co.nz/index.r -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: image server
On Fri, 1 Dec 2000 18:01:40 -0500 Eric King <[EMAIL PROTECTED]> wrote: > > >Before I reinvent the wheel, has anyone written an image > >server in Rebol yet? > > Could you be a bit more specific? Sure. img src=http://myisp.com/cgi-bin/image.r?imagename either exists? imagename [ return image ] [ grab image from database store in current directory return image remove old images from current directory ] -- Graham Chiu -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Importing scripts as functions?
On Fri, 1 Dec 2000 22:48:48 + Mat Bettinson <[EMAIL PROTECTED]> wrote: > That was my initial thoughts, of course. My initial > question was, how > do you parse arguments to the new script. > You could always create your own dialect a la VID -- Graham Chiu -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: image server
On Sat, Dec 2, 2000, Graham Chiu <[EMAIL PROTECTED]> wrote: >Before I reinvent the wheel, has anyone written an image >server in Rebol yet? Could you be a bit more specific? .:Eric -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Importing scripts as functions?
Heya Anton, A> rebol[] A> do %my-library.r ; define some nice functions that I use all the time A> ... A> ; now use the functions here A> do you? That was my initial thoughts, of course. My initial question was, how do you parse arguments to the new script. Since then, I've seen some nifty stuff to do with using Rebol build objects which are actually rebol code. I just don't know how to make it work. -- Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee http://www.eurogamer.net | http://www.eurogamer-network.com -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] web site authentication
Some sites you access bring up an authentication dialog where you have to enter your network username and password. Where does this come from? How can I enter the values using Rebol? -- Graham Chiu -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] image server
Before I reinvent the wheel, has anyone written an image server in Rebol yet? -- Graham Chiu -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Rebol Cgi Web hosting
Hi, >Thanks everyone for you response. Mersinet looks pretty good but the >dial-up costs might be a little to expensive. Hmm dial up from South >Carolina, USA to UK wonder how much a multimeg download would cost doing >that lol. Nah, you cannot call it internationally, they use CLI to ensure that no other user attepts to log into your FTP account - which doesn't work internationally (or so I have been told). == All the best, -- Malcolm Campbell [EMAIL PROTECTED] FreesiteUK - http://www.freesiteuk.com The UK based searchable web directory of free internet services. _ Win a Sony Playstation 2 with FreesiteUK and dooyoo! Enter by visiting: http://www.freesiteuk.com/index.cgi?244724062;INFO (UK residents only) -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Re(2): Rebol Cgi Web hosting
Hi, >I've collected the references to rebol friendly sites >mentioned in the last couple of days. If you want to make your list bigger :), you might want to know that Mersinet is owned by a company called Linix. They also run: http://www.welshnet.co.uk http://www.sitesource.co.uk And loads more, the Rebol support is unofficial, considering the guy that installed it for me has only just left to work elsewhere. == All the best, -- Malcolm Campbell [EMAIL PROTECTED] FreesiteUK - http://www.freesiteuk.com The UK based searchable web directory of free internet services. _ Win a Sony Playstation 2 with FreesiteUK and dooyoo! Enter by visiting: http://www.freesiteuk.com/index.cgi?244724062;INFO (UK residents only) -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Importing scripts as functions?
> Can anyone explain in simple terms, how some Rebol could import > another script and install it as a function or whatever? You don't mean just do'ing a file, eg. rebol[] do %my-library.r ; define some nice functions that I use all the time ... ; now use the functions here do you? Anton. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Re(2): Rebol Cgi Web hosting
Yeah, it's all free - I mean, no it's all copyright - I'll sue! ;) -Anton. > Anton wrote: > > > > I've collected the references to rebol friendly sites > > mentioned in the last couple of days. > > > > http://users.bigpond.net.au/datababies/anton/RebolFriendlySites.html > > Once I have my Unofficial Rebol User and Friendly ISP list working > (needs some more html work and a reply from RT about trademark > stuff...) can I copy that stuff into the database? And does anyone > know if these ISPs have banners (less than 256x80) that can be used > for linking to them? > > Chris -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Rebol Cgi Web hosting
[EMAIL PROTECTED] wrote: > > Thanks everyone for you response. Mersinet looks pretty good but the > dial-up costs might be a little to expensive. Hmm dial up from South > Carolina, USA to UK wonder how much a multimeg download would cost doing > that lol. Knowing how much BT charges for calls, probably not that much more than I pay for dailing up to Demon on an 0845 number... ;) Chris -- New sig in the works Explorer2260 Designer and Coder http://www.starforge.co.uk -- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Importing scripts as functions?
Heya Folks, Awhile back I asked the question on how it might be possible to import other scripts so some sort of modulate system could be built up. I plan to build a multi-purpose IRC bot where folks can build their own functions as scripts. Andrew pointed me at his effort; AM> It would be very quick if you use modular plugins to load the scripts at AM> start up. Have a look at the %units.r script on my site: AM> http://members.nbci.com/AndrewMartin/Rebol/ Which is far too complicated for me to understand what he's really doing. However what I *did* realise is that you can build functions up using Rebol - making my assertion that somehow my bot would go off and execute the script files on demand quite silly. Can anyone explain in simple terms, how some Rebol could import another script and install it as a function or whatever? I've tried some basic experimentation by creating objects from read scripts but that doesn't seem to work. -- Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee http://www.eurogamer.net | http://www.eurogamer-network.com -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Re(2): Rebol Cgi Web hosting
Anton wrote: > > I've collected the references to rebol friendly sites > mentioned in the last couple of days. > > http://users.bigpond.net.au/datababies/anton/RebolFriendlySites.html Once I have my Unofficial Rebol User and Friendly ISP list working (needs some more html work and a reply from RT about trademark stuff...) can I copy that stuff into the database? And does anyone know if these ISPs have banners (less than 256x80) that can be used for linking to them? Chris -- New sig in the works Explorer2260 Designer and Coder http://www.starforge.co.uk -- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re(2): Rebol Cgi Web hosting
I've collected the references to rebol friendly sites mentioned in the last couple of days. http://users.bigpond.net.au/datababies/anton/RebolFriendlySites.html Anton. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Rebol Cgi Web hosting
Thanks everyone for you response. Mersinet looks pretty good but the dial-up costs might be a little to expensive. Hmm dial up from South Carolina, USA to UK wonder how much a multimeg download would cost doing that lol. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re(3): newbie!?
How about this? n-or-more: func [b n][ unique head repeat n n - 1 [ foreach i unique b [remove find b i] ] ] Use like this: >> expl: [1 2 1 3 1 2] >> n-or-more expl 3 == [1] This means 1 occurs 3 times or more in the original. Note that it modifies the expl block. Also, n should be greater than 1. :) Anton. > each button inserts vallues in a variable... > I want to know how to be able to return only > the repeated vallues , repeated 3 times ...not > less!!! > > this is what I came up with to return different vallues > > expl: [1 2 1 3 1 2] > unique expl > [1 2 3] > > but I want to do the opposite, a function that returns > vallues repeated a predetermined number of times, > choosing 3x in this case ... vallue "1" would be returned > is it possible??? > > function expl > [1 1 1] -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Rebol Cgi Web hosting
Hi, >> http://www.mersinet.co.uk I should have also mentioned that it is free, you just have to use their local rate dial-up to use the service. My site is competely generated using Rebol running on Mersinet. == All the best, -- Malcolm Campbell [EMAIL PROTECTED] FreesiteUK - http://www.freesiteuk.com The UK based searchable web directory of free internet services. _ Win a Sony Playstation 2 with FreesiteUK and dooyoo! Enter by visiting: http://www.freesiteuk.com/index.cgi?244724062;INFO (UK residents only) -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Rebol Cgi Web hosting
PowerWebs AB in Sweden do it to... At 09:49 2000-12-01 +, you wrote: > > Hi, > > > > >I know this has probably been asked before, but are there any isps out > > >there that allow rebol cgi? > > > > Well, if you live in the UK, you could use Mersinet, I > > got them to install rebol a while ago. > > > > http://www.mersinet.co.uk > > > > == > >Or www.netisnet.co.uk > >They allow you to install rebol.exe in your cgi-bin directory & allow telnet >access - which always helps :-) > >Nigel > > >-- >To unsubscribe from this list, please send an email to >[EMAIL PROTECTED] with "unsubscribe" in the >subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Re: Rebol Cgi Web hosting
> Hi, > > >I know this has probably been asked before, but are there any isps out > >there that allow rebol cgi? > > Well, if you live in the UK, you could use Mersinet, I > got them to install rebol a while ago. > > http://www.mersinet.co.uk > > == Or www.netisnet.co.uk They allow you to install rebol.exe in your cgi-bin directory & allow telnet access - which always helps :-) Nigel -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] Keeping line format when saving blocks into a file
Hi REBOL's: I think there's already be a discussion about it, but I cannot find the thread back... I would like to create a navigational structure - block-based - and introduce line formatting into it -for the readability of the file. Let's show: >> b: copy [] == [] >> append b [key1 [data1 data2]] == [key1 [data1 data2]] >> append b newline == [key1 [data1 data2] #"^/"] >> append b [key2 [data3 data4]] == [key1 [data1 data2] #"^/" key2 [data3 data4]] >> save %b.txt >> When opening the file into a text editor, I read : key1 [data1 data2] #"^/" key2 [data3 data4] And I would like to read : key1 [data1 data2] key2 [data3 data4] Of course, should I use write or write/string, to resolve the 'newline', then the blocks are gone : >> write %b.txt >> the file becomes: key1data1 data2 key2data3 data4 which is not what I'm looking for ! Any ideas ? Regards, Christophe -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.