Firefox not working for n00b [resolved]

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
cyberbuff
Forum Newbie
Posts: 3
Joined: Wed Jul 04, 2007 3:03 am

Firefox not working for n00b [resolved]

Post 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.
Last edited by cyberbuff on Wed Jul 04, 2007 8:38 am, edited 1 time in total.
User avatar
ghadacr
Forum Contributor
Posts: 135
Joined: Fri May 11, 2007 10:44 am

Re: Firefox not working for n00b

Post by ghadacr »

Look at the php.ini file
User avatar
Gente
Forum Contributor
Posts: 252
Joined: Wed Jun 13, 2007 9:43 am
Location: Ukraine, Kharkov
Contact:

Re: Firefox not working for n00b

Post by Gente »

ghadacr wrote:Look at the php.ini file
Great answer! Great....

To cyberbuff: What code are you trying to use?
User avatar
ghadacr
Forum Contributor
Posts: 135
Joined: Fri May 11, 2007 10:44 am

Re: Firefox not working for n00b

Post 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
User avatar
ghadacr
Forum Contributor
Posts: 135
Joined: Fri May 11, 2007 10:44 am

Post by ghadacr »

Try this script, in a new file and see what happens in firefox....

Code: Select all

<?php

phpinfo();


?>
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

This is typically a character-encoding problem. It has very very little to do with php.ini, most often.
User avatar
ghadacr
Forum Contributor
Posts: 135
Joined: Fri May 11, 2007 10:44 am

Post 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.
cyberbuff
Forum Newbie
Posts: 3
Joined: Wed Jul 04, 2007 3:03 am

Post 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';
?>
cyberbuff
Forum Newbie
Posts: 3
Joined: Wed Jul 04, 2007 3:03 am

Post 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
Post Reply