Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 09-24-2008, 01:54 PM   #1
Baseband Member
 
Join Date: Sep 2008
Posts: 60
Angry Why PHP don,t work ???

Hi guys
I need your help
I am designing web page and i wrote PHP codes in the source
but it doesn,t work !!!!
I am sure that codes are true
Thank you
__________________

Feras is offline   Reply With Quote
Old 09-24-2008, 02:09 PM   #2
In Runtime
 
crappybob's Avatar
 
Join Date: Sep 2008
Posts: 164
Default Re: Why PHP don,t work ???

Probably going to need more detail than that.
__________________

crappybob is offline   Reply With Quote
Old 09-25-2008, 01:40 PM   #3
Baseband Member
 
Join Date: Sep 2008
Posts: 60
Default Re: Why PHP don,t work ???

Thank you Mr. crappybob for answering
well..
look to thid code:
Code:
<html>
<head>
<title>
</title>
</head>
<body>
<?php
echo ("feras");
?>
</body>
</html>
it is simple and true, but when I wrote it in the source and save the changes
and refresh my page but no results !!!!
Feras is offline   Reply With Quote
Old 09-26-2008, 01:12 PM   #4
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,001
Default Re: Why PHP don,t work ???

what do you see? and what do you have the page saved as, (is this called index.html or test.php?)


Are you sure that PHP is installed properly.

what happens if you create a simple three line text docment

<?php
phpinfo();
?>

save that as test.php and browse to that, what do you see?
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 09-26-2008, 01:57 PM   #5
Baseband Member
 
Join Date: Sep 2008
Posts: 60
Default Re: Why PHP don,t work ???

this code must write feras but no result

what do you mean by installing PHP ???

Thank you
Feras is offline   Reply With Quote
Old 10-01-2008, 05:35 PM   #6
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: Why PHP don,t work ???

Quote:
Originally Posted by Feras View Post
this code must write feras but no result

what do you mean by installing PHP ???

Thank you
Do you get a blank page or what?
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 10-02-2008, 11:33 AM   #7
Baseband Member
 
Join Date: Sep 2008
Posts: 60
Default Re: Why PHP don,t work ???

Quote:
Originally Posted by David Lindon View Post
Do you get a blank page or what?
Thank you M.r David
yes I get a blank page
Feras is offline   Reply With Quote
Old 10-02-2008, 11:55 AM   #8
Baseband Member
 
Join Date: Oct 2008
Posts: 41
Send a message via Yahoo to Balic Yoakishi
Default Re: Why PHP don,t work ???

u can get coffecup 2008 it is ez to use
Balic Yoakishi is offline   Reply With Quote
Old 10-03-2008, 04:42 AM   #9
Baseband Member
 
Join Date: Oct 2008
Posts: 56
Default Re: Why PHP don,t work ???

I guess You are trying to view this page on Your local machine.

Bad news, You have no php installed to Yours machine..
Get WAMP, install it, then it will work.

Or.. sign up for a free hosting service, and upload it there. It will work.
I recommend this site:

http://www.000webhost.com/80881.html

By far they are the best I came across.
And You can develop Yours site, You can have 300 Mbyte space,
mysql, php, blablabla.. its good.
2457 is offline   Reply With Quote
Old 10-03-2008, 12:45 PM   #10
Baseband Member
 
Join Date: Sep 2008
Posts: 60
Default Re: Why PHP don,t work ???

Thank you M.r Balic Yoakishi

M.r 2457:

T tried to register in http://www.000webhost.com/80881.html

but there is an error message say:

Error please check your cookie settings.

NO: this message appear after entering the tow words at Image Verification correctly
__________________

Feras is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 12:54 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0