httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@apache.org>
Subject Re: plain file name of a request
Date Mon, 01 May 2006 15:24:19 GMT
Markus Litz wrote:
> Hello,
> 
> how can i get the filename only of the requested uri? For example if 
> "http://www.example.com/test.html" is requestet, i only want "test.html". 
> request_rec::filename only gives the full filename on disk.

basename(r->filename)

Greg

Mime
View raw message