Re: URL question
Just a thought...you haven't got a numberFormat setting anywhere in the handler? If Rev is formatting the number in some way, (5.00 instead of just 5 for example) this might be screwing up the URL. if you check the 'constructed' URL in the message box, you can at least rule out this possibility. put http://www.domain.com/view/xml/name/; user will show you the URL in the message box. Cheers, Mark --- [This E-mail has been scanned for viruses but it is your responsibility to maintain up to date anti virus software on the device that you are currently using to read this email. ] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named user and has a value of 3. get url http://www.domain.com/view/xml/name/user; Does anyone have any suggestions on how to write this? maybe you mean this: get url(http://www.domain.com/view/xml/name/; user) ? You have to build the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Thanks. On 18-Mar-05, at 1:57 AM, Klaus Major wrote: Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named user and has a value of 3. get url http://www.domain.com/view/xml/name/user; Does anyone have any suggestions on how to write this? maybe you mean this: get url(http://www.domain.com/view/xml/name/; user) ? You have to build the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Hi Varen, Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Hmmm, maybe we need the url to be a folder? To get index.html...? Try: get url(http://www.domain.com/view/xml/name/; user /) Thanks. Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Hi I'm trying to load a file from a server by constructing an url which has a variable as part of the string. When I remove the variable code and use just a straight url everything works fine, the file on the server is found and loaded: get url http://www.domain.com/view/xml/name/5; this works!! However, when I try to insert a variable into the url string the file still loads from the server but the variable was not correctly passed onto the server--- resulting in the wrong page being sent back. global user put 5 into user get url http://www.domain.com/view/xml/name/user; this doesn't work Klaus' suggestion didn't work either: get url(http://www.domain.com/view/xml/name/; user) this doesn't work either I'm confident other parts of this, such as the server, etc are setup properly because if I simply put a 5 in the url I get the correct response. I hope this is enough information. Var On 18-Mar-05, at 11:27 AM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you mean it doesn't work? Do you get an error message, or do you expect something to happen that doesn't... If you could be more specific about what you are trying to do, we could probably help you more effectively. On Mar 18, 2005, at 1:50 PM, Varen Swaab wrote: Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Thanks. On 18-Mar-05, at 1:57 AM, Klaus Major wrote: Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named user and has a value of 3. get url http://www.domain.com/view/xml/name/user; Does anyone have any suggestions on how to write this? maybe you mean this: get url(http://www.domain.com/view/xml/name/; user) ? You have to build the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCOyur7aqtWrR9cZoRAo0GAJ44Y3hpj3fM1Iv8qOivcZUzgD/h8wCdHQs5 o/BDB13SczAVH/D9eFC8//Y= =d7uH -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Varen, Hmit works here: -- Shameless plug for an example follows: on mouseUp put alptex16bie into user get url(http://www.alptex.com/products/emulators/user/;) put it into msg --the html code looks fine! end mouseUp Best Regards, Tim Ponn Varen Swaab wrote: Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Thanks. On 18-Mar-05, at 1:57 AM, Klaus Major wrote: Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named user and has a value of 3. get url http://www.domain.com/view/xml/name/user; Does anyone have any suggestions on how to write this? maybe you mean this: get url(http://www.domain.com/view/xml/name/; user) ? You have to build the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Varen, This also works: on mouseUp put 16bie into user get url(http://www.alptex.com/products/emulators/alptex16bie/user) put it into msg -- the html of the page titled 16bie.html on our site is in the msg box end mouseUp Best Regards, Tim Ponn Varen Swaab wrote: Hi I'm trying to load a file from a server by constructing an url which has a variable as part of the string. When I remove the variable code and use just a straight url everything works fine, the file on the server is found and loaded: get url http://www.domain.com/view/xml/name/5; this works!! However, when I try to insert a variable into the url string the file still loads from the server but the variable was not correctly passed onto the server--- resulting in the wrong page being sent back. global user put 5 into user get url http://www.domain.com/view/xml/name/user; this doesn't work Klaus' suggestion didn't work either: get url(http://www.domain.com/view/xml/name/; user) this doesn't work either I'm confident other parts of this, such as the server, etc are setup properly because if I simply put a 5 in the url I get the correct response. I hope this is enough information. Var On 18-Mar-05, at 11:27 AM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you mean it doesn't work? Do you get an error message, or do you expect something to happen that doesn't... If you could be more specific about what you are trying to do, we could probably help you more effectively. On Mar 18, 2005, at 1:50 PM, Varen Swaab wrote: Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Thanks. On 18-Mar-05, at 1:57 AM, Klaus Major wrote: Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named user and has a value of 3. get url http://www.domain.com/view/xml/name/user; Does anyone have any suggestions on how to write this? maybe you mean this: get url(http://www.domain.com/view/xml/name/; user) ? You have to build the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCOyur7aqtWrR9cZoRAo0GAJ44Y3hpj3fM1Iv8qOivcZUzgD/h8wCdHQs5 o/BDB13SczAVH/D9eFC8//Y= =d7uH -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Thanks everyone, I appreciate the help but nothing has worked for me. I agree, the examples you are giving should work and if I simply put a numerical value in place of the variable it works just fine, but the variable just doesn't work. Do you have any idea why it wouldn't work? This is pretty simple code so it must be another factor, I just can't think of what...h. Thanks Var On 18-Mar-05, at 11:54 AM, T. R. Ponn wrote: Varen, This also works: on mouseUp put 16bie into user get url(http://www.alptex.com/products/emulators/alptex16bie/user) put it into msg -- the html of the page titled 16bie.html on our site is in the msg box end mouseUp Best Regards, Tim Ponn Varen Swaab wrote: Hi I'm trying to load a file from a server by constructing an url which has a variable as part of the string. When I remove the variable code and use just a straight url everything works fine, the file on the server is found and loaded: get url http://www.domain.com/view/xml/name/5; this works!! However, when I try to insert a variable into the url string the file still loads from the server but the variable was not correctly passed onto the server--- resulting in the wrong page being sent back. global user put 5 into user get url http://www.domain.com/view/xml/name/user; this doesn't work Klaus' suggestion didn't work either: get url(http://www.domain.com/view/xml/name/; user) this doesn't work either I'm confident other parts of this, such as the server, etc are setup properly because if I simply put a 5 in the url I get the correct response. I hope this is enough information. Var On 18-Mar-05, at 11:27 AM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you mean it doesn't work? Do you get an error message, or do you expect something to happen that doesn't... If you could be more specific about what you are trying to do, we could probably help you more effectively. On Mar 18, 2005, at 1:50 PM, Varen Swaab wrote: Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Thanks. On 18-Mar-05, at 1:57 AM, Klaus Major wrote: Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named user and has a value of 3. get url http://www.domain.com/view/xml/name/user; Does anyone have any suggestions on how to write this? maybe you mean this: get url(http://www.domain.com/view/xml/name/; user) ? You have to build the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCOyur7aqtWrR9cZoRAo0GAJ44Y3hpj3fM1Iv8qOivcZUzgD/h8wCdHQs5 o/BDB13SczAVH/D9eFC8//Y= =d7uH -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
What happens if you put value(varName)? Also, when you put the variable into the message box do you have the 5 returned to you? You could declare it a global and check the contents to make sure it holds what you want. Mark On Mar 18, 2005, at 4:41 PM, Varen Swaab wrote: Thanks everyone, I appreciate the help but nothing has worked for me. I agree, the examples you are giving should work and if I simply put a numerical value in place of the variable it works just fine, but the variable just doesn't work. Do you have any idea why it wouldn't work? This is pretty simple code so it must be another factor, I just can't think of what...h. Thanks Var On 18-Mar-05, at 11:54 AM, T. R. Ponn wrote: Varen, This also works: on mouseUp put 16bie into user get url(http://www.alptex.com/products/emulators/alptex16bie/user) put it into msg -- the html of the page titled 16bie.html on our site is in the msg box end mouseUp Best Regards, Tim Ponn Varen Swaab wrote: Hi I'm trying to load a file from a server by constructing an url which has a variable as part of the string. When I remove the variable code and use just a straight url everything works fine, the file on the server is found and loaded: get url http://www.domain.com/view/xml/name/5; this works!! However, when I try to insert a variable into the url string the file still loads from the server but the variable was not correctly passed onto the server--- resulting in the wrong page being sent back. global user put 5 into user get url http://www.domain.com/view/xml/name/user; this doesn't work Klaus' suggestion didn't work either: get url(http://www.domain.com/view/xml/name/; user) this doesn't work either I'm confident other parts of this, such as the server, etc are setup properly because if I simply put a 5 in the url I get the correct response. I hope this is enough information. Var On 18-Mar-05, at 11:27 AM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you mean it doesn't work? Do you get an error message, or do you expect something to happen that doesn't... If you could be more specific about what you are trying to do, we could probably help you more effectively. On Mar 18, 2005, at 1:50 PM, Varen Swaab wrote: Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Thanks. On 18-Mar-05, at 1:57 AM, Klaus Major wrote: Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named user and has a value of 3. get url http://www.domain.com/view/xml/name/user; Does anyone have any suggestions on how to write this? maybe you mean this: get url(http://www.domain.com/view/xml/name/; user) ? You have to build the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCOyur7aqtWrR9cZoRAo0GAJ44Y3hpj3fM1Iv8qOivcZUzgD/h8wCdHQs5 o/BDB13SczAVH/D9eFC8//Y= =d7uH -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
On 3/18/05 6:41 PM, Varen Swaab wrote: Thanks everyone, I appreciate the help but nothing has worked for me. I agree, the examples you are giving should work and if I simply put a numerical value in place of the variable it works just fine, but the variable just doesn't work. Do you have any idea why it wouldn't work? The examples given on the list are valid, so it sounds like your variable doesn't hold the value you think it does. Try this: put 5 into user get http://www.alptex.com/products/emulators/alptex16bie/user put it Then see if the message box contains what you expect. If the last character isn't a number, there is something else that is interfering with the value of user. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
This is just a shot in the dark, but could there be a problem with using 'user' as the variable name? Regards James On 18 Mar 2005 16:41:47 -0800, Varen Swaab wrote: Thanks everyone, I appreciate the help but nothing has worked for me. I agree, the examples you are giving should work and if I simply put a numerical value in place of the variable it works just fine, but the variable just doesn't work. Do you have any idea why it wouldn't work? This is pretty simple code so it must be another factor, I just can't think of what...h. Thanks Var ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Thanks to everyone here I was able to get this figured out. It's a little complicated (and embarrassing) to describe my mistakes but your examples and ideas helped a lot. Have a great weekend. Var On 18-Mar-05, at 10:30 PM, James Richards wrote: This is just a shot in the dark, but could there be a problem with using 'user' as the variable name? Regards James On 18 Mar 2005 16:41:47 -0800, Varen Swaab wrote: Thanks everyone, I appreciate the help but nothing has worked for me. I agree, the examples you are giving should work and if I simply put a numerical value in place of the variable it works just fine, but the variable just doesn't work. Do you have any idea why it wouldn't work? This is pretty simple code so it must be another factor, I just can't think of what...h. Thanks Var ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution