Hi,<div><br></div><div>I am attempting to access the Drupal data from an external php script..</div><div><br></div><div>I am able to connect to drupal with the following..</div><div><br></div><div><div>//Bootstrap Drupal</div>
<div>$drupal_path = &#39;/var/www&#39;;</div><div>chdir($drupal_path); //Path to drupal</div><div>$_SERVER[&#39;REMOTE_ADDR&#39;] = &#39;127.0.0.1&#39;;</div><div>define(&#39;DRUPAL_ROOT&#39;, $drupal_path);</div><div>require_once &#39;./includes/bootstrap.inc&#39;;</div>
<div>drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);</div></div><div><br></div><div>So that&#39;s fine..</div><div><br></div><div>Now I am trying to access content that doesn&#39;t have anonymous view access so I need to authenticate the external script somehow..</div>
<div><br></div><div>Can anyone point me in the right direction as to what API&#39;s I need to use to authenticate to drupal in order to access the content?</div><div><br></div><div>Thanks..</div>