954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

PHP files not dispalying in browser

Hi im new to the site and my question is why wont my php files display in my browser?
I have 10 years exp with html but i turned my site over to a developer he put in php.
Now when i go to upload my site to a different domain it wont show.
Is it possible for me to be locked out from posting my sites when and where ever and its my server. Also i have created a fresh .com on my server and when i upload i get nothing. HELP PLEASE!!!

MrMellow
Newbie Poster
4 posts since Feb 2009
Reputation Points: 10
Solved Threads: 0
 

ok what is your domain?
You have to make sure that your server support php

jencinas69
Junior Poster in Training
68 posts since Nov 2007
Reputation Points: 10
Solved Threads: 1
 

It does i have 4 sites up that arre the same.
They were posted by my developer and when i try it doesnt work. I am currently working through the FTP to see the server itself and not expressions. i think i may be missing a file, so i am comparing both file managers

ok what is your domain? You have to make sure that your server support php
MrMellow
Newbie Poster
4 posts since Feb 2009
Reputation Points: 10
Solved Threads: 0
 

do you have an index.php file?

jencinas69
Junior Poster in Training
68 posts since Nov 2007
Reputation Points: 10
Solved Threads: 1
 

You cant just view them.
They are web pages, they are code.
They run on a server then the server returns the HTML. Thats why its dynamic.

Sure your server supports PHP?

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

www.wiltonlimo.com
www.westportlimo.com
www.fairfieldlimousine.com
all are on the same server i have like 5 more names that i want to publish to as well, check it out

You cant just view them. They are web pages, they are code. They run on a server then the server returns the HTML. Thats why its dynamic.

Sure your server supports PHP?

MrMellow
Newbie Poster
4 posts since Feb 2009
Reputation Points: 10
Solved Threads: 0
 

this is the only error I get in the about us page

Notice: Undefined variable: HTTP_USER_AGENT in /home/www/fairfieldlimousine/mission.php on line 25

Notice: Undefined variable: HTTP_USER_AGENT in /home/www/fairfieldlimousine/mission.php on line 31

in this domain www.fairfieldlimousine.com

jencinas69
Junior Poster in Training
68 posts since Nov 2007
Reputation Points: 10
Solved Threads: 1
 

yes

MrMellow
Newbie Poster
4 posts since Feb 2009
Reputation Points: 10
Solved Threads: 0
 

Send me the mission.php code

jencinas69
Junior Poster in Training
68 posts since Nov 2007
Reputation Points: 10
Solved Threads: 1
 

this is the only error I get in the about us page

Notice: Undefined variable: HTTP_USER_AGENT in /home/www/fairfieldlimousine/mission.php on line 25

Notice: Undefined variable: HTTP_USER_AGENT in /home/www/fairfieldlimousine/mission.php on line 31

in this domain www.fairfieldlimousine.com


In php versions >=4.20 global variables are turned off anti hacking security
HTTP_USER_AGENT does not exist, ($HTTP_USER_AGENT )

the old domains are running an old(V.old) version of php or have had register_globals turned on to allowbad(old) code to run

the new domain has a newer version of php, or one that has not been altered

now it is $_SERVER['HTTP_USER_AGENT']

almostbob
Posting Sensei
3,149 posts since Jan 2009
Reputation Points: 571
Solved Threads: 376
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You