reading from URL with parameter

From: Date: Thu, 03 Oct 2002 09:02:36 +0000
Subject: reading from URL with parameter
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2501@lists.php.net to get a copy of this message
Hi ppl! I would like to get a content of a page in variable: $file = http://localhost/answer.php?name=$name" $fp = fopen ($file, "r"); the problem is that $name can contain any text .. first of all text with spaces doesnt work.. and I assume, that other characters like ", ' and so on will not work too! how to prepare $name for passing right? Thanks

« previous php.gtk.general (#2501) next »