Jump to content

Posting to another Site?


JREAM

Recommended Posts

I have software that people install.

When they install it, is there a way to make it post their domain name to my website?

 

I know I could do a header('location: http//www.mysite.com/id=?domain.com'); then handle it anyway from mysite.com I wanted. But I don't want to force the user to to actually go to my page.

 

I dont know much about cURL or what it does, hopefully I dont have to use it because I dont want to require additional plugins for the current software.

 

Is there a way to post to another domains url without actually refreshing the page?

Link to comment
https://forums.phpfreaks.com/topic/186331-posting-to-another-site/
Share on other sites

I guess it depends on what you really want to do. If you want real-time posting you might try to buffer the start f the page then call another buffer with a redirect and flush it out. I really have no idea if it would work or not, its just where I would start trying.

 

If all you want to know is who installed your stuff just make a little installer script or write an ini file for them and have it include a file from your server and use your access logs.

 

 

HTH

Teamatomic

Hmm maybe AJAX is the best option to do such a thing.

I thought for a moment to use a 1x1 iframe to go to the url but Im still not sure if that would work out right lol.

 

I plan to encrypt only one file so people cant rewrite the thing to mess with it.

Archived

This topic is now archived and is closed to further replies.

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