Jump to content

PHP Script calling another PHP script


chelnov63

Recommended Posts

I have a php script called  one.php and a php script called two.php

 

Is it possible for one.php to call two.php and retrieve an xml result back from two.php?

 

 

example pseudocde

 

 

one.php

 

 

<?php

// call two.php and get the xml result back and echo it out here?

?>

 

 

 

 

 

 

two.php

 

 

<?php

echo "<greeting> hello </greeting>";

?>

 

I'm on a deadline...thanks in adavnce for any help...

Link to comment
https://forums.phpfreaks.com/topic/51285-php-script-calling-another-php-script/
Share on other sites

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.