different content based on login

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • finn

    different content based on login

    We're an employee benefits administration company. We'd like to post
    downloadable forms on our web site. We'd like employees from client
    company XYZ to be able to download only forms customized for XYZ
    company, but not even be able to see the forms for ABC Compnay. Can we
    obtain some ready made program for that? We do have PHP and MySQL, but
    not the ability to create this from scratch. Can anyone help?

    Regards

  • Alan Little

    #2
    Re: different content based on login

    Carved in mystic runes upon the very living rock, the last words of finn of
    comp.lang.php make plain:
    [color=blue]
    > We're an employee benefits administration company. We'd like to post
    > downloadable forms on our web site. We'd like employees from client
    > company XYZ to be able to download only forms customized for XYZ
    > company, but not even be able to see the forms for ABC Compnay. Can we
    > obtain some ready made program for that? We do have PHP and MySQL, but
    > not the ability to create this from scratch. Can anyone help?[/color]

    What kind of forms? Do you just want to output an HTML page mocked up like
    a form, that can be printed out? Do you want to, say, make different PDFs
    available by login? Either one easily doable, but more detail needed.

    --
    Alan Little
    Phorm PHP Form Processor

    Comment

    • finn

      #3
      Re: different content based on login

      Yes, different PDF files available for each login.

      Finn

      Comment

      • Alan Little

        #4
        Re: different content based on login

        Carved in mystic runes upon the very living rock, the last words of finn of
        comp.lang.php make plain:
        [color=blue]
        > Yes, different PDF files available for each login.[/color]

        <?php
        $PDFs['login1'] = 'file1.pdf';
        $PDFs['login2'] = 'file3.pdf';
        $PDFs['login3'] = 'file3.pdf';
        ?>

        <A HREF="<?=$PDFs[$login]?>">Click</A>

        --
        Alan Little
        Phorm PHP Form Processor

        Comment

        Working...