Advertisement

04.14.2006 at 09:39AM PDT, ID: 21814215
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.0

PHP / CAS interface question

Asked by Zeek0 in PHP Scripting Language

Tags: ,

I'm pretty new to PHP, so I'm hoping this is a relatively basic question for anyone who's familiar with common modules and such.

I've built a site that I want to link to a CAS server to authenticate users.  Everything's cool with whisking users to the CAS login page, authenticating them, and getting a service ticket appended as a $_GET variable.  However, I want to validate the ticket and receive their username as part of the server's validation response.  The reponse is in the form of a simple little PHP snippet, called validate.php.  

My problem is that the pre-written code I'm using to run the CAS authentication isn't properly receiving the validate.php data as a variable I can use.  So my question is this:

How do I receive the output validate.php file from the CAS server as an input variable in my code?  The current code uses
$req = new HTTP_Request('{CAS_SERVER}?ticket='.$ticket.'&service='.$this->_service);

where the HTTP_Request() function is from the PEAR package of the same name.  For whatever reason, $req comes back with nothing.  Again, if I type the argument passed to the function (a URL with a query appended to it), I get a correct validate.php in response . . .

Is there a better function/package I should look for to do this?  Like I said, I'm very new to using PHP, so I could well be missing something simple.Start Free Trial
[+][-]04.14.2006 at 01:12PM PDT, ID: 16456788

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2006 at 08:43AM PDT, ID: 16469891

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2006 at 10:09AM PDT, ID: 16470582

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2006 at 10:33AM PDT, ID: 16470783

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2006 at 10:41AM PDT, ID: 16470847

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2006 at 11:04AM PDT, ID: 16471049

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2006 at 12:15PM PDT, ID: 16471600

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2006 at 12:35PM PDT, ID: 16471821

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: PHP Scripting Language
Tags: cas, php
Sign Up Now!
Solution Provided By: theonlygoodisknowledge
Participating Experts: 1
Solution Grade: A
 
 
[+][-]04.17.2006 at 12:46PM PDT, ID: 16471923

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.20.2006 at 08:36AM PDT, ID: 16499352

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.20.2006 at 09:12AM PDT, ID: 16499738

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.20.2006 at 09:15AM PDT, ID: 16499757

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.20.2006 at 12:12PM PDT, ID: 16501465

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.20.2006 at 01:03PM PDT, ID: 16502029

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.04.2006 at 11:09AM PDT, ID: 16608201

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32