Whats The Server?

free web hosting
Open Discussion > General > Hosted Members Area

Whats The Server?

nol
hey guys, im working with a script, heres the part im trying to figure out:

QUOTE
$gc_do_caching = 0;
$gc_cache_time = 3600;
$gc_use_sql = 0;
$gc_sql_server_host = "";


theres a lot more, but its not needed, i wanna know what the sql server host for trap17 is?

Reply

shadowx
QUOTE(nol @ Feb 12 2008, 09:53 PM) *
hey guys, im working with a script, heres the part im trying to figure out:
theres a lot more, but its not needed, i wanna know what the sql server host for trap17 is?


I think in general "localhost" is all that is needed, that of course is assuming that the script is hosted at T17, and if it isnt then i dont think the connection would be allowed by the rules or the firewall anyway. So give "localhost" a shot. Its the default setting for using the host that the script is on so it always works for me! then again i only use it in:

CODE
mysql_connect("localhost", "blah", "blah");


but i judge that the variable you are using is going to be used in a connect function anyway and so it should work.

 

 

 


Reply

nol
ok ya, its hosted at trap17, i thought it would be localhost, but i didnt get the chance to try it nor wanted to mess with it too much smile.gif

Reply

Tourist
In trap17, Server: localhost.

But make sure you have grant permission to user name to use your database. In trap17 you must grant permission to user so that the specific user can use your database (incase of many host they do not need to grant permission; like my previous host).

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. whats is a server - 822.23 hr back. (1)
  2. whats my server? - 823.11 hr back. (1)
  3. whats a server - 870.49 hr back. (1)
  4. whats a server? - 891.39 hr back. (1)
  5. whats the use of having a server? - 927.91 hr back. (1)
  6. whats next after installing apache - 937.54 hr back. (1)
Similar Topics

Keywords : whats, server,

  1. I Cant Access The Server!
    (1)
  2. I Am Looking Into Going With A Paid Hosting Service And Trap17 Has Been Good To Me So Whats The Paid Hosting's Website?
    (7)
    I am looking at different solutions for paid hosting and I know that that trap17 has some connection
    with a paid hosting company and I would like more info about it because I like the way this place is
    run and it has been a good place to have my website. So what is the site for the paid hosting?....
  3. Site Down After Server Transfer
    (3)
    Hello, I am wandering why my site is down after server transfer. I cannot access control panel
    also. Few days ago I was able to ping the site however now I cannot do that either. My domain name
    is: zedsi.com however my main traffic is comming from my blog: blog.zedsi.com Any suggestions why
    it is still down would be appreciated. On the other hand I have checked on
    www.xisto.com/network-status and gamma is online. Thanks in advance. Best Regards, Hitmanblood....
  4. Gamma Servers' Problem
    This topic is for all who have their account on Gamma Server & ha (1)
    Okay I see a lot of chaos all around and my site zoebelkin.co.cc is still down. Everything including
    FTP, CPanel etc are down. My site is on the gamma server. I see that all the servers are moved
    around a lot and the IP blocks also changing. So what is the new IP set for 'gamma'. When
    doing a reverse check on gamma I see it is still assigned to it's previous IP but when I'm
    trying to access the previous IP's port 80 then I get a Server not found error. Also the
    gamma.xisto.com name for the server fails to open the default Apache page which it used to ....
  5. Server Issues? Web Site Down? Cpanel Access?
    Server Migration issues to report. (48)
    I tried downloading my email from website this morning and Thunderbird said it couldn't access
    it the server. Then I tried loading my website - to no avail. Does anyone have any idea what's
    going on? Is anyone else experiencing this? Seems like this is the second time this spring this has
    happened. Is an upgrade going on, or something? Thanks in advance for your help! ....
  6. Name Server Question
    Why is the nameserver changed ? (3)
    CODE NetRange:   64.69.32.0 - 64.69.47.255 CIDR:       64.69.32.0/20
    NetName:    COREEXPRESS-BLK-1 NetHandle:  NET-64-69-32-0-1 Parent:     NET-64-0-0-0-0
    NetType:    Direct Allocation NameServer: NS1.CALPOP.COM NameServer: NS2.CALPOP.COM
    Comment:    ADDRESSES WITHIN THIS BLOCK ARE NON-PORTABLE RegDate:    2000-04-11
    Updated:    2004-08-06 RNOCHandle: ZC46-ARIN RNOCName:   ipadmin
    RNOCPhone:  +1-213-627-1937 RNOCEmail:  ipadmin@coreexpress.net RTechHandle: ZC46-ARIN
    RTechName:   ipadmin RTechP....
  7. Wordpress Backup For A Server Move
    backing up a Wordpress site (2)
    i have question: how can we backup wordpress from fantastico...is it possible to backup and move
    it to new host if you want?....
  8. Server Status Link Doesn't Work
    (1)
    Hey, I tried going to the xisto menu on the top right of the forums and the server/network status
    link doesnt work, it leads to: http://www.xisto.com/helpdesk/index.php?cmd=status I get, The
    requested URL /helpdesk/index.php was not found on this server. Is this a out-dated link?....
  9. Help: Internet Server Error
    (20)
    Hello! I decided to try YaBB as a forum now, just testing....and ... Well first my question is,
    this is in ADDONSCRIPTS, not FANTASTICO, whats the difference? Secondly, about my problem: I was
    in the YaBB admin panel, I got through the Forum Settings, got to Advanced settings, filled out the
    info, and pressed save. The 5000 times I have tried this, I get this: QUOTE Internal Server
    Error The server encountered an internal error or misconfiguration and was unable to complete your
    request. Please contact the server administrator, webmaster@sherwoodinfo.trap1....
  10. Is The Server Ok?
    FTP and loading problems. (1)
    At the time of writing this (01:12 GMT) I seem to have problems FTPing to my site (Time out
    problems), and, to a lesser extent, page loading problems. I just wanted tocheck whether the servers
    are OK or whether the problem is on my end. Please let me know if you can. ....
  11. Help With A .rar File In Ftp Server
    Cannot unrar the file. (4)
    I uploaded a .rar file into my FTP but I cant unrar it. I have uploaded it before in zip format but
    I think it got curropted so I reuploaded again. is theren a way to unrar this file? I am concerned
    about this because it took me quite some to manage to upload it using a very slow internet
    connection. I need help here please,.....
  12. Does Trap Use An Apache Server [resolved]
    (3)
    Well I just installed a mod, and it said you must have an Apache Server or something. SO does trap
    use an Apache Server and if not is there anyway we can since it says its free....
  13. Trap17 Ftp Settings
    There is a mistake in the trap17 FTP server address (3)
    After you are approved for free host account you must activate by going to a link sent in an email.
    On the confirmation page that appears after the activation script is finished you will see all sorts
    of data including your web URL and how to access control panel etc. .. At the bottom of the page for
    those who would rather configure an FTP program like Dreamweaver or CuteFTP you will see the FTP
    server address listed as: ftp.projectorange.trap17.com.com This is wrong and should read:
    ftp.projectorange.trap17.com Do not use passive ftp Host directory is optional (set....
  14. What's Happening With Trap17 Servers? [resolved]
    My page is down and cpanel is different (1)
    What's happening with trap17 hosting servers since around 10 hours ago? My page is down, I have
    no files hosted, no databases, not even index.htm or index.php, and cpanel looks to have been
    upgraded. Are you doing any upgrade to the server gamma? Any information would be usefull!
    Thanks....
  15. What's Up With The Gamma Server?
    (3)
    It is all down, can anyone explain what is going on? This doesn't look like it is a routine
    server maintenance, it has been going on for 6 hours since I last check and still no improvements
    /sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />....
  16. Mysql Server Problems [resolved]
    (3)
    hello, well since i installed php-nuke on my site's dir i have seen quite a lot of mysql SERVER
    ERRORS, like that the server is going down so now and often is it due to my cms or is the server
    having some probs ? this is what i just saw from the statistics: QUOTE Service Status
    named up spamd up imap up cpsrvd up pop up eximstats failed syslogd up clamd failed mysql
    (5.0.27-standard) failed httpd (1.3.37 (Unix)) up exim () failed exim-26 up ftpd failed Server
    Load 16.50 (1 cpu) quote tags added. please use quote tags as needed. review trap17....
  17. What's Up With Trap17?
    (6)
    I have been experiencing a lot of downtime recently, it may be short bursts of them, not lasting
    more than 2 hours. BUT I have been getting it almost everyday, and it is getting frustrating when I
    am making a new post in my blog and I can't post because the SQL component is down, and a
    download dialog pops up asking me to download the page which I am which in this case is
    'post.php' I understand that Trap17 is a free service and all but can the admin team do
    something about it, it is very frustrating as a user as well, I have had quite a number of feedback
    fr....
  18. Server Availability
    (11)
    Recently i experienced that my pages was not reachable several times. i have enaugh hosting credits
    and iam the onliest to view the page (still building it). has trap17 any hosting issues that could
    cause this or is this usual? iam new here so dont wonder thanks Caos~....
  19. Trap17 Server Infrastructure.
    (5)
    Trap17's servers are very reliable, and give me what i need at the moment but some of the
    infrastructure is outdated and i am reading about some of the "new and marvellous" things you can do
    with newer infrastructure. Apache version 1.3.37 (Unix) The Latest Version is v2.2.3
    QUOTE The Apache HTTP Server Project is proud to announce the release of version 2.2.3 of the
    Apache HTTP Server ("Apache"). In addition to a number of bug fixes to release 2.2.3, this release
    includes an 'important' security fix for mod_rewrite. This version of Apache is a ....
  20. Smtp Server Is Not Working...?
    I think there is a prob. with my SMTP server (4)
    I am posting this because I believe there is a problem with my SMTP server (at Trap17.com). I have
    been trying to send mail with PHP using the mail() function. Although PHP did not return any errors,
    none of the mail was actually sent... I have enclosed a copy of 2 different codes I have tried to
    use. Either I'm making a mistake with these codes or there js a problem with my SMTP server. If
    there is a mistake with my code, please tell me what is wrong. Otherwise, maybean admin can look at
    my SMTP server configuraton to make sure it works. CODE 1 CODE $email....
  21. Genuine Help With Smtp And Php Mail() Function
    I need help using the PHP mail() function and the SMTP server on Trap1 (3)
    Hello, I have looked up the solution to this problem numerous times on this forum but cannot seem to
    get a straight answer. I have also read that something called SMTP Authetication is required. I have
    looked up numerous ways this should be done, but I believe it required special protocols. This is
    the code that I tried to use to send e-mail using the SMTP server here at Trap17. CODE
    $email_to = "whoever@whoever.com"; //SEND MAIL TO HERE $subject = "Testing the
    SMTP server"; $message = "This is a test of the SMTP server on T....
  22. Mac Mail And Server Settings
    (2)
    I have Mac Mail checking and downloading email, but I can't get it to find the outgoing mail
    server. I've tried mail.blendergalactica.com, mail.www.blendergalactica.com,
    smtp.blendergalactica.com etc, but I get this error back: The SMTP server
    “mail.blendergalactica.com” is not responding. Check your network connection and that you entered
    the correct information in the “Outgoing Mail Server” field. If it still doesn’t respond, the server
    might be temporarily unavailable. If you continue, you may not be able to send any mail. ....
  23. The Filesystem Mounted At / On This Server Is Running Out Of Disk Space.
    (22)
    I was just checking my forums again as I wanted to install some new mods and suddenly I found that
    it was hacked by SpyHackerz group... You can view it here :- http://www.snrulez.trap17.com/forum/
    The first thing that came into my mind was to change my cPanel password but I can't even log in
    to my cPanel as I am getting the following error everytime I try to do so. Please Admins or anyone
    having any knowledge on how to solve this out please help me! QUOTE Sorry for the
    inconvenience! The filesystem mounted at / on this server is running out of disk s....
  24. So...what's The Perl Deal?
    Where do I learn it, how can I use it on my hosting account? (0)
    I've been reading about PERL on some HTML teaching website, which also teached some stuff with
    PERL, unfortunately, I don't get how to use it. So, what I want to know/just want: A simple
    guide to PERL How can I use it on my acc. Uh, that's all, thank for all by now.....
  25. Sites Disapeard, Mysql Errors? Also Server Folders Deleted
    (18)
    Hello its 15:40 and I login see if everything runs oke, and I see numerus things deleted my mysql is
    working again. Whats going on? My Webpage couple websites got deleted, and server folder files now
    whats going on? /sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> my
    forum also give errors but mysql db stil there /sad.gif" style="vertical-align:middle" emoid=":("
    border="0" alt="sad.gif" />.......
  26. Is A Smtp Server Setup On Trap17 Servers?
    I need it for my website's DRUPAL registration. (9)
    Hey guys! I can't ask in shoutbox so I've got to use the slow way. : / As you've
    probably read, I need it for my website's registration, I've learned this by asking in the
    Drupal(a CMS) Support, this good man said that I should have an SMTP server setup for it to work,
    unfortunately, I don't know if Trap17 haves it and I don't know how to access it. If there
    is none, could you recommend a free solution? If there is one, could you be so kind of teaching me
    how to use/access it? Thanks by now. P.S: Go Trap17 crew!....
  27. Visual Web Developer & Sql Server
    (3)
    I am using Visual Web Developer Express 2005 to build my site. I need to know if this will work.
    The site is based on ASP.Net 2.0 and when I upload it to my server it will not display. What
    settings, if any, do I need to set to get this thing working. Any and all help will be greatly
    appreciated.....
  28. More Than One Registered Domain Per Server
    Is this possible (3)
    I am tryign to figure out if it is possible, using redirects to have more than one registered domain
    per site. For instance, I register 1.com and 2.com Than on my site I redirect 1.com to goto
    www.dbdb.trap17.com/1/ and redirect 2.com to www.dbdb.trap17.com/2/ Hence 2 sites on one server.
    Is this possible? Any do you think it is a good idea?....
  29. Neomail, Horde, Squirrelmail
    What's the deal?? Having trouble here... (4)
    I'm using an email address under my domain and had been using Neomail to check it for most of
    the time that I've been hosted (less than 2 months now). Not long ago I tried Horde and
    switched to it because it looked nicer. At first, my emails weren't visible in Horde, but later
    they appeared and I couldn't see them in Neomail anymore (I don't know how this happened or
    what I did.) But since using it, Horde was giving me trouble so I decided to switch back to Neomail.
    So I logged into Neomail, but my messages haven't gone back to it. Next, I al....
  30. Path On Server !
    need to config ! (3)
    /huh.gif" style="vertical-align:middle" emoid=":huh:" border="0" alt="huh.gif" /> I have few files
    need path on server as "f:/localhost/www/mydirectories" I don't find anything about them in
    cpanel ! Can Admin help me ? /ohmy.gif" style="vertical-align:middle" emoid=":o"
    border="0" alt="ohmy.gif" />....

    1. Looking for whats, server,

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for whats, server,

*MORE FROM TRAP17.COM*
Similar
I Cant Access The Server!
I Am Looking Into Going With A Paid Hosting Service And Trap17 Has Been Good To Me So Whats The Paid Hosting's Website?
Site Down After Server Transfer
Gamma Servers' Problem - This topic is for all who have their account on Gamma Server & ha
Server Issues? Web Site Down? Cpanel Access? - Server Migration issues to report.
Name Server Question - Why is the nameserver changed ?
Wordpress Backup For A Server Move - backing up a Wordpress site
Server Status Link Doesn't Work
Help: Internet Server Error
Is The Server Ok? - FTP and loading problems.
Help With A .rar File In Ftp Server - Cannot unrar the file.
Does Trap Use An Apache Server [resolved]
Trap17 Ftp Settings - There is a mistake in the trap17 FTP server address
What's Happening With Trap17 Servers? [resolved] - My page is down and cpanel is different
What's Up With The Gamma Server?
Mysql Server Problems [resolved]
What's Up With Trap17?
Server Availability
Trap17 Server Infrastructure.
Smtp Server Is Not Working...? - I think there is a prob. with my SMTP server
Genuine Help With Smtp And Php Mail() Function - I need help using the PHP mail() function and the SMTP server on Trap1
Mac Mail And Server Settings
The Filesystem Mounted At / On This Server Is Running Out Of Disk Space.
So...what's The Perl Deal? - Where do I learn it, how can I use it on my hosting account?
Sites Disapeard, Mysql Errors? Also Server Folders Deleted
Is A Smtp Server Setup On Trap17 Servers? - I need it for my website's DRUPAL registration.
Visual Web Developer & Sql Server
More Than One Registered Domain Per Server - Is this possible
Neomail, Horde, Squirrelmail - What's the deal?? Having trouble here...
Path On Server ! - need to config !
advertisement



Whats The Server?



 

 

 

 

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