From gpsnospam at gmail.com Mon Oct 3 12:36:20 2005 From: gpsnospam at gmail.com (gpshewan) Date: Mon, 3 Oct 2005 17:36:20 +0100 Subject: [typo] Not wanting to reinvent the wheel Message-ID: This may be a really dumb question ... I know it's possible to run PHP scripts from within the public directory. Not wanting to reinvent the wheel every time I want to test something, is it possible to successfully include() a PHP file from within the default.rhtml? Or am I missing the mark by a country mile? I'd prefer RoR functionality, but I still would like some legacy functionality while I (or someone) else figures out how to recode apps and scripts. It's been a really long day and I might not realise I'm trying to bash a banana and an apple together to make an orange ... so be gentle ;) Cheers Gary From kevin at sb.org Mon Oct 3 13:38:19 2005 From: kevin at sb.org (Kevin Ballard) Date: Mon, 3 Oct 2005 13:38:19 -0400 Subject: [typo] Not wanting to reinvent the wheel In-Reply-To: References: Message-ID: <2A0AA8EB-FF39-4642-8229-E9A6E57900F1@sb.org> No, it's not possible. That would require a round-trip through Apache to evaluate the PHP file. The nearest you could do is an