Re: Get Parameters in Includes [SOLVED!!!]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



yeah - well you said you can't issue an http request

although it depends - if your reporting is
javascript/browser-executable, or if it's a server-side increment. if
it's javascript, no worries, the curl request won't execute it.

On 1/10/08, Liam <dawmail333@xxxxxxxxx> wrote:
> 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux