Script giving different errors

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
eav233
-


Joined: 25 Mar 2003
Posts: 3

PostPosted: Wed Mar 26, 2003 1:37 am    Post subject: Script giving different errors Reply with quote

:( I am going a bit crazy here, I am learning PHP, I installed php and setup my abyss web server just like the instructions said. The first time I did it it worked great. So I descided to do the same in my web server and the script does not work, here is the script

<?

Header("Content-type: image/jpeg");
$imagepath = "cam.jpg";

$im = cam.jpg($imagepath);
$tc = imagecolorclosest ($im, 100, 100, 100);
// dit is de kleur
imagettftext ($im, 20, 0, 60, 220, $tc, "annifont.ttf", $text);
//dit is de grote,hoek,positievert,positiehor,lettertype.
imagejpeg($im,'',100);


What happens it shows me the same script on my webpage, then I uninstalled PHP reinstalled it and now it tells me Page cannot be displayed, or it gives me a Security Alert! The PHP CGI cannot be accessed directly.
here is the link http://www.freeology.net/boo/boo.html

(this is the boobies.php script)


Help!!!!!!! please!!!!

Thanks a million

webmaster@freeology.net
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Mar 26, 2003 9:52 pm    Post subject: Re: Script giving different errors Reply with quote

Please install PHP support by following step by step instructions at http://www.aprelium.com/abyssws/php.html . The two problems you faced are caused by bad/omitted settings of CGI parameters
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
eav233
-


Joined: 25 Mar 2003
Posts: 3

PostPosted: Thu Mar 27, 2003 3:38 am    Post subject: Reply with quote

Ok I must be going crazy, i checked it about 5 times, my associate checked it too and settings are ok but still noting. Any ideas??
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Mar 27, 2003 11:28 pm    Post subject: Reply with quote

eav233 wrote:
Ok I must be going crazy, i checked it about 5 times, my associate checked it too and settings are ok but still noting. Any ideas??

Try enclosing PHP code between <?php and ?> instead of <? and ?>
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group