How receive data from a php script

Just starting out? Need help? Post your questions and find answers here.
falsam
Posts: 280
Joined: Mon May 05, 2014 9:49 pm
Location: France
Contact:

How receive data from a php script

Post by falsam »

Many thanks for your help Peter.

➽ Windows 11 - JDK 1.8 - SB 2.40 - Android 13
http://falsam.com

Sorry for my poor english
JackWebb
Posts: 6
Joined: Sun Mar 02, 2014 7:51 pm

Re: How receive data from a php script

Post by JackWebb »

Not sure I fully understand the question. Maybe try a different approach. Does this work for your situation?

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

Good Luck!
Jack 8-)
Simplicity is the ultimate sophistication. ~ Leonardo Da Vinci
Post Reply