Dear ajaxrand,
I forgot give you my code. Sorry about that.
I try send username and pass through header but it not work. Here is my code:
[code=php]
$auth=base64_en code($user.":". $pass);
$action = 'https://www.asp.com/index.asp';
header("Authori zation: Basic $auth\r\n\r\n") ;
header("Locatio n:".$action);
[/code]
If you have another solution please...
User Profile
Collapse
-
-
Send User Name and Password to the Intranet Site??
Dear all,
I have intranet site on Linux server using PHP where only people who have account can log in.
My site has a link to another intranet side on IIS using PHP. This site using Web authentication which IIS supported.
I want to deploy Single Sign On between them. It means when I login in PHP site, and click link to ASP site, i will login success in ASP site pass through authentication pop up... -
Hi Kenobewan,
Thanks a lot, I will try with it.
Best regards,
Giang Tran Dong...Leave a comment:
-
Dear kenobewan,
So, my purpose is deploy single signon (SSO) between two web site. I want login in PHP pages in Linux Server and not login again in IIS Server. Username and password for authentication will get from LDAP database.
Thanks,
Leo...Leave a comment:
-
Problem with Web authentication in IIS server
Dear all,
I have a PHP web page using Linux server, it have a link to a ASP web page in IIS server. Both of server is using LDAP server for store user database.
The IIS server have integrated windows authentication.
I have a problem: When I login in PHP web page, and click a link to ASP page, the form authentication of IIS server will display, and I must login again.
Please show me how to pass authentication of... -
Dear acoder,
Thank you for helping me, i have fixed it.
Best regards,
Leo...Leave a comment:
-
Question about submit form in Javascript
Dear all,
I'm newbiew in Javascritp, i have a question about submit form automatically. Here is my code:
[HTML]<form id="frmTest" action="www.exa mple.com" method="post">
<input type="hidden" name="test" value="testvalu e" />
<script type="text/javascript">
document.getEle mentById("frmTe st").submit() ;... -
Question about encoding of data in LDAP server?
Dear all,
I have a some problem when connect and get data from LDAP server using PHP.
My PHP server use Linux.
Example:
I have field ObjectID in LDAP server with value is string 32 character hexa:
087DC5C2D6DD6D4 BA2405F1D0E7285 C8.
But when I connect to LDAP server and get data, the value of field ObjectID display is: }ÅÂÖÝMK¢@_R…È
I want to get... -
Transfer Session Data to another page with Curl Functions
Dear all,
I'm a newbiew in Curl functions.
I want to transfer Session data from this page to another in difference server. It means: page1 have a link to page 2. When i click to link in page 1, data is saved in Session, Session is transfered to page2, and displayed in page2.
Can I use Curl Function to do that ?, If it possible please show me a solution?
What mean of the curl_init("url" )?
Do the... -
I want to save data in session. Because page2 is coded by ASP, it received a value in Session such as: Session["key1"] = value1;
And page 1 is code by PHP, how can I do to transfer Session data such as: Session["key1"] = value1; from page1 to page2? The "header" can do that or not?
Thanks for helping me...Leave a comment:
-
What is PHP function have same features with Server.Tranfer in ASP
Dear all,
I have a problem: I want to execute some codes in page1 and return result in page2. In ASP, the Server.Transfer function is OK. But in PHP, i don't know have function could do it or not.
Please help me!!
Thanks a lot :D -
Use JS to get temp file path
I'm a newbie in JS, i have a problem, please help me solve it:
When I using PHP code to download a file from server to client. I thinks it will be saved in a temporary file in client. And I want to use JS to get the path of this temp file to display in my page. Can I do that? Please help me!!
Thank you very much!! -
Can use Javascript to get cookies for login in another web page?
Hi all,
I have a web site ex: www.myweb.com, when i login in this site, cookies is written.
This site have a link to www.owner.com. Both of site use 1 login information from LDAP.
Can I use Javascript to get cookies of site www.myweb.com to login in site www.owner.com automatically, it's mean I not must login again?
If yes, please show me how to do? ( It's very kind of you to give me demo source code ).
Thanks... -
Convert file .doc to .html in Unix/Linux OS
Dear all,
I want to convert file type .doc to .html in Linux. But I can't be get it, please show me How to coding for convert it ?
Thanks a lot.
No activity results to display
Show More
Leave a comment: