Intagrate 2 scripts

Reply

Join Date: Jun 2008
Posts: 6
Reputation: bigbob is an unknown quantity at this point 
Solved Threads: 0
bigbob bigbob is offline Offline
Newbie Poster

Intagrate 2 scripts

 
0
  #1
Jun 17th, 2008
Hi, I have downloaded a couple of scripts which I would like to combine but I am very new to PHP and don't know if it is possible to do. One of the scripts is a simple shopping cart and the other is a (to me) very complicated affiliate script which incorporates a multilevel referal system. What I am wanting to do is incorporate the affiliate script into the shopping cart so I can use the shopping cart template around the affiliate script and when someone logsin the shopping cart and the affiliate script will use the same session variables.

I hope this makes sense and if anyone thinks they could do it or WANTS to help that would be great.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 150
Reputation: sDJh is an unknown quantity at this point 
Solved Threads: 13
sDJh sDJh is offline Offline
Junior Poster

Re: Intagrate 2 scripts

 
0
  #2
Jun 23rd, 2008
Hi,

this is my personal opinion:
reading otherone scripts is the hell on earth. Before I try to understand someones logic I programmed everything myself a dozen of times.
What you could do is: Use the script that covers most of your project and then rewrite the stuff that you need from the other. Implementing to scripts that are not your own will a) take ages, b) be frustating and c) not teach you anything. And espacially the last point is important for you and your next projects.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC