Re: WebDNA equivalent for $REQUEST_URI
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 56515
interpreted = N
texte = > Try [thisurl]Nitai,I probably should have explained that I am trying to use a .htaccess =file with 'mod_rewrite' to call in a WebDNA template which then includes =files based on the string of text after the host.So the punter enters:-http://yourdomain/stuff/morestuffmy .htaccess file contains:-RewriteEngine OnRewriteRule \!.(gif=A6jpg=A6png=A6css)$ parser.tmpl=09and then in 'parser.tmpl' I was hoping there would be a way a of =determining the string 'stuff/morestuff'Using a PHP script the predefined variable $REQUEST_URI provides this =funtionality, I assumed it was getting it from a mime header or =something and was hoping that WebDNA might be able to extract it also.The [thisurl] context returns the path to the WebDNA template however =rather than the URL that the browser requested, so I lose the string ='stuff/morestuff'.Maybe I can't do this with WebDNA.- Tom-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
> Try [thisurl]Nitai,I probably should have explained that I am trying to use a .htaccess =file with 'mod_rewrite' to call in a WebDNA template which then includes =files based on the string of text after the host.So the punter enters:-http://yourdomain/stuff/morestuffmy .htaccess file contains:-RewriteEngine OnRewriteRule \!.(gif=A6jpg=A6png=A6css)$ parser.tmpl=09and then in 'parser.tmpl' I was hoping there would be a way a of =determining the string 'stuff/morestuff'Using a PHP script the predefined variable $REQUEST_URI provides this =funtionality, I assumed it was getting it from a mime header or =something and was hoping that WebDNA might be able to extract it also.The [thisurl] context returns the path to the WebDNA template however =rather than the URL that the browser requested, so I lose the string ='stuff/morestuff'.Maybe I can't do this with WebDNA.- Tom-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
"Tom Duke"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
100% sorry about that (1998)
WebCatalog2 Feature Feedback (1996)
webCatalog and Stocks (1998)
Limits (2000)
Putting [cart] into a database (2003)
[OT] Read and weep (2003)
[WebDNA] AJAX module (2012)
Sort Order on a page search (1997)
Help name our technology! (1997)
WebSTAR virtual roots with . in the foldername (2000)
Triggers (1999)
WebCatalog f2 Installation (1997)
method of payment (1997)
Site Check (2006)
Webten&Webcat (1998)
WebCat2: Items xx to xx shown, etc. (1997)
append=T problem (1998)
possible, WebCat2.0 and checkboxes-restated (1997)
File Upload (1997)
Sku numbers (1997)