FreeHostia Forums
https://forum.freehostia.com/

ImageCube script not working PHP
https://forum.freehostia.com/viewtopic.php?f=7&t=8689
Page 1 of 1

Author:  jimmytop [ Wed Dec 19, 2007 1:45 am ]
Post subject:  ImageCube script not working PHP

The script is called "ImageCube.php" and when you use it, it creates a 3d cube. So I'm supposed to put this in my web folder and access it as follows:

http://topjimmy.freehostia.com/imagecub ... g&size=100

This is supposed to generate an image of the cube. For example, here is one that works correctly on someone else's site:
http://www.cosine-systems.com/cubestati ... g&size=100

When I try it with the php file in my folder, all I get is the text of the script. No image.... I know I'm doing something stupid, I just don't know what.

The TXT version of the script can be found at:
http://www.cubestation.co.uk/cs2/index. ... op/f2l/f2l

Thanks for your help.

Author:  jimmytop [ Wed Dec 19, 2007 2:48 am ]
Post subject: 

Nevermind, I figured it out :)
Forgot to add the <?php and ?> to the script....doh!

Author:  Vin [ Wed Dec 19, 2007 5:52 am ]
Post subject: 

Hello,

I am glad that the problem has been resolved.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/