• I really hope I’m posting this in the right section. I’ve installed XAMMP, and it’s running fine on my machine. However, the problem comes when I try to browse from a machine on the LAN.

    The stylesheets and other information generated via:
    <?php bloginfo(‘stylesheet_url’); ?>

    and so on are being output as localhost/path/to/file, which works fine on my computer, but obviously not on any other computer on the lan.

    Is there any way I can get this to work for other computers? For example getting the PHP to output my IP address instead of “localhost”?

Viewing 2 replies - 1 through 2 (of 2 total)
  • That’s controlled by what you specified in the URI’s on the Options -> General page. So sure, if you have network with name resolution (dns/wins/etc.) just put in the computer’s name. Or if not, his IP address.

    Thread Starter tonygeer

    (@tonygeer)

    Handy, thanks a lot! That worked perfectly, I put in my IP address and now all the stylesheets and everything are working! Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with XAMMP and network’ is closed to new replies.