php-general Digest 8 Aug 2010 13:57:16 -0000 Issue 6885
Topics (messages 307365 through 307369):
Re: PHP The Anthem
307365 by: tedd
307366 by: David Hutto
307367 by: tedd
Re: how do you upload to a 3rd-party remote server?
307368 by: Govinda
Re: Google spreadsheet curl
307369 by: ioannes.btinternet.com
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
At 12:33 PM -0400 8/7/10, Daniel P. Brown wrote:
On Sat, Aug 7, 2010 at 09:47, tedd <[email protected]> wrote:
No, writing it provided me with the experience of developing a rule-based AI
solution to a real-world problem and I received a little money for my
> efforts. Experience and money are never a waste of time.
The opinions of what is gainful life experience and what is a
waste of time will vary greatly from one to another.
Experience and money are never a waste of time *to me*.
tedd
--
-------
http://sperling.com/
--- End Message ---
--- Begin Message ---
On Sat, Aug 7, 2010 at 1:46 PM, tedd <[email protected]> wrote:
> At 12:33 PM -0400 8/7/10, Daniel P. Brown wrote:
>>
>> On Sat, Aug 7, 2010 at 09:47, tedd <[email protected]> wrote:
>>>
>>> No, writing it provided me with the experience of developing a
>>> rule-based AI
>>> solution to a real-world problem and I received a little money for my
>>
>> > efforts. Experience and money are never a waste of time.
>>
>> The opinions of what is gainful life experience and what is a
>> waste of time will vary greatly from one to another.
>
>
> Experience and money are never a waste of time *to me*.
but did they make money off of the video, was it branded?
If not, then it was a great promo, even without seeing it, I've 'seen' the buzz.
> tedd
> --
> -------
> http://sperling.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
At 1:54 PM -0400 8/7/10, David Hutto wrote:
On Sat, Aug 7, 2010 at 1:46 PM, tedd <[email protected]> wrote:
> Experience and money are never a waste of time *to me*.
but did they make money off of the video, was it branded?
If not, then it was a great promo, even without seeing it, I've
'seen' the buzz.
David :
We are probably be talking about different things.
I am talking about my Quarters game I wrote several years ago -- you
can play it here:
http://sperling.com/quarters/
You see, in December 1999, I wrote a Macintosh freeware application
that did the same thing as shown above. I placed a link on my
web-site to download the application, namely:
http://sperling.com/freeware.php
I then contacted several shareware sites online and gave them the
link for them to use/advertise.
In February of 2000, Mac World ran an article and mentioned my
Quarters game. Several other magazines followed with similar
articles. As a result, my site experienced thousands of downloads and
many of the shareware sites I shared my link with reported similar
activity.
Over the following decade, I received lot's of paying request for the
secret to the game.
However, what I did was pretty simple -- there was nothing
outstanding. There was no video, nor branding, it was just an
interesting experience *for me*.
Cheers,
tedd
--
-------
http://sperling.com/
--- End Message ---
--- Begin Message ---
can you elaborate? This kind of thing is all new to me. I need to
see some
sample code to even start to get an idea.
Hopefully Tedd will notice this thread. He's the man when it
comes to sample code. While there may be nothing directly-related to
this (I don't know, I haven't looked), you may want to check
http://php1.net/ to see some of his other samples for other issues
that come up.
I looked through Tedd's things there (thanks! :-) but did not see
anything on that topic.
Meanwhile someone on another list suggested I use curl, from the
command line (which I can access from my script).
Surely I can find some forum or talk list somewhere to get help with
that if I get stuck.. but I thought to ask here before this thread dies:
do you guys have any suggestions - what are your favorite places to
discuss technicalities surrounding issuing commands on the command line?
(If I said that right.)
------------
Govinda
[email protected]
--- End Message ---
--- Begin Message ---
Using this code I get error message:
"The spreadsheet at this URL could not be found. Make sure that you
have the right URL and that the owner of the spreadsheet hasn't
deleted it."
I have set up a test spreadsheet and it exists. Any ideas on why this
might be?
<?php
$key="[key from google spreadsheet URL";
$url = "[well known
protocol][colon][[forwardslash]forwardslash]spreadsheets.google.com/feeds/cells/$key/1/public/values";
$ch = curl_init();
// set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
// grab URL and pass it to the browser
$google_sheet = curl_exec($ch);
print("<br>google_sheet: $url");
print($google_sheet);
etc
?>
--- End Message ---