Jump to content

Recommended Posts

Hi all,

 

I'm new here. But it already feels good to be here.

 

Let me get straight to the point. I'm new to php and I can't seem to get the source code to work. I'm saving it as .php but whenever i try opening it with firefox, the download box appears. I'm using Ubuntu 7.10 by the way. I tried using Text Editor, Screem, Quanta and Bluefish. It's really frustrating. I double checked whether php is installed and in fact i have php5. The problem is not the code, php is very similar to C based languages and I know my fare share of them especially C++. So how do I go about this ? Any special procedures ? Or any tutorials that I can use to get started on coding php on ubuntu. Any help is appreciated.

 

Thank you in advanced.

 

Rodin69

Link to comment
https://forums.phpfreaks.com/topic/78432-newbie/
Share on other sites

well of course you will never get the source code it processes pre hypertext processer.  Firefox is a hypertext processor, it will show you the final output, you need to rewite your scritps upload to your htdocs folder or whatever you have it called, and then view it as "output"

Link to comment
https://forums.phpfreaks.com/topic/78432-newbie/#findComment-396900
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.