function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ankit GhadiyaAnkit Ghadiya 

soap header user authentication to web service in php

I want authenticate user by soap to web when new job is create by clicking on oportunity tab.

I need a little help with the Web service authentication php script. i am beginner and i have lot of doubts with it.
kcpluspluskcplusplus
Have you tried the php toolkit, and it's getting started doc? That may be a good place to start. 

https://developer.salesforce.com/page/PHP_Toolkit_13.0_Getting_Started

--KC
AmitAmit (Salesforce Developers) 
Hello,

Please have a look at the following links for more information :

https://developer.salesforce.com/page/Simple_PHP_Authentication_Service

http://www.peterguest.co.za/?p=48

Thanks,
Amit Bhardwaj
Ankit GhadiyaAnkit Ghadiya
Thanks for you quick help i wll go throght that link, but i have one question "Which is better REST or SOAP?"