Jump to content

Recommended Posts

Requirements & Objectives:

 

Ensure $x is populated (not empty) and fires $x variable if TRUE back to http://domain2.com/log.php?x=$_REQUEST['a'] on page (success.php) load.

 

http://domain2.com/log.php        // This is the page that needs to receive appended variable from http://domain1.com/success.php via JS

-------

 

START OF PROCESS:
http://domain1.com/index.php?id=test123    

// this is the receiving domain with appended variable 'id' sent to www.domain1.com/index.php


http://domain1.com/success.php?a=$_REQUEST['id']            
// variable 'id' is then captured & passed, from inbound.php to success.php to which I, then, need that page (success.php) to fire the captured var $a back to domain2.com/log.php as var 'x' via JS.

=============

 

Again, the objective is to get 'success.php' to assign $x to link and fire as: http://domain2.com/log.php?x=$_REQUEST['a'] on page (success.php) load via JS. I have the variable capture process, via PHP worked out - just need help with the JS part on success.php to fire the url back to www.domain2.com with captured var $x if populated.

 

---

 

Any help appreciated - thx!

Yeah, that's for responding - I was just thinking AJAX earlier.

I have the logic in my head and will throw - what I think required - together in just a bit for you to review and advise.

 

Appreciate the response and will provide the code for review shortly - thx!

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.