Hi,
I am a crossroad as to what to do. Here is my situation. I have a Perl/cgi script that I would like to use in conjunction with postnuke. To the best of my knowledge I can intergrate this script but using DBD/DBI module. I have done some research and still don't understand the programming level as to what exactly I need to add as far as code. All I want to be able to do is have this Perl/cgi script be able to use the same username and password as in postnuke. So the user does not have to sign up twice if they want to use the Perl.cgi script. My site is a non-profit site and it would be really great to use this script.
Does anyone here know DBD/DBi?
And how hard is it to convert a Perl/cgi script to work with postnuke?
Thanks
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Any feedback is welcomed!
-
**unknown user**
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 44
Paris
Hi,
I am a crossroad as to what to do. Here is my situation. I have a Perl/cgi script that I would like to use in conjunction with postnuke. To the best of my knowledge I can intergrate this script but using DBD/DBI module.
Hey Paris, at some levels this is correct for instance DBD (perl database abstraction layer) /MySQL-DBI (perl driver to mysql back end). Will allow your script to interact directly with the database and with some creative coding you may even validate sessions sure but it will take some coding ;)
Paris
I have done some research and still don't understand the programming level as to what exactly I need to add as far as code. All I want to be able to do is have this Perl/cgi script be able to use the same username and password as in postnuke. So the user does not have to sign up twice if they want to use the Perl.cgi script. My site is a non-profit site and it would be really great to use this script.
Does anyone here know DBD/DBi?
And how hard is it to convert a Perl/cgi script to work with postnuke?
Thanks
As stated before technically speaking yes it is possible you can emulate the sessions in perl and even use the users and sessions tables of PN but it will require more work than in may be worth, because in essence is normally easier to port the perl script to PHP than to make it work with it.
But if you most yes you can access the needed tables, and even decode and process the sessions and cookie on perl.
Not for the faint of heart though ;)
Cheers
Sam 8) -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 25
Hi Neo,
Thanks for taking the time to reply.
Quote
because in essence is normally easier to port the perl script to PHP than to make it work with it.
I would really like to know how to do this. I know it may seem like a ridiculous question but where is a good place to start?
I would really like to port this perl script.
Thanks again.
- Moderated by:
- Support
