I have a text on a website, that I need to retrive! the page reqires some arguments ex: somesite.com/page.php?id=234&type=12 etc.. Only way how can I read the data is include('somesite.com/page.php?id=234&type=12'), 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!
$variable = include('page.php');
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users