blackcell Posted December 18, 2008 Share Posted December 18, 2008 What does the client side script expect back from the server response? Like you send the HTTP request and wait for it by looking at the Ready State, but if I call a script at /scripts/findEmail.ascript.php, how do I send what I want the response to be in the scripts/findEmail.ascript.php file using php programming? Sorry if you don't understand this is hard to explain but very basic. Edit: Do you just echo the result that needs to be sent back to the client? Quote Link to comment Share on other sites More sharing options...
rhodesa Posted December 18, 2008 Share Posted December 18, 2008 whatever the output of /scripts/findEmail.ascript.php is is what is returned. so if it does: <?php echo "Hello World!"; ?> then the string: Hello World! is what is returned Quote Link to comment Share on other sites More sharing options...
blackcell Posted December 18, 2008 Author Share Posted December 18, 2008 Ok thanks man. 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.