From: <ce...@le...> - 2002-03-29 12:51:03
|
Hi! I need a help for deploying private survey, As i can't see anything in README, neither in the phpesp-general mailing=20 list, i send you this question. (please note that i use phpESP-1.4beta1) (note too, that i'm using the french version - that we are finishing to=20 traduce; we will send it to you very soon [this afternoon]- So don't be=20 afraid when you will see Error messages in french) 1/ To put a link to the survey, i've try create a survey.php with this li= ne: <?php $sid=3D18;=20 include("/var/www/html/appll/phpESP-1.4beta1/public/handler.php");?> but it does not work with PRIVATE survey (only with a public one). here is the error: --- Warning: Cannot add header information - headers already sent by (output=20 started at /var/www/html/appll/phpESP-1.4beta1/survey.php:1) in=20 /var/www/html/appll/phpESP-1.4beta1/admin/include/lib/espauth.inc on line= 68 Warning: Cannot add header information - headers already sent by (output=20 started at /var/www/html/appll/phpESP-1.4beta1/survey.php:1) in=20 /var/www/html/appll/phpESP-1.4beta1/admin/include/lib/espauth.inc on line= 69 [ ID utilisateur ou mot de passe incorrect. Votre compte est=20 d=E9sactiv=E9/expir=E9. ] --- (this error message tell me than User ID expired / the account expired ) So i decide to try another method: 2/ rather than a link, i make a submit button, <form action=3D"http://myhost.mydomain.com/phpesp/public/handler.php"=20 method=3D"post"><input type=3Dhidden name=3D"sid" value=3D"13"><input=20 type=3Dsubmit value=3D"nameofsurvey"></form> It works well with a public survey, but not with a private one. A authentification pop-up appears, but never succeed ; (it always ask to me authentificate me) 3/ I've finally decided to make a button opening a new window with this=20 code: <form target=3D"_new"=20 action=3D"http://myhost.mydomain.com/phpesp/public/handler.php"=20 method=3D"post"><input type=3Dhidden name=3D"sid" value=3D"13"><input=20 type=3Dsubmit value=3D"nameofsurvey"></form> AND THIS WORK! So i'm asking you this question, What is the method to deploy private survey ? Thanks. |