a doubt in opening a web page

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
selvabits
Posts: 13
Joined: Tue Jul 17, 2007 4:30 pm

a doubt in opening a web page

Post by selvabits » Fri Dec 14, 2007 3:01 am

I want to open a web page from php ,

I use header location in the php and the web page is not opened when called from revolution

Thanks in advance

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Fri Dec 14, 2007 11:17 am

selvabits,

Do you want to open the web page in a browser or in Revolution itself, or are you just reading the data to process it with a script?

How do you "call" the web site?

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

selvabits
Posts: 13
Joined: Tue Jul 17, 2007 4:30 pm

Post by selvabits » Fri Dec 14, 2007 11:24 am

I want to open it in the browser only . I will be more specific

There is a .swf file in the server which i would want to open ,to do this i call a php file and it opens the .swf . Now the php runs in the browser properly , but when called from revolution using put URL it did not work

Thanks a lot

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Fri Dec 14, 2007 11:37 am

selvabits,

The put url command reads the data an internet address or local file and puts the data into a variable or the message box. You can't use this command to open a url in the browser. Try the revGoURL command instead.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply

Return to “Talking LiveCode”