disturbedone
Vendor
Hi,relative PHP newbie here, be nice
Scenario: Apache web server (IP PBX) eg 192.168.1.1 hosting page that allows user to log in to and control their phone. User page allows a panel to display an HTML/PHP page, which is hosted on another Apache server on eg 192.168.1.50, that I've written that searches and LDAP directory which works perfectly. When search displays results one field if their phone number. A URL is available to create a call eg (where num2 is the value obtained from the db).
Issue: Somehow I need to populate the num1 parameter in the URL. When a user logs on to the page they enter their xtn and pword which is stored as a cookie.
Question: Is it possible, somehow, to get my page to query the cookie that was supplied by the other web server? Querying the cookie should supply the value of the xtn they are logged in with and I can then put that in my URL. The issue I'm not sure of is that the cookie is supplied by one server and I want to query it from another.
Clear as mud? Any suggestions welcome.
Thx
Scenario: Apache web server (IP PBX) eg 192.168.1.1 hosting page that allows user to log in to and control their phone. User page allows a panel to display an HTML/PHP page, which is hosted on another Apache server on eg 192.168.1.50, that I've written that searches and LDAP directory which works perfectly. When search displays results one field if their phone number. A URL is available to create a call eg (where num2 is the value obtained from the db).
Issue: Somehow I need to populate the num1 parameter in the URL. When a user logs on to the page they enter their xtn and pword which is stored as a cookie.
Question: Is it possible, somehow, to get my page to query the cookie that was supplied by the other web server? Querying the cookie should supply the value of the xtn they are logged in with and I can then put that in my URL. The issue I'm not sure of is that the cookie is supplied by one server and I want to query it from another.
Clear as mud? Any suggestions welcome.
Thx