Results 1 to 6 of 6

Thread: [RESOLVED] php.

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2008
    Posts
    1,023

    Resolved [RESOLVED] php.

    instead of making php on my computer, how can i make it send the same as it shows on my computer for others, or how do i host this site so everyone else can see it?

  2. #2
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: php.

    Its not a good idea to host your own site, but if you must, then you need to Port Forward 80 to your computer.

    Shared hosting is the cheapest @ as low as $5 a month. This is typically LAMP and you can use a domain name.

    There is also free webhosting, although i am not sure if there are many sites that allow php scripts to run on their sites. With free hosting, you typically get a subdomain (like mysite.freehosting.com)
    Last edited by dclamp; Nov 14th, 2008 at 08:24 PM.
    My usual boring signature: Something

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2008
    Posts
    1,023

    Re: php.

    i see that if you type like http:/ip/c: then it says forbidden, is that a good thing or a bad thing, does this mean they have acess to all my computer?

  4. #4
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: php.

    By default, files which are not in the DocumentRoot of the web server cannot be accessed. Your network setup will determine weather or not the server can be accessed from another (external) location.


    If you connect with a modem and don't have a firewall then should disconnect the modem and not plug it in again until you have a firewall; because no only will the web server be visible, so will all the other services you have running (such as Windows file sharing). Once you have the firewall installed you will need to open port 80 to allow connections to the web server.

    If you connect via a LAN, through a switch or equivalent then you will need to configure NAT to change the IP address to that of your local machine.

    My suggestion will be not to host it from a PC. You can open up additional vulnerabilities by running extract services on your machine and exposing them to the world.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2008
    Posts
    1,023

    Re: php.

    if i run a site, will anyone be able to harm my computer or anything related to that?

  6. #6
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    Re: php.

    Quote Originally Posted by Justa Lol
    if i run a site, will anyone be able to harm my computer or anything related to that?
    If you run a public web server on your home computer then that brings some problems:

    • Yes there is a possibility of hackers getting in.
    • Your computer will need to be on 24/7 if you want the site up 24/7
    • It will cause your internet connection to degrade if there are visitors browsing your site, and if you or your family is using your connection, e.g. on YouTube, when people are browsing your site, it's going to make your site very slow, unless you have a very strong broadband connection.
    • If you get a lot of hits, then you could exceed your internet connections bandwidth limit
    • Electricity bills if running it 247


    I suggest you google for Free PHP hosting.
    Chris

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width