hey guys help me

Any problem with PHP can be disscused here
Post Reply
junaidilyas
Posts: 6
Joined: Sun Feb 26, 2006 8:37 am

hey guys help me

Post by junaidilyas »

i try to make a page with php but it dosn,t show graphics it shows only coding what should i do


digest
Posts: 36
Joined: Mon Sep 05, 2005 2:58 pm

Post by digest »

be sure to differniate between html codes and php codes ..
rafke
Posts: 35
Joined: Fri Mar 03, 2006 8:16 pm

Post by rafke »

Maybe your host don't support php?
And make sure you save it as .php ! :)
kaos_frack
Posts: 504
Joined: Sat May 07, 2005 8:03 am
Contact:

Re: hey guys help me

Post by kaos_frack »

junaidilyas wrote:i try to make a page with php but it dosn,t show graphics it shows only coding what should i do
think you better clarify what is going on
make sure you enter your php code inside
<? [phpcode] ?> or <?php [phpcode] ?> or even <script language="php">[phpcode]</script>
BigBlueGuy
Posts: 97
Joined: Tue Apr 18, 2006 4:18 am

I dont even get php?

Post by BigBlueGuy »

I dont even get php what is it do you need it for your site?
Best Regards
BigBlueGuy
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

first of all you should install server with php support on your computer. You can easyly do via installing [=http://www.apachefriends.org/en/xampp.html]XAMPP[/url] and the you should be able to work with php.
Second: create a simple php testing script like
<?echo "The script is working";?>
and save that file into your **** root. If you were installing xampp into windows prbably it will be in you c:/program files/xampp/htdocs (probably) with any_file_name.PHP

Launch you server and in browser visit address "http://localhost" and if you see "The script is working" without any other symbols anb without word "echo" now you server is up and running. Good luck
Post a results!
Image
Post Reply