Connecting Tech Pros Worldwide Help | Site Map

different content based on login

finn
Guest
 
Posts: n/a
#1: Jul 17 '05
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
Guest
 
Posts: n/a
#2: Jul 17 '05

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
http://www.phorm.com/
finn
Guest
 
Posts: n/a
#3: Jul 17 '05

re: different content based on login


Yes, different PDF files available for each login.

Finn

Alan Little
Guest
 
Posts: n/a
#4: Jul 17 '05

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
http://www.phorm.com/
Closed Thread