Jump to content


Photo

how to view my php page in intranet


  • Please log in to reply
7 replies to this topic

#1 jana

jana
  • Members
  • PipPipPip
  • Advanced Member
  • 35 posts
  • LocationIndia

Posted 01 October 2006 - 05:56 AM

i am new to php and mysql. i have installed WAMP and i hav designed a page in php and i want view that page in other system over intranet.

can any one tell me how to configure that?

Jana

#2 extrovertive

extrovertive
  • Members
  • PipPipPip
  • Advanced Member
  • 235 posts

Posted 01 October 2006 - 09:41 AM

http://localhost

#3 jana

jana
  • Members
  • PipPipPip
  • Advanced Member
  • 35 posts
  • LocationIndia

Posted 02 October 2006 - 03:26 AM

No, i hav designed in system(10.0.0.1) and i want to view that in (10.0.0.2). how to view that?

i hav tried by http://localhost/tst.php in (10.0.0.2)

the reply by the borwser was.

permission denied
Jana

#4 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 02 October 2006 - 09:25 AM

If you want to use 10.0.0.2 as localhost I believe you need to configure the host file in order to use that ip address as localhost. 127.0.0.1 is the defualt ip address for accessing the intranet on the PC. localhost is the alias of 127.0.0.1

#5 neylitalo

neylitalo
  • Staff Alumni
  • Advanced Member
  • 1,854 posts
  • LocationMichigan, USA

Posted 03 October 2006 - 05:58 PM

localhost always points to your current machine - I don't believe there's much you can do about that.

But to access the website on 10.0.0.1 from 10.0.0.2, you would do:

http://10.0.0.1/tst.php
http://nealylitalo.net - My personal website, and home of The Netizen's Journal.

#6 hackerkts

hackerkts
  • Members
  • PipPipPip
  • Advanced Member
  • 593 posts
  • LocationSingapore
  • Age:18

Posted 04 October 2006 - 09:41 AM

Oh on guys... I think he trying to mean how other people view his site..
It would be http://YourGlobalIP:PORT/

You can find your Global IP at http://whatismyip.com
next, your port default is 80. Make sure it isn't block by anything..

Regards,
hackerkts

To be a coder, you must learn how to think and not to give up so easily.


#7 neylitalo

neylitalo
  • Staff Alumni
  • Advanced Member
  • 1,854 posts
  • LocationMichigan, USA

Posted 05 October 2006 - 02:35 AM

Oh on guys... I think he trying to mean how other people view his site..
It would be http://YourGlobalIP:PORT/


Erm... nope.

i want view that page in other system over intranet.


"Intranet" means "local network", while "internet" means the world-wide network we know and love. And then it was specified that the user wanted to use IP addresses of 10.x.x.x, which are reserved for internal use only.

No, i hav designed in system(10.0.0.1) and i want to view that in (10.0.0.2). how to view that?

i hav tried by http://localhost/tst.php in (10.0.0.2)


http://nealylitalo.net - My personal website, and home of The Netizen's Journal.

#8 hackerkts

hackerkts
  • Members
  • PipPipPip
  • Advanced Member
  • 593 posts
  • LocationSingapore
  • Age:18

Posted 05 October 2006 - 03:18 AM

Hmm... Alright and thanks for enlighten me. :)

Regards,
hackerkts

To be a coder, you must learn how to think and not to give up so easily.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users