Re: Problem (or something I'm doing odd) with $_POST and LC Server

2016-09-28 Thread Matt Maier
Maybe a configuration file is conflicting.

Since you moved the script to a different site there might be some
.htaccess (or whatever) that's got a piece of URL (or whatever) out of
place.

On Wed, Sep 28, 2016 at 3:29 AM, Alex Tweedly  wrote:

> OK - I have half an answer to my own question 
>
> The failing form starts with
>
>  enctype='multipart/form-data'>
>
> If I remove theenctype='multipart/form-data'   part, it works OK.
>
> Now I need to find out why I did that in the first place, or how to get
> the same result in another way (the real form does allow file specification
> / upload).
>
> -- Alex.
>
>
> On 28/09/2016 01:00, Alex Tweedly wrote:
>
>> I have a script running happily on one web site, moved it over to another
>> site and it totally fails; it's a complex script, but I was able to reduce
>> it down to the following tiny script (see end of email).
>>
>> On the new site (hosted on on-rev), the $_POST array is empty, while on
>> the other site (hosted on hostm) it properly contains the posted values.
>>
>> I do see bug 16745 - but that is Windows specific, and is about
>> $_POST_RAW - so it's not that.
>>
>> Is there something I can do (or have done) in my config that would stop
>> this working, or would be needed to make it work ?
>>
>> Working site is http://ua886128.serversignin.c
>> om/susanirvine.co.uk/ttt.lc7   (NB the .lc7 extension tells it to use
>> version 7, so it gets 7.1.4)
>>
>> Failing site is http://melaniechmielewska.co.uk/ttt.lc
>>
>>
>> Any or all suggestions welcome - I can't have a site that doesn't get any
>> form input :-)
>>
>> The fallback is of course to just move this (and all my sites) to my
>> hostm account but that doesn't feel right (yet).
>>
>> Thanks
>>
>> -- Alex.
>>
>> >
>> put  "get" & cr
>> repeat for each key K in $_GET
>>   put K && ":" && $_GET[K] & "" & CR
>> end repeat
>>
>> put  "post" & cr
>> repeat for each key K in $_POST
>>   put K && ":" && $_POST[K] & "" & CR
>> end repeat
>>
>> put version()
>>
>> ?>
>>
>>
>>
>> my Form
>> 
>> > enctype='multipart/form-data'>
>>   
>>   
>>   
>> 
>> 
>> Corbels
>> Archive
>> Recent
>> Thumbs
>> Commissions
>> 
>>
>> 
>> 
>> 
>>
>>
>>
>>
>> ___
>> 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: Problem (or something I'm doing odd) with $_POST and LC Server

2016-09-27 Thread Alex Tweedly

OK - I have half an answer to my own question 

The failing form starts with

enctype='multipart/form-data'>


If I remove theenctype='multipart/form-data'   part, it works OK.

Now I need to find out why I did that in the first place, or how to get 
the same result in another way (the real form does allow file 
specification / upload).


-- Alex.

On 28/09/2016 01:00, Alex Tweedly wrote:
I have a script running happily on one web site, moved it over to 
another site and it totally fails; it's a complex script, but I was 
able to reduce it down to the following tiny script (see end of email).


On the new site (hosted on on-rev), the $_POST array is empty, while 
on the other site (hosted on hostm) it properly contains the posted 
values.


I do see bug 16745 - but that is Windows specific, and is about 
$_POST_RAW - so it's not that.


Is there something I can do (or have done) in my config that would 
stop this working, or would be needed to make it work ?


Working site is 
http://ua886128.serversignin.com/susanirvine.co.uk/ttt.lc7   (NB the 
.lc7 extension tells it to use version 7, so it gets 7.1.4)


Failing site is http://melaniechmielewska.co.uk/ttt.lc


Any or all suggestions welcome - I can't have a site that doesn't get 
any form input :-)


The fallback is of course to just move this (and all my sites) to my 
hostm account but that doesn't feel right (yet).


Thanks

-- Alex.

" & cr
repeat for each key K in $_GET
  put K && ":" && $_GET[K] & "" & CR
end repeat

put  "post" & cr
repeat for each key K in $_POST
  put K && ":" && $_POST[K] & "" & CR
end repeat

put version()

?>



my Form

enctype='multipart/form-data'>

  
  
  


Corbels
Archive
Recent
Thumbs
Commissions









___
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


Problem (or something I'm doing odd) with $_POST and LC Server

2016-09-27 Thread Alex Tweedly
I have a script running happily on one web site, moved it over to 
another site and it totally fails; it's a complex script, but I was able 
to reduce it down to the following tiny script (see end of email).


On the new site (hosted on on-rev), the $_POST array is empty, while on 
the other site (hosted on hostm) it properly contains the posted values.


I do see bug 16745 - but that is Windows specific, and is about 
$_POST_RAW - so it's not that.


Is there something I can do (or have done) in my config that would stop 
this working, or would be needed to make it work ?


Working site is 
http://ua886128.serversignin.com/susanirvine.co.uk/ttt.lc7   (NB the 
.lc7 extension tells it to use version 7, so it gets 7.1.4)


Failing site is http://melaniechmielewska.co.uk/ttt.lc


Any or all suggestions welcome - I can't have a site that doesn't get 
any form input :-)


The fallback is of course to just move this (and all my sites) to my 
hostm account but that doesn't feel right (yet).


Thanks

-- Alex.

" & cr
repeat for each key K in $_GET
  put K && ":" && $_GET[K] & "" & CR
end repeat

put  "post" & cr
repeat for each key K in $_POST
  put K && ":" && $_POST[K] & "" & CR
end repeat

put version()

?>



my Form

enctype='multipart/form-data'>

  
  
  


Corbels
Archive
Recent
Thumbs
Commissions









___
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