| | |
Intagrate 2 scripts
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2008
Posts: 6
Reputation:
Solved Threads: 0
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.
I hope this makes sense and if anyone thinks they could do it or WANTS to help that would be great.
•
•
Join Date: Aug 2005
Posts: 150
Reputation:
Solved Threads: 13
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.
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.
![]() |
Other Threads in the PHP Forum
- Previous Thread: protect images from downloading
- Next Thread: Product Option Combinations/Variations Grid
| Thread Tools | Search this Thread |
advanced apache api array basics beginner binary broken cakephp check checkbox class cms code codingproblem combobox cookies cron curl database date datepart display dynamic echo email error file files folder form forms function functions google head href htaccess html image include includingmysecondfileinthechain insert ip javascript job joomla js limit link login mail menu mlm mobile multiple mysql oop outofmemmory paging parse password paypal pdf php problem procedure query radio random recursion remote script search server sessions smarty sms soap source space sql stored syntax system table traffic tutorial unicode up-to-date update upload url validator variable video web webapplications xml youtube





