After hours off trying unsuccessfully to get leadCapture.php to work effectively, I am working on a more-or-less standalone web form that can write directly to the MySQL database, but I am not having much luck. I am having a time trying to duplicate the encryption code Sugar uses outside of Sugar to make new user IDs. But…
I found this bit of code comment in utils.php
Does anyone know a way I could utilize the utils.php to just generate a user ID in the format Sugar likes, without having to use the rest of leadCapture.php. I want to make a simple script to get a user new ID, and then submit all the additional data I need via another application. ???Code:/** * A temporary method of generating GUIDs of the correct format for our DB. * @return String contianing a GUID in the format: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee * * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc. * All Rights Reserved. * Contributor(s): ______________________________________.. */


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks