<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[In  che modo si cambia la patch a questi script..grazie]]></title><description><![CDATA[<p dir="auto"><strong>Vorrei capire questo dilemma in cosa consiste,cambiare la patch:x</strong></p>
<p dir="auto">CIAO A TUTTI:Sto modificando tutti gli script php e fino a qui va bene ,solo che ora sono un po in difficolta ,in questo senso:mi dice di:<br />
<strong>gold_vars.php - change the physical path of the gold membership folder to your actual path.</strong> Currently it is set as <strong>/home/netprofi/public_html/paidmail/gold_membership</strong><br />
<strong>(questo e' lo script gold_vars.php)</strong><br />
<strong>&lt;?</strong><br />
<strong>//include("../includes/vars.php");</strong></p>
<pre><code>   **//paths to folders**
   **$gold_url="http://www.miosito.com/paidmail/gold_membership";** 
</code></pre>
<p dir="auto"><strong>//virtual path of the site folder</strong><br />
<strong>$gold_path="/home/e-mailc/public_html/paidmail/gold_membership";</strong><br />
<strong>//physical path of the site folder  $sitepath</strong></p>
<pre><code>   **$gold_admin_url="$gold_url/admin";**
   **$gold_image_url="$gold_url/images";**

   **$gold_html_path="$gold_path/html";**


   **$from_email_id_for_regn="advertising\@merc.netsons.org";**

   **$gold_email_regn_subject="Gold Membership Purchased"; //Member Registeration email message subject**
   **$email_subject_gold_member_regn = "Gold Membership Purchased";**
</code></pre>
<p dir="auto"><strong>//##########DO Not Edit Anything Below This##############</strong></p>
<pre><code>    **$gold_EmailId=Array();**
    **$gold_Info=Array();**
    **$gold_Date=Array();**
</code></pre>
<p dir="auto"><strong>?&gt;</strong></p>
<p dir="auto">poi mi dice:</p>
<p dir="auto"><strong>global.php - This file is found in the Includes folder. Change the path of the vars.php and vars_arrays.php files, which are found in the Includes folder. The 2 lines that you need to modify are:</strong><br />
<strong>include("/home/netprofi/public_html/paidmail/includes/vars.php");      include("/home/netprofi/public_html/paidmail/includes/vars_arrays.php");</strong></p>
<p dir="auto"><strong>(questi sono gli altri 3 script)</strong><br />
<strong>global.php</strong><br />
&lt;?php</p>
<pre><code>  include("/home/e-mailc/public_html/paidmail/includes/vars.php");

  include("/home/e-mailc/public_html/paidmail/includes/vars_arrays.php");



  if(file_exists("$include_path/vars_misc.php")) { include ("$include_path/vars_misc.php");}

  if(file_exists("$include_path/vars_commission.php")) { include ("$include_path/vars_commission.php");}



 //function to establish a connection to MySQL and selecting a database to work

  function dbconnect()

  {

     global $siteadds,$dbhost,$dbname,$dbuser,$dbpwd;

 if($link = mysql_connect($dbhost,$dbuser,$dbpwd))

     {

        $res=mysql_select_db($dbname) or die(mysql_error());

    if($res)

           return $link;

     }

     else

        print "There is some internal error in retrieving the records. Sorry for the inconvinence.";

  }



  //function  to close the opened link

  function dbclose($link)

  {

     global $link;

     if(mysql_close($link))

     {}

  }



  //function to reader contents of a file

  function file_reader($fileurl)

  {

     $file=fopen($fileurl,'r') or die("File Does'nt Exists");

     if (filesize($fileurl) &gt; 0 )

 {

        $contents=fread($file,filesize($fileurl));

        fclose($file);

        return $contents;

     }

  }



  //function to write contents in a file

  function file_writer($fileurl,$contents)

  {

    $file=@fopen($fileurl,'w') or die("$fileurl File Does'nt Exists");

    if($contents) 

{

       if(@fwrite($file,$contents)) 

       {

          fclose($file);

          return true;

       }

}

  }



  //function to get the member id

  function get_mem_id($email_id)

  {

     $SQL="SELECT mem_id from member_details where email_id='$email_id' ";

     if($res=mysql_query($SQL))

 {

        $mem_data=mysql_fetch_array($res);

        return $mem_data[0];

 }

  }



  //function to print a text message

  function out_message($message,$font_color)

  {

     global $sitename,$site_html_path;



     $file_content=file_reader("$site_html_path/outfile.html");

     $file_content = str_replace("[sitename]",$sitename,$file_content);

     $file_content = str_replace("[MESSAGE]",$message,$file_content);

     $file_content = str_replace("[font_color]",$font_color,$file_content);

     print $file_content;

  }



  //function to display the links, banners &amp; header information

  function links()

  {

     global $html_header,$site_html_path,$sitename,$site_url,$refid,$email,$ps;



     //DB connectivity

     $link=dbconnect();



     $query1="select * from banner";

     if($result=mysql_query($query1))

    $num=mysql_num_rows($result);



     $chk="false";

     $query2="select b.clicks, sum(bi.count) from banner b, banner_imp bi where b.banner_id=bi.banner_id group by b.banner_id ";

     if($res=mysql_query($query2))

     {

    while($result=mysql_fetch_array($res))

    {

       if($result[0]==$result[1])

       {

          $chk="true";

      continue;

       }

       else

       {

          $chk="false";

      break;

       }

    }

     }

     if (($num &gt; 0 ) &amp;&amp; ($chk=="false"))

     {

    $flag=0;

    while(!$flag)

    {

       $banused=0;

       $qry="select * from banner order by rand()";

       if($res=mysql_query($qry))

       {

      $res1=mysql_fetch_array($res);

             $qry1="select * from banner_imp where banner_id=$res1[banner_id]";

      if($rs=mysql_query($qry1))

          {

         while($rs1=mysql_fetch_array($rs))

        $banused+=$rs1[count];

         if ($banused&lt;$res1[clicks])    

             {

            $flag=1;

        $output=&lt;&lt;&lt;HTM

        &lt;center&gt;

        $res1[html]

        &lt;/center&gt;
</code></pre>
<p dir="auto">HTM;</p>
<pre><code>        $query1="select * from banner_imp where banner_id=$res1[banner_id] and click_date=now()";

        if($result=mysql_query($query1))

        {

             if($result=mysql_fetch_array($result))

           {

              $cnt=$result[count]+1;

              $query="update banner_imp set count=$cnt where banner_id=$res1[banner_id] and click_date=now()";

                  mysql_query($query);

           }

           else

           {

                       $query="insert into banner_imp set banner_id=$res1[banner_id] , count=1, click_date=now()";

                  mysql_query($query);

           }

        }

         }

      }

       }

    }

     }

     //to open the header page

     $html_header=str_replace("[pageheader]",$sitename,$html_header);

     $html_header=str_replace("[site_url]",$site_url,$html_header);

     $html_header=str_replace("[refid]",$refid,$html_header);

     $html_header=str_replace("",$email,$html_header);

     $html_header=str_replace("[ps]",$ps,$html_header);

     $html_header=str_replace("[ban]",$output,$html_header);

     print $html_header;

  }



  //function used for sending mails to subscribers.it accept 3 parameter

  function send_mail($mailid,$fromid,$sub,$msg)

  {

     //$headers  = "MIME-Version: 1.0\r\n";

     $headers = "Content-type: text/html; charset=iso-8859-1\r\n";

     

     /* additional headers */

     $headers .= "From: $fromid\r\n";

     $headers .= "Reply-To: $fromid\r\n";



     $msg="$GLOBALS[email_header]&lt;br&gt;&lt;br&gt;$msg&lt;br&gt;&lt;br&gt;$GLOBALS[email_footer]";



     //this will send mail to each person individually.

     $mailid=split(",",$mailid);

     for($i=0;$i&lt;count($mailid);$i++)

     {

    //echo"Message : $msg";

        mail($mailid[$i], $sub, $msg,$headers);

     }

     return 1;

  }



  //function used for sending advertiser emails

  function advt_mail($email,$temp)

  {

     global $site_url,$advt_signup,$advt_signup_email_subject;



     $headers  ="MIME-Version: 1.0\r\n";

     $headers.="Content-type: text/html; charset=iso-8859-1\r\n";



     /* additional headers */

     $headers.="From: $GLOBALS[admin_mail_id]\r\n";

     $headers.="Reply-To: $GLOBALS[admin_mail_id]\r\n";

     $headers.="CC: $GLOBALS[admin_mail_id]\r\n";



     $advt_signup=file_reader("$site_html_path/advertiser_signup.html");

     $advt_signup=str_replace("[site_url]",$site_url,$advt_signup);

     $advt_signup=str_replace("",$email,$advt_signup);

     $advt_signup=str_replace("[temp]",$temp,$advt_signup);



     $message.="$GLOBALS[email_header]&lt;br&gt;&lt;br&gt;$advt_signup&lt;br&gt;&lt;br&gt;$GLOBALS[email_footer]";



     if(mail($email,$advt_signup_email_subject,$message,$headers))

     {

        return true;

     }

  }



  //function to display links in member area 

  function menu($email,$ps)

  {

     global $site_html_path,$site_url;



     //to open the member_area.html page

     $members_links=file_reader("$site_html_path/members_links.html");

     $members_links=str_replace("[site_url]",$site_url,$members_links);

     $members_links=str_replace("",$email,$members_links);

     $members_links=str_replace("[ps]",$ps,$members_links);



     return $members_links;

  }



  //function to display the error message

  function message($field,$msg)

  {

     print "&lt;center&gt;&lt;b&gt;There is some error in processing. You did'nt enter\

     &lt;font color=red&gt;".$field."&lt;/font&gt;&lt;br&gt;".$msg."&lt;/b&gt;&lt;/center&gt;";

  }



  //function to credit the earnings for referrals 

  function refbonus_credit($refid)

  {

     global $referral_bonus;

     //retrieving the previous value of referral bonus for the referrer in his earnings table

     $query4="SELECT referral_bonus FROM member_earnings where mem_id=$refid";

     if($result = mysql_query ($query4))

     {

    if($cr = mysql_fetch_array($result))

        {

       if($cr[0] == 0)

       $cr = $referral_bonus;

       else

       $cr = $cr[0]+$referral_bonus;

    }

        //updating a sum of 200 Cents ie $2 as referral bonus to the referrer

        $query5="update member_earnings set referral_bonus=$cr where mem_id=$refid";

        mysql_query($query5);

     }   

     return true;

  } 



  //function used to find number of members in each tiers.

  function sql($id,$i)

  {

     global $tier,$include_path;



     if(file_exists("$include_path/vars_commission.php")) { include ("$include_path/vars_commission.php");}



     $query="select count(*),mem_id from member_referrals where parent_id in ($id) group by mem_id";

     if($res = mysql_query ($query))

     {

        $tier[$i]=mysql_num_rows($res);

        $res = mysql_fetch_array($res);

        $qry="select mem_id from member_referrals where parent_id in ($id)";

        if($result=mysql_query($qry)) {

           $i=1;

           while ($rs=mysql_fetch_array($result)){

              $par_id[$i]=$rs[0];

              $i++;

           }

        }

        return $par_id;

     }

  }



  /*

    this function will move the referral tier one step ahead when a member

    is deleted or he unsubscribes himself from this site.

  */

  function move_Tier($mem_id)

  {

          

     //this will fetch the parent id for the member id passed as param.

     $par_id=member_referral($mem_id);

          

     //this query is to fetch the id's of members who were referred by this $mem_id

     $query="SELECT mem_id from member_referrals where parent_id=$mem_id ";

     $ch_id=Array();

     $i=0;

 if ($res=mysql_query($query))   

 {

        while($id=mysql_fetch_array($res))

        {

           $ch_id[$i] = $id[0];

           $i++;

        }

        $query="UPDATE member_referrals set parent_id=$par_id where mem_id=";

        for($i=0;$i&lt;count($ch_id);$i++)

        {

           mysql_query($query.$ch_id[$i]);

        }

     }

     return 1;

  }



  //function to retrieve the parent id of an member

  function member_referral($id)

  {

     $query="select parent_id from member_referrals where mem_id=$id ";

     if($res = mysql_query ($query) )

     {

        if($res1 = mysql_fetch_array($res))

        {

           return $res1[0];

        }

     }

  }



  //function to credit the member earnings

  function credit_member($par_id,$comm_for)

  {

     global $include_path;



     if(file_exists("$include_path/vars_commission.php")) { include ("$include_path/vars_commission.php");}



     for($i=0;$i&lt;count($par_id);$i++)

     {

        $query1="SELECT count(*) from member_earnings where mem_id='$par_id[$i]' ";

        $res=mysql_query($query1) or die(mysql_error());

        $rows=mysql_num_rows($res);

        if($rows == 0) { $mode="INSERT";}



        if($comm_for == "click" || $comm_for == "all" )

        {

           $query1="SELECT pd_clickthro from member_earnings where mem_id='$par_id[$i]' ";

           $res=mysql_query($query1);

           $data=mysql_fetch_array($res);



           if($mode == "INSERT")

           {

              mysql_query("INSERT member_earnings set mem_id='$par_id[$i]',pd_clickthro=$PerClickRate[$i]") or die(mysql_error());

           }

           else

           {

              $click_comm=($data[0]+$PerClickRate[$i]);

              mysql_query("UPDATE member_earnings set pd_clickthro=$click_comm where mem_id='$par_id[$i]' ") or die(mysql_error());

           }

        }



       if($comm_for == "ref" || $comm_for == "all" )

       {

          $query1="SELECT referral_bonus from member_earnings where mem_id='$par_id[$i]' ";

          $res=mysql_query($query1);

          $data=mysql_fetch_array($res);



          if($mode == "INSERT")

          {

             mysql_query("INSERT member_earnings set mem_id='$par_id[$i]',referral_bonus=$PerReferralRate[$i]") or die(mysql_error());

          }

          else

          {

             $ref_comm=($data[0]+$PerReferralRate[$i]);

             mysql_query("UPDATE member_earnings set referral_bonus=$ref_comm where mem_id='$par_id[$i]' ") or die(mysql_error());

          }

       }

    }

 }



 //function used to credit the referrals

 function bonus_credit($referrer_id,$comm_for)

 {

    global $Total_Tiers;



    $j=0;

    $par_id[$j]=$referrer_id;

    for($i=0;$i&lt;($Total_Tiers-1);$i++)

    {

       $referrer_id=member_referral($referrer_id);

       if(!$referrer_id || $referrer_id == "0")

          break;



       ++$j;

       $par_id[$j]=$referrer_id;

    }

    //this function will credit all the tier members

    credit_member($par_id,$comm_for);

 }
</code></pre>
<p dir="auto">//##########DO Not Edit Anything Below This##############</p>
<pre><code>   //$admin_header=file_reader("$admin_html_path/header.html");

   //$admin_footer=file_reader("$admin_html_path/footer.html");



   $html_header = file_reader("$site_html_path/header.html");

   $html_footer = file_reader("$site_html_path/footer.html");



   $email_header = file_reader("$site_html_path/email/email_header.html");

   $email_footer = file_reader("$site_html_path/email/email_footer.html");



   $mem_signup = file_reader("$site_html_path/email/email_signup.html");

   $advt_signup = file_reader("$site_html_path/email/advertiser_signup.html");



   $out_messages = file_reader("$site_html_path/outfile.html");
</code></pre>
<p dir="auto">?&gt;</p>
<hr />
<p dir="auto"><strong>vars.php</strong><br />
&lt;?<br />
<a href="mailto:$admin_mail_id=%22postmaster@midikar.org" rel="nofollow ugc">$admin_mail_id="postmaster@midikar.org</a>";   //Site Admin's email adds. for contact</p>
<pre><code>   //paths to folders
   $url="http://www.merc.netsons.org/paidmail";
   $path="/home/e-mailc/public_html/paidmail";

   $site_url="$url/site";   //virtual path of the site folder       
   $site_path="$path/site";   //physical path of the site folder  
   $siteadds="www.merc.netsons.org";   //site address
   $sitename="Merc";   //site name

   $dbhost = "mysql4.netsons.org";   //Host of the DataBase
   $dbname = "merc";   //DB Name
   $dbuser = "merc";   //DB user name
   $dbpwd = "11111111";    //DB user password

   $admin_url="$url/admin";   //virtual path of the admin folder
   $admin_path="$path/admin";  //physical path of the admin folder
   $include_path="$path/includes";  //physical path of the includes folder

   $admin_html_path="$admin_path/html";  //virtual path of the admin html folder
   $site_html_path="$site_path/html";   //virtual path of the site html folder
   $banner_url="$url/images";   //virtual path of the images folder

   $advt_regn_email_subject="Advertisement Purchased";  //Advertiser Registeration email message subject
   $email_regn_subject="Login Details for $sitename.com"; //Member Registeration email message subject
   $email_signup_subject="Signup Confirmation Email from $sitename.com"; //Sign up confirmation email subject

   $email_contactus_subject="$sitename.com Contact Us Message";

   $color_feedback_good = "green";   //normal feedback message
   $color_feedback_bad = "red";    //error feedback message
</code></pre>
<h2>?&gt;</h2>
<p dir="auto"><strong>vars_arrays.php</strong><br />
&lt;?<br />
$age=Array(<br />
"18"=&gt;"&lt;18",<br />
"21"=&gt;"18-21",<br />
"25"=&gt;"22-25",<br />
"30"=&gt;"26-30",<br />
"35"=&gt;"31-35",<br />
"40"=&gt;"36-40",<br />
"45"=&gt;"41-45",<br />
"50"=&gt;"46-50",<br />
"55"=&gt;"51-55",<br />
"60"=&gt;"56-60",<br />
"65"=&gt;"61-65",<br />
"70"=&gt;"66-70",<br />
"70+"=&gt;"70+"<br />
);</p>
<p dir="auto">$marital=Array(<br />
"single"=&gt;"Single",<br />
"married"=&gt;"Married",<br />
"cohabiting"=&gt;"Domestic Partnership",<br />
"divorced"=&gt;"Divorced",<br />
"widowed"=&gt;"Widowed",<br />
"separated"=&gt;"Separated"<br />
);</p>
<p dir="auto">$household=Array(<br />
"1"=&gt;"1",<br />
"2"=&gt;"2",<br />
"3"=&gt;"3",<br />
"4"=&gt;"4",<br />
"5"=&gt;"5",<br />
"6+"=&gt;"6+"<br />
);</p>
<p dir="auto">$children=Array(<br />
"0"=&gt;"0",<br />
"1"=&gt;"1",<br />
"2"=&gt;"2",<br />
"3"=&gt;"3",<br />
"4"=&gt;"4",<br />
"5+"=&gt;"5+"<br />
);</p>
<p dir="auto">$income=Array(<br />
"10000"=&gt;"Under $10,000",<br />
"20000"=&gt;"$10,000 to $19,999",<br />
"30000"=&gt;"$20,000 to $29,999",<br />
"40000"=&gt;"$30,000 to $39,999",<br />
"50000"=&gt;"$40,000 to $49,999",<br />
"75000"=&gt;"$50,000 to $74,999",<br />
"100000"=&gt;"$75,000 to $99,999",<br />
"150000"=&gt;"$100,000 to $149,999",<br />
"150000+"=&gt;"$150,000+"<br />
);</p>
<p dir="auto">$housestatus=Array(<br />
"owned"=&gt;"Owned",<br />
"rented"=&gt;"Rented"<br />
);</p>
<p dir="auto">$learning=Array(<br />
"school"=&gt;"Some High School",<br />
"hsdiploma"=&gt;"High School Diploma",<br />
"college"=&gt;"Some College",<br />
"collegedegree"=&gt;"College Degree",<br />
"graduatedegree"=&gt;"Graduate Degree"<br />
);</p>
<p dir="auto">$occupation=Array(<br />
"academic"=&gt;"Academic",<br />
"admin"=&gt;"Administrative",<br />
"Banking"=&gt;"Banking",<br />
"Consulting"=&gt;"Consulting",<br />
"Engineering"=&gt;"Engineering",<br />
"Investment"=&gt;"Investment",<br />
"Managerial"=&gt;"Managerial",<br />
"Military"=&gt;"Military",<br />
"Professional"=&gt;"Professional",<br />
"Student"=&gt;"Student",<br />
"Sales"=&gt;"Sales/Marketing",<br />
"Retired"=&gt;"Retired",<br />
"Unemployed"=&gt;"Between Jobs",<br />
"Other"=&gt;"Other"<br />
);</p>
<p dir="auto">$vehicles=Array(<br />
"0"=&gt;"0",<br />
"1"=&gt;"1",<br />
"2"=&gt;"2",<br />
"3+"=&gt;"3+"<br />
);</p>
<p dir="auto">$spentonline=Array(<br />
"20"=&gt;"Under $20",<br />
"50"=&gt;"$20 to $49",<br />
"100"=&gt;"$50 to $99",<br />
"100+"=&gt;"$100+"<br />
);</p>
<p dir="auto">$interests=Array(<br />
"advertising"=&gt;"Advertising",<br />
"affiliate"=&gt;"Affiliate Programs",<br />
"arts"=&gt;"Arts",<br />
"auto"=&gt;"Automotive",<br />
"books"=&gt;"Books",<br />
"business"=&gt;"Business",<br />
"businessops"=&gt;"Business Ops",<br />
"careers"=&gt;"Careers",<br />
"computers"=&gt;"Computers",<br />
"contests"=&gt;"Contests &amp; Lotteries",<br />
"creditcards"=&gt;"Credit Cards",<br />
"dating"=&gt;"Dating/Personals",<br />
"debt"=&gt;"Debt Consolidation",<br />
"ecommerce"=&gt;"E-Commerce",<br />
"education"=&gt;"Education",<br />
"entertainment"=&gt;"Entertainment",<br />
"fashion"=&gt;"Fashion",<br />
"family"=&gt;"Family",<br />
"food"=&gt;"Food &amp; Drink",<br />
"free"=&gt;"Free Stuff",<br />
"gambling"=&gt;"Gambling/Casinos",<br />
"gifts"=&gt;"Gifts",<br />
"graphics"=&gt;"Graphics",<br />
"health"=&gt;"Health",<br />
"home"=&gt;"Home &amp; Garden",<br />
"homebusiness"=&gt;"Home Business",<br />
"internet"=&gt;"Internet",<br />
"legal"=&gt;"Legal",<br />
"marketing"=&gt;"Marketing",<br />
"media"=&gt;"Media",<br />
"mlm"=&gt;"MLM",<br />
"music"=&gt;"Music",<br />
"news"=&gt;"News",<br />
"finance"=&gt;"Personal Finance",<br />
"pets"=&gt;"Pets",<br />
"estate"=&gt;"Real Estate",<br />
"reference"=&gt;"Reference",<br />
"shopping"=&gt;"Shopping",<br />
"smallbus"=&gt;"Small Business",<br />
"sports"=&gt;"Sports &amp; Recreation",<br />
"sweepstakes"=&gt;"Sweepstakes",<br />
"technology"=&gt;"Technology",<br />
"travel"=&gt;"Travel",<br />
"webmasters"=&gt;"Webmasters",<br />
"webdesign"=&gt;"Web Design"<br />
);</p>
<p dir="auto">?&gt;</p>
]]></description><link>https://dev.connect.gt/topic/47148/in-che-modo-si-cambia-la-patch-a-questi-script-grazie</link><generator>RSS for Node</generator><lastBuildDate>Fri, 27 Nov 2026 06:56:47 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/47148.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Sep 2007 12:24:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to In  che modo si cambia la patch a questi script..grazie on Mon, 17 Sep 2007 16:02:53 GMT]]></title><description><![CDATA[<p dir="auto">pensa se non ci capisci niente te..in che condizione sono io......!</p>
<p dir="auto">questi sono i compiti a casa ,ho fatto quasi tutto tranne questo dilemma....</p>
<p dir="auto"><strong>Installation Instructions</strong></p>
<ol>
<li>
<p dir="auto">Change all instances of the word YourSiteName with your actual site name.</p>
</li>
<li>
<p dir="auto">Set up the MySQL database. The MySQL tables that you need to use are found in a file called sqltable.sql.</p>
</li>
<li>
<p dir="auto">Modify the following files:</p>
</li>
</ol>
<p dir="auto">A. gold_vars.php - change the physical path of the gold membership folder to your actual path. Currently it is set as /home/netprofi/public_html/paidmail/gold_membership</p>
<p dir="auto">B. global.php - This file is found in the Includes folder. Change the path of the vars.php and vars_arrays.php files, which are found in the Includes folder. The 2 lines that you need to modify are:<br />
include("/home/netprofi/public_html/paidmail/includes/vars.php");      include("/home/netprofi/public_html/paidmail/includes/vars_arrays.php");</p>
<p dir="auto">C. vars.php - This is the file where you set your database name, database username and database password.</p>
<ol start="4">
<li>Set the permssions to all the PHP files to 755. With the following exceptions:</li>
</ol>
<p dir="auto">includes/vars_misc.php - this file should be set to 777<br />
includes/vars_commission.php - this file should be set to 777</p>
<p dir="auto">Also set the following files to 777:</p>
<p dir="auto">** site/html/email/ - all files in this folder should be set to 777<br />
** admin/backup.sql file<br />
** site/html/header.html and site/html/footer.html<br />
** admin/temp.txt<br />
** gold_membership/random.txt</p>
<p dir="auto">help me......!!:x    ***praticamente sono i le tre pagine php che devo modificare il passo <strong>a</strong> e <strong>b</strong> ma non riesco,mi da sempre errore...il nome del mio database e' <strong>merc</strong>,<br />
e il mio sito e' <strong><a href="http://merc.netsons.org" rel="nofollow ugc">merc.netsons.org</a></strong></p>
]]></description><link>https://dev.connect.gt/post/602188</link><guid isPermaLink="true">https://dev.connect.gt/post/602188</guid><dc:creator><![CDATA[alver]]></dc:creator><pubDate>Mon, 17 Sep 2007 16:02:53 GMT</pubDate></item><item><title><![CDATA[Reply to In  che modo si cambia la patch a questi script..grazie on Mon, 17 Sep 2007 15:31:56 GMT]]></title><description><![CDATA[<p dir="auto">Non si capisce niente... usa il tag CODE</p>
<pre><code>
</code></pre>
]]></description><link>https://dev.connect.gt/post/602190</link><guid isPermaLink="true">https://dev.connect.gt/post/602190</guid><dc:creator><![CDATA[skyline]]></dc:creator><pubDate>Mon, 17 Sep 2007 15:31:56 GMT</pubDate></item></channel></rss>