THE ZEPINT NETWORK

programmer assist

Web Development Web Development XML Feeds

Web Development Questions Web Development Solutions Web Development Articles

Web development incorporates all areas of creating a Web site for the World Wide Web. This includes Web design (graphic design, XHTML, CSS, usability and semantics), programming, server administration, content management, marketing, testing and deployment. The term can also specifially be used to refer to the "back end", that is, programming and server administration. There are usually more than one member that works on a given Web Development team, each specialising in his or her own field.

Http athuntication

DiggBlinkRedditDeliciousTechnorati

question by duty3-mtel | Easy

i working with 2 servers the
frist serever: include my database and web access to it , and it web access has http authentication becouse it is private only to admin members
the second server is the compnay public site for all customer

my problem is that, there is task in serevr2 to be finished i call page from server1 (as background action clint did no see it )
so how to go to this authorizing page and send to it user and password , becouse when i use
header ("Location : http://server1/page") it di not work , becouse it need the user name and password http authorizing data, so how to send tham to the server
thanks

Post reply Subscriptions

Re: Http athuntication

reply by Srirangan

I'm sorry I couldn't understand your question. :-(

Post reply Subscriptions

Re: Http athuntication

reply by Trevor

I think what you want is to have Server1 be private with authenticated access, and Server2 needs to be a client to Server1 to read a file. To this end, I have this answer.

If thats the case, this should work for you...


include("http://user:pass@Server1/file/that/is/protected.xml");


Enjoy

Post reply Subscriptions

Got a Web Development Question?

Just Sign Up and ask the top Web Development experts!

Search via Google

User Login

Email Address

Password

Web Development Experts

Rank Expert Points
#1 Srirangan 1050
#2 frankzzsword 500
#3 mastercomputers 100
#4 Adkron 50
This a list of the Top Web Development experts, how many points do you have?

Leading Experts

Rank Expert Points
#1 frankzzsword 4650
#2 Bejaan 2950
#3 csfreak 1100
#4 Anurag 700
#5 keyvez 700
#6 nnarasimha 600
#7 Nakata 600
#8 martinig 600
#9 mastercomputers 550
#10 Abhishek Chatterjee 250
#11 Abels 250
#12 Huntress 150
#13 Adkron 150
#14 Yogesh 100
#15 lexxwern 100
This is a list of overall best performing experts, how many points do you have?