Page 1 of 1

problem in httpRequest

Posted: Wed Jul 20, 2016 8:07 pm
by skinkairewalker
hi everyone m i have problem with execute php file with httpRequest.

this is my SpiderBasic Code :

Code: Select all

ExamineDesktops()

Global deskwidth.i = DesktopWidth(0)
Global deskheight.i = DesktopHeight(0)

OpenWindow(0,0,0,deskwidth,deskheight,"ERP",#PB_Window_Background)
TextGadget(0,0,0,200,200,"---")
SetGadgetColor(0,#PB_Gadget_FrontColor,RGB(255,0,0))
Procedure HttpGetEvent(Success, Result$, UserData)
  Debug Success
  Debug Result$
  If Success
    SetGadgetText(0,Result$)
      Debug Result$
    Else
      Debug "HTTPRequest(): Error"
    EndIf

EndProcedure

HTTPRequest(#PB_HTTP_Get, "/teste.php", "", @HttpGetEvent())



this is my PhpCode :

Code: Select all

<?php 


echo "Olá Mundo"; 


?>

i try use this with Xampp and Webhosting place , but both dont works ...
what can i do to this works ?