PHP Web Login (encode)

hgit

New Member
Hi,

I'm new to this site and also not very familiar with progress.

I want to make a login page for a website that communicates with a progress database. This website preferably will be developed in PHP, otherwise .Net

Currently I have a working progress database that serves another application and the user table is populated with a user login and encrypted password. I have been told the password has been developed using Progress' ENCODE function.

Could the Encode function be used in a PHP script to validate a users login credentials?
 

RealHeavyDude

Well-Known Member
Nope. The ENCODE function in the ABL ( formly the 4GL ) is proprietary and Progress did / does not reveal the logic. Plus, there is no DECODE pendant - it is one way and will always generate a string of 16 bytes.

Heavy Regards, RealHeavyDude.
 

hgit

New Member
I was hoping this wasn't the case.
That leaves me curious as to how the third party software I am using authenticates users to the database.
Surely there is a way around this.......
 

Cecil

19+ years progress programming and still learning.
I don't know if this is what you are looking for and I might be misunderstanding of your requirements, but this might help:
https://github.com/pvginkel/ProgressEncode

Depending on how good you are at porting source code from C to PHP you could write your own ENCODE() function in PHP if that is what you are needing.
 
Top