Need help
| From: | Thierry Missimily | Date: | Tue, 20 Jun 2000 16:34:19 +0000 |
| Subject: | Need help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-2323@lists.php.net to get a copy of this message | ||
Hi,
I'm sorry if i'm in the wrong list, i need some help about how to give a
string
arguments to a php3 program when these strings have some blank inside.
For example :
alarme_city.php3?city_name=$city_name&country=$country
with city_name="MEUDON LA FORET"
country="PAYS BAS"
Now PHP cut the string argument when it meet the first blank :
alarme_city.php3?city_name=MEUDON
I can't control city name because i got its in a database and i can't
make
any supposition on how names have been written.
The use of ereg_ function would add too much overhead in my programs.
--
Best regards,
Thierry Missimilly
+-------------------------------------------------------------------+
Thierry Missimilly mailto:Thierry.Missimilly@bull.net
BULL XSBU Phone :+33 (0)4 76 29 74 54
1, rue de Provence B.P. 208 Fax :+33 (0)4 76 29 78 62
38432 Echirolles Cedex FRANCE Poste :(229) 7454
+-------------------------------------------------------------------+