View previous topic :: View next topic |
Author |
Message |
eav233 -
Joined: 25 Mar 2003 Posts: 3
|
Posted: Wed Mar 26, 2003 1:37 am Post subject: Script giving different errors |
|
|
:( 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 |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Mar 26, 2003 9:52 pm Post subject: Re: Script giving different errors |
|
|
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 |
|
|
eav233 -
Joined: 25 Mar 2003 Posts: 3
|
Posted: Thu Mar 27, 2003 3:38 am Post subject: |
|
|
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 |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Mar 27, 2003 11:28 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|