Connecting Tech Pros Worldwide Help | Site Map

different content based on login

  #1  
Old July 17th, 2005, 01:16 PM
finn
Guest
 
Posts: n/a
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

  #2  
Old July 17th, 2005, 01:16 PM
Alan Little
Guest
 
Posts: n/a

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/
  #3  
Old July 17th, 2005, 01:21 PM
finn
Guest
 
Posts: n/a

re: different content based on login


Yes, different PDF files available for each login.

Finn

  #4  
Old July 17th, 2005, 01:28 PM
Alan Little
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
display content based on membership question soni2926@yahoo.com answers 1 October 24th, 2008 07:05 PM
Content Based On User Logon Informaion. kcddoorman answers 3 February 7th, 2008 01:14 PM
Implement Access Rights Based on AD Group YCH answers 2 January 20th, 2008 09:35 AM
Form processing: change the "action=" based on pull down menu Sylvie Stone answers 2 July 17th, 2005 01:05 AM