Hello!
I'm very new to PHP, but I'm a skille asp.net programmer.
I wonder if this is possible:
I redirect the browser to a external page where there is only a form with one textbox and a submit button. I want to enter a text in this textbox, PROGRAMMATICALLY, andpress the submit button to "login" to the page.
Thereafter I want to get the source of the page...
The rest, I can handle.
Thank you for a very fast answer, though it is a little bit urgent.
/HuGo.B
Redirect to external page and type in a text in textbox
Moderator: General Moderators
Code: Select all
<input type="text" name="text1" value="something" />
<input type="submit" name="sub1" value="Submit">Next page :Thereafter I want to get the source of the page...
echo $_SERVER['HTTP_REFERER'];
This doesnt seem to work always it seems.
It is a post method.
The sitename is: http://www.sanav.com/eric/gprs_read.aspx
and the value I want to write in the textbox is: 351277000546068
And thereafter I want to post this value...
Thank you
The sitename is: http://www.sanav.com/eric/gprs_read.aspx
and the value I want to write in the textbox is: 351277000546068
And thereafter I want to post this value...
Thank you
This was just discussed.
I dont know the complete solution - did not try it yet but will give you a start of where to go.
viewtopic.php?t=33369
I dont know the complete solution - did not try it yet but will give you a start of where to go.
viewtopic.php?t=33369