php-general Digest 7 Aug 2010 16:34:09 -0000 Issue 6884

2010-08-07 Thread php-general-digest-help

php-general Digest 7 Aug 2010 16:34:09 - Issue 6884

Topics (messages 307360 through 307364):

Re: question about compiling a portable web server for linux
307360 by: Ashley Sheridan
307361 by: lainme
307362 by: Ashley Sheridan

Re: PHP The Anthem
307363 by: tedd
307364 by: Daniel P. Brown

Administrivia:

To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
php-gene...@lists.php.net


--
---BeginMessage---
On Sat, 2010-08-07 at 10:22 +0800, lainme wrote:

 Hi, I recently compiled a portable portable web server for linux, using
 lighttpd and php.
 
 But it seems that php can only run on machine with the same glibc version
 compiled it.  How can I solve the problem?


It's not a PHP problem. If you compile something, it's compiled to the
same architecture that you specify, which by default is yours. have you
tried compiling your executable with the same setup as you're currently
using?

Thanks,
Ash
http://www.ashleysheridan.co.uk


---End Message---
---BeginMessage---
thanks for the reply. I know it is not a PHP problem.  And I want to know
whether it is possible to make it architecture independent.

On Sat, Aug 7, 2010 at 10:38 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:

  On Sat, 2010-08-07 at 10:22 +0800, lainme wrote:

 Hi, I recently compiled a portable portable web server for linux, using
 lighttpd and php.

 But it seems that php can only run on machine with the same glibc version
 compiled it.  How can I solve the problem?


 It's not a PHP problem. If you compile something, it's compiled to the same
 architecture that you specify, which by default is yours. have you tried
 compiling your executable with the same setup as you're currently using?

   Thanks,
 Ash
 http://www.ashleysheridan.co.uk



---End Message---
---BeginMessage---
On Sat, 2010-08-07 at 10:43 +0800, lainme wrote:

 thanks for the reply. I know it is not a PHP problem.  And I want to know
 whether it is possible to make it architecture independent.
 
 On Sat, Aug 7, 2010 at 10:38 AM, Ashley Sheridan
 a...@ashleysheridan.co.ukwrote:
 
   On Sat, 2010-08-07 at 10:22 +0800, lainme wrote:
 
  Hi, I recently compiled a portable portable web server for linux, using
  lighttpd and php.
 
  But it seems that php can only run on machine with the same glibc version
  compiled it.  How can I solve the problem?
 
 
  It's not a PHP problem. If you compile something, it's compiled to the same
  architecture that you specify, which by default is yours. have you tried
  compiling your executable with the same setup as you're currently using?
 
Thanks,
  Ash
  http://www.ashleysheridan.co.uk
 
 
 


You can't compile to be architecture independent. The best you can do is
convert a language to a byte-code, like java.

Thanks,
Ash
http://www.ashleysheridan.co.uk


---End Message---
---BeginMessage---

At 11:17 AM -0400 8/6/10, Joshua Kehn wrote:

On Aug 6, 2010, at 11:12 AM, tedd wrote:

 At 10:30 AM -0400 8/6/10, Joshua Kehn wrote:

 On Aug 6, 2010, at 7:27 AM, tedd wrote:


 There is something wrong with having a little fun?

 
  Yes, it's a waste of time -- humbug!

Tedd-

I guess that quarters game was a complete waste of time as well? :)

Regards,

-Josh


-Josh:

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.


Cheers,

tedd
--
---
http://sperling.com/
---End Message---
---BeginMessage---
On Sat, Aug 7, 2010 at 09:47, tedd tedd.sperl...@gmail.com 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.

-- 
/Daniel P. Brown
UNADVERTISED DEDICATED SERVER SPECIALS
SAME-DAY SETUP
Just ask me what we're offering today!
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
---End Message---


Re: [PHP] PHP The Anthem

2010-08-07 Thread tedd

At 11:17 AM -0400 8/6/10, Joshua Kehn wrote:

On Aug 6, 2010, at 11:12 AM, tedd wrote:

 At 10:30 AM -0400 8/6/10, Joshua Kehn wrote:

 On Aug 6, 2010, at 7:27 AM, tedd wrote:


 There is something wrong with having a little fun?

 
  Yes, it's a waste of time -- humbug!

Tedd-

I guess that quarters game was a complete waste of time as well? :)

Regards,

-Josh


-Josh:

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.


Cheers,

tedd
--
---
http://sperling.com/

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



Re: [PHP] PHP The Anthem

2010-08-07 Thread Daniel P. Brown
On Sat, Aug 7, 2010 at 09:47, tedd tedd.sperl...@gmail.com 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.

-- 
/Daniel P. Brown
UNADVERTISED DEDICATED SERVER SPECIALS
SAME-DAY SETUP
Just ask me what we're offering today!
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/

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



Re: [PHP] PHP The Anthem

2010-08-07 Thread tedd

At 12:33 PM -0400 8/7/10, Daniel P. Brown wrote:

On Sat, Aug 7, 2010 at 09:47, tedd tedd.sperl...@gmail.com 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/

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



Re: [PHP] PHP The Anthem

2010-08-07 Thread David Hutto
On Sat, Aug 7, 2010 at 1:46 PM, tedd tedd.sperl...@gmail.com wrote:
 At 12:33 PM -0400 8/7/10, Daniel P. Brown wrote:

 On Sat, Aug 7, 2010 at 09:47, tedd tedd.sperl...@gmail.com 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



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



Re: [PHP] PHP The Anthem

2010-08-07 Thread tedd

At 1:54 PM -0400 8/7/10, David Hutto wrote:

On Sat, Aug 7, 2010 at 1:46 PM, tedd tedd.sperl...@gmail.com 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/

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



Re: [PHP] how do you upload to a 3rd-party remote server?

2010-08-07 Thread Govinda
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
govinda.webdnat...@gmail.com





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