Jump to content

Appended PHP gets commented out on website

Recommended Posts

Hi there, 

I have a interesting challenge. I'd like to use Revive to send ads to a WIFI splash page. On this splash page there is a php script that handles the creation of authentication urls, when the I Agree button OR and advertisers ads are clicked the user gets authenticated through one of these URLS and redirected to the advertisers site. 

The challenge is - I need to be able to send the destination url to the page from Revive. If I can't do this then I can't manage the ads through Revive as the urls would need to be placed inside the website file. 

Once I found the Append HTML box I thought I was set, I added <?php $ad_one_url = 'https://www.Example.com/'; ?> into the append before box and saved my banner. 

However on the website is gets commented out. Is there any way to achieve what I want? 

Much appreciated! 


Link to comment
Share on other sites

Hi @Brendan,

The destination URL that the user is sent to, when they click on the ad, is generally either defined under the ad's content, or as part of the ad's HTML content (if an HTML ad).

So, you can definitely manage the destination URL for the ad through Revive Adserver.

Take a look here: https://documentation.revive-adserver.com/display/DOCS/Creating+a+Banner

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...