Create a subfolder in the main parit of your drupal site and put them there.  Basically drupal .htaccess files say: if the file isn’t found then run drupal’s index.php, Putting them in a subfolder of your drupal site will simply keep them from conflicting with other drupal files.   So if your own php files are found they should run fine comingled with a drupal site.  

 

Doing things at this level will NOT embed those scripts in your theme though, but in my experience this is what most new developers want. Then you can start slowly porting those pages into module pages provided by drupal, or using embedded drupal functionality at your leasure.  

 


From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of salil GK
Sent: Saturday, April 28, 2012 8:46 AM
To: support@drupal.org
Subject: [support] Help required for PHP script

 

Hello

 

  I am pretty new to Drupal. I wanted to develop a site pretty quick for porting my existing site to Drupal. What I am trying to do is - create pages corresponding my old pages and provide them through menu. So user will be able to use the functionality by navigating through Primary links or menu. My back end scripts are PHP script ( basically from my forms I wanted to access the forms php scripts in the  back end !! ). I was wondering where can I put my old scripts in the drupal directory so that the pages works as such ... Is there any settings required for this ?

 

Thanks

GK