By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,955 Members | 1,793 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,955 IT Pros & Developers. It's quick & easy.

Login and get information

P: n/a
Hi!

I would like to make a script that can log in to another webpage, and
enter a second page, and then get the HTML there, and then save it to a
DB/file.

The login script is like this:

<FORM METHOD="POST" NAME="nmLoggInn2" ACTION="logginn.php">

<SPAN STYLE="color: #555555; text-transform: uppercase;"><B>LOGG
INN</B></SPAN><BR>

<TABLE BORDER="0" STYLE="margin-left: 5px;"><TR><TD>

<SPAN STYLE="color: #777777; letter-spacing:
-1px;">Brukernavn:</SPAN><BR>
<INPUT TYPE="text" NAME="brukernavn" id="brukernavn" SIZE="18"
maxlength="38">
<BR>
<SPAN STYLE="color: #777777; letter-spacing: -1px;">Passord:</SPAN><BR>
<INPUT TYPE="password" NAME="passord" id="passord" SIZE="18"
maxlength="50">
<br>
<!--<SPAN STYLE="color: #777777; letter-spacing:
-1px;">Anti-bot:</SPAN><BR>
<img src="sik-bilde.php?width=80" border="1" width="144" height="30"
alt="Anti-bot bilde" />
<BR>
<SPAN STYLE="color: #777777; letter-spacing: -1px;">Anti-bot
gjenta:</SPAN><BR>
<INPUT TYPE="text" NAME="antbot" id="antbot" SIZE="18" maxlength="30">
<BR><br>-->
<input type="submit" name="submit" value="Logg Inn">
</TD></TR></TABLE>
<BR>
<A HREF="blimedlem.php" onMouseOver="window.status='Registrer - Bli
medlem i Nordicmafia!'; return true" onMouseOut="window.status='';
return true" STYLE="letter-spacing: -1px;">Bli Medlem!</A>
<BR>
<A HREF="glemtpass.php" onMouseOver="window.status='Glemt Passord?';
return true" onMouseOut="window.status=''; return true"
STYLE="letter-spacing: -1px;">Glemt passord?</A><BR><BR><BR>
<INPUT TYPE="hidden" NAME="kqwe" VALUE="FFGGGLNLFLMN">
</FORM>

The other page has the adress
http://www.gonnachange.net/nordic/index.php?side=bank

Jul 8 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.