Advertisement
ASP_Volume2 Internet/ HTML #36319

Hidden follow Hyperlink function

Now think about this: you need to execute a PHP or ASP command on the internet. You dont want your user to notice anything (it's only raw data streaming over the net). What would you do? I have a simple answer..

AI

KI-Zusammenfassung: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Quellcode
original-source
<br><br><p><font color="#000000" face="Arial" size="4"><b>Hidden follow Hyperlink
function</b></font>
<hr noshade size="1" color="#000000">
<font size="1">...What a "bizarre" name?!</font>
<font size="2"><br>
<br>
Now think about this: you need to execute a PHP or ASP command on the internet. You dont want your user to notice anything (it's only raw data streaming over the net). What would you do? I have a simple
answer..
</font>
<p>
<font size="2">Let's get to work!
Go to Components window on visual basic (Ctrl+T) and select the "Internet Transfer Control" (Inet
component). Now add a Inet component to a form.<br><br>
This is what you have to write to tell the a.php file that the value of LOG variable is 18282, for
example:
<br><br><font color="#000080"><font face="Courier New">Inet1.OpenURL
"http://www.12345.com/a.php?LOG=18282", 1</font>
<br></font><br>
Now let's suppose you just want to give a hit for a web counter every time the user clicks on command1 button:
<br><br>
<font face="Courier New" color="#000080">
Private Sub Command1_Click() <br>
Inet1.OpenURL "http://www.the_counter_address.com/your_counter_xpto/", 1 <br>
End Sub</font><br>
<br><br>
Why am I explaining this? It seems kinda obvious.. Well the problem is that many times we step over these obvious and small things and we forgot they can help us. 
<br>
Speaking for myself.. It's the second time I needed to do something like this and my first thought was.. "I know.. i know.. i'm gonna do it with winsock... mmhhhmm.. no! the API! ... The Microsoft Internet Controls.. nahh....."<br>
The real advantage of the Inet component is that you can follow the Hyperlink you want and it's not seen on Internet Explorer History or even seen by the user.
<br>
</font>
</p>
<p><font size="2">
I sincerely hope this can help.. and if you think so, pls vote for it. </font></p>
<p><font size="2">
Happy Coding</font></p>
Originalkommentare (3)
Wiederhergestellt von der Wayback Machine