1. virtual pet mascot

    Virtual Pets

    Welcome to the Virtual Pet list forum!
    We're a virtual pets and sim games community and the largest forum in our industry. Game owners can use our forum to their advatange by promoting/advertising their games to our users and receive feedback/reviews from those members that try their games out. We support developers of all kinds from RPG developers, sim game developers to virtual pet site developers. We want to see more games in our industry come across more success and that's why we try our best to release as many guides/articles regarding online gaming development as we can.
    We're unlike other forums in our industry because we try our best to be there for our users no matter what and give them advice whenever they ask for it. Running an online game isn't an easy task, but with our many resources that we've built since 2011, you'll learn a lot from our online community. Please don't ever be afraid to ask a question on the forums because if you never ask, then you'll never receive an answer to your question and you can only improve by asking other users for help/advice.
    We have a lot of virtual pet sites' owners and sim game owners that are very frequent visitors on our online community. Along with artists, writers and programmers that come here looking for work and games to work for. Our members who are artists sell art in our art marketplace and programmers are allowed to sell their scripts in the programming marketplace. We also allow game owners to sell their game in our general marketplace
    In early 2011, we decided to make a comeback to the internet because in 2010, we had a minor setback and we had to re-launch without any content, but with a lot of time, patience, hardwork and effort, we've managed to rebuild the Virtual pet list community into something better than it was before. We actually registered our domain name on November 4th, 2004, but we were only a directory then and all we had was a basic comments system for users to post things on their favorite games..
    So, what are you waiting for, why don't you join today? If you have any problems figuring out our security code, then here's a hint, it has millions upon users and has been around since 1997.
    Our list of virtual pet sites and directory of sim games have a lot of different games listed, so we're pretty sure that you may find some games that suits your needs as a player of sim games or virtual pet sites.
    If you're still curious about a certain game that you'd like to play, then please check out some of our game reviews that were written by some of our great contributors and our interviews with respective virtual pet site owners, sim game owners, artists, writers and programmers that have worked in this industry.

  2. Check out our latest guide on how to grow your user base!
    Paladore - Boopets - Icepets - Corepets open beta
    Virtual Pet Directory
    Are you looking for new virtual pet sites or sim games to play?
    VPL is looking to hire 2-3 new moderators to help our flourishing community. If you're interested, then please see this thread VPL seeking moderators

Learning PHP.. yay me.

Discussion in 'Programming General' started by BigThinker, Sep 1, 2011.

  1. BigThinker

    BigThinker Supporter VPL Donator

    Reputations:
    2
    Joined:
    May 9, 2011
    Messages:
    935
    Likes Received:
    43
    Trophy Points:
    13
    I am teaching myself PHP via unlimited resources online.

    I don't need any help with coding (because somehow, I am understanding the concepts) but I do need help with ONE thing.

    How do I program my entire site on my computer? I have my domain on greengeeks but I want to code everything on my computer so I don't get jumbled up with all the crap that's on there. I have no idea what I'm looking at!

    So, firstly, how do I code PHP and view PHP/HTML on my computer and secondly, when I get to MySQL, how do I do the same with that?

    Thanks.
     
  2. nobackseat

    nobackseat Member VPL Member

    Reputations:
    0
    Joined:
    Jan 22, 2011
    Messages:
    508
    Likes Received:
    46
    Trophy Points:
    28
    Location:
    Florida
    Perhaps you should understand the concepts of a web server before going straight into PHP...?

    Just my two cents.

    NBS
     
  3. BigThinker

    BigThinker Supporter VPL Donator

    Reputations:
    2
    Joined:
    May 9, 2011
    Messages:
    935
    Likes Received:
    43
    Trophy Points:
    13
    Hmm, good idea. I'll do that first, then. Any source suggestions?
     
  4. nobackseat

    nobackseat Member VPL Member

    Reputations:
    0
    Joined:
    Jan 22, 2011
    Messages:
    508
    Likes Received:
    46
    Trophy Points:
    28
    Location:
    Florida
    Apache is the most commonly used web server, so I'll recommend that for you (though I personally use nginx).

    There are bundles out there that include the server, PHP, and MySQL. It depends what OS though. Windows? Look at XAMPP.

    NBS
     
  5. Lewis

    Lewis Corepets owner Moderator VPL Donator VPL Member Pet Game Owner

    Reputations:
    145
    Joined:
    Jan 21, 2011
    Messages:
    1,877
    Likes Received:
    194
    Trophy Points:
    63
    Gender:
    Male
    Location:
    UK
  6. BigThinker

    BigThinker Supporter VPL Donator

    Reputations:
    2
    Joined:
    May 9, 2011
    Messages:
    935
    Likes Received:
    43
    Trophy Points:
    13
    Alright, I downloaded and installed WAMP and now I need some help.

    I coded some stuff in PHP (not learning MySQL just yet). I am working on the registration page, and there's a submit button. For some reason, sometimes the submit button brings me to the output page but sometimes it doesn't. When it doesn't, I'll click on the submit button and a download window appears. Why?? Does this mean that there is something wrong with the coding or is this a weird funky weirdy-thing?
     
  7. judda

    judda Bringer of Awesome Moderator Pet Game Owner Programming Moderator

    Reputations:
    18
    Joined:
    Jan 23, 2011
    Messages:
    1,548
    Likes Received:
    422
    Trophy Points:
    83
    Are you trying to access the page through file:// or through localhost? If you are doing it through file:// your browser doesn't know how to display a .php file, so it asks you to download it.

    I idle on the PHPFreaks IRC channel daily so stop by and more direct conversations can be had.

    ~judda
     
  8. BigThinker

    BigThinker Supporter VPL Donator

    Reputations:
    2
    Joined:
    May 9, 2011
    Messages:
    935
    Likes Received:
    43
    Trophy Points:
    13
    The thing starts at localhost.
     
  9. judda

    judda Bringer of Awesome Moderator Pet Game Owner Programming Moderator

    Reputations:
    18
    Joined:
    Jan 23, 2011
    Messages:
    1,548
    Likes Received:
    422
    Trophy Points:
    83
    The first file, is it .php? If not, then what happens if you make it .php, will it force you to download the file or will it run the PHP code?

    If it forces you to download, is the server set up to run PHP files?

    ~judda
     
  10. nobackseat

    nobackseat Member VPL Member

    Reputations:
    0
    Joined:
    Jan 22, 2011
    Messages:
    508
    Likes Received:
    46
    Trophy Points:
    28
    Location:
    Florida
    @BigThinker, You have to start Apache, if you haven't already done so.

    Still, I recommend XAMPP... it seems WAMP was last updated last year. I can help you if you use XAMPP. It has an easy GUI to enable the services you need.

    Good luck.

    NBS
     
    Last edited by a moderator: Oct 16, 2013
  11. BigThinker

    BigThinker Supporter VPL Donator

    Reputations:
    2
    Joined:
    May 9, 2011
    Messages:
    935
    Likes Received:
    43
    Trophy Points:
    13
    The first file is .php and the second file is also .php

    I started over and started from scratch. I think an error in the coding is what was coding it. I keep jumping ahead of myself. Trying to learn how to do something in two days that some people take months to learn. :-|
     
  12. judda

    judda Bringer of Awesome Moderator Pet Game Owner Programming Moderator

    Reputations:
    18
    Joined:
    Jan 23, 2011
    Messages:
    1,548
    Likes Received:
    422
    Trophy Points:
    83
    Do you have error reporting enabled? If yes, then it should show you the errors that are coming.

    As I said, the PHPFreaks IRC channel is a great place for people to learn because there are people always willing to help even with what may seem to be the stupidest of questions.

    ~judda
     
  13. BigThinker

    BigThinker Supporter VPL Donator

    Reputations:
    2
    Joined:
    May 9, 2011
    Messages:
    935
    Likes Received:
    43
    Trophy Points:
    13
    alright, ill get the irc chat. :)

    i am just so basic right now that I am learning how to program information and to have it read back to me. I can't even imagine how or where to start when coding the actual site. :D
     
  14. judda

    judda Bringer of Awesome Moderator Pet Game Owner Programming Moderator

    Reputations:
    18
    Joined:
    Jan 23, 2011
    Messages:
    1,548
    Likes Received:
    422
    Trophy Points:
    83
    It all comes with time :)

    ~judda
     
  15. BigThinker

    BigThinker Supporter VPL Donator

    Reputations:
    2
    Joined:
    May 9, 2011
    Messages:
    935
    Likes Received:
    43
    Trophy Points:
    13
    @nobackseat, I just downloaded the XAMPP. I'll keep this program on the comp but I think WAMP is more user (more like N00BISH) friendly, at least for me. :-|
     
    Last edited by a moderator: Oct 16, 2013
  16. BigThinker

    BigThinker Supporter VPL Donator

    Reputations:
    2
    Joined:
    May 9, 2011
    Messages:
    935
    Likes Received:
    43
    Trophy Points:
    13
    Never mind!
     
    Last edited: Sep 6, 2011
  17. BigThinker

    BigThinker Supporter VPL Donator

    Reputations:
    2
    Joined:
    May 9, 2011
    Messages:
    935
    Likes Received:
    43
    Trophy Points:
    13
    I'm learning stuff! Slowly, but surely.

    Right now I'm working on signing up and entering stuff into the database.

    After finishing the sign up page, what should I work on next? I obviously cant work on any games just yet!
     
  18. Peanut

    Peanut Member VPL Member

    Reputations:
    44
    Joined:
    Apr 16, 2011
    Messages:
    1,628
    Likes Received:
    216
    Trophy Points:
    73
    Gender:
    Female
    You should work on the login after a sign up page. :) Let me know if you have any questions. We can exchange messengers if you want.
     
  19. BigThinker

    BigThinker Supporter VPL Donator

    Reputations:
    2
    Joined:
    May 9, 2011
    Messages:
    935
    Likes Received:
    43
    Trophy Points:
    13
    Will do. This whole thing is over whelming. I tend to jump ahead of myself every five minutes (oh! I learned this, now I can do that.. NOT!!) so I keep having to pull myself back, but I will definitely contact you if I need help. Thank you!!
     
  20. GGitzOle

    GGitzOle Guest

    Reputations:
    0
    Well at least you're still sticking at it, which is a good sign :p A lot of people tend to just think programming will be magically simple to do after a few tutorials :p
     

Share This Page