<?php function generate_whatsapp_link() { // Check if the "ref" cookie exists and is not empty. if (isset($_COOKIE['ref']) && !empty($_COOKIE['ref'])) { // Get the value of the "ref" cookie and sanitize it for use in the URL. $ref_value = urlencode($_COOKIE['ref']); // Replace 'your_whatsapp_number_here' with your actual WhatsApp number. $whatsapp_number = '40757885888'; // Set the additional message for the "text" parameter. $additional_message = 'Buna ziua! Sunt interesat de '; // Construct the link text with the WhatsApp number, "(ref={ref value})", and the additional message. $link_text = 'https://wa.me/' . $whatsapp_number . '?text=' . urlencode('(REF ' . $ref_value . ') ' . $additional_message); return $link_text; } else { // If the "ref" cookie is not set or empty, return a default link text without the "ref" value. // Replace 'your_whatsapp_number_here' with your actual WhatsApp number. $whatsapp_number = '40757885888'; // Set the additional message for the "text" parameter. $additional_message = 'Buna ziua! Sunt interesat de '; // Construct the link text with only the WhatsApp number and the additional message. $link_text = 'https://wa.me/' . $whatsapp_number . '?text=' . urlencode($additional_message); return $link_text; } } ?>

Request Form

Write us which property piqued your interest, or which service you wish to request.

  • Dozens of satisfied customers
  • 100% Satisfaction Guaranteed
  • Exclusive properties only
  • Select services through intermediaries
  • Open to long-term collaborations
WhatsApp message
Or fill out the form below and we will contact you.