[FX.php List] Password Access

Andy Gaunt andy at fmpug.com
Mon Oct 24 17:38:29 MDT 2005

Peter –


Most of the time we (and I think I speak for the majority here) will create
a login script that looks to a user table to log people in and out of the
site with different privileges.


The SetDBPassword is used in the FileMaker queries and so must always be
present. You know you can make this step a little easier by including the
username and password in the server data file and then just passing the
variables to your page too.


The one downside of FileMaker User Accounts and PHP is that we cannot get
the privilege set assigned to that account through the FX query (Chris,
something for you to jump on right now!)


So, maybe you want to think about creating a login that checks the user
table for their username and password and then you can set the rights for
each page from there.


And you are welcome for the previous help.


Andy Gaunt

T: 407.810.4722

andy at fmpug.com



Recipient of FileMaker’s 2005 “Mad Dog” Public Relations Award


October 27th 2005, 6pm Orlando FMPug – What’s Hot for FileMaker Developers,
a presentation of FileMaker 8 Advanced features.

For other chapter locations, dates & times please visit the website at

If you can make it to a meeting, please RSVP at



From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Peter Bates
Sent: Monday, October 24, 2005 6:02 PM
To: FX.php Discussion List
Subject: [FX.php List] Password Access


Once again a big thanks to Andy, Chris and others that have been kind enough
to help me out with coding. Hopefully I'll stop with these dumb questions
soon and will be able to contribute something back to the list.


Considering that I have to provide the username and password in the "
->SetDBPassword('password','username'); " what do I do when I want either
the access to be completely restricted (can't access the database without
entering a username and password), or partially restricted (full access
until you try accessing an edit page)?


Thanks in advance,


Peter Bates

Microcomputer Network Specialist

Automated Services

St. Joseph County Public Library

304 S. Main St.

South Bend, IN  46601

voice: (574) 282-4610

fax: (574) 282-4662

e-mail: HYPERLINK "mailto:p.bates at sjcpl.org"p.bates at sjcpl.org

www:  HYPERLINK "http://www.libraryforlife.org"http:/www.libraryforlife.org

library catalog:



No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.4/146 - Release Date: 10/21/2005

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.4/146 - Release Date: 10/21/2005
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20051024/12024bf9/attachment.html

More information about the FX.php_List mailing list