Re: AW: [PHP-DEV] PHP Setup / Query

From: Date: Wed, 18 Dec 2002 13:22:52 +0000
Subject: Re: AW: [PHP-DEV] PHP Setup / Query
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-128702@lists.php.net to get a copy of this message
Hiya It's not allowed to put spaces into an url it has to be replaced by a + or %20 however apache will fix this IIS will however not You could make a header script that looks at $_SERVER['REQUEST_URI'] and fix the vars Gr, Wico At 14:19 18-12-02 +0100, you wrote:
Thanks for the information. I know the urlencode function. But my PHP application is done already (developed on the linux based PHP) and it would be very hard to edit the source code again. So the urlencode function is only a workaround. -----Ursprungliche Nachricht----- Von: Wico de Leeuw [mailto:wico-php-dev@newcorps.biz] Gesendet: Mittwoch, 18. Dezember 2002 13:51 An: Michael A. Norweh; php-dev@lists.php.net Betreff: Re: [PHP-DEV] PHP Setup / Query At 13:19 18-12-02 +0100, Michael A. Norweh wrote: I've installed the newest version of PHP on an ISS 5.0 based System. The problem I have at the moment: If post a variable (URL Query) e.g.: "xxx.php?errormsg=error message" to a site, php is unable to get these variable. On my linux server the space is interpreted as "%20" in the correct way. On IIS the variable data is cutted after "error". I think i ve set any wrong parameter in the php.ini file or in the IIS webserver settings. in your script do: <a href="xxx.php?errormsg=<?=urlencode($errormsg)?>"> -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#128702) next »