Re: Simple one for you guys!

From: Date: Tue, 11 Jul 2000 22:33:44 +0000
Subject: Re: Simple one for you guys!
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-6031@lists.php.net to get a copy of this message
In message <NEBBIJABFKPPGJFBNIGLGEMCCLAA.jasonc@webpipe.net>, Jason <jasonc@webpipe.net> writes >I've never had to do this but then again I've never used PWS. > >Try doing this: > >parse_str($QUERY_STRING); > >That explicitly parses the query string into variables. > That does not work but I can get to the variable with the $HTTP_POST_VARS["name"] I just was under the impression that i could use the $name variable straight off from within the php file >Jason > >> >I think the problem is probably due to the periods after the >> variables. Try >> >taking those out and see if it works. >> >> >> Tried that, No luck! >> >> >> php4 running PWS on 98 >> >> a little no variables printing to the screen problem! >> >> any ideas? >> >> >> >> I send this to the browser >> >> >http://localhost/email.php?name=JohnDoe&email=john@doe.coms&preference=l >>> dies >>> >>> The email.php is as follows >>> >>> <? >>> print "<center>"; >>> print "hello, $name."; >>> print "<br><br>"; >>> print "Thank you for your interest<br><br>"; >>> print "We will send information to $email, and have noted you like >>> $preference."; >>> print "</center>"; >>> ?> >>> >>> >>> The vars are missing from the output????? >>> Your help is appreciated. >>> Scott > > >_______________________________________________________ >Site Design, Hosting, and E-Commerce at www.webpipe.net > web: www.broadcast-warehouse.com email: info@broadcast-warehouse.com phone: +44 (0)20 82880192 fax: +44 (0)20 82880609

« previous php.general (#6031) next »