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 = '/var/www';</div><div>chdir($drupal_path); //Path to drupal</div><div>$_SERVER['REMOTE_ADDR'] = '127.0.0.1';</div><div>define('DRUPAL_ROOT', $drupal_path);</div><div>require_once './includes/bootstrap.inc';</div>
<div>drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);</div></div><div><br></div><div>So that's fine..</div><div><br></div><div>Now I am trying to access content that doesn'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's I need to use to authenticate to drupal in order to access the content?</div><div><br></div><div>Thanks..</div>