Hi I'm sort of a newbie at php so the solution is probably pretty obvious, what i'm trying to do is get all of the data from a page using this -
$lines = file('http://www.somesite.com/somepage.html);
$l_count = count($lines);
for($x = 0; $x< $l_count; $x++)
{
}
of which $lines is all of the data in that page
which works fine, but i need to get the data after I've sent the arguments to it. What i can do is send the arguments using a form by submitting them but however, this causes the browser to load that page. How can i load the page with arguments through php? The page is jsp
Thanks
Loading a page with arguments
Moderator: General Moderators
Re: Loading a page with arguments
Solved!
If it helps anyone all i did was load the page in a php GET style for example... somepage.php?var1=abc