OK.. I'm getting my feet wet on the reality of utilizing PHP on my i5. I like the fact that I'm getting back into this arena and having a flood of old PHP code flashing across my membrane.
Outside of the "Hello World!" the move into the abyss is running slow. (I have to keep up my ability to be productive at work)
The next step for anyone moving this direction (at least for me) is signon and validation of UserID/Password for the system. Currently, this is a strange but interesting situation.
The above seems to give me connections -- but, when I try to continue that and open a library/table just to retrieve the field names:
Gives me the Big 'ol Goose Egg!
I'm continuing the search for the Holy Grail!
To be continued...
Outside of the "Hello World!" the move into the abyss is running slow. (I have to keep up my ability to be productive at work)
The next step for anyone moving this direction (at least for me) is signon and validation of UserID/Password for the system. Currently, this is a strange but interesting situation.
PHP Code:
$conn = i5_connect( "localhost", $user, $pass );
If (!$conn )
die( "<br> Connection failed! <br> Error = " .i5_errno(). " Message = " .i5_errormsg() );
else
echo "<br> Connection worked!<br>";
i5_close( $conn );
PHP Code:
$file = i5_open("Library/TableName", I5_OPEN_READ, $conn);
$fields = i5_list_fields( $file );
echo "Table Fields are: " .$fields;
I'm continuing the search for the Holy Grail!
To be continued...