943,678 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 570
  • PHP RSS
Jun 17th, 2008
0

Intagrate 2 scripts

Expand Post »
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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bigbob is offline Offline
6 posts
since Jun 2008
Jun 23rd, 2008
0

Re: Intagrate 2 scripts

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.
Reputation Points: 56
Solved Threads: 29
Posting Whiz in Training
sDJh is offline Offline
255 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: scrap the content on the Website
Next Thread in PHP Forum Timeline: Product Option Combinations/Variations Grid





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC