/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php require 'includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); global $mypost, $form_post_key; $mypost['edit']['type'] = 'story'; // not needed? $mypost['edit']['body'] = 'viva druplicon'; $form_post_key = 'mypost'; print theme('page', $output);
Comments
