PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 6th, 2007, 08:14 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 38
How do I call the authenticate function

in the misc.php, there is an authenticate function for the login action. How do I call that function?
letmein is offline   Reply With Quote
Old May 6th, 2007, 10:10 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
In the top of our scripts it calls

authenticate();
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 7th, 2007, 09:56 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 38
I though soo too, but when I try to run this command from php:
$user="test";
$pass="test";
authenticate ($user,$pass);

I got nothing when i request the value of the uid after run the above command. The reason i do this because i want to forward the username and password in the url and have a script parse the encrypted user/pass in the url and authenticate the user automatically.
letmein is offline   Reply With Quote
Old May 8th, 2007, 07:42 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Right but then have you required our pp-inc.php global file
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 8th, 2007, 05:28 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 38
I did have require pp-inc.php and it still does not work. I search for the authenticate function in pp-inc.php and nothing show up.
letmein is offline   Reply With Quote
Old May 8th, 2007, 08:14 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
If you have the require and authenticate in a file it will look for the users cookie to see if they are logged in. If nothing happens then your user is not logged in. Otherwise you need to create some sort of login script
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal error: Call to undefined function: parse_bbcode2() ConqSoft Bugs - vBulletin 3.5.X 9 July 19th, 2005 12:51 PM
ImageMagick compression function call ppostuser Photopost Pro How Do I...? 4 March 15th, 2005 12:39 PM
where's function authenticate() located?? sewerside Photopost Pro How Do I...? 1 March 8th, 2005 09:33 AM
Call to undefined function: parse_bbcode qwk98gt Photopost Pro Installation & Upgrades 1 January 28th, 2005 01:46 PM
Call to undefined function dethfire Photopost Pro Installation & Upgrades 3 June 24th, 2004 07:26 PM


All times are GMT -5. The time now is 06:33 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0