Page 1 of 1

Referral Websites

Posted: Mon Aug 31, 2009 8:48 am
by southernmoney
Version of script: 2.1

Message: I have links on various agency websites where clients select our link on the agency website to be referred to our online ticketing system. However, the referring website is entiteled to commission once a deal is concluded.

Q: Is there any possibility that one will be able to have the referral website's information being inserted into the online form. Or being displayed on the form.

Q: And the referral website receiving a copy of the online ticket.

jvz

Posted: Mon Aug 31, 2009 4:47 pm
by Klemen
Q1: PHP stores referer in the $_SERVER['HTTP_REFERER'] so you could use that to display the referer on the page (insert something like <?php echo $_SERVER['HTTP_REFERER']; ?> where you want it to display).

Q2: this would need more editing and is unfortunately out of the scope of my support.

Referral Websites

Posted: Tue Sep 01, 2009 5:06 am
by southernmoney
Tx Klemen,

I would like to display it as part of the initial online ticket as posted by the client. In which file should I make the change and where will be the best positioning. Will it then be visible to my admin clerk who opens the client ticket. In other words will it be saved for future use?

Regards

Southern Money

Posted: Tue Sep 01, 2009 6:06 am
by Klemen
In order to save it you would have to make changes to the script and the database. This is not something I provide support for, sorry.