[typo] Not wanting to reinvent the wheel
Kevin Ballard
kevin at sb.org
Mon Oct 3 13:38:19 EDT 2005
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 <iframe>
that points to the PHP file as the source to load, which is far from
ideal.
On Oct 3, 2005, at 12:36 PM, gpshewan wrote:
> 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 ;)
--
Kevin Ballard
kevin at sb.org
http://www.tildesoft.com
http://kevin.sb.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2378 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/typo-list/attachments/20051003/c84c70fb/smime.bin
More information about the Typo-list
mailing list