GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
PHPExecute
PHPExecute
Iniciado por Marcelo NISHI ( Pala, jun., 29 2013 2:28 PM - 3 respostas
Conecte-se…
Marcelo NISHI ( Pala
#1
Membro registado
3 mensagems
Publicado em junho, 29 2013 - 2:28 PM
Hello! Someone already used PHPExecute("somescript.php")?
I tried to use it but without success. I put my php script in the root of the Web Site (I'm using Apache and PHP) and, when I try to call the PHPExecute("/somescript.php"), it seems that he cannot find the script file, cause stay loading the webpage waiting for the webserver. Plus, I tried to change from PHPExecute("/somescript.php") to PHPExecute("\somescript.php") and I notice this error: php_network_getaddresses: getaddrinfo failed.
Can someone help me?
Thanks.
Denunciar
0
0
Fabrice Harari
#2
Publicado em junho, 29 2013 - 4:45 PM
Hi Marcelo
when you say:
>>...cause stay loading the webpage waiting for the webserver. Plus, I ...
It make me think that you may be looking to use PHPDIsplay and not
PHPExecute
If you really want to use PHPExecute, then tell us what is in the
resulting string
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
New web site (EXPERIMENTAL)
http://www.fabriceharari.eu
(More information on
http://www.fabriceharari.com
)
On 6/29/2013 6:28 AM, Marcelo NISHI ( Pala wrote:
Hello! Someone already used PHPExecute("somescript.php")?
I tried to use it but without success. I put my php script in the root
of the Web Site (I'm using Apache and PHP) and, when I try to call the
PHPExecute("/somescript.php"), it seems that he cannot find the script
file, cause stay loading the webpage waiting for the webserver. Plus, I
tried to change from PHPExecute("/somescript.php") to
PHPExecute("\somescript.php") and I notice this error:
php_network_getaddresses: getaddrinfo failed.
Can someone help me?
Thanks.
Denunciar
0
0
Marcelo NISHI ( Pala
#3
Membro registado
3 mensagems
Publicado em julho, 01 2013 - 3:05 PM
Hi Fabrice,
The result string that I'm waiting from the php script is a "true" or "false" strings. I don't know if I'm right, but I trying to get that string from php script through the echo.
Denunciar
0
0
Fabrice Harari
#4
Publicado em julho, 01 2013 - 4:04 PM
Hi Marcelo
I'm not a specialist in php...No, let me rephrase that... I don't know
jack about PHP
... But the result you are getting back from a
scriptexecute is what would be displayed (the WHOLE page) if you call
the same URL from a browser.
If you were to call an awp page instead of your php, the code to send
back "true" would be StringDisplay("true")... You'll have to find the
php equivalent to the stringdisplay
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
New web site (EXPERIMENTAL)
http://www.fabriceharari.eu
(More information on
http://www.fabriceharari.com
)
On 7/1/2013 7:05 AM, Marcelo NISHI ( Pala wrote:
Hi Fabrice,
The result string that I'm waiting from the php script is a "true" or
"false" strings. I don't know if I'm right, but I trying to get that
string from php script through the echo.
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto