This topic is locked

user to see and edit all other users records, but can only add but not

11/28/2008 11:13:07 AM
PHPRunner General questions
T
thesofa author

Hi

I recall in the dim and very distant past I used a reply to someone elses post where they wanted a user after login to be able to add records, but not see them or modify them once added,
I had an answer from you about this after this post here

I just bet it will not work with V5 as this post was in the days of V3.0
can you help me out with this one please?

J
Jane 12/1/2008

Hi,
security functions are the same for PHPRunner 4.2 and 5.0.

T
thesofa author 12/2/2008

and the same as V3.0?

J
Jane 12/3/2008

Hi,
SecuritySQL function in the PHPRunner3.0 and 5.0 are very similar.

Use your sample code just an example.

T
thesofa author 12/3/2008

Hi,

SecuritySQL function in the PHPRunner3.0 and 5.0 are very similar.

Use your sample code just an example.



I would do, but I htink you emailed me the solution and I cannot find how to do it and the code looks a lot different from V3 to V5, any chance of a solution please, specially as Christmas is coming?

J
Jane 12/3/2008

Hi,
here is code for for PHPRuner 5.0:

$ret=GetFullFieldName(GetTableOwnerID())."=".make_db_value(GetTableOwnerID(),$ownerid);



Just replace = with !=.