[wp-hackers] File inclusion in WP theme
dtc4ever at gmail.com
Thu May 8 11:50:03 GMT 2008
Thank you for your reply. The text files contain transcriptions of
guitar tabs so basically, they are text snippets that I'd like to
insert in the content section of my theme.
I was thinking of creating a file (browser.php) that would fetch the
file via a GET request but I'm pretty certain this would lead to
remote file inclusion risks... Plus it wouldn't look very good
compared to the rest of the site in terms of page structure.
I'm open to any suggestions
> Date: Thu, 8 May 2008 12:12:24 +0200
> From: "Alexander Beutl" <xel at netgra.de>
> Subject: Re: [wp-hackers] File inclusion in WP theme
> To: wp-hackers at lists.automattic.com
> <663be1170805080312k1479749an734d97e111c79c50 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> Hi Jim,
> could you specify where and for what purpose you want to include them?
> There are several ways one could want to do this and therefor there is not
> the one and right way to do it.
> Just a few examples (there will be many more things one might want to do
> with textfiles):
> This textfiles could hold something like a configuration
> they could hold something like posts or pages
> they could be display eighter like the_loop or as seperate pages
> they could just be textsnipplets you want to include into your theme at
> specific placed in your theme.
> They could also be something like code which you will want to display inside
More information about the wp-hackers