Get Parameters in Includes [SOLVED!!!]

From: Date: Thu, 10 Jan 2008 08:18:16 +0000
Subject: Get Parameters in Includes [SOLVED!!!]
References: 1 2 3 4 5 6 7 8 9  Groups: php.general 
Request: Send a blank email to php-general+get-267018@lists.php.net to get a copy of this message
mike wrote:
you're still issuing an HTTP request to get it, or executing perl on the command line... if it's a true non-profit 503(c)(3), you could offer someone the chance to write off their services... non-profits may not have a lot of money to spare but they do typically have money to fund things in the organization's interests... hopefully.
Well, heh, I am really the only person behind my organization, and I'm under 18, so I can't get a PayPal account or whatever and accumulate donations either. However, I did find a cURL solution: this is the code behind it for anyone else who had/has this problem: <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"http://goldenlightsoft.org/cgi-bin/lt/linktrade.cgi?want=ssilinks"); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); $result=curl_exec ($ch); curl_close ($ch); echo $result ?> Now, I just need to look into parsing the text. Thanks everyone for your assistance, I'll be sure to come back here and frustrate you with any future problems I have. :] :P

« previous php.general (#267018) next »