Using PHP on a mobile web server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Death Slaught
    Top Contributor
    • Aug 2007
    • 1137

    Using PHP on a mobile web server

    How would I use PHP on a mobile web server, I know nothing about the langauge, but I plan on learning it. Go here for more information on the server.

    All I want is to make a basic login page, a username, password, and login button. Also I want it to send how long that account was on back to the server. Any references would be great.

    Thanks, Death
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hi.

    The way in which you use PHP on a server is not dependent on the server hardware, but rather the HTTP software that server uses.

    The most popular HTTP servers used with PHP would be Apache and IIS. I have not tried to use it on any other HTTP servers.

    So the real question is: what HTTP server does you server use?

    Comment

    • Death Slaught
      Top Contributor
      • Aug 2007
      • 1137

      #3
      It doesn't to my knowledge (which isn't very extensive in this subject). The way it's set up is you simply place a file in the folder provided, and name it index/default.html and it displays it. Although you have to create a fold inside of their folder so the user can get to it.

      Thanks, Death

      Comment

      • Atli
        Recognized Expert Expert
        • Nov 2006
        • 5062

        #4
        The server must be using some sort of a HTTP server software. All web hosts do.

        Try to access a page you know doesn't exists. This should give you a "404 Not Found" error.
        HTTP servers often leave signatures on error pages like that.

        Like for example, on my test server. If I type something like:
        Code:
        http://localhost/thispagedontexist.html
        I get this
        Code:
        Not Found
        
        The requested URL /thispagedontexist.html was not found on this server.
        Apache/2.2.3 (Fedora) Server at 127.0.0.1 Port 80
        The last line there tells me that my HTTP server is Apache 2.2.3, running on Fedora.

        Check if your server gives you something similar.

        Also. If this mobile server has some special proprietary software, it may be possible to get some info on this from it's developer.

        Comment

        Working...