Dear all,

I want to populate the value of a include file in a variable.
Is it possible?

e.g.
my php page is http://xyz.com/abc.php and suppose the code is like the
following

<?php
 include('http://www.yahoo.com');
?>
the out put of above code is : It prints the same output if browser has
requested http://www.yahoo.com

I want to store the this out put in a variable of a php page and then give
print command
<?php
$x= include('http://www.yahoo.com');
//upto this moment no out put
print $x;
//now out put should be displayed

IS IT POSSIBLE, IF YES THEN HOW?

Thank you,

Mukesh Kumar
?>





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/HKFolB/TM
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: php-list@yahoogroups.com
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to