|
From: SourceForge.net <no...@so...> - 2003-02-18 02:09:02
|
Bugs item #687806, was opened at 2003-02-17 03:32 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=687806&group_id=8956 Category: None Group: None Status: Closed Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: How to add phpesp to the modules group of phpnuke Initial Comment: Hi all, I can create new module "phpesp" in phpnuke and it can show the pages. However,completed a survey with pressing the submit button, I found that data can not insert into mysql and the screen just redisplayed the form with the information I inputed. When I check the html code of the survey, I found below <form method="post" name="phpesp_response" action=""> <input type="hidden" name="userid" value=""> when I use a simple surv.php to call the phpesp survey, the code would be <form method="post" name="phpesp_response" action="/surv.php"> <input type="hidden" name="userid" value="xxx.xxx.x.xx"> <-- I just use 'xxx' to replace real ip. Do you know what mistake I made? What is the best way to port phpesp into phpnuke? kin ---------------------------------------------------------------------- >Comment By: Matthew Gregg (greggmc) Date: 2003-02-17 21:17 Message: Logged In: YES user_id=14116 Surveys can be included in blocks of php and possibly in phpNuke, like this: <?php $sid=<SID>; include('.../phpESP/public/handler-prefix.php'); ?> Replace <SID> with your survey ID. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=687806&group_id=8956 |