Hi,
I'm a newbie with both WP and PHP and need your help.
I'm setting up a blog which will use rendered images with the use of a php file. I have downloaded the script from here http://cube.crider.co.uk/visualcube.php which is under GNU licence (free to use)
I have uploaded the files into /wp-content/themes/twentyeleven/vcube/
I have the "Allow PHP in posts and pages" plugin installed and trying to run the script with
[php debug=1]
include ('/wp-content/themes/twentyeleven/vcube/visualcube.php?fmt=gif&size=200&view=plan&case=RURURU2RURUR2U2Ry2&arw=U1U5,U5U1,U3U7,U7U3');
[/php]
What am I doing wrong here?
I get the following errors
Warning: include(/wp-content/themes/twentyeleven/vcube/visualcube.php?fmt=gif&size=200&view=plan&case=RURURU2RURUR2U2Ry2&arw=U1U5,U5U1,U3U7,U7U3) [function.include]: failed to open stream: No such file or directory in /home/c/cubeloop/cubeloop/cubeloop.com/www/wp-content/plugins/allow-php-in-posts-and-pages/allowphp.php(50) : eval()'d code on line 2
Warning: include() [function.include]: Failed opening '/wp-content/themes/twentyeleven/vcube/visualcube.php?fmt=gif&size=200&view=plan&case=RURURU2RURUR2U2Ry2&arw=U1U5,U5U1,U3U7,U7U3' for inclusion (include_path='.:/usr/local/php5/share/pear') in /home/c/cubeloop/cubeloop/cubeloop.com/www/wp-content/plugins/allow-php-in-posts-and-pages/allowphp.php(50) : eval()'d code on line 2
Notice: Undefined variable: res in /home/c/cubeloop/cubeloop/cubeloop.com/www/wp-content/plugins/allow-php-in-posts-and-pages/allowphp.php on line 52