Re: WordPress/PHP

2019-03-04 Thread Peter Bogdanoff via use-livecode
Hi Tom and all,

An update—the people at the remote end (actually in China) have gotten someone 
else on the case, whom it seems will be a better fit to work with our guy here 
to try to solve the problems. Previously, there was language/communication 
difficulties and we were getting nowhere, and our WordPress programmer was 
getting discouraged with the whole thing. 

So, at the moment, I’m going to see if they can figure it out. 

Thanks to all who jumped in to help. I do appreciate you all!

Peter Bogdanoff
ArtsInteractive


> On Mar 4, 2019, at 5:14 PM, Tom Glod via use-livecode 
>  wrote:
> 
> hey peter, i work with wordpress and php all the timeand lc of
> course  i can take a shot at it.i wouldn't mind solving this
> for my project as well.
> 
> pm me, t...@makeshyft.com
> 
> On Mon, Mar 4, 2019 at 5:49 PM Peter Bogdanoff via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Thanks for all the replies.
>> 
>> The whole operation I’m describing is solely WordPress, not touching
>> LiveCode at all. I personally have no knowledge of PHP/WordPress but am
>> tasked with getting this problem fixed somehow.
>> 
>> If there is someone who could talk to my guy and help him troubleshoot, we
>> would be glad to reimburse for your time and expertise!
>> 
>> Peter Bogdanoff
>> 
>> 
>>> On Mar 4, 2019, at 10:02 AM, JJS via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Ok you said that the info he received was not decryptable.
>>> 
>>> Can you put that info in a field in LC and then try to decrypt it, if
>> you have the credentials?
>>> 
>>> Op 4-3-2019 om 17:21 schreef prothero--- via use-livecode:
 Entries on the dB itself are not encrypted, so I could use Navicat to
>> view them. But it probably would be more secure if the entries in the dB
>> itself were encrypted.
 
 Bill
 
 William Prothero
 http://es.earthednet.org
 
> On Mar 4, 2019, at 7:07 AM, JJS via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
> 
> If you happen to know the type of encryption used and also have the
>> keys or hash, salt whatever used to decrypt it
> 
> you could read out the DB value with LC and decrypt it with LC
> 
> i only use PHP as middleware to communicate with MySql/MariaDB
> 
> Op 4-3-2019 om 16:54 schreef Tom Glod via use-livecode:
>> i remember doing a php encryption and trying to make it work with
>> LC..it
>> was a no gobased on some kind of padding that PHP does.
>> 
>> I didn't have time to figure it out, so I can't help you solve it
>> from my
>> experience.. but .you're not going crazy...its PHP.
>> 
>> On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Don’t know if this will help, but I have a php script that
>> demonstrates
>>> php encryption at:
>>> http://earthlearningsolutions.org/google-static-maps-demo/
>>> The encryption is of traffic between LC and a php script on a server
>> and,
>>> as an example, may help.
>>> Best,
>>> Bill
>>> 
>>> William Prothero
>>> http://es.earthednet.org
>>> 
 On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
 Hi,
 
 Any PHP people on this list? A non-LiveCode problem:
 
 I have a person who has been doing some work modifying our
>>> WordPress/WooCommerce site and is having trouble communicating with
>> an
>>> outside system (.net). He says he cannot figure out how to properly
>> decrypt
>>> what’s being sent to him.
 Is there anyone who would be able and willing jump in to help us
>> out?
 
 Peter Bogdanoff
 ArtsInteractive
 bogdan...@me.com
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> http://lists.runrev.com/mai

Re: TabStops and Tab Spacings

2019-03-04 Thread Roger Guay via use-livecode
Thank you, Herman. I’m going to have to study this to see if I can use it. I am 
not converting a "simple table field” but rather a simple field with tabStops 
(not sure if that makes a difference?). Also, I’m working with rtfText instead 
of HTMLText. (Again, not sure if that makes a difference or even what the 
trades are of each)

Thank you very much for taking so much time to help me.

Roger

> On Mar 4, 2019, at 6:45 PM, hh via use-livecode 
>  wrote:
> 
> Last trial. Typos removed and tested to work.
> Sorry for the previous faulty version, it's too late here.
> 
> -- Converts a simple table field with tabstops to a html 
> -- [-hh fecit, Mar 2019]
> on mouseUp
>  put the htmltext of fld 1 into ht
>  put the effective textSize of fld 1 into fs
>  put the tabstops of fld 1 into tStops
>  put the width of fld 1 into fw
>  put empty into tabbs
>  -- we need tabstops relative, not absolute
>  put item 1 of tStops into tabbs[1]
>  repeat with i=2 to the num of items of tStops
>put item i of tStops - item (i-1) of tStops into tabbs[i]
>  end repeat
>  set itemdel to ("&" & "#9;");
>  set linedel to ""
>  replace "" with empty in ht
>  put ""style='font-size:"&fs&"'>"into s0
>  repeat for each line L in ht
>put empty into s
>repeat with i=1 to the num of items of L
>  put item i of L into II
>  put "" &II& "" after s
>end repeat
>if s is not empty then put cr&""&s&"" after s0
>  end repeat
>  put "" & cr & \
>"" & \
>s0 & cr & "" into htm
>  set htmltext of widget "browser" to htm
> end mouseUp
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: TabStops and Tab Spacings

2019-03-04 Thread Roger Guay via use-livecode
This is what I am doing, Torre, but it’s not working! What is preserved is the 
number of tabs inserted but not the tab spacing. In the output document, I have 
to manually adjust the tabs in the tab bar of TextEdit.

Thanks,
Roger

> On Mar 4, 2019, at 3:59 PM, Tore Nilsen via use-livecode 
>  wrote:
> 
> Put the rtfText of field myField into url myURL — where the file extension 
> should be .rtf. You will then have styled text document where, to the best of 
> my knowledge, your tab stops should be preserved.
> 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: TabStops and Tab Spacings

2019-03-04 Thread hh via use-livecode
Last trial. Typos removed and tested to work.
Sorry for the previous faulty version, it's too late here.

-- Converts a simple table field with tabstops to a html 
-- [-hh fecit, Mar 2019]
on mouseUp
  put the htmltext of fld 1 into ht
  put the effective textSize of fld 1 into fs
  put the tabstops of fld 1 into tStops
  put the width of fld 1 into fw
  put empty into tabbs
  -- we need tabstops relative, not absolute
  put item 1 of tStops into tabbs[1]
  repeat with i=2 to the num of items of tStops
put item i of tStops - item (i-1) of tStops into tabbs[i]
  end repeat
  set itemdel to ("&" & "#9;");
  set linedel to ""
  replace "" with empty in ht
  put ""into s0
  repeat for each line L in ht
put empty into s
repeat with i=1 to the num of items of L
  put item i of L into II
  put "" &II& "" after s
end repeat
if s is not empty then put cr&""&s&"" after s0
  end repeat
  put "" & cr & \
"" & \
s0 & cr & "" into htm
  set htmltext of widget "browser" to htm
end mouseUp


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: TabStops and Tab Spacings

2019-03-04 Thread hh via use-livecode
To avoid misunderstandings here again the (correctly displayed) code:

-- Converts a simple table field with tabstops to a html 
-- [-hh fecit, Mar 2019]
on mouseUp
  put the htmltext of fld 1 into ht
  put the effective textSize of fld 1 into fs
  put the tabstops of fld 1 into tStops
  put the width of fld 1 into fw
  put empty into tabbs
  -- we need tabstops relative, not absolute
  put item 1 of tStops into tabbs[1]
  repeat with i=2 to the num of items of tStops
put item i of tStops - item (i-1) of tStops into tabbs[i]
  end repeat
  set itemdel to ("&" & "#9");
  set linedel to ""
  replace "" with empty in ht
  put ""into s0
  repeat for each line L in ht
put empty into s
repeat with i=1 to the num of items of L
  put item i of L into II
  put "" &II& "" after s
end repeat
if s is not empty then put cr&""&s&"" after s0
  end repeat
  put "" & cr & \
"" & \
s0 & cr & "" into htm
  set htmltext of widget "browser" to htm
end mouseUp



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: TabStops and Tab Spacings

2019-03-04 Thread hh via use-livecode
The itemdel (that was translated from html in my last post to a tab)
is the htmlCode of tab: numToChar(38)&"#9;".

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: TabStops and Tab Spacings

2019-03-04 Thread hh via use-livecode
Using the htmltext or the rtfText will not work:
They contain the tabs but NOT the tabspacing.

You could try the following, it works for me.
Make a browser widget with the width of your table field = fld 1.

-- Converts a simple table field with tabstops to a html 
-- [-hh fect Mar 2019]
on mouseUp
  put the htmltext of fld 1 into ht
  put the effective textSize of fld 1 into fs
  put the tabstops of fld 1 into tStops
  put the width of fld 1 into fw
  put empty into tabbs
  -- we need tabstops relative, not absolute
  put item 1 of tStops into tabbs[1]
  repeat with i=2 to the num of items of tStops
put item i of tStops - item (i-1) of tStops into tabbs[i]
  end repeat
  set itemdel to "	"
  set linedel to ""
  replace "" with empty in ht
  put ""into s0
  repeat for each line L in ht
put empty into s
repeat with i=1 to the num of items of L
  put item i of L into II
  put "" &II& "" after s
end repeat
if s is not empty then put cr&""&s&"" after s0
  end repeat
  put "" & cr & \
"" & \
s0 & cr & "" into htm
  set htmltext of widget "browser" to htm
end mouseUp


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: WordPress/PHP

2019-03-04 Thread Tom Glod via use-livecode
hey peter, i work with wordpress and php all the timeand lc of
course  i can take a shot at it.i wouldn't mind solving this
for my project as well.

pm me, t...@makeshyft.com

On Mon, Mar 4, 2019 at 5:49 PM Peter Bogdanoff via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks for all the replies.
>
> The whole operation I’m describing is solely WordPress, not touching
> LiveCode at all. I personally have no knowledge of PHP/WordPress but am
> tasked with getting this problem fixed somehow.
>
> If there is someone who could talk to my guy and help him troubleshoot, we
> would be glad to reimburse for your time and expertise!
>
> Peter Bogdanoff
>
>
> > On Mar 4, 2019, at 10:02 AM, JJS via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Ok you said that the info he received was not decryptable.
> >
> > Can you put that info in a field in LC and then try to decrypt it, if
> you have the credentials?
> >
> > Op 4-3-2019 om 17:21 schreef prothero--- via use-livecode:
> >> Entries on the dB itself are not encrypted, so I could use Navicat to
> view them. But it probably would be more secure if the entries in the dB
> itself were encrypted.
> >>
> >> Bill
> >>
> >> William Prothero
> >> http://es.earthednet.org
> >>
> >>> On Mar 4, 2019, at 7:07 AM, JJS via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> If you happen to know the type of encryption used and also have the
> keys or hash, salt whatever used to decrypt it
> >>>
> >>> you could read out the DB value with LC and decrypt it with LC
> >>>
> >>> i only use PHP as middleware to communicate with MySql/MariaDB
> >>>
> >>> Op 4-3-2019 om 16:54 schreef Tom Glod via use-livecode:
>  i remember doing a php encryption and trying to make it work with
> LC..it
>  was a no gobased on some kind of padding that PHP does.
> 
>  I didn't have time to figure it out, so I can't help you solve it
> from my
>  experience.. but .you're not going crazy...its PHP.
> 
>  On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode <
>  use-livecode@lists.runrev.com> wrote:
> 
> > Don’t know if this will help, but I have a php script that
> demonstrates
> > php encryption at:
> > http://earthlearningsolutions.org/google-static-maps-demo/
> > The encryption is of traffic between LC and a php script on a server
> and,
> > as an example, may help.
> > Best,
> > Bill
> >
> > William Prothero
> > http://es.earthednet.org
> >
> >> On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >> Hi,
> >>
> >> Any PHP people on this list? A non-LiveCode problem:
> >>
> >> I have a person who has been doing some work modifying our
> > WordPress/WooCommerce site and is having trouble communicating with
> an
> > outside system (.net). He says he cannot figure out how to properly
> decrypt
> > what’s being sent to him.
> >> Is there anyone who would be able and willing jump in to help us
> out?
> >>
> >> Peter Bogdanoff
> >> ArtsInteractive
> >> bogdan...@me.com
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>  ___
>  use-livecode mailing list
>  use-livecode@lists.runrev.com
>  Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
>  http://lists.runrev.com/mailman/listinfo/use-livecode
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-live

Re: TabStops and Tab Spacings

2019-03-04 Thread Tore Nilsen via use-livecode
If I understand your question correctly, you would like to export the styled 
text to an external document. If this is the case then you could use this:

Put the rtfText of field myField into url myURL — where the file extension 
should be .rtf. You will then have styled text document where, to the best of 
my knowledge, your tab stops should be preserved.

Best regard
Tore Nilsen

> 4. mar. 2019 kl. 21:24 skrev Roger Guay via use-livecode 
> :
> 
> This is driving me crazy:
> 
> I have a styled text field in the IDE called myFld for which I set the 
> TabStops to 15,250,320
> Is there any way to export myFld to URL and retain the Tab spacings 
> 15,250,320 ?
> 
> Thanks for your help,
> 
> Roger
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: WordPress/PHP

2019-03-04 Thread Peter Bogdanoff via use-livecode
Thanks for all the replies.

The whole operation I’m describing is solely WordPress, not touching LiveCode 
at all. I personally have no knowledge of PHP/WordPress but am tasked with 
getting this problem fixed somehow.

If there is someone who could talk to my guy and help him troubleshoot, we 
would be glad to reimburse for your time and expertise!

Peter Bogdanoff


> On Mar 4, 2019, at 10:02 AM, JJS via use-livecode 
>  wrote:
> 
> Ok you said that the info he received was not decryptable.
> 
> Can you put that info in a field in LC and then try to decrypt it, if you 
> have the credentials?
> 
> Op 4-3-2019 om 17:21 schreef prothero--- via use-livecode:
>> Entries on the dB itself are not encrypted, so I could use Navicat to view 
>> them. But it probably would be more secure if the entries in the dB itself 
>> were encrypted.
>> 
>> Bill
>> 
>> William Prothero
>> http://es.earthednet.org
>> 
>>> On Mar 4, 2019, at 7:07 AM, JJS via use-livecode 
>>>  wrote:
>>> 
>>> If you happen to know the type of encryption used and also have the keys or 
>>> hash, salt whatever used to decrypt it
>>> 
>>> you could read out the DB value with LC and decrypt it with LC
>>> 
>>> i only use PHP as middleware to communicate with MySql/MariaDB
>>> 
>>> Op 4-3-2019 om 16:54 schreef Tom Glod via use-livecode:
 i remember doing a php encryption and trying to make it work with LC..it
 was a no gobased on some kind of padding that PHP does.
 
 I didn't have time to figure it out, so I can't help you solve it from my
 experience.. but .you're not going crazy...its PHP.
 
 On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode <
 use-livecode@lists.runrev.com> wrote:
 
> Don’t know if this will help, but I have a php script that demonstrates
> php encryption at:
> http://earthlearningsolutions.org/google-static-maps-demo/
> The encryption is of traffic between LC and a php script on a server and,
> as an example, may help.
> Best,
> Bill
> 
> William Prothero
> http://es.earthednet.org
> 
>> On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>> Hi,
>> 
>> Any PHP people on this list? A non-LiveCode problem:
>> 
>> I have a person who has been doing some work modifying our
> WordPress/WooCommerce site and is having trouble communicating with an
> outside system (.net). He says he cannot figure out how to properly 
> decrypt
> what’s being sent to him.
>> Is there anyone who would be able and willing jump in to help us out?
>> 
>> Peter Bogdanoff
>> ArtsInteractive
>> bogdan...@me.com
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: TabStops and Tab Spacings

2019-03-04 Thread Stephen Barncard via use-livecode
Hi,
In the past I've set up a special format for field listing with column
names on the first line
and tab stops (as comma separated integers( on the very last line)

human readable

sqb
--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org


On Mon, Mar 4, 2019 at 12:25 PM Roger Guay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> This is driving me crazy:
>
> I have a styled text field in the IDE called myFld for which I set the
> TabStops to 15,250,320
> Is there any way to export myFld to URL and retain the Tab spacings
> 15,250,320 ?
>
> Thanks for your help,
>
> Roger
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


TabStops and Tab Spacings

2019-03-04 Thread Roger Guay via use-livecode
This is driving me crazy:

I have a styled text field in the IDE called myFld for which I set the TabStops 
to 15,250,320
Is there any way to export myFld to URL and retain the Tab spacings 15,250,320 ?

Thanks for your help,

Roger



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: WordPress/PHP

2019-03-04 Thread JJS via use-livecode

Ok you said that the info he received was not decryptable.

Can you put that info in a field in LC and then try to decrypt it, if 
you have the credentials?


Op 4-3-2019 om 17:21 schreef prothero--- via use-livecode:

Entries on the dB itself are not encrypted, so I could use Navicat to view 
them. But it probably would be more secure if the entries in the dB itself were 
encrypted.

Bill

William Prothero
http://es.earthednet.org


On Mar 4, 2019, at 7:07 AM, JJS via use-livecode 
 wrote:

If you happen to know the type of encryption used and also have the keys or 
hash, salt whatever used to decrypt it

you could read out the DB value with LC and decrypt it with LC

i only use PHP as middleware to communicate with MySql/MariaDB

Op 4-3-2019 om 16:54 schreef Tom Glod via use-livecode:

i remember doing a php encryption and trying to make it work with LC..it
was a no gobased on some kind of padding that PHP does.

I didn't have time to figure it out, so I can't help you solve it from my
experience.. but .you're not going crazy...its PHP.

On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode <
use-livecode@lists.runrev.com> wrote:


Don’t know if this will help, but I have a php script that demonstrates
php encryption at:
http://earthlearningsolutions.org/google-static-maps-demo/
The encryption is of traffic between LC and a php script on a server and,
as an example, may help.
Best,
Bill

William Prothero
http://es.earthednet.org


On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode <

use-livecode@lists.runrev.com> wrote:

Hi,

Any PHP people on this list? A non-LiveCode problem:

I have a person who has been doing some work modifying our

WordPress/WooCommerce site and is having trouble communicating with an
outside system (.net). He says he cannot figure out how to properly decrypt
what’s being sent to him.

Is there anyone who would be able and willing jump in to help us out?

Peter Bogdanoff
ArtsInteractive
bogdan...@me.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your

subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

RE: Fields in Android Do Not Show Last Line

2019-03-04 Thread Ralph DiMola via use-livecode
BR,

I always add 20px to item 4 the "contentRect". I did this a long time ago.
20 Is probably a kludge and could be calculated to a more precise value, but
it has worked for me since 2011. In your example:

("0,0," & (the formattedwidth of control pName) & "," & the formattedheight
of control pName + 20) into tRect
mobileControlSet pName, "contentRect" , tRect

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Sannyasin Brahmanathaswami via use-livecode
Sent: Monday, March 04, 2019 12:22 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Fields in Android Do Not Show Last Line

I have a field which shows quotes in an app.

400 pixels wide
320 pixels tall

Font is Helvetica Neue (which shows nicely on iOS and Android)

Font size is 24
Fixed line height = true
Text Height  = 32
Margins: 48,0,37.0

On desktop:
scroll down.. that last line of the field shows completely On iOS
scroll down.. that last line of the field shows completely On
Android
scroll down.. that last line of the field will not show!

We use this to create a scroller on mobile

command CreateScroller pName -- scrolling fields
   if not isMobile() then exit CreateScroller
   deleteMobileControl pName -- delete any existing
   put (the rect of control pName) into tRect
   mobileControlCreate "scroller", pName
   mobileControlSet pName, "rect", tRect
   put  ("0,0," & (the formattedwidth of control pName) & "," & the
formattedheight of control pName) into tRect
   mobileControlSet pName, "contentRect" , tRect
   mobileControlSet pName, "hScroll" , 0
   mobileControlSet pName, "vScroll" , 0
   mobileControlSet pName, "hIndicator" , false
   if pName = "quote" then
  mobileControlSet pName, "vIndicator", true
   end if
   mobileControlSet pName, "visible",  true end CreateScroller

Why can't we scroll to show that last line of the field on Android?

BR















___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Fields in Android Do Not Show Last Line

2019-03-04 Thread Sannyasin Brahmanathaswami via use-livecode
I have a field which shows quotes in an app.

400 pixels wide
320 pixels tall

Font is Helvetica Neue (which shows nicely on iOS and Android)

Font size is 24
Fixed line height = true
Text Height  = 32
Margins: 48,0,37.0

On desktop:
scroll down.. that last line of the field shows completely
On iOS
scroll down.. that last line of the field shows completely
On Android
scroll down.. that last line of the field will not show!

We use this to create a scroller on mobile

command CreateScroller pName -- scrolling fields
   if not isMobile() then exit CreateScroller
   deleteMobileControl pName -- delete any existing
   put (the rect of control pName) into tRect
   mobileControlCreate "scroller", pName
   mobileControlSet pName, "rect", tRect
   put  ("0,0," & (the formattedwidth of control pName) & "," & the 
formattedheight of control pName) into tRect
   mobileControlSet pName, "contentRect" , tRect
   mobileControlSet pName, "hScroll" , 0
   mobileControlSet pName, "vScroll" , 0
   mobileControlSet pName, "hIndicator" , false
   if pName = "quote" then
  mobileControlSet pName, "vIndicator", true
   end if
   mobileControlSet pName, "visible",  true
end CreateScroller

Why can't we scroll to show that last line of the field on Android?

BR















___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: WordPress/PHP

2019-03-04 Thread prothero--- via use-livecode
Entries on the dB itself are not encrypted, so I could use Navicat to view 
them. But it probably would be more secure if the entries in the dB itself were 
encrypted.

Bill

William Prothero
http://es.earthednet.org

> On Mar 4, 2019, at 7:07 AM, JJS via use-livecode 
>  wrote:
> 
> If you happen to know the type of encryption used and also have the keys or 
> hash, salt whatever used to decrypt it
> 
> you could read out the DB value with LC and decrypt it with LC
> 
> i only use PHP as middleware to communicate with MySql/MariaDB
> 
> Op 4-3-2019 om 16:54 schreef Tom Glod via use-livecode:
>> i remember doing a php encryption and trying to make it work with LC..it
>> was a no gobased on some kind of padding that PHP does.
>> 
>> I didn't have time to figure it out, so I can't help you solve it from my
>> experience.. but .you're not going crazy...its PHP.
>> 
>> On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Don’t know if this will help, but I have a php script that demonstrates
>>> php encryption at:
>>> http://earthlearningsolutions.org/google-static-maps-demo/
>>> The encryption is of traffic between LC and a php script on a server and,
>>> as an example, may help.
>>> Best,
>>> Bill
>>> 
>>> William Prothero
>>> http://es.earthednet.org
>>> 
 On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
 Hi,
 
 Any PHP people on this list? A non-LiveCode problem:
 
 I have a person who has been doing some work modifying our
>>> WordPress/WooCommerce site and is having trouble communicating with an
>>> outside system (.net). He says he cannot figure out how to properly decrypt
>>> what’s being sent to him.
 Is there anyone who would be able and willing jump in to help us out?
 
 Peter Bogdanoff
 ArtsInteractive
 bogdan...@me.com
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: WordPress/PHP

2019-03-04 Thread JJS via use-livecode
If you happen to know the type of encryption used and also have the keys 
or hash, salt whatever used to decrypt it


you could read out the DB value with LC and decrypt it with LC

i only use PHP as middleware to communicate with MySql/MariaDB

Op 4-3-2019 om 16:54 schreef Tom Glod via use-livecode:

i remember doing a php encryption and trying to make it work with LC..it
was a no gobased on some kind of padding that PHP does.

I didn't have time to figure it out, so I can't help you solve it from my
experience.. but .you're not going crazy...its PHP.

On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode <
use-livecode@lists.runrev.com> wrote:


Don’t know if this will help, but I have a php script that demonstrates
php encryption at:
http://earthlearningsolutions.org/google-static-maps-demo/
The encryption is of traffic between LC and a php script on a server and,
as an example, may help.
Best,
Bill

William Prothero
http://es.earthednet.org


On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode <

use-livecode@lists.runrev.com> wrote:

Hi,

Any PHP people on this list? A non-LiveCode problem:

I have a person who has been doing some work modifying our

WordPress/WooCommerce site and is having trouble communicating with an
outside system (.net). He says he cannot figure out how to properly decrypt
what’s being sent to him.

Is there anyone who would be able and willing jump in to help us out?

Peter Bogdanoff
ArtsInteractive
bogdan...@me.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your

subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: WordPress/PHP

2019-03-04 Thread Tom Glod via use-livecode
i remember doing a php encryption and trying to make it work with LC..it
was a no gobased on some kind of padding that PHP does.

I didn't have time to figure it out, so I can't help you solve it from my
experience.. but .you're not going crazy...its PHP.

On Mon, Mar 4, 2019 at 1:18 AM prothero--- via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Don’t know if this will help, but I have a php script that demonstrates
> php encryption at:
> http://earthlearningsolutions.org/google-static-maps-demo/
> The encryption is of traffic between LC and a php script on a server and,
> as an example, may help.
> Best,
> Bill
>
> William Prothero
> http://es.earthednet.org
>
> > On Mar 3, 2019, at 9:10 PM, Peter Bogdanoff via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi,
> >
> > Any PHP people on this list? A non-LiveCode problem:
> >
> > I have a person who has been doing some work modifying our
> WordPress/WooCommerce site and is having trouble communicating with an
> outside system (.net). He says he cannot figure out how to properly decrypt
> what’s being sent to him.
> >
> > Is there anyone who would be able and willing jump in to help us out?
> >
> > Peter Bogdanoff
> > ArtsInteractive
> > bogdan...@me.com
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

[ANN] This Week in LiveCode 170

2019-03-04 Thread panagiotis merakos via use-livecode
Hi all,

Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

Read issue #170 here: https://goo.gl/p44iZr

This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around the open source project. New issues will be
released weekly on Mondays. We have a dedicated mailing list that will
deliver each issue directly to you e-mail, so you don't miss any!

If you have anything you'd like mentioned (a project, a discussion
somewhere, an upcoming event) then please get in touch.


-- 
Panagiotis Merakos 
LiveCode Software Developer

Everyone Can Create Apps 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode