Re: Variables not getting passed when I post info

From: Date: Mon, 16 Apr 2001 16:25:21 +0000
Subject: Re: Variables not getting passed when I post info
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48771@lists.php.net to get a copy of this message
Brandon Orther schrieb: > I made a GD script that made an image with the name of whatever page I was > in in my web site. I would post info to it like this: > http://www.domain.com/jpeg-out.php?title=FrontPage what ever I > put for > title it would make the image. After reinstalling php4 on my win2000 box > with apache it doesn't seem to get the $title variable. Does anyone know > what might be going wrong? Check register_globals, http://www.php.net/manual/en/html/configuration.html#ini.register-globals and make sure you're not trying to access a global variable from within a function. BTW, does your script contain <img src="button.php?label=whatever"> ? If you you've written a perfect killer application. The webserver has to handle your script ( 1st request => 1 process on the webserver) and all the <img src="button.php...> (another request => 2. process on the webserver). In case you embed 10 images that way, you'll get 10 + 1 processes on the webserver for 1 request done by the user. Image creation should be done in the skript, never use button.php - throw away all books and tutorials that tell you to do so. Ulf -- Neu: PEAR Menu 3 - Navigationsstrukturen dynamisch dargestellt http://www.ulf-wendel.de/projekte/menu/tutorial.php | http://www.phpdoc.de

« previous php.general (#48771) next »