9 Replies - 811 Views - Last Post: 28 February 2010 - 04:51 PM Rate Topic: -----

#1 Intermission  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 42
  • Joined: 25-April 09

Need help putting PHP programs on my website

Posted 28 February 2010 - 10:44 AM

Hey everyone,

So I am having problems getting PHP code onto my website. So I am using 000webhost.com and I am trying to get scripts to work on them.

I am trying to make a competitive gaming website and I want to use a XP system, ladder system, user profiles, team maker, match finder and such.

I have found some free source codes that I can use but I cant figure out how to get it to work on my website.

http://sourceforge.n...adderphp/files/

That for example is the ladder system. So I do not know how to get it to work on my website.

Can anyone please try to explain?

Is This A Good Question/Topic? 0
  • +

Replies To: Need help putting PHP programs on my website

#2 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3099
  • View blog
  • Posts: 10,888
  • Joined: 08-August 08

Re: Need help putting PHP programs on my website

Posted 28 February 2010 - 10:52 AM

Unzip it, upload the php file to your site's home folder and go to :
http://www.yoursite.com/filename.php
If it doesn't run then php needs to be enabled.

It would be better if you took the time to learn some php first so that you know what the code is doing and can modify it to suit your needs.
Was This Post Helpful? 1
  • +
  • -

#3 Intermission  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 42
  • Joined: 25-April 09

Re: Need help putting PHP programs on my website

Posted 28 February 2010 - 11:21 AM

Okay, so I tried that and I am not getting anything.

http://mytestsite14.webuda.com/

That is my test site and if you look that is how the PHP uploads to it lol.

I can't seem to figure it out, is it because I need to upload in a certain order? I am lost.
Was This Post Helpful? 0
  • +
  • -

#4 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3099
  • View blog
  • Posts: 10,888
  • Joined: 08-August 08

Re: Need help putting PHP programs on my website

Posted 28 February 2010 - 11:59 AM

It looks like php is working on your site, but your code is failing to connect to a mysql server:

Quote

Warning: require(Drivers/mySQL.php) [function.require]: failed to open stream: No such file or directory in /home/a6122405/public_html/admin.php on line 13


Most code that you download on the net is going to require some programming ability on your part in order to get working.
Was This Post Helpful? 1
  • +
  • -

#5 Intermission  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 42
  • Joined: 25-April 09

Re: Need help putting PHP programs on my website

Posted 28 February 2010 - 12:05 PM

So I am lost as to what I should do now?
Was This Post Helpful? 0
  • +
  • -

#6 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3099
  • View blog
  • Posts: 10,888
  • Joined: 08-August 08

Re: Need help putting PHP programs on my website

Posted 28 February 2010 - 02:51 PM

You'll either need to learn enough about php to understand your code and configure it to work, or you'll need to hire some one to do it for you.
Option 1:

http://www.dreaminco...showforum47.htm
http://www.php.net/
http://www.w3schools...php/default.asp

Option 2:
http://www.dreaminco...showforum96.htm
Was This Post Helpful? 0
  • +
  • -

#7 Intermission  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 42
  • Joined: 25-April 09

Re: Need help putting PHP programs on my website

Posted 28 February 2010 - 02:53 PM

I don't know what I am supposed to be looking for is what I am saying.
Was This Post Helpful? 0
  • +
  • -

#8 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3099
  • View blog
  • Posts: 10,888
  • Joined: 08-August 08

Re: Need help putting PHP programs on my website

Posted 28 February 2010 - 02:58 PM

If you don't know what you should be looking for, then the first thing you should be looking or is a basic understanding of the language. With good effort you should be able to pick it up in a few months, maybe weeks if you know any other languages. Then you can start thinking about what to look for in the existing code.
Was This Post Helpful? 0
  • +
  • -

#9 Intermission  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 42
  • Joined: 25-April 09

Re: Need help putting PHP programs on my website

Posted 28 February 2010 - 03:11 PM

Can you just tell me what specifically in the code I should be finding?
Was This Post Helpful? 0
  • +
  • -

#10 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3099
  • View blog
  • Posts: 10,888
  • Joined: 08-August 08

Re: Need help putting PHP programs on my website

Posted 28 February 2010 - 04:51 PM

It's not that simple. Code varies from programmer to programmer and job to job. You could look for the mysql_connect and see if you can get that to work, but until you know what you're doing it's going to be tough.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1