Re: [PHP] parse_str() expects parameter 1 to be string, array given

2009-10-19 Thread Tommy Pham
On Mon, Oct 19, 2009 at 12:45 AM, Julian Muscat Doublesin wrote: > Hello* *Everyone, > > I am geetting the error below. Can you please guide me on a fix. It is > working on the live site but not on local server. Has anyone ever experinced > this error before. > * > Warning*: parse_str() expects pa

[PHP] parse_str() expects parameter 1 to be string, array given

2009-10-19 Thread Julian Muscat Doublesin
Hello* *Everyone, I am geetting the error below. Can you please guide me on a fix. It is working on the live site but not on local server. Has anyone ever experinced this error before. * Warning*: parse_str() expects parameter 1 to be string, array given**

[PHP] parse_str and NULL entry problem

2003-06-15 Thread Adrian Bolzan
Greetings, We use debian package: php44.1.2-6. We use a GET request to initiate a "status request" process on another server and want to split the output into fields. My php code is: -- $send = "GET \ /servlet/gateway?Client=TEST&Q=CacheRefreshReque stStatus \

[PHP] parse_str and NULL entry problem

2003-06-11 Thread Adrian Bolzan
Greetings, We use debian package: php44.1.2-6. We use a GET request to initiate a "status request" process on another server and want to split the output into fields. My php code is: -- $send = "GET \ /servlet/gateway?Client=TEST&Q=CacheRefreshReque stStatus \ H

RE: [PHP] parse_str()

2003-03-31 Thread Marcus Rasmussen
This should work: parse_str($example_string, $_GET); ___ Marcus Rasmussen [EMAIL PROTECTED] www.marcusr.dk - On 01-04-2003 at 03:20 Jose wrote: - > I might

RE: [PHP] parse_str()

2003-03-31 Thread Jose
> I might be wrong here, but with the code below I would expect $_GET to be > filled and the script to output the next line: > >$example_string = 'action=kick&item=me'; >parse_str($example_string); >var_dump($_GET); >?> > > // expected output: > // > // array(2) { ["action"]=>

[PHP] parse_str()

2003-03-31 Thread Jose
I might be wrong here, but with the code below I would expect $_GET to be filled and the script to output the next line: // expected output: // // array(2) { ["action"]=> string(4) "kick" ["item"]=> string(2) "me" } // Is my assumption wrong? What would be the workaround? Thanks, Jose

[PHP] parse_str () problems. using on the command line args ( argv[1]) - problem with php-4.2.2 ??

2002-08-03 Thread Neil
Hello All I am trying to use parse_str in my script , passing a variable. I have old code, working with php 4.1.2 working with the following script : [root@zion kickstart]# cat make-kickstart.php #!/usr/local/bin/php -q for some reason tho , under 4.2.2 it is not parsing the argument/s [ro

[PHP] parse_str and parse_url

2001-10-19 Thread Olexandr Vynnychenko
Hello php-general, I need a function which is opposite to parse_str or parse_url, i.e. it makes string containing URL with passed variablenames and variablevalues. Did someone see such function? I can't find it in th manual. Thank's. -- Best regards, Olexandr Vynnychenko