Daghis
Messages postés22Date d'inscriptionsamedi 22 janvier 2005StatutMembreDernière intervention10 octobre 2010
-
10 oct. 2010 à 16:51
Daghis
Messages postés22Date d'inscriptionsamedi 22 janvier 2005StatutMembreDernière intervention10 octobre 2010
-
10 oct. 2010 à 20:41
Bonjour à tous,
Pourquoi
Shell "explorer.exe http://localhost/Mon Site/Formulaire.php?nom=dupont" me renvoie sur explorer
alors que :
Shell "explorer.exe http://localhost/Mon Site/Formulaire.php" m'affiche bien ma page web
Bref, comment faire pour passer ma variable 'nom' à ma page Formulaire.php ?
Daghis
Messages postés22Date d'inscriptionsamedi 22 janvier 2005StatutMembreDernière intervention10 octobre 2010 10 oct. 2010 à 20:41
Ah, super, ça marche.
Voici ce que j'ai utilisé :
Private Declare Function ShellExecute _
Lib "shell32.dll" _
Alias "ShellExecuteA" ( _
ByVal hwnd As Long, _
ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) _
As Long
Private Sub Command1_Click()
Dim r As Long
r = ShellExecute(0, "open", "http://localhost/Mon Site/Formulaire.php?nom=dupont", 0, 0, 1)
End Sub
et je reçois la variable nom = dupont dans ma page php
Encore merci à tous les deux pour votre aide et la rapidité de votre réponse.