Fork me on GitHub

Any feedback is welcomed!  Bottom

  • 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
  • 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)
  • 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.
  • Well its hard to say without seeing the script any chance to take a look in order to comment?

    Thanks
    Cheers
    Sam

This list is based on users active over the last 60 minutes.