You need to sign in to do that
Don't have an account?
nwing
How do I pass data from a php form using class.http.php to salesforce?
I have been tasked with getting this up and running and haven't done anything quite this involved yet. On the salesforce side in particular I am not sure what I need in the http/php class to get the login to function.
Any thoughts on where to go from that?
thank you,
You need to login to the API using PHP :smileyhappy: ?
1) Easy enough! you can google it or download it from > http://www.mikesimonds.com/attachments/salesforce-php-tutorials/89d1274275000-connecting-php-form-salesforce-phptoolkit-13_1.zip
2) then test your login (code originally written by David Claiborne)
4) Make sure that you change the paths in this login script to match your environment
5) include this in your script and do a print_r on the $client object/variable
6) you should be able to see your login info in the print_r, that will tell you if you are logged in or not. You shoud see something like this:
7) that will tell you that you are logged in.
Once you are logged in, you can do what you need to do like instering the data from your form into an object in Salesforce
Check out my link below my sig for some examples!!
Hope this helps!
~Mike