FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
PHPExecute
PHPExecute
Débuté par Marcelo NISHI ( Pala, 29 juin 2013 14:28 - 3 réponses
Connectez-vous…
Marcelo NISHI ( Pala
#1
Membre enregistré
3 messages
Posté le 29 juin 2013 - 14:28
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.
Signaler
0
0
Fabrice Harari
#2
Posté le 29 juin 2013 - 16:45
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.
Signaler
0
0
Marcelo NISHI ( Pala
#3
Membre enregistré
3 messages
Posté le 01 juillet 2013 - 15:05
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.
Signaler
0
0
Fabrice Harari
#4
Posté le 01 juillet 2013 - 16:04
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.
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte