Jump to content


Photo

Using PHP at hosted domains


  • Please log in to reply
3 replies to this topic

#1 developer123

developer123
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 29 August 2006 - 01:34 AM

I have a hosting account with a large company.  I have used Content Management Systems and other pre-installed scripts on the account, but have no idea how to start developing my own php programs.  The control panel (CPanel) for the account has a link, PHP Info, which displays pages of information regarding php on the server - for example, configuration command, the location of a configuration file, and so on.

I see that I cannot simply create a php file, upload it and have it run.  How do I start? 

Thank you

#2 Corona4456

Corona4456
  • Members
  • PipPipPip
  • Advanced Member
  • 244 posts
  • LocationEl Paso, TX

Posted 29 August 2006 - 01:39 AM

Well the way to find out if your php is working on your site... all you have to do is upload a php script and try it out


Try this simple script:

<?php echo "Hello world!"; ?>

That should give you a page with "Hello world!" on it.
What is the CoronaMatrix?

#3 developer123

developer123
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 29 August 2006 - 01:43 AM

OK - it is that simple. 

The first example I tried was to display the php variables, and that option must be off for security reasons or something.  Aha!

Thank you. :)

#4 Corona4456

Corona4456
  • Members
  • PipPipPip
  • Advanced Member
  • 244 posts
  • LocationEl Paso, TX

Posted 29 August 2006 - 09:04 PM

No problem... glad to help :).
What is the CoronaMatrix?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users