N-Bomb(Nerd) Posted April 7, 2009 Share Posted April 7, 2009 Hello, I'm trying to send input from one of my php scripts to a different one that's located on a different server. Is there some way I can actually send them to the script without redirecting directly to the script? Link to comment https://forums.phpfreaks.com/topic/153078-sending-data/ Share on other sites More sharing options...
Maq Posted April 7, 2009 Share Posted April 7, 2009 You can call the script in a small pop up window. Would that work? Link to comment https://forums.phpfreaks.com/topic/153078-sending-data/#findComment-804055 Share on other sites More sharing options...
N-Bomb(Nerd) Posted April 7, 2009 Author Share Posted April 7, 2009 You can call the script in a small pop up window. Would that work? Mmm not really as this is data that users shouldn't see.. there's no way to have this sent within the php script? Link to comment https://forums.phpfreaks.com/topic/153078-sending-data/#findComment-804065 Share on other sites More sharing options...
N-Bomb(Nerd) Posted April 8, 2009 Author Share Posted April 8, 2009 Sorry for bump but I really need this.. last part of my script. Link to comment https://forums.phpfreaks.com/topic/153078-sending-data/#findComment-804161 Share on other sites More sharing options...
N-Bomb(Nerd) Posted April 8, 2009 Author Share Posted April 8, 2009 Never mind.. I've figured out a fix that seems like it will be able to work for me. I can just use fopen to the url of my php script and put the post variables in the url. Since my php script that it's sending the variables to is just a processing script and doesn't actually output anything I think I'm in business. Still if anyone has a better way of doing this let me know, thanks. Link to comment https://forums.phpfreaks.com/topic/153078-sending-data/#findComment-804199 Share on other sites More sharing options...
Maq Posted April 8, 2009 Share Posted April 8, 2009 You can also use cURL to post data. This may be the best solution for you. Link to comment https://forums.phpfreaks.com/topic/153078-sending-data/#findComment-804516 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.