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
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**
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 \
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
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
> 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"]=>
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
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
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
9 matches
Mail list logo