|
From: SourceForge.net <no...@so...> - 2003-02-17 08:24:35
|
Bugs item #687806, was opened at 2003-02-17 00:32 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=687806&group_id=8956 Category: None Group: None Status: Open 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=687806&group_id=8956 |
|
From: SourceForge.net <no...@so...> - 2003-02-18 02:06:25
|
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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=687806&group_id=8956 |
|
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 |
|
From: SourceForge.net <no...@so...> - 2003-02-18 20:48:46
|
Bugs item #687806, was opened at 2003-02-17 08: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: rebecca swartz (bekasu) Date: 2003-02-18 20:56 Message: Logged In: YES user_id=634106 Kin: I'll be folding phpesp into phpnuke. However, I'm waiting on some code changes I submitted to be incorporated into phpesp (some new question types as well as changes to make phpesp HTML compliant). Let me know how to contact you and I'll send my phpnuke/esp changes to you when I get to that point. FYI: I usually try not to hardcode phpnuke, rather I set up a new table that has the info in it I need to feed to addons & modules, so my solution may look different than you expect. Makes the upgrades for phpnuke easier if customization is minimized. Bekasu ---------------------------------------------------------------------- Comment By: Matthew Gregg (greggmc) Date: 2003-02-18 02: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 |