dragonusthei Posted October 10, 2006 Share Posted October 10, 2006 Hey,Im setting something up where i need to handle post data then send it back to the serverthe bit im struggling on is i dont know how to send post data without submiting it through a form?this is how the thing needs to workoutside server sends post data[no problem] -> my server sends post data back to there server [problem]so how do i send post data to a url without using a submit button how do i just send the post array to a server? Quote Link to comment Share on other sites More sharing options...
GremlinP1R Posted October 10, 2006 Share Posted October 10, 2006 Try to make the post data script in a defernt file with just comands and just include it in the origanal page Quote Link to comment Share on other sites More sharing options...
dragonusthei Posted October 10, 2006 Author Share Posted October 10, 2006 what?how do i send post data without submiting it with a button etc? Quote Link to comment Share on other sites More sharing options...
GremlinP1R Posted October 10, 2006 Share Posted October 10, 2006 You create a background file.lets say your main page is Home.php create a Background.php file (any name)then you put all your comands in there that you would have done for the submit button. But just the PHP commands no other html and things.Then in your Home.php you just tell him to include('background.php');As you open the home.php it will auto maticly run the background.php in the background of the page and execute all comands in there. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.