Connecting Tech Pros Worldwide Help | Site Map

different content based on login

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 12:16 PM
finn
Guest
 
Posts: n/a
Default 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


  #2  
Old July 17th, 2005, 12:16 PM
Alan Little
Guest
 
Posts: n/a
Default 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, 12:21 PM
finn
Guest
 
Posts: n/a
Default Re: different content based on login

Yes, different PDF files available for each login.

Finn

  #4  
Old July 17th, 2005, 12:28 PM
Alan Little
Guest
 
Posts: n/a
Default 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/
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.