Jump to content

$variable = include('page.php');


Hyaku_

Recommended Posts

Hi!
I have a text on a website, that I need to retrive! the page reqires some arguments ex: [i]somesite.com/page.php?id=234&type=12[/i] etc.. Only way how can I read the data is [i]include('somesite.com/page.php?id=234&type=12')[/i], but I don't want it to be displayed on the site, I just want to get the contents of that page into a variable. Is there any function that could do this?! Thank you!
Link to comment
https://forums.phpfreaks.com/topic/22564-variable-includepagephp/
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.