BJC Computer Services
 
  HOME Downloads | Drupal Script Setup | Script Testing 
 


Drupal CMP
Article Import Scripts

 

Drupal Content Management Platform - Article Import Scripts

= "45.00" && $_REQUEST["cc"] == "USD" ) { $string = date('Y m d G i s') . " - Drupal iSnare Purchase Complete \n"; $fp = fopen("../cgi-bin/DCMP-logfile.txt", "a"); $write = fputs($fp, $string); fclose($fp); $fp = fopen("../cgi-bin/DCMP-logfile.txt", "a"); foreach($_REQUEST as $key=>$value) { $string = date('Y m d G i s') . " - $key: $value \n"; $write = fputs($fp, $string); } $string = date('Y m d G i s') . " - REQUEST Values Printed \n"; $write = fputs($fp, $string); fclose($fp); echo "
"; echo "

Thank you for purchasing our Drupal script!

"; echo "

Your transaction has been completed, and a receipt for your purchase has been emailed to you. "; echo "You may log into your account at www.paypal.com/us to view details of this transaction.

"; echo "
"; echo "

You can download the Drupal iSnare Article Import Script at the link below. Be sure to download the file now. "; echo "It will not be availible when this page expires.

"; echo "
iSnare to Drupal Article Script: "; echo "iSnare Drupal Article Import Script
"; echo "

Instructions for Download:

"; echo "
  • Click on the filename above and select 'Save Target As...'
  • "; echo "
  • Do NOT change the filename
  • "; echo "
  • Save the file into a known directory on your hard drive or desktop
  • "; echo "
  • When the download is complete, select 'Open' from the download dialog box
  • "; echo "
  • The .zip file should open using your default zip extractor. Extract the file to a known directory
  • "; echo "
  • Upload the script to the Drupal root directory on the web server
  • "; echo "
  • Configuration requirements are detailed within the script file
  • "; echo ""; echo "

    NOTE: Be sure to download your script now. Downloads are not accessible after this page expires.

    "; echo "

    "; echo "

    Once again, Thank you for your Purchase! For assistance or support, use our Feedback Form

    "; break; } else { echo "
    "; include('drupal_article_import_script.inc'); break; } case "is-cancel": echo "
    "; echo "

    NOTE: Your purchase transaction was cancelled!   You have not been charged for any Merchandise sales.

    "; echo "
    "; $string = date('Y m d G i s') . " - Drupal iSnare Purchase Cancelled \n"; $fp = fopen("../cgi-bin/DCMP-logfile.txt", "a"); $write = fputs($fp, $string); fclose($fp); echo "
    "; include('drupal_article_import_script.inc'); break; case "am-complete": $string = date('Y m d G i s') . " - Drupal Article Marketer Purchase Complete \n"; $fp = fopen("../cgi-bin/DCMP-logfile.txt", "a"); $write = fputs($fp, $string); fclose($fp); $fp = fopen("../cgi-bin/DCMP-logfile.txt", "a"); foreach($_REQUEST as $key=>$value) { $string = date('Y m d G i s') . " - $key: $value \n"; $write = fputs($fp, $string); } $string = date('Y m d G i s') . " - REQUEST Values Printed \n"; $write = fputs($fp, $string); fclose($fp); if ( $_REQUEST["st"] == "Completed" && $_REQUEST["amt"] >= "45.00" && $_REQUEST["cc"] == "USD" ) { echo "
    "; echo "

    Thank you for purchasing Our Drupal script!

    "; echo "

    Your transaction has been completed, and a receipt for your purchase has been emailed to you. "; echo "You may log into your account at www.paypal.com/us to view details of this transaction.

    "; echo "
    "; echo "

    You can download the Drupal Article Marketer Article Import Script at the link below. Be sure to download the file now. "; echo "It will not be availible when this page expires.

    "; echo "
    Article Marketer to Drupal Article Import Script: "; echo "ArticleMarketer Drupal Article Import Script
    "; echo "

    Instructions for Download:

    "; echo "
  • Click on the filename above and select 'Save Target As...'
  • "; echo "
  • Do NOT change the filename
  • "; echo "
  • Save the file into a known directory on your hard drive or desktop
  • "; echo "
  • When the download is complete, select 'Open' from the download dialog box
  • "; echo "
  • The .zip file should open using your default zip extractor. Extract the files to a known directory
  • "; echo "
  • Upload the scripts to the Article Dashboard root directory on the web server
  • "; echo "
  • Configuration requirements are detailed within the script files
  • "; echo ""; echo "

    NOTE: Be sure to download your script now. Downloads are not accessible after this page expires.

    "; echo "

    "; echo "

    Once again, Thank you for your Purchase! For assistance or support, use our Feedback Form

    "; break; } else { echo "
    "; include('drupal_article_import_script.inc'); break; } case "am-cancel": echo "
    "; echo "

    NOTE: Your purchase transaction was cancelled!  You have not been charged for any Merchandise sales.

    "; echo "
    "; $string = date('Y m d G i s') . " - Drupal Article Marketer Purchase Cancelled \n"; $fp = fopen("../cgi-bin/DCMP-logfile.txt", "a"); $write = fputs($fp, $string); fclose($fp); echo "
    "; include('drupal_article_import_script.inc'); break; default: include('drupal_article_import_script.inc'); endswitch; $string = date('Y m d G i s') . " - Drupal Script Exit \n\n"; $fp = fopen("../cgi-bin/DCMP-logfile.txt", "a"); $write = fputs($fp, $string); fclose($fp); ?>

    Disclaimer:

    Our Article Import Scripts for the Drupal CMP have been fully tested and implemented on the Drupal CMP at BJC Computer Services. However, No warranty is expressed or implied. There is no guarantee they will work under your specific server configuration.

    Test Configuration:
    PHP Version 5.0.4
    Server: Apache/1.3.34 (Unix)
    MySQL Version 4.1.18
    Drupal Version 6.6

    Test these PHP scripts thoroughly under your unique system and web server configuration before releasing in a live traffic environment. BJC Computer Services is not liable for damage or data errors which may be caused while integrating these scripts.

    Scripts work in conjunction with iSnare Publisher and the Article Marketer distribution services. They offer content articles from thousands of authors in hundreds of article categories. You can sign up for their publisher distribution service Free of charge, or get additional information from their web sites listed above