Jump to content

Take a look here! [Coders only!]


Recommended Posts

Posted

As you all know I'm preparing MGN sites.Everything is ready, dynamic sites, with good design for all of our games.I have a lil problem which is more an information, not a problem.I'm encountering a problem.Mozilla Firefox shows me the code of php.I've uploaded the site in a webserver but still the same.In the view page source of mozilla the code is with pink letters and I'm figuring out what the heck is going on.In lan it's the same but I know that from lan I need to open a port 80 to have my site on.But in webserver when I press Ctrl+U(View Page Source in Mozilla), the php code appears with pink letters...

 

It's strange, does anyone knows what could cause this issue?

-Blane

Posted

You will see only PHP locally and not public...

 

and try to write instead of <? ?>

to

<?php

?>

 

sometimes it also happens that the webserver does not understand <? ?> so you must write <?php ?> :P

Posted

If you are going to open the php file from mozilla withought the file running a server with php you are going to encounter this problem

 

And how do you explain that in a webserver, the code is in pink? :S

 

Btw thanks for responding...

-Blane

Posted

If I'm not wrong PHP is not viewable in View Page Source.... -.-'

 

-Blane

Posted

So you say that if you press in mxc Ctrl+U you see php right? :S

You need to be locally to see the PHP... you should learn more PHP i think xD

If ur going to make a website for maxcheaters

Posted

Damn I know php, but I didn't get what you meant.The problem is not that I see the php in my pc.It's that I SEE IT IN THE WEBSERVER!

 

EDIT: The webserver was crappy and didn't have php installed.Topic locked.

 

-Blane

Guest
This topic is now closed to further replies.


×
×
  • Create New...