FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Illegal variable _files
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Illegal variable _files [message #169625] Mon, 20 September 2010 05:02 Go to next message
Nickneem is currently offline  Nickneem
Messages: 4
Registered: September 2010
Karma: 0
Junior Member
Hi,

I'm setting a cookie from a silverlight app but after that I get a:

'Illegal variable _files or _env or _get or _post or _cookie or
_server or _session or globals passed to script'

I can't seem to find out what's wrong with my cookie, the contents
are:

77
shout
localhost/basicmousenew/
1600
1753583744
30506011
248810720
30103680
*

Regards,

Mike
Re: Illegal variable _files [message #169626 is a reply to message #169625] Mon, 20 September 2010 07:58 Go to previous messageGo to next message
Gregor Kofler is currently offline  Gregor Kofler
Messages: 69
Registered: September 2010
Karma: 0
Member
Am 2010-09-20 07:02, Nickneem meinte:
> Hi,
>
> I'm setting a cookie from a silverlight app but after that I get a:
>
> 'Illegal variable _files or _env or _get or _post or _cookie or
> _server or _session or globals passed to script'

What's producing this error message?

> I can't seem to find out what's wrong with my cookie, the contents
> are:

Who cares about your cookie content? The names of the superglobals are
$_SERVER, $_FILES, $_POST, $_GET, $GLOBALS,...

http://php.net/manual/en/language.variables.superglobals.php

Gregor

--
http://www.gregorkofler.com
Re: Illegal variable _files [message #169630 is a reply to message #169625] Mon, 20 September 2010 11:08 Go to previous messageGo to next message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma: 0
Senior Member
On 20 Sep, 06:02, Nickneem <nickn...@gmail.com> wrote:
> Hi,
>
> I'm setting a cookie from a silverlight app but after that I get a:
>
> 'Illegal variable _files or _env or _get or _post or _cookie or
> _server or _session or globals passed to script'
>
That's interesting because the message you have posted is one normally
issued by Joomla!
Re: Illegal variable _files [message #169631 is a reply to message #169630] Mon, 20 September 2010 11:13 Go to previous messageGo to next message
Nickneem is currently offline  Nickneem
Messages: 4
Registered: September 2010
Karma: 0
Junior Member
On 20 sep, 13:08, Captain Paralytic <paul_laut...@yahoo.com> wrote:
> On 20 Sep, 06:02, Nickneem <nickn...@gmail.com> wrote:> Hi,
>
>> I'm setting a cookie from a silverlight app but after that I get a:
>
>> 'Illegal variable _files or _env or _get or _post or _cookie or
>> _server or _session or globals passed to script'
>
> That's interesting because the message you have posted is one normally
> issued by Joomla!

Thanks captain, forgot to mention the websites Joomla driven..

Regards,

Mike
Re: Illegal variable _files [message #169633 is a reply to message #169631] Mon, 20 September 2010 11:18 Go to previous messageGo to next message
Nickneem is currently offline  Nickneem
Messages: 4
Registered: September 2010
Karma: 0
Junior Member
On 20 sep, 13:13, Nickneem <nickn...@gmail.com> wrote:
> On 20 sep, 13:08, Captain Paralytic <paul_laut...@yahoo.com> wrote:
>
>> On 20 Sep, 06:02, Nickneem <nickn...@gmail.com> wrote:> Hi,
>
>>> I'm setting a cookie from a silverlight app but after that I get a:
>
>>> 'Illegal variable _files or _env or _get or _post or _cookie or
>>> _server or _session or globals passed to script'
>
>> That's interesting because the message you have posted is one normally
>> issued by Joomla!
>
> Thanks captain, forgot to mention the websites Joomla driven..
>
> Regards,
>
> Mike

I'm sorry if I've put this in the wrong group but I'm using
silverlight accessing php services, querying a mysql dbase on a joomla
website and since I'm a newbee to php I didn' quite know where to
start ...

Mike
Re: Illegal variable _files [message #169635 is a reply to message #169633] Mon, 20 September 2010 11:52 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 9/20/2010 7:18 AM, Nickneem wrote:
> On 20 sep, 13:13, Nickneem<nickn...@gmail.com> wrote:
>> On 20 sep, 13:08, Captain Paralytic<paul_laut...@yahoo.com> wrote:
>>
>>> On 20 Sep, 06:02, Nickneem<nickn...@gmail.com> wrote:> Hi,
>>
>>>> I'm setting a cookie from a silverlight app but after that I get a:
>>
>>>> 'Illegal variable _files or _env or _get or _post or _cookie or
>>>> _server or _session or globals passed to script'
>>
>>> That's interesting because the message you have posted is one normally
>>> issued by Joomla!
>>
>> Thanks captain, forgot to mention the websites Joomla driven..
>>
>> Regards,
>>
>> Mike
>
> I'm sorry if I've put this in the wrong group but I'm using
> silverlight accessing php services, querying a mysql dbase on a joomla
> website and since I'm a newbee to php I didn' quite know where to
> start ...
>
> Mike

Well, the first thing you need to do is learn how to determine the cause
of the problem. Then you can ask in the correct place.

When you have an error message, a good start is to find out where the
what issued the error, then find out why the message is being issued.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Illegal variable _files [message #169636 is a reply to message #169631] Mon, 20 September 2010 12:24 Go to previous messageGo to next message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma: 0
Senior Member
On 20 Sep, 12:13, Nickneem <nickn...@gmail.com> wrote:
> On 20 sep, 13:08, Captain Paralytic <paul_laut...@yahoo.com> wrote:
>
>> On 20 Sep, 06:02, Nickneem <nickn...@gmail.com> wrote:> Hi,
>
>>> I'm setting a cookie from a silverlight app but after that I get a:
>
>>> 'Illegal variable _files or _env or _get or _post or _cookie or
>>> _server or _session or globals passed to script'
>
>> That's interesting because the message you have posted is one normally
>> issued by Joomla!
>
> Thanks captain, forgot to mention the websites Joomla driven..
>
> Regards,
>
> Mike

The problem is not the contents of the cookies (although it could be
any of the other globals such as _post), but the name of the key.

See:
http://api.joomla.org/__filesource/fsource_Joomla-Framework_Environment_joo mlaenvironmentrequest.php.html
for where the message is issued (Line 528).
Seems like you have an all numeric key.
Re: Illegal variable _files [message #169637 is a reply to message #169636] Mon, 20 September 2010 13:05 Go to previous message
Nickneem is currently offline  Nickneem
Messages: 4
Registered: September 2010
Karma: 0
Junior Member
On 20 sep, 14:24, Captain Paralytic <paul_laut...@yahoo.com> wrote:
> On 20 Sep, 12:13, Nickneem <nickn...@gmail.com> wrote:
>
>
>
>
>
>> On 20 sep, 13:08, Captain Paralytic <paul_laut...@yahoo.com> wrote:
>
>>> On 20 Sep, 06:02, Nickneem <nickn...@gmail.com> wrote:> Hi,
>
>>>> I'm setting a cookie from a silverlight app but after that I get a:
>
>>>> 'Illegal variable _files or _env or _get or _post or _cookie or
>>>> _server or _session or globals passed to script'
>
>>> That's interesting because the message you have posted is one normally
>>> issued by Joomla!
>
>> Thanks captain, forgot to mention the websites Joomla driven..
>
>> Regards,
>
>> Mike
>
> The problem is not the contents of the cookies (although it could be
> any of the other globals such as _post), but the name of the key.
>
> See:http://api.joomla.org/__filesource/fsource_Joomla-Framework_Environme.. .
> for where the message is issued (Line 528).
> Seems like you have an all numeric key.- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

Thanks a million Captain!
I did use the rownumber of the record as a key, gonna change that..

Thanks again,

Mike
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: for each syntax
Next Topic: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from ...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 11 21:01:40 GMT 2024

Total time taken to generate the page: 0.02035 seconds