Difference between revisions of "Landing Page"

From Beds24 Wiki
Jump to navigation Jump to search
(Created page with " <?php echo "<br>bookid=".$_GET["bookid"]; echo "<br>propid=".$_GET["propid"]; echo "<br>roomid=".$_GET["roomid"]; echo "<br>roomname=".urldecode($_GET["roomname"]); echo "<...")
 
Line 1: Line 1:
 +
[[Category:How to]]
 +
[[Category:Booking_Page]]
  
 +
If you have entered a Booking Return Url we will redirect the guest to your site after they book.
 +
We will include information about the booking as parameters added to your Url
 +
 +
Using PHP or other scripting languages it is possible to process and display personalised information to the guest.
 +
The following PHP test script will show the supplied data.
  
 
  <?php
 
  <?php
echo "<br>bookid=".$_GET["bookid"];
+
echo "<br>bookid=".$_GET["bookid"];
echo "<br>propid=".$_GET["propid"];
+
echo "<br>propid=".$_GET["propid"];
echo "<br>roomid=".$_GET["roomid"];
+
echo "<br>roomid=".$_GET["roomid"];
echo "<br>roomname=".urldecode($_GET["roomname"]);
+
echo "<br>roomname=".urldecode($_GET["roomname"]);
echo "<br>propname=".urldecode($_GET["propname"]);
+
echo "<br>propname=".urldecode($_GET["propname"]);
echo "<br>firstnight=".urldecode($_GET["firstnight"]);
+
echo "<br>firstnight=".urldecode($_GET["firstnight"]);
echo "<br>lastnight=".urldecode($_GET["lastnight"]);
+
echo "<br>lastnight=".urldecode($_GET["lastnight"]);
echo "<br>checkout=".urldecode($_GET["checkout"]);
+
echo "<br>checkout=".urldecode($_GET["checkout"]);
echo "<br>numnight=".urldecode($_GET["numnight"]);
+
echo "<br>numnight=".urldecode($_GET["numnight"]);
echo "<br>numadult=".urldecode($_GET["numadult"]);
+
echo "<br>numadult=".urldecode($_GET["numadult"]);
echo "<br>numchild=".urldecode($_GET["numchild"]);
+
echo "<br>numchild=".urldecode($_GET["numchild"]);
echo "<br>lang=".urldecode($_GET["lang"]);
+
echo "<br>lang=".urldecode($_GET["lang"]);
echo "<br>price=".urldecode($_GET["price"]);
+
echo "<br>price=".urldecode($_GET["price"]);
echo "<br>confirmtype=".urldecode($_GET["confirmtype"]);
+
echo "<br>confirmtype=".urldecode($_GET["confirmtype"]);
echo "<br>qty=".urldecode($_GET["qty"]);
+
echo "<br>qty=".urldecode($_GET["qty"]);
echo "<br>pricenum=".urldecode($_GET["pricenum"]);
+
echo "<br>pricenum=".urldecode($_GET["pricenum"]);
echo "<br>referer=".urldecode($_GET["referer"]);
+
echo "<br>referer=".urldecode($_GET["referer"]);
echo "<br>guestname=".urldecode($_GET["guestname"]);
+
echo "<br>guestname=".urldecode($_GET["guestname"]);
echo "<br>guestfirstname=".urldecode($_GET["guestfirstname"]);
+
echo "<br>guestfirstname=".urldecode($_GET["guestfirstname"]);
echo "<br>guestemail=".urldecode($_GET["guestemail"]);
+
echo "<br>guestemail=".urldecode($_GET["guestemail"]);
echo "<br>guestphone=".urldecode($_GET["guestphone"]);
+
echo "<br>guestphone=".urldecode($_GET["guestphone"]);
echo "<br>guestmobile=".urldecode($_GET["guestmobile"]);
+
echo "<br>guestmobile=".urldecode($_GET["guestmobile"]);
echo "<br>guestaddress=".urldecode($_GET["guestaddress"]);
+
echo "<br>guestaddress=".urldecode($_GET["guestaddress"]);
echo "<br>guestarrivaltime=".urldecode($_GET["guestarrivaltime"]);
+
echo "<br>guestarrivaltime=".urldecode($_GET["guestarrivaltime"]);
echo "<br>guestcomments=".urldecode($_GET["guestcomments"]);
+
echo "<br>guestcomments=".urldecode($_GET["guestcomments"]);
echo "<br>ratedesc=".urldecode($_GET["ratedesc"]);
+
echo "<br>ratedesc=".urldecode($_GET["ratedesc"]);
 
+
?>
?>
 

Revision as of 16:58, 13 September 2014


If you have entered a Booking Return Url we will redirect the guest to your site after they book. We will include information about the booking as parameters added to your Url

Using PHP or other scripting languages it is possible to process and display personalised information to the guest. The following PHP test script will show the supplied data.

<?php
echo "
bookid=".$_GET["bookid"]; echo "
propid=".$_GET["propid"]; echo "
roomid=".$_GET["roomid"]; echo "
roomname=".urldecode($_GET["roomname"]); echo "
propname=".urldecode($_GET["propname"]); echo "
firstnight=".urldecode($_GET["firstnight"]); echo "
lastnight=".urldecode($_GET["lastnight"]); echo "
checkout=".urldecode($_GET["checkout"]); echo "
numnight=".urldecode($_GET["numnight"]); echo "
numadult=".urldecode($_GET["numadult"]); echo "
numchild=".urldecode($_GET["numchild"]); echo "
lang=".urldecode($_GET["lang"]); echo "
price=".urldecode($_GET["price"]); echo "
confirmtype=".urldecode($_GET["confirmtype"]); echo "
qty=".urldecode($_GET["qty"]); echo "
pricenum=".urldecode($_GET["pricenum"]); echo "
referer=".urldecode($_GET["referer"]); echo "
guestname=".urldecode($_GET["guestname"]); echo "
guestfirstname=".urldecode($_GET["guestfirstname"]); echo "
guestemail=".urldecode($_GET["guestemail"]); echo "
guestphone=".urldecode($_GET["guestphone"]); echo "
guestmobile=".urldecode($_GET["guestmobile"]); echo "
guestaddress=".urldecode($_GET["guestaddress"]); echo "
guestarrivaltime=".urldecode($_GET["guestarrivaltime"]); echo "
guestcomments=".urldecode($_GET["guestcomments"]); echo "
ratedesc=".urldecode($_GET["ratedesc"]); ?>