Re: two ?s: '' vs ""; function to post form data

From: Date: Wed, 18 Oct 2000 03:10:01 +0000
Subject: Re: two ?s: '' vs ""; function to post form data
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20771@lists.php.net to get a copy of this message
Hey Alan: > 1. I've been reading a few php articles today, and so far I've not come > across a clear distinction between variables defined using '' and those > using "". I've read those are both strings, but what is the difference? "It's partly style, but" single quotes don't need escaping 'It\'s partly style, but' single quotes in text need escaping > 2. If I know the right variable names, is there a function in PHP to post > form data to another server? For example, if there was a form on example.com > and I wanted to capture its html output, and it uses the post method, and I > know the variable names in that form, is there a way to do the transaction > using PHP? Using fsockopen(), yes. Check out this posting on the mailing list archive: http://marc.theaimsgroup.com/?l=php-general&m=96630900010745&w=2 for Enjoy, --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#20771) next »