Questions And Anwsers - Need some help

free web hosting
Open Discussion > Have your say > Support and Feedback > Questions & Queries

Questions And Anwsers - Need some help

khalilo
Hey, I posted this on astahost,


I am new to this sight so i don't know a lot of things.

Some of these questions maybe off topic since I the FAQ forum does not work for me O_o.

I put this under data base thread cuz the main question is about data base.

Before that, I was told that i gain credits by posting. How much?

Is it a fixed number per post or is it related to number of characters,words or lines. Does the content affect the number of credits awarded?

Do replies give credits?

Now that thats over I have questions about Data bases.

I am new to the data base Mysql. I have some C++ and PHP skills. But i don't know how to intigrate PHP and C++ into databases (Mysql)

Can someone tell me how? Cuz when i tried to do it I was getting messages like unknown command or error in input ( I was inputting echo and () along with

other normal commands so I dunno why i was getting that)

I also want to know if I want to make a data base and intigrate PHP into it (requires a server right?), does this sight have what I need? Cuz other sights cost

money to give such services. And if so are they 100% free?

Another question regarding database is that I want to make a game, a textbased game that is based on time not turns. Any one can give me an advice on how

to make the data base or even give me or tell me where i can download a data base and edit it as i want. The game would be war between militias (same as the

theme of mafia but different options and engines)

Can you tell me how i can get the sign up and verify thing into my game once i make it?

Also, I fail to combine my php files, I made php files that are enough to make a small game but i dunno how to combine them , in other words I have the files

but i don't know how to put the game together and get it online.

Finally, can i make profit from this sight even if i don't pay money for the webspace? like put adds and charge money for certain previlages in the game?

If so, where can i get add offers (similar to googles adsense)

Thanks for reading.

I got some helpful anwsers like:
QUOTE(FirefoxRocks @ Jun 20 2007, 01:51 AM) *
Hi there and welcome to Astahost forums!
I will try to answer your questions as accurately as possible but I am not too familiar with programming so please bear with me here.

1. Post quality is ALWAYS preferred over post quantity. An average-sized post with good content will earn more credits than a large post with little content. Don't spam, don't post junk and don't post 1-line topics. Do make sure that you have an introduction, strong supporting statements describing your topic/problem and you should usually include a closing to wrap up a topic. This will ensure you get maximum credits for your topic. Using a broad vocabulary also helps, use a thesaurus if you want tongue.gif

2. Lines, sentences, character count, word count and paragraph count doesn't matter in the forum as long as you have good content. As stated above, quality is preferred over quantity. cool.gif

3. Replies also count towards post count and credits. Good quality replies in discussing the topic result in more credits being given out. Do not make posts that say only "I agree" or "Thanks" or anything similar. Include some more with your reply. smile.gif

4. You can read about working with MySQL at W3Schools. As far as I know, PHP is the best language for manipulation of MySQL databases. I have no clue whatsoever on anything related to C++ but I am sure you can dig up some information on connecting that with MySQL on Google if it is possible. I searched Wikipedia on C++ and can't seem to find anything about MySQL in there. As far as I know, C++ is for developing software applications while PHP is used for developing web applications and dynamic sites. :?

5. Yes, Astahost provides PHP and MySQL server capabilities for free as long as you keep a sufficient amount of credits in the forum. We are very generous compared to other servers. If you find that keeping credits on the forum too difficult/time-consuming, there is Astahost's sister company, ComputingHost, which provides cheap web hosting with equal or greater server capabilities. biggrin.gif

6. I am also developing a text-based game, but mine is based on turns not time tongue.gif. It seems as though you are developing a game similar to Travian with with more textual content. You should look at similar games and search up some more information.

7. I am assuming you mean a registration and login script with a CAPTCHA when you mean sign up and verify. This is quite easy to build. If you do not want to build one form scratch (it's easy as long as you can refer to PHP commands), you can probably find one at HotScripts that suit your needs. I built my own script with MySQL authentication but without a CAPTCHA, it wasn't that hard considering my knowledge of PHP.

8. To link the pages together, you use basic XHTML linking to link the pages smile.gif Like this in your HTML code:
CODE
<a href="page.php">This is a link to a page</a>

If you are talking about including pages within each other using PHP, you do either this:
CODE
<?php include('page.php');?>

or the better, stricter way:
CODE
<?php require('page.php');?>

The difference is that if you require the page, it will stop loading the page after it finds an error if the page is not found, you made a spelling mistake, etc. If you are including the page, it will generate a PHP warning and continue loading the page even if the page doesn't exist, etc.

9. To my best knowledge, you are allowed to make profit off of your site while being hosted off of Astahost. However, it needs to be legal, secure and within the Astahost Terms and Conditions (Terms of Use). I am not too sure on this one, ask someone else just incase.

10. Google AdSense is not something that you buy to get more privileges to Google. Google AdSense is a way to make money while displaying ads on your page. It is by far the most common one by a trusted company. If you want to make money while offering special privileges to the game, you need to include something in each account (record) in your MySQL database about paid and etc. I have no clue how to implement this though.

I hope that is sufficient information to answer your questions. Good luck and have fun! biggrin.gif

FirefoxRocks


Anything more i should know?

If this is in any way against the rules please tell me before deleting me or something.

 

 

 


Reply

Saint_Michael
QUOTE(khalilo @ Jun 21 2007, 04:57 AM) *
Hey, I posted this on astahost,
I am new to this sight so i don't know a lot of things.

Some of these questions maybe off topic since I the FAQ forum does not work for me O_o.

I put this under data base thread cuz the main question is about data base.

Before that, I was told that i gain credits by posting. How much?

Is it a fixed number per post or is it related to number of characters,words or lines. Does the content affect the number of credits awarded?

Do replies give credits?

Now that thats over I have questions about Data bases.

I am new to the data base Mysql. I have some C++ and PHP skills. But i don't know how to intigrate PHP and C++ into databases (Mysql)

Can someone tell me how? Cuz when i tried to do it I was getting messages like unknown command or error in input ( I was inputting echo and () along with

other normal commands so I dunno why i was getting that)

I also want to know if I want to make a data base and intigrate PHP into it (requires a server right?), does this sight have what I need? Cuz other sights cost money to give such services. And if so are they 100% free?

Another question regarding database is that I want to make a game, a textbased game that is based on time not turns. Any one can give me an advice on how to make the data base or even give me or tell me where i can download a data base and edit it as i want. The game would be war between militias (same as the theme of mafia but different options and engines)

Can you tell me how i can get the sign up and verify thing into my game once i make it?

Also, I fail to combine my php files, I made php files that are enough to make a small game but i dunno how to combine them , in other words I have the files but i don't know how to put the game together and get it online.

Finally, can i make profit from this sight even if i don't pay money for the webspace? like put adds and charge money for certain previlages in the game?

If so, where can i get add offers (similar to googles adsense)

Thanks for reading.

I got some helpful anwsers like:
Anything more i should know?

If this is in any way against the rules please tell me before deleting me or something.



Well to start off the trap17 readme link should work and so click this linkhttp://php.net/%5d%20http://php.net/" target="_blank"> and most of your questions can be answered. All my answers are in exact order of your questions I am just going to number them.

#1 The number of credits you get is determine by how long your posts are; the longer the post is the more credits you receive and of course the shorter your post the less credits you recieve, the max amount of credits you can receive is 10.

#2 The number of credits you receive is based on the characters, refer to my first answer

#3 the replies gives credits to the person who posted the reply not to the person who made the topic

#4 For the most part all php scripts have a connection file that connects the php script to a MySQL database. Some scripts don’t require a database because some are simple enough that information doesn’t need to be stored. All the information you can find is right here at php main website [url= http://php.net/] http://php.net/. There are literally thousands of php tutorials websites which help set up php scripts so they will be able to tell you what to do get most php scripts to work with or without MySQL. Visit [url=www.pixel2life.com]Pixel2life.com and it has a large index of good tutorials.

#5 Trap17 has everything you can possibly need in order to run a successful website, if you go to the main website it lists what trap17 has to offer.

#6 There area lot of free hosting sites that offer php and mysql, but once you start using trap17 services and move on to paid hosting services you don’t want to go anywhere else.

#7 I know there are plenty of books on how to design it, but I don’t know any specific ones, try googling search: text based rpg in php (click the link and it will do it for you) and see what kind of results you can find.

#8 Either book will tell you how to set a log on script or you can make yourself one by scratch, but since this is not my strong point I am only guessing.

#9 You have to do several things the first part is that you have to integrate the scripts within each other, meaning you need to a connection link in php that will make them work together. The next part of course you need a php/MySQL hosting website in order to run them, obviously. You also need to know how to secure them problem by either chmodding the files or setting up security through your file manager to were all your scripts are loaded on.

#9 Yes you can make money off your own site, best answer would be to search and see what you can find; adsense would be the best way to go provided you have a steady stream of traffic coming into your site.

Hopefully some of these answers help you out in some sort of way.

 

 

 


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. questions and anwsers - 185.76 hr back. (1)
  2. interesting questions and anwsers - 619.00 hr back. (1)
Similar Topics

Keywords : questions anwsers

  1. Questions For Admin Or Tech Team Or Anyone Who Can Help - A few questions? (4)
  2. Trap17 Hosting Question - A few hosting questions... (9)
    Uh...hey! I was wondering about the hosting thing... I have a few questions: 1. How long does
    your trap17 registered domain last? (the free domain thing) 2. Do you have to pay a certain amount
    of points every month for your hosting account? Or do you just have to be active? 3. Does it come
    with the Fantastico that has IPB? And if it does, is there a limit on how many members you can have,
    how many posts can you have, and does it come with the newest version? Thanks. /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> edit: Oh no.....
  3. What Are Acceptable Words In My Forum Signature? - Some More Questions...regarding sigs & avatars (5)
    Hi, I was wondering about how far can i go with swearing in sigs and avatars? Because my sig i
    usually use has a swear word in it and so does my avatar, also do you allow animated gifs as avatars
    being used? Topic title...topic title...topic title... Nope, it didn't change. So I did. ...
  4. A Few Questions... - (6)
    I just want to ask some noobish questions since I am not familiar with IPB. How can tell who is an
    admin and who is a moderator? Usually I am used to looking at legends at the bottom on board
    statistics at the bottom of the page, but now I don't see one, can anyone help me /wink.gif"
    style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> And secondly, If you need to
    upgrade, does that mean once you get the 1st plan, hosting credit goes to 0.00? or does it stay at
    10.00 until it reaches 30.00? I feel terrible now haha /laugh.gif" style="vertical-...
  5. A Few Questions - (5)
    If you get a free account with Trap17 it says no ads as long as you are active at the forums, I have
    questions: - I have a tumor in the heart, it may make me all of a sudden drop out for a few weeks?
    How many credits do I need to be safe when I am hospitalized? - Are your own ads allowed if the
    purpose is not soley for profit? - I see only English, French, Italin and German (?) are allowed,
    is it possible to get an exception for Persian? French, Persian and English, the one site is in all
    three languages, the content is the same, but the English is more up to date the...
  6. Questions About Features Offered - Requiring details about SMTP, mail(), IP blocking etc before signing u (3)
    We are an all-volunteer, start-up organization, just constructing our site now. We're currently
    using another free host, and have a number of problems, including: a. our current host has blocked
    certain IP addresses and words as a result of recent spam/phishing attacks. We get no notice of the
    words/sites blocked. What happens is that if our members post on our forum any of these links or
    words (paypal is one -- so we can't have a link on our site for fundraising -- any banking or
    financial site; the word "proxy", the list goes on ...), it blows the thread. b...
  7. Just A Few Questions - (3)
    Just need to clear up a few things 1. If i have the 2nd package of hosting how many credit points
    are deducted per day and how many points do i need to maintain to keep my hosting?? 2. Does the
    host have a image program like imagemagick or GD or anything like that?? 3. is PHP safe mode set
    on or off?? a lot of forums & gallerys require it to be off..? 4. If i already have a domain name
    can this host mask the URL to display my domain name ?? Any help on these topics would be greatly
    appreciated...
  8. Hosting Quick Questions - (9)
    a few quick questions, or well, maybe not so quick since they're really lengthy. i have enough
    credits for the 2nd hosting package but i still gotta clear up just a few more things because
    i'm just a really hesitant person about everything. i think i get the idea of the credits system
    but just to make sure before i request hosting... 1. every day that i'm not active on the
    forum, will i lose a credit? 2. this kinda goes with the first question. right now i have enough
    credits for the 2nd package. lets say i get a site today here at trap. if each day i dont ...
  9. Two Questions - One about these forums and one about Fantastico (5)
    Ok, I'm going to start off by asking a question to OpaQue and the mods here at Trap 17. Before
    you read this this isn't trying to down this site or trying to tell you guys how to run this.
    I'm just wondering, however, why the Entertainment forums and sub-forums, and also the Life-Talk
    forums and sub-forums isn't included in gaining credits, unless I'm mistaken, but if
    there's no post count then that would mean you don't get credits right? I think that would
    help the site, because more posts will probably be made, because this gives users deepe...
  10. Questions About This Site - Questions about the site! (5)
    QUESTION 1 What will my URL look like after I am accepted for free hosting? QUESTION 2 If I have 30
    credits, does that mean I have 30 days to not post? So 1 credit goes away each day? QUESTION 3 Do I
    have to buy my own domain name, or does this site supply me with one, something like
    trap17.mysite.com?...
  11. Questions About Domain Name And Trap17 Hosting - (7)
    Hi, everyone, I've just got a couple things I need some clearing up, I'm not too acquainted
    with how domains and hosting configure to each other and whatnot. 1) If lets say I register a top
    level domain www.topleveldomain.com or whatever from any domain provider (godaddy, yahoo..), could I
    configure that to my trap17 free hosting account (I don't have one at the moment)? Or with
    trap17 hosting account am I limited only to subdomains? 2) How many hosting credits do you lose if
    you do not post one day? I'm just wondering for the future, to make sure befor...
  12. Trap17 Hosting Form - there's some interesting questions there (4)
    I shot a glance at the trap17 hosting account form and I saw there were some personal questions,
    questions that I, and I'm sure others, do not feel comfortable answering. Things like where one
    lives and age, and I do not see how this information benefits trap17 or in anyway correlates to free
    hosting. However, I may be wrong, I was just wondering, do I have to disclose that specific of
    information? I do not appreciate being put into uncomfortable situations like this, so I am
    wondering if perhaps a high-ranked trap17 member could answer my questions, and perhaps make...
  13. Few Noobie Questions - (3)
    i am new to trap17 and want some of my doubts cleared. Can i park domains in my site , how many
    MySQL database do you provide.can i display my own ads.which soft do you provide to manage my
    accouny cPanel or DirectAdmin or iPanel.please reply soon. ...
  14. Having Trouble Activating My Account - and other questions (0)
    Some issues and questions: I have followed all the instructions on activating my account, but it
    will simply not activate. I have changed the e-mail twice, and the password twice. QUOTE 1.
    Login to your cpanel by typing, http://yoursite.com/cpanel . 2. Enter the userID and Password.
    (check your PM at the Forums or your requested post) 3. Change the Email address in your Cpanel.
    (used to recover your password incase you lose it) 4. Change the Password in your Cpanel. I
    have done steps 1-4. I never got a PM but I just used the username and passw...
  15. Questions Regarding Hosting - credits and domain queries (6)
    I have looked thru the faqs and can't seem to find answer to my first question and also have
    another 1) it is shown obviously how much credits you require to request a website, but what are
    the ongoing credit costs (ie does the 20mb offer require 10 credits to setup then 10 credits a month
    or something similar) 2) what is required to use a domain name with an account? i've never used
    a domain before so if i register one do i just tell it to point here, or do i need to do something
    with DNS servers? does trap17 offer these DNS server things? any help would be ...
  16. Questions About Proxy And Chat Hosting With Trap17 - (4)
    Hi i just want to no a few of the rules before i make a account with Trap17.com 1. Are we allowed
    to put CGI proxies on our account? and 2. I want to run a pearl chat are they allowed?...
  17. Some More Questions - (3)
    Hi there TRAP17 again. Today I told about your Free Web Hosting System to many of my friends that
    like I'm interesting in hosting. I think they still can't believe me /smile.gif'
    border='0' style='vertical-align:middle' alt='smile.gif' /> but the also gave me a few questions:
    1) When you giving hosting are helping in realizing sites?.. In one word are helping in building a
    site? 2) Your free web system will be free forever? or it's just like introduction on "what you
    can"? 3) Are there more than 2 hmm... trafics?(10credits and 30credits - are there more...
  18. Questions That Disturbing Me - about TRAP17 hosting and etc. (7)
    I'm a new one on that forum and I allready have a few questions: 1) I can't remember but I
    saw a topic on that forum and I saw that 1 credit = 1 day... What does this mean? For me it means
    that after I will get 10(30) credits to make a Free Web Host I need to get 1 credit each day or else
    my hosting will be closed. Am I right? or not? 2) I'm from Russia so I still can have a Free
    Web Hosting? 2.1) Can I use not English language on my web? 3) Is there a cPanel on your hosting?
    4) When I'll get 10(30) credits where I can get an account to have Free Web ...
  19. Computing Host's New Plans - some questions/comments (2)
    The comments: Wow. Had I seen those plans like 2 months earlier I'd have signed up for them.
    SIGH now I am stuck with a 1 year contract... And the 30 days are up so I can't get a refund if
    I transfer out. But it's good so far so never mind. Next year maybe. The questions: What's
    the difference between Basic/Premium? Why can you only pay monthly for Premium? Are all the features
    the same? That's it I guess. Oh and.. Is there a forum for CH hosted users? It -is- okay to
    post about CH here on T17, right? /smile.gif' border='0' style='vertical-align...
  20. Hosting Questions - (6)
    When u are asking to host a account and say wat is gonna be on your website can u cahnge that or do
    u have to stick with it and make a new one?...
  21. Hosting Credits - Questions & Suggestions (19)
    So this hosting credits system, it's a little... Odd, isn't it? Yesterday I had 1 day left,
    and intended to make up for it today, but when I arrived, I had -4 days. It hasn't been four
    days, it's been one! I should only have -1 days! But oh well. On the topic of not having
    enough hosting credits, I think it would be easier to post enough to get enough credits if there
    were more, specific, topics. Like Sports, with subtopics like Football, Tennis, Baseball, current
    events like Olympics, World Cups, etc. Music, with subtopics like Rock, Pop, Classic...
  22. Two Questions - about credits and PHP (8)
    My first question, I haven't had much time lately to post, and my credits are running low. If I
    reach zero, is my account suspended for ten days or something like that? Or can I just make a post
    and my site is back online?
    My second question was, what version of PHP does Trap17 currently use. As you can
    see on my site: http://gchl.trap17.com (on the right hand side) the shoutbox doesn't work. I
    asked someone at zymic, and he couldn't fix it. Then another person said...
  23. Bandwidth? What Is It? - and other questions i have (2)
    Could someone please explain to me what bandwidth is and how it helps? and also how much credit
    do you need to keep ur site up? how often do you need to post? if your site is terminated.. can you
    post again and then does it go back up?...
  24. Newbie Questions - Upgrades and Maintaining (4)
    I have 3 major questions about this service. 1) Once I have gotten a site, how often do I have to
    post in the forums in order to maintain my site. That is to say, how many credits do I need to keep
    a Service Pack 1 site up. 2) Whatever x number of credits I need, couldn't you just get
    accumulate those credits and then not have to keep posting? Say the number is 5 credits,
    couldn't you just get 5 credits and then never post again or do credits diminish over time? When
    do credits diminish? 3) What do I have to do to get an upgrade to Service Pack 2 with 150 MB d...
  25. Splitted Files - Allowed? - questions about splitted files... (1)
    Is it allowed to have splitted files? like if i splitted a 30 mb file into 6 peaces (5mb each) is it
    allowed then? cuz then every1 would download all 6 peaces, wich would be eqal to downloading a 30
    mb file... but! if it isn't allowed u could make the splitted file a zip file wich contains
    a url to the next peace, wich would make it impossible to download everything at the same time... so
    my question is; is it allowed to have splitted files on ur website? if no: is it allowed to have
    ziped slitted files whit url? if no to that question then: ok... to bad... ...



Looking for questions, anwsers

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for questions, anwsers

*MORE FROM TRAP17.COM*
advertisement



Questions And Anwsers - Need some help



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE