[REBOL] Re: $QUERRY_STRING

2003-10-27 Thread martin mauchauffee
hi carlos ok i understand, for me i don't have path1.cgi or path2.cgi /dir/dir1/index.r or /dir/index.r /dir/dir2/dir/index.r or ... i just don't want to use a "GET parameter" but i must do it i want use the "DirectoryIndex" modification of Apache but i can't tanx for your patience martin >

[REBOL] Re: $QUERRY_STRING

2003-10-27 Thread carlos.lorenz
Hello Martin Here is the code of path1.cgi. Path2.cgi is just the same #!rebol -c REBOL [Title: "index"] print "content-type: text/html^/" print [] print join newline "" print "This is just a test o redirection " print {"You are goin to REFERER.CGI using PATH1.CGI} Carlos Em Seg 27 Out 20

[REBOL] Re: $QUERRY_STRING

2003-10-27 Thread martin mauchauffee
Hi Carols, yes, i see the source of referer.cgi, but what is the code in path1.cgi and path2.cgi ? Martin > > I used REBOL's CGI object. Look: > > at the page I named "referer.cgi" I put > > select system/options/cgi/other-headers "HTTP_REFERER" > > Did you see the source code of referer.cgi pa

[REBOL] Re: $QUERRY_STRING

2003-10-24 Thread carlos.lorenz
I used REBOL's CGI object. Look: at the page I named "referer.cgi" I put select system/options/cgi/other-headers "HTTP_REFERER" Did you see the source code of referer.cgi page? Carlos Em Sex 24 Out 2003 14:55, martin mauchauffee escreveu: > Hi Carlos > > Yes it'a a solution, what did y

[REBOL] Re: $QUERRY_STRING

2003-10-24 Thread martin mauchauffee
Hi Carlos Yes it'a a solution, what did you do to make the redirection ? send header ? or with apache ? > Hello Martin > > Check both URL below. They go to same page REFERER.CGI > and there I identify the path user took > > http://www.revistaeletronica.com.br/cgi-bin/path1.cgi > http://www.revi

[REBOL] Re: $QUERRY_STRING

2003-10-23 Thread martin mauchauffee
Carlos Yes, and ( in your example, ) in the INDEX.R, I need a word that contains "dir/dir1/dir" for client1 and "dir/dir2/dir" for client2 > Martin, > > Well if I understood this time > what you need is something that > can tell you where from the client came. > > For instance: > > If client1 d

[REBOL] Re: $QUERRY_STRING

2003-10-22 Thread carlos.lorenz
Martin, I am very sorry too because I have not understood well Here it is: >> url: http://www.lorenz.cim.br/cgi-bin/x.cgi == http://www.lorenz.cim.br/cgi-bin/x.cgi >> set [url index] split-path url == [http://www.lorenz.cim.br/cgi-bin/ %x.cgi] >> print index x.cgi >> print url http://www.lor

[REBOL] Re: $QUERRY_STRING

2003-10-22 Thread martin mauchauffee
sorry for my english yes, exactly I want to extract all the path after the hostname > > Ah, you want to extract the "directory part" of the url ? > > http://sub.site.com/index.r -> http://sub.site.com/ > http://sub.site.com/foo/dir/index.r -> http://sub.site.com/foo/dir/ > > Anton. >

[REBOL] Re: $QUERRY_STRING

2003-10-22 Thread Anton Rolls
Ah, you want to extract the "directory part" of the url ? http://sub.site.com/index.r -> http://sub.site.com/ http://sub.site.com/foo/dir/index.r -> http://sub.site.com/foo/dir/ Anton. > Sorry for my englsih > I use the "DirectoryIndex" command in the rootfile ".htaccess" to > redi

[REBOL] Re: $QUERRY_STRING

2003-10-22 Thread martin mauchauffee
Sorry for my englsih I use the "DirectoryIndex" command in the rootfile ".htaccess" to redirect all the document like "DirectoryIndex /index.r" If the URL is http://sub.site.com/ or http://sub.site.com/foo/dir the loaded document is "index.r" then I need to determine the URL to do want I want

[REBOL] Re: $QUERRY_STRING

2003-10-21 Thread Carlos Lorenz
Do you mean system/options/cgi/query-string ? Carlos Em Ter 21 Out 2003 16:15, martin mauchauffee escreveu: > sorry for my english > a search for an equal fonctionality of $QUERY_STRING in PHP -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the su