Re: [PHP] Shopping Carts

2008-02-22 Thread Jason Pruim
Hi, i have a problem with my animated web flash menu (+images+sounds). basically my menu in embedded into flash, and each time that i click on menu link, my flash is playing from start as it is integrated into each PHP pages. I know that this is not the topic of this forum, but i would like to kno

[PHP] Re: Ignoring user cancel

2008-02-22 Thread K T Ligesh
Yes, that was what I was looking for. Searching google for 'php ignore user interrupt', got me links on CPU interrupt management. Thanks again. On Fri, Feb 22, 2008 at 05:56:45PM -0800, Casey wrote: > ignore_user_abort(true); > -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] Shopping Carts

2008-02-22 Thread Kista Tucker
Oh my gosh! I¹m scared to death to create a shopping, but was recently referred to some free shopping cart software. Though I am trying to learn code on my own ( X-HTML, HTML, CSS, PHP, etc.) I¹m not yet very good and am extremely nervous (originally became acquainted with PHP from a designers pe

Re: [PHP] Ignoring user cancel

2008-02-22 Thread Casey
On Feb 22, 2008, at 6:19 PM, K T Ligesh <[EMAIL PROTECTED]> wrote: Hello, I have a php process running on lighty that should continue even if the user presses cancel in his browser. The default behavior is that the web-server will kill the cgi process on user cancellation. Is there some

[PHP] Ignoring user cancel

2008-02-22 Thread K T Ligesh
Hello, I have a php process running on lighty that should continue even if the user presses cancel in his browser. The default behavior is that the web-server will kill the cgi process on user cancellation. Is there some way I can prevent the user cancel from interfering with the php process

RE: [PHP] Re: temporary error

2008-02-22 Thread Bastien Koert
> To: php-general@lists.php.net > Date: Sat, 23 Feb 2008 00:14:27 + > From: [EMAIL PROTECTED] > Subject: Re: [PHP] Re: temporary error > > tedd wrote: >> At 3:58 PM -0500 2/22/08, Robert Cummings wrote: >>> On Fri, 2008-02-22 at 14:49 -0600, Greg Dona

Re: [PHP] redirect stdout to stderr

2008-02-22 Thread Bojan Tesanovic
Hi Jack, here is a link that can be of help http://bugs.php.net/bug.php?id=22839 also you can use custom error handler function , catch errors and write to stderr function myErrorHandler($errno, $errstr, $errfile, $errline) { $ERROR=''; switch ($errno) { case E_USER_ERROR

Re: [PHP] Re: temporary error

2008-02-22 Thread Nathan Rixham
tedd wrote: At 3:58 PM -0500 2/22/08, Robert Cummings wrote: On Fri, 2008-02-22 at 14:49 -0600, Greg Donald wrote: On 2/22/08, Daniel Brown <[EMAIL PROTECTED]> wrote: > So help me God Speaking of imaginary things, check out this new site I built few weeks back: http://rewriteproject.com

[PHP] redirect stdout to stderr

2008-02-22 Thread Jack Bates
How can I implement in PHP, a script which redirects stdout to stderr, such that echo, etc. print to stderr instead of stdout? I can redirect stdout to stderr when invoking PHP like so: php script-name >&2 However I want to perform this redirection within the script itself. The solution I curre

Re: [PHP] Re: temporary error

2008-02-22 Thread tedd
At 3:58 PM -0500 2/22/08, Robert Cummings wrote: On Fri, 2008-02-22 at 14:49 -0600, Greg Donald wrote: On 2/22/08, Daniel Brown <[EMAIL PROTECTED]> wrote: > So help me God Speaking of imaginary things, check out this new site I built few weeks back: http://rewriteproject.com/ I do beli

Re: [PHP] More than one values returned?

2008-02-22 Thread Nathan Nobbe
On Fri, Feb 22, 2008 at 6:13 PM, tedd <[EMAIL PROTECTED]> wrote: > At 5:27 PM -0500 2/22/08, Robert Cummings wrote: > >On Fri, 2008-02-22 at 17:04 -0500, Nathan Nobbe wrote: > > > and btw; your narratives are are just damned hilarious rob ;) > > > >Take that Ted... I'm quitting my day job!! :) >

Re: [PHP] Posting Summary for Week Ending 22 February, 2008:

2008-02-22 Thread tedd
NOTE: Numbers may not add up to 100% due to M$ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More than one values returned?

2008-02-22 Thread tedd
At 5:27 PM -0500 2/22/08, Robert Cummings wrote: On Fri, 2008-02-22 at 17:04 -0500, Nathan Nobbe wrote: > and btw; your narratives are are just damned hilarious rob ;) Take that Ted... I'm quitting my day job!! :) Cheers, Rob. Robb: <-- note the addition of an extra 'b' for my loss of a 'd'

Re: [PHP] More than one values returned?

2008-02-22 Thread Robert Cummings
On Fri, 2008-02-22 at 17:04 -0500, Nathan Nobbe wrote: > i for one have mixed feelings on this issue. > im tempted to agree w/ nick, but not entirely. > my stance is this; implementing the iterator or > related interfaces is transparent to client code; > namely you can still use for each to traver

Re: [PHP] XML encoding variable simpleXML on Linux

2008-02-22 Thread Nathan Rixham
Larry Brown wrote: It is not that I want to generate the document in UTF-8. I just need to specify the correct encoding. My assumption that it was UTF-8 based on what my command line settings are is obviously incorrect. How can I tell what php is encoding in by default? Larry On Fri, 2008-02

Re: [PHP] More than one values returned?

2008-02-22 Thread Nathan Nobbe
i for one have mixed feelings on this issue. im tempted to agree w/ nick, but not entirely. my stance is this; implementing the iterator or related interfaces is transparent to client code; namely you can still use for each to traverse the collection. you also get to do things during the iteration,

Re: [PHP] More than one values returned?

2008-02-22 Thread Jim Lucas
Robert Cummings wrote: On Fri, 2008-02-22 at 15:11 -0500, Daniel Brown wrote: On Fri, Feb 22, 2008 at 3:05 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: I for 1 think you're full of it :) Don't be a 0. ;-P I'm a 0 hero! :B Cheers, Rob. My daughter called me her "Zero Hero" when s

Re: [PHP] APC & __autoload & webclusters

2008-02-22 Thread Nathan Nobbe
On Fri, Feb 22, 2008 at 8:25 AM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Nathan Nobbe schreef: > > On Thu, Feb 21, 2008 at 12:01 PM, Jochem Maas <[EMAIL PROTECTED]> > wrote: > > > >> Richard Lynch schreef: > >>> If it's that inter-tangled, then I would hazard a WILD GUESS that the > >>> __autoloa

Re: [PHP] System errno in PHP

2008-02-22 Thread Ravi Menon
Hi, I also ran into the same issue with file and socket apis, and for now, I just hack it like ( for linux 2.6 systems ): class Errno { const EINTR= 4; const EIO = 5; const EINVAL = 22; const ENODATA = 61; const EBADMSG = 74; const EOPNOTSUPP =

Re: [PHP] Re: temporary error

2008-02-22 Thread Nathan Rixham
Greg Donald wrote: On 2/22/08, Daniel Brown <[EMAIL PROTECTED]> wrote: So help me God Speaking of imaginary things, check out this new site I built few weeks back: http://rewriteproject.com/ I do believe I am the first person to ever "tag cloud" a bible :) on that note, a few weeks back

[PHP] Posting Summary for Week Ending 22 February, 2008: php-general@lists.php.net

2008-02-22 Thread PostTrack [Dan Brown]
Posting Summary for PHP-General List Week Ending: Friday, 22 February, 2008 Messages| Bytes | Sender ++-- 536 (100%) 739991 (100%) EVERYONE 39 (7.3%)

Re: [PHP] Re: temporary error

2008-02-22 Thread Robert Cummings
On Fri, 2008-02-22 at 14:49 -0600, Greg Donald wrote: > On 2/22/08, Daniel Brown <[EMAIL PROTECTED]> wrote: > > So help me God > > Speaking of imaginary things, check out this new site I built few weeks back: > > http://rewriteproject.com/ > > I do believe I am the first person to ever "tag clo

Re: [PHP] Re: temporary error

2008-02-22 Thread Greg Donald
On 2/22/08, Daniel Brown <[EMAIL PROTECTED]> wrote: > So help me God Speaking of imaginary things, check out this new site I built few weeks back: http://rewriteproject.com/ I do believe I am the first person to ever "tag cloud" a bible :) -- Greg Donald http://destiney.com/ -- PHP General

Re: [PHP] More than one values returned?

2008-02-22 Thread Robert Cummings
On Fri, 2008-02-22 at 15:36 -0500, Daniel Brown wrote: > On Fri, Feb 22, 2008 at 3:36 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > On Fri, 2008-02-22 at 15:11 -0500, Daniel Brown wrote: > > > And I'm an L7. > > > > With 0 percent success probability... once again 0 saves the day!

Re: [PHP] More than one values returned?

2008-02-22 Thread Daniel Brown
On Fri, Feb 22, 2008 at 3:36 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > On Fri, 2008-02-22 at 15:11 -0500, Daniel Brown wrote: > > And I'm an L7. > > With 0 percent success probability... once again 0 saves the day!! Ouch. You hit me right in the feel-bads. -- Daniel P.

Re: [PHP] More than one values returned?

2008-02-22 Thread Robert Cummings
On Fri, 2008-02-22 at 15:29 -0500, Daniel Brown wrote: > On Fri, Feb 22, 2008 at 3:27 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > On Fri, 2008-02-22 at 15:11 -0500, Daniel Brown wrote: > > > On Fri, Feb 22, 2008 at 3:05 PM, Robert Cummings <[EMAIL PROTECTED]> > > wrote: > > > > I f

Re: [PHP] More than one values returned?

2008-02-22 Thread Daniel Brown
On Fri, Feb 22, 2008 at 3:27 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Fri, 2008-02-22 at 15:11 -0500, Daniel Brown wrote: > > On Fri, Feb 22, 2008 at 3:05 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > I for 1 think you're full of it :) > > > > Don't be a 0. ;-P > > I

Re: [PHP] Re: temporary error

2008-02-22 Thread Daniel Brown
On Fri, Feb 22, 2008 at 3:20 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > [snip] > no > [/snip] > > yes So help me God, if you two don't stop it, I'm going to come back there Don't make me turn this car around! ;-P -- Daniel P. Brown Senior Unix Geek -- PHP General Mailin

Re: [PHP] More than one values returned?

2008-02-22 Thread Robert Cummings
On Fri, 2008-02-22 at 15:11 -0500, Daniel Brown wrote: > On Fri, Feb 22, 2008 at 3:05 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > I for 1 think you're full of it :) > > Don't be a 0. ;-P I'm a 0 hero! :B Cheers, Rob. -- .--

[PHP] Cross-Post: Installing on Palm Treo?

2008-02-22 Thread Daniel Brown
Hey, folks, I'm cross-posting on General and Install, and I'm wondering if anyone has yet attempted to install PHP (as well as Apache and MySQL, but PHP for now) on a Palm Treo. I'm considering picking up a 700wx tonight or tomorrow and finally switching over to Verizon. I was just wondering

Re: [PHP] Re: temporary error

2008-02-22 Thread Nathan Rixham
[snip] no [/snip] yes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More than one values returned?

2008-02-22 Thread Daniel Brown
On Fri, Feb 22, 2008 at 3:05 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > I for 1 think you're full of it :) Don't be a 0. ;-P -- Daniel P. Brown Senior Unix Geek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More than one values returned?

2008-02-22 Thread Robert Cummings
On Fri, 2008-02-22 at 13:09 -0500, tedd wrote: > At 9:50 AM -0600 2/22/08, Greg Donald wrote: > >On 2/21/08, Nick Stinemates <[EMAIL PROTECTED]> wrote: > >-snip- for no importance > > > >I am indeed waiting, where's your code? When, and under what > >circumstances exactly, is getting back an arra

Re: [PHP] PHP: Ajax send()

2008-02-22 Thread Zoltán Németh
please reply to the list also... 2008. 02. 22, péntek keltezéssel 15.25-kor germana ezt írta: > nuevoAjax() is the name of the ajax object :P in spanish OK, but that does not tell me anything about what kind of ajax library you're using... anyway, maybe it's better to ask on an ajax list because

Re: [PHP] Date Function

2008-02-22 Thread Zoltán Németh
2008. 02. 22, péntek keltezéssel 11.48-kor VamVan ezt írta: > Hi All, > > Greetings!! > > A small PHP Script for help > > $date_format = '02/22/2008 14:00:00'; > > $start_date = date("Y-m-d h:i:s", strtotime($date_format)); $start_date = date("Y-m-d H:i:s", strtotime($date_format)); RTFM:

Re: [PHP] Date Function ][Resolved]

2008-02-22 Thread VamVan
Thanks ALL who have replied On Fri, Feb 22, 2008 at 11:55 AM, Thiago Pojda <[EMAIL PROTECTED]> wrote: > > $start_date = date("Y-m-d H:i:s", strtotime($date_format)); echo > $start_date; ?> > > capital H should do it > > > -Mensagem original- > De: VamVan [mailto:[EMAIL PROTECTED] >

Re: [PHP] PHP: Ajax send()

2008-02-22 Thread Zoltán Németh
2008. 02. 22, péntek keltezéssel 14.32-kor germana ezt írta: > So... i was checking my localhost with wireshark (a sniffer) and i > found that the DATA is send after the POST ¿¿¿ i dont understand > why the data is not send completly. the problem must be in your ajax library... I don't

RES: [PHP] Date Function

2008-02-22 Thread Thiago Pojda
$start_date = date("Y-m-d H:i:s", strtotime($date_format)); echo $start_date; ?> capital H should do it -Mensagem original- De: VamVan [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 22 de fevereiro de 2008 16:48 Para: php-general@lists.php.net Assunto: [PHP] Date Function Hi All

Re: [PHP] Date Function

2008-02-22 Thread Andrew Ballard
On Fri, Feb 22, 2008 at 2:48 PM, VamVan <[EMAIL PROTECTED]> wrote: > Hi All, > > Greetings!! > > A small PHP Script for help > >$date_format = '02/22/2008 14:00:00'; > > $start_date = date("Y-m-d h:i:s", strtotime($date_format)); > echo $start_date; > ?> > > output is 2008-02-22 02:00:00

[PHP] Date Function

2008-02-22 Thread VamVan
Hi All, Greetings!! A small PHP Script for help output is 2008-02-22 02:00:00 but not 2008-02-22 14:00:00 How can i get my output as 2008-02-22 14:00:00. Thanks V -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] URL modification

2008-02-22 Thread Per Jessen
Nathan Rixham wrote: > + rewrite is overkill for this, but long term it's worth implementing > and getting used to Completely agree. You've got to get to know url rewriting. I don't know how you can manage without it, even if it's far from always the right answer. /Per Jessen, Zürich -- PH

Re: [PHP] URL modification

2008-02-22 Thread Nathan Rixham
Richard Heyes wrote: + rewrite is overkill for this, but long term it's worth implementing and getting used to - think of the post as a pre-emptive strike on the inevitable question in a couple of weeks: "how can i make /profile/adam instead of profile.php?user=adam" Have a directory in your

Re: [PHP] More than one values returned?

2008-02-22 Thread tedd
At 9:50 AM -0600 2/22/08, Greg Donald wrote: On 2/21/08, Nick Stinemates <[EMAIL PROTECTED]> wrote: -snip- for no importance I am indeed waiting, where's your code? When, and under what circumstances exactly, is getting back an array of objects from a function or method call "poor design" ? Pl

Re: [PHP] All Survey leading to PHP

2008-02-22 Thread tedd
At 10:48 AM -0500 2/22/08, Robert Cummings wrote: On Fri, 2008-02-22 at 09:57 -0500, tedd wrote: >> >> So, my advice -- write good code, pick up your check, and move one to >> the next client. Stop worrying about protecting your code and hope >> that you get good enough that someone wants

Re: [PHP] Re: temporary error

2008-02-22 Thread Shawn McKenzie
tedd wrote: > At 4:08 PM +0100 2/21/08, Mirco Soderi wrote: >> In the original code there were no sintax errors, > > Ah crap -- they're taxing that now?! > > Cheers, > > tedd I never see errors in my sintax. Every tax on my beer, wine and cigars is calculated accurately every time and applied

Re: [PHP] XML encoding variable simpleXML on Linux

2008-02-22 Thread Larry Brown
It is not that I want to generate the document in UTF-8. I just need to specify the correct encoding. My assumption that it was UTF-8 based on what my command line settings are is obviously incorrect. How can I tell what php is encoding in by default? Larry On Fri, 2008-02-22 at 17:20 +0100, B

Re: [PHP] Re: temporary error

2008-02-22 Thread Mirco Soderi
[snip] Is that irony? [/snip] no -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] URL modification

2008-02-22 Thread Richard Heyes
+ rewrite is overkill for this, but long term it's worth implementing and getting used to - think of the post as a pre-emptive strike on the inevitable question in a couple of weeks: "how can i make /profile/adam instead of profile.php?user=adam" Have a directory in your htdocs called /profile

Re: [PHP] PHP: Ajax send()

2008-02-22 Thread Zoltán Németh
2008. 02. 22, péntek keltezéssel 12.03-kor germana ezt írta: > Hi!! > > Im trying to sent data to and php with Ajax, so.. > this is what im sending>_url= "table='historia'$'='$''$'string'$''&"; > > then i do: > > _url = _url.substring(0,_url.length-1) //quita el & de sobra al final > var ajax =

Re: [PHP] URL modification

2008-02-22 Thread Nathan Rixham
Per Jessen wrote: Daniel Brown wrote: On Fri, Feb 22, 2008 at 10:53 AM, Per Jessen <[EMAIL PROTECTED]> wrote: Nathan Rixham wrote: > To use url's like http://domain.com/login/ as opposed to > http://domain.com/login.php you can take multiple approaches. > [big snip] > Seriously, this i

[PHP] PHP: Ajax send()

2008-02-22 Thread germana
Hi!! Im trying to sent data to and php with Ajax, so.. this is what im sending>_url= "table='historia'$'='$''$'string'$''&"; then i do: _url = _url.substring(0,_url.length-1) //quita el & de sobra al final var ajax = nuevoAjax(); ajax.open("POST", "atrapalo_x.php", true); ajax.s

Re: [PHP] All Survey leading to PHP

2008-02-22 Thread Robert Cummings
On Fri, 2008-02-22 at 16:04 +, Nathan Rixham wrote: > Robert Cummings wrote: > > On Fri, 2008-02-22 at 15:49 +, Nathan Rixham wrote: > >> One further point: > >> I develop on a windows server 2003 machine > > > > I think Mr. T. said it best... "I pity da fool!" > > > > Cheers, > > Rob. >

Re: [PHP] XML encoding variable simpleXML on Linux

2008-02-22 Thread Bojan Tesanovic
encoding="UTF-8" doesn't guarantee that XML is encoded in UTF-8 its only purpose is to tell XML parser how to decode that XML document . it is responsibility of document creator to ensure that XML is proper UTF-8 document . on PHP side when creating XML there are number of functions to ensu

Re: [PHP] URL modification

2008-02-22 Thread Per Jessen
Daniel Brown wrote: > On Fri, Feb 22, 2008 at 10:53 AM, Per Jessen <[EMAIL PROTECTED]> wrote: >> Nathan Rixham wrote: >> >> > To use url's like http://domain.com/login/ as opposed to >> > http://domain.com/login.php you can take multiple approaches. >> > >> [big snip] >> > >> >> Seriously, t

Re: [PHP] More than one values returned?

2008-02-22 Thread Robert Cummings
On Fri, 2008-02-22 at 09:50 -0600, Greg Donald wrote: > On 2/21/08, Nick Stinemates <[EMAIL PROTECTED]> wrote: > > I'm glad you're literate enough to understand what *indication* and > > *usually* mean. > > I know perfectly well what they mean, both words in fact. > > What I, and many others I c

Re: [PHP] All Survey leading to PHP

2008-02-22 Thread Nathan Rixham
Robert Cummings wrote: On Fri, 2008-02-22 at 15:49 +, Nathan Rixham wrote: One further point: I develop on a windows server 2003 machine I think Mr. T. said it best... "I pity da fool!" Cheers, Rob. Indeed, purely because I need to check functionality in IIS and indeed layout in IE *po

Re: [PHP] Prado IDE

2008-02-22 Thread Daniel Brown
On Fri, Feb 22, 2008 at 7:34 AM, Hélio Rocha <[EMAIL PROTECTED]> wrote: > Hi there. > > Does anyone knows a good IDE for developing prado? I would prefer an eclipse > plug in if it's possible. http://www.google.com/search?q=prado+editor -- Daniel P. Brown Senior Unix Geek -- PHP Genera

Re: [PHP] All Survey leading to PHP

2008-02-22 Thread Daniel Brown
On Fri, Feb 22, 2008 at 10:58 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Fri, 2008-02-22 at 15:49 +, Nathan Rixham wrote: > > One further point: > > I develop on a windows server 2003 machine > > I think Mr. T. said it best... "I pity da fool!" Must be Friday. ;-P -- Da

Re: [PHP] URL modification

2008-02-22 Thread Daniel Brown
On Fri, Feb 22, 2008 at 10:53 AM, Per Jessen <[EMAIL PROTECTED]> wrote: > Nathan Rixham wrote: > > > To use url's like http://domain.com/login/ as opposed to > > http://domain.com/login.php you can take multiple approaches. > > > [big snip] > > > > Seriously, this is all overkill. Apache con

Re: [PHP] All Survey leading to PHP

2008-02-22 Thread Robert Cummings
On Fri, 2008-02-22 at 15:49 +, Nathan Rixham wrote: > One further point: > I develop on a windows server 2003 machine I think Mr. T. said it best... "I pity da fool!" Cheers, Rob. -- .. | InterJinn Application Framework - http://ww

Re: [PHP] URL modification

2008-02-22 Thread Per Jessen
Nathan Rixham wrote: > To use url's like http://domain.com/login/ as opposed to > http://domain.com/login.php you can take multiple approaches. > [big snip] > Seriously, this is all overkill. Apache content negotiation does it all automagically and with minimal effort. /Per Jessen, Zürich

[PHP] XML encoding variable simpleXML on Linux

2008-02-22 Thread Larry Brown
I am using PHP on Linux to communicate with an XML peer. I pull and push documents from and to their server. On the console I use UTF-8 as far as I can tell. When I send these documents should my leading tag read: or is the encoding done by PHP and how do I know what it is encoded to? TIA L

Re: [PHP] All Survey leading to PHP

2008-02-22 Thread Nathan Rixham
tedd wrote: At 9:42 AM -0500 2/22/08, Robert Cummings wrote: On Fri, 2008-02-22 at 09:33 -0500, tedd wrote: At 3:43 AM +0530 2/22/08, Allan Fernandes wrote: >I am aware that reverse engineering can be done to every program, and no one >may bother to really take too much trouble to reverse e

Re: [PHP] More than one values returned?

2008-02-22 Thread Greg Donald
On 2/21/08, Nick Stinemates <[EMAIL PROTECTED]> wrote: > I'm glad you're literate enough to understand what *indication* and > *usually* mean. I know perfectly well what they mean, both words in fact. What I, and many others I can only assume, are waiting for, is one shred of an example to back

Re: [PHP] All Survey leading to PHP

2008-02-22 Thread Robert Cummings
On Fri, 2008-02-22 at 10:01 -0500, Daniel Brown wrote: > On Fri, Feb 22, 2008 at 9:42 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > BAD IDEA BUSTER!!! Always backup your code so it's protected from > > crashes!! > > And here, I thought that backups were to recover from crashes, not > t

Re: [PHP] All Survey leading to PHP

2008-02-22 Thread Robert Cummings
On Fri, 2008-02-22 at 09:57 -0500, tedd wrote: > >> > >> So, my advice -- write good code, pick up your check, and move one to > >> the next client. Stop worrying about protecting your code and hope > >> that you get good enough that someone wants to steal it. > > > >BAD IDEA BUSTER!!! Always b

Re: [PHP] All Survey leading to PHP

2008-02-22 Thread Matty Sarro
I personally never sell my code... everything I create is released as open source under GPL. However I do sell support, and server management, and occasionally server hardware to run everything :o) (Richard Stallman actually gave me the idea a few years ago when I emailed him about ways to make a

Re: [PHP] Re: temporary error

2008-02-22 Thread Daniel Brown
On Fri, Feb 22, 2008 at 10:01 AM, tedd <[EMAIL PROTECTED]> wrote: > At 4:08 PM +0100 2/21/08, Mirco Soderi wrote: > >In the original code there were no sintax errors, > > Ah crap -- they're taxing that now?! http://www.insidervlv.com/taxgeneralinfo.html -- Daniel P. Brown Senior Unix Geek

RE: [PHP] Re: temporary error

2008-02-22 Thread Jay Blanchard
[snip] In the original code there were no sintax errors [/snip] Is that irony? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: temporary error

2008-02-22 Thread Daniel Brown
Call me old-fashioned, old, or a bastard, but I still prefer: for($i=0;$i Daniel P. Brown Senior Unix Geek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: temporary error

2008-02-22 Thread tedd
At 9:59 AM -0500 2/22/08, Robert Cummings wrote: On Fri, 2008-02-22 at 09:49 -0500, tedd wrote: > Outside of a reasonable need for readability, variables should not be used for documentation. Who needs documentation when variables and functions are self-documenting? Cheers, Rob. Rob: Ple

Re: [PHP] All Survey leading to PHP

2008-02-22 Thread Daniel Brown
On Fri, Feb 22, 2008 at 9:42 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > BAD IDEA BUSTER!!! Always backup your code so it's protected from > crashes!! And here, I thought that backups were to recover from crashes, not to "protect from" them. I learn something new every day. ;-P -

[PHP] Re: temporary error

2008-02-22 Thread tedd
At 4:08 PM +0100 2/21/08, Mirco Soderi wrote: In the original code there were no sintax errors, Ah crap -- they're taxing that now?! Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] URL modification

2008-02-22 Thread Nathan Rixham
Richard Heyes wrote: H... made a quick look into it. Seems to be apache compatible. I'm designing a site to be hosted on an IIS Server. Does it still works there? On IIS I belive the default document is default.htm Though you should be able to modify this to whatever you please. On Apache

Re: [PHP] Deleting all rows in a database every 24 hours?

2008-02-22 Thread Daniel Brown
On Fri, Feb 22, 2008 at 1:28 AM, Zoran Bogdanov <[EMAIL PROTECTED]> wrote: > The title says it all, how do I perform an action every 24 hours? Another question better answered on Google. PHP Script: Crontab Entry: 40 3 * * * `which php` /path/to/your/script.php That will run every morn

Re: [PHP] Re: temporary error

2008-02-22 Thread Robert Cummings
On Fri, 2008-02-22 at 09:49 -0500, tedd wrote: > >If you wan to shorten a bit you can use a constant as the counter > >increment like so: > > > >define('Increment_Super_Cala_Fraga_Listic_Ex_Peal_Ado_Tio_Us_Counter', 1); > > > >$Super_Cala_Fraga_Listic_Ex_Peal_Ado_Tio_Us_Counter = > >$Super_Cala_Fr

Re: [PHP] All Survey leading to PHP

2008-02-22 Thread tedd
At 9:42 AM -0500 2/22/08, Robert Cummings wrote: On Fri, 2008-02-22 at 09:33 -0500, tedd wrote: At 3:43 AM +0530 2/22/08, Allan Fernandes wrote: >I am aware that reverse engineering can be done to every program, and no one >may bother to really take too much trouble to reverse engineer it.

RE: [PHP] Deleting all rows in a database every 24 hours?

2008-02-22 Thread Bastien Koert
cron bastien> To: php-general@lists.php.net> From: [EMAIL PROTECTED]> Date: Fri, 22 Feb 2008 07:28:58 +0100> Subject: [PHP] Deleting all rows in a database every 24 hours?> > The title says it all, how do I perform an action every 24 hours?> > Thank you. > > -- > PHP General Mailing List (htt

[PHP] Re: temporary error

2008-02-22 Thread tedd
If you wan to shorten a bit you can use a constant as the counter increment like so: define('Increment_Super_Cala_Fraga_Listic_Ex_Peal_Ado_Tio_Us_Counter', 1); $Super_Cala_Fraga_Listic_Ex_Peal_Ado_Tio_Us_Counter = $Super_Cala_Fraga_Listic_Ex_Peal_Ado_Tio_Us_Counter + Increment_Super_Cala_Fraga_L

Re: [PHP] All Survey leading to PHP

2008-02-22 Thread Robert Cummings
On Fri, 2008-02-22 at 09:33 -0500, tedd wrote: > At 3:43 AM +0530 2/22/08, Allan Fernandes wrote: > >I am aware that reverse engineering can be done to every program, and no one > >may bother to really take too much trouble to reverse engineer it. All the > >same I do not want it to be as simple a

Re: [PHP] All Survey leading to PHP

2008-02-22 Thread tedd
At 3:43 AM +0530 2/22/08, Allan Fernandes wrote: I am aware that reverse engineering can be done to every program, and no one may bother to really take too much trouble to reverse engineer it. All the same I do not want it to be as simple as a java decompiler wherein the code is regenerated from

Re: [PHP] URL modification

2008-02-22 Thread Jason Pruim
On Feb 22, 2008, at 2:09 AM, Xavier de Lapeyre wrote: Hi all, I saw on some websites that modifies the links to access the webpages. Something like: http://www.example.com/login/ instead of http://www.example.com/login.php Does anyone knows how this works or how its call / which PHP library

Re: [PHP] APC & __autoload & webclusters

2008-02-22 Thread Jochem Maas
Nathan Nobbe schreef: On Thu, Feb 21, 2008 at 12:01 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: Richard Lynch schreef: If it's that inter-tangled, then I would hazard a WILD GUESS that the __autoload will still end up loading everything... but not on every request ;-) ... I do use output cachi

[PHP] Prado IDE

2008-02-22 Thread Hélio Rocha
Hi there. Does anyone knows a good IDE for developing prado? I would prefer an eclipse plug in if it's possible. Thanks in Advance! HJRocha

[PHP] Re: AMP installer

2008-02-22 Thread zerof
Ryan A escreveu: Hey! Need to reinstall Apache PHP and MySql for personal development use on my new laptop... I usually used phpdev in the past but now I want php5 compatability... can anyone recommend any such "all in one installer". And yes, I know its good experience and so on to do each one

Re: [PHP] All Survey leading to PHP

2008-02-22 Thread Allan Fernandes
I am aware that reverse engineering can be done to every program, and no one may bother to really take too much trouble to reverse engineer it. All the same I do not want it to be as simple as a java decompiler wherein the code is regenerated from a jar file to perfection. Not so easy to break a De

Re: [PHP] URL modification

2008-02-22 Thread Per Jessen
Xavier de Lapeyre wrote: > Hi all, > > I saw on some websites that modifies the links to access the webpages. > > Something like: > http://www.example.com/login/ > instead of > http://www.example.com/login.php > > Does anyone knows how this works or how its call / which PHP library > performs t

Re: [PHP] URL modification

2008-02-22 Thread Richard Heyes
H... made a quick look into it. Seems to be apache compatible. I'm designing a site to be hosted on an IIS Server. Does it still works there? On IIS I belive the default document is default.htm Though you should be able to modify this to whatever you please. On Apache it is index.html or

RE: [PHP] URL modification

2008-02-22 Thread Thijs Lensselink
Quoting Xavier de Lapeyre <[EMAIL PROTECTED]>: Thnks, H... made a quick look into it. Seems to be apache compatible. I'm designing a site to be hosted on an IIS Server. Does it still works there? Regards, Xavier de Lapeyre Web Developer Enterprise Data Services 24, Dr Roux Street, Rose Hil

RE: [PHP] URL modification

2008-02-22 Thread Xavier de Lapeyre
Thnks, H... made a quick look into it. Seems to be apache compatible. I'm designing a site to be hosted on an IIS Server. Does it still works there? Regards, Xavier de Lapeyre Web Developer Enterprise Data Services 24, Dr Roux Street, Rose Hill Office: (230) 465 17 00 Fax: (230) 465 29 00 Si