How receive data from a php script
Posted: Tue Sep 02, 2014 9:59 pm
Many thanks for your help Peter.
- a basic to master the web -
https://forums.spiderbasic.com/
Code: Select all
EnableExplicit
Declare CloseWindowEvent()
Enumeration ; - Windows
#MainWin
EndEnumeration
Enumeration ; - Gadgets
#Editor
EndEnumeration
If Not OpenWindow(#MainWin, 10, 10, 400, 150, "Hello World", #PB_Window_ScreenCentered | #PB_Window_SystemMenu)
CloseWindowEvent() ; end
EndIf
WebGadget(#Editor, 10, 10, 380, 130, "http://s242132022.onlinehome.fr/receivedata.php")
BindEvent(#PB_Event_CloseWindow, @CloseWindowEvent())
Procedure CloseWindowEvent()
CloseWindow(EventWindow())
EndProcedure