daehl Posted May 9, 2008 Posted May 9, 2008 Is it possible to enter PHP as data in a web viewer? I can open a PHP document on another server and have it execute, but I'd like to store the PHP code as calculated data. So far Im having no luck. I've tried pasting the following: "data:text/html,<?php echo 'hello world!'; ?>" But the web viewer just ends up being blank.
Genx Posted May 9, 2008 Posted May 9, 2008 ... no. You need a webserver and a PHP parser for php to be processed.
Baloo Posted May 9, 2008 Posted May 9, 2008 PHP is included in OS X but disabled by default Here's Apple's documentation on enabling it http://docs.info.apple.com/article.html?path=ServerAdmin/10.4/en/c3ws29.html and Filemaker's http://filemaker.custhelp.com/cgi-bin/filemaker.cfg/php/enduser/std_adp.php?p_faqid=6537&p_sid=j*6gSi3j&p_lva=6436 Using the API may also require some tweaking to the default PHP install. The online PHP documentation is really quite good. http://us3.php.net/manual/en/
Recommended Posts
This topic is 6302 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now