Search found 33 matches: getip

Return to advanced search

Re: Execute php or vbs code

... "c:\harbour\contrib\hbcurl\hbcurl.ch" function Main() curl_global_init() ? "Hello world" ? callPHP( "www.fivetechsoft.com/getip.php" ) curl_global_cleanup() return nil function callPHP( cUrl ) local hCurl, uValue if ! empty( hCurl := curl_easy_init() ) curl_easy_setopt( ...
by wartiaga
Sun Sep 03, 2023 2:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1106

Re: Get real date from the Internet

Let me remind you that we have another very usefull GetIP() https://www.fivetechsoft.com/getip.php #include "FiveWin.ch"function Main()   MsgInfo( GetIP() )  return nilfunction GetIP()return ...
by Antonio Linares
Tue Sep 27, 2022 6:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get real date from the Internet
Replies: 55
Views: 4465

Re: Aviso que el servidor de SQL esta caído

Aida,

Para obtener tu IP pública llama a esta URL:

https://www.fivetechsoft.com/getip.php
by Antonio Linares
Tue Jan 18, 2022 7:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Aviso que el servidor de SQL esta caído
Replies: 23
Views: 1474

Re: callphp.prg from mod_harbour_master samples

Bayron,

getip.php
Code: Select all  Expand view
<?php
  echo $_SERVER['REMOTE_ADDR'];
?>
by Antonio Linares
Sun Mar 15, 2020 4:09 pm
 
Forum: mod_harbour
Topic: callphp.prg from mod_harbour_master samples (RESOLVED)
Replies: 1
Views: 1290

callphp.prg from mod_harbour_master samples (RESOLVED)

This is a very simple and interesting example...

Can you, if possible, please share the 2nd file
"getip.php"

so we can see how to make the information available from the other server...

thanks
by Bayron
Sun Mar 15, 2020 2:56 pm
 
Forum: mod_harbour
Topic: callphp.prg from mod_harbour_master samples (RESOLVED)
Replies: 1
Views: 1290

Re: Internal and external IP - solved

getip.asp
Code: Select all  Expand view
<html>
<body>
<%Response.Write(Request.ServerVariables("remote_addr"))%>
</body>
</html>
by Horizon
Sat Mar 02, 2019 12:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Internal and external IP - solved
Replies: 11
Views: 2126

Re: Internal and external IP

Michael, You may place this little PHP at your server: getip.php <?php  echo $_SERVER[ 'REMOTE_ADDR' ];?> I have copied it in FiveTech server, so please replace "http://www.ip-adress.com/" with "http://www.fivetechsoft.com/getip.php" ...
by Antonio Linares
Fri Mar 01, 2019 9:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Internal and external IP - solved
Replies: 11
Views: 2126

Saber Ip Publico

... #include <WinInet.h> #include "hbapi.h" #pragma comment(lib, "urlmon.lib") //-----------------------------------// char *GetIP(); bool IsLanOrModem(); //-----------------------------------// HB_FUNC( IPPUBLIC ) { char *pszChar = ""; strcpy( pszChar, GetIP() ); ...
by Busmatic_wpb
Fri Dec 07, 2018 2:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber Ip Publico
Replies: 1
Views: 607

Re: getip() returen 0.0.0.0

Gracias Patricio

Pero lamentablemente :oops: creo que mi version no la incluye, no cuento con esa carpeta en Samples,

Alguna otra alternativa usando harbour

Lubin
by lubin
Thu May 15, 2014 4:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: getip() returen 0.0.0.0
Replies: 6
Views: 1087

Re: getip() returen 0.0.0.0

lubin wrote:Buen dia Patricio
Una consulta, De donde puedo bajar esa funcion GetNetCardInfo(), pues al compilar me sale error

Gracias

Lubin



C:\FWH..\SAMPLES\GETMAC.PRG

salu2.
by karinha
Thu May 15, 2014 3:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: getip() returen 0.0.0.0
Replies: 6
Views: 1087

Re: getip() returen 0.0.0.0

Buen dia Patricio
Una consulta, De donde puedo bajar esa funcion GetNetCardInfo(), pues al compilar me sale error

Gracias

Lubin
by lubin
Thu May 15, 2014 2:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: getip() returen 0.0.0.0
Replies: 6
Views: 1087

Re: getip() returen 0.0.0.0

gracias por compartirlo :-)
by Antonio Linares
Wed May 14, 2014 8:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: getip() returen 0.0.0.0
Replies: 6
Views: 1087

Re: getip() returen 0.0.0.0(RESUELTO)

Estimados

lo he resuelto con la funcion

GetNetCardInfo()
by Patricio Avalos Aguirre
Mon May 12, 2014 5:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: getip() returen 0.0.0.0
Replies: 6
Views: 1087

getip() returen 0.0.0.0

Estimados La funcion GetIp() return 0.0.0.0 cuando la direccion es estatica, hay alguna manera de repararlo adjunto la funcion HB_FUNC( GETIP ) // nSocket{   SOCKADDR_IN sa;   int iLen = sizeof( ...
by Patricio Avalos Aguirre
Tue May 06, 2014 9:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: getip() returen 0.0.0.0
Replies: 6
Views: 1087
Next

Return to advanced search