There are serious problems blocking the development! In the Livecode 5.5.1 version the GET and Put URL D'ont work!!! IF you reinstall The Older version 5.5.0 They works fine...Can you fix it??
Best regards,
Lestroso

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
on opencard/openstack ## etc...
send "httpstuff" to me in 1
...
end openXXX
command httpstuff
## do your PUT and GET here
end httpstuff
Code: Select all
on openstack
send "internettest" to me in 1 sec
end openstack
on internettest
put " " into fld "test" of stack "test"
put url "http://www.google.com" into fld "test" of stack "test"
IF FIELD "test" of stack "test" is empty THEN
beep 3
answer "Please Connect To Internet In Order To Work With This App!!!"
end if
end internettest
Code: Select all
GLOBAL GCANCELLOOP
on opencard
set the loc of this stack to the screenLoc
put " " into fld "internettest"
put url "http://www.google.com" into fld "internettest"
IF FIELD "internettest" is empty THEN
play audioclip "horn.wav"
answer "Please Connect To Internet In Order To Verify The Emails Created!!!"
end if
Put"" into field"filtro2"
put"" into field"campoemail"
put"" into field"camporisultato"
put"" into field"trovamail"
put"" into field"mailext"
put"@hotmail.com" into field"mailext"
put "FALSE" INTO GCANCELLOOP
end opencard
This piece of information is missing from the get and put, in regards to using those commands for URLs..load wrote:When included in a standalone application, the Internet library is implemented as a hidden group and made available when the group receives its first openBackground message. During the first part of the application's startup process, before this message is sent, the loadcommand is not yet available. This may affect attempts to use this command in startup, preOpenStack, openStack, or preOpenCardhandlers in the main stack. Once the application has finished starting up, the library is available and the loadcommand can be used in any handler.