Page 1 of 1

Firefox not working for n00b [resolved]

Posted: Wed Jul 04, 2007 3:24 am
by cyberbuff
Hello guys!
I am an extreme n00b. I just started to learn php from orielly's book. Installed apache2.2, php 5.2, and my SQL 4.1. Now my firefox is giving me some alien languages. But IE 6 is working well. Here's a screenshot of ma FF2.0
http://i110.photobucket.com/albums/n108 ... 134827.gif
I am just clueless. Please help me guys!
Regards
cyberbuff

feyd | 102K image, no thanks.

Re: Firefox not working for n00b

Posted: Wed Jul 04, 2007 4:55 am
by ghadacr
Look at the php.ini file

Re: Firefox not working for n00b

Posted: Wed Jul 04, 2007 5:01 am
by Gente
ghadacr wrote:Look at the php.ini file
Great answer! Great....

To cyberbuff: What code are you trying to use?

Re: Firefox not working for n00b

Posted: Wed Jul 04, 2007 5:04 am
by ghadacr
Great answer! Great....
Thanks, i'm always happy to know that i got loyal fans, but i dont think its got anything to do with his code if its working in IE6......

Sorry to burst your bubble there skippy

Posted: Wed Jul 04, 2007 5:19 am
by ghadacr
Try this script, in a new file and see what happens in firefox....

Code: Select all

<?php

phpinfo();


?>

Posted: Wed Jul 04, 2007 6:01 am
by feyd
This is typically a character-encoding problem. It has very very little to do with php.ini, most often.

Posted: Wed Jul 04, 2007 6:23 am
by ghadacr
feyd wrote:This is typically a character-encoding problem. It has very very little to do with php.ini, most often.
Cover all areas i suppose..... Just a suggestion.

Posted: Wed Jul 04, 2007 7:56 am
by cyberbuff
thanks for your replies.
<?php phpinfo(); ?> is giving all the info about the current php version even in FF2.0. So no prob with the installation, i guess.
php.ini is a big file. Temme, what to look for.
And the code behind is
<?php
print('Hello World!');
print '<br/>This is a php output under print command';
?>

Posted: Wed Jul 04, 2007 8:37 am
by cyberbuff
omg! I have made it! thanks to feyd! There was some kinda character encoding problem. I just changed the character encoding from unicode to Western. Thanks for the hint, feyd!
Regards and thanks for your help!
CB