Re: [PHP] Curious PHP cli output in context of bash completion ?

2010-01-27 Thread Alexandre Simon
Le 28 janv. 2010 à 00:42, Ashley Sheridan a écrit : On Wed, 2010-01-27 at 23:27 +0100, Rene Veerman wrote: > My initial goal is to complete a PHP script, using the PHP script itselfs as function for bash completion. Mechanism that works perfectly on some other platforms (with different PHP AND b

Re: [PHP] Curious PHP cli output in context of bash completion ?

2010-01-27 Thread Alexandre Simon
The problem has nothing to do with "myscript.php" output. The problem is in bash completion process wich involves only "echoscrip.[php|sh]". These scripts only have (to my comprehension) to output a single string, without newline and it is what they do. The fact is, and I do not understand why be

Re: [PHP] Curious PHP cli output in context of bash completion ?

2010-01-27 Thread Ashley Sheridan
On Wed, 2010-01-27 at 23:27 +0100, Rene Veerman wrote: > Have you tried letting the php script output "\r\n" instead of just > "\n" as newline ? > > On Wed, Jan 27, 2010 at 10:46 PM, Alexandre Simon wrote: > > Hello, > > > > I'm pretty "sure" (in realty I do not understand a lot about the proble

Re: [PHP] Curious PHP cli output in context of bash completion ?

2010-01-27 Thread Rene Veerman
Have you tried letting the php script output "\r\n" instead of just "\n" as newline ? On Wed, Jan 27, 2010 at 10:46 PM, Alexandre Simon wrote: > Hello, > > I'm pretty "sure" (in realty I do not understand a lot about the problem... > :(  ) this is a distribution or a version problem but maybe so

[PHP] Curious PHP cli output in context of bash completion ?

2010-01-27 Thread Alexandre Simon
Hello, I'm pretty "sure" (in realty I do not understand a lot about the problem... :( ) this is a distribution or a version problem but maybe some PHP/bash expert here could have some idea and tell me what I could try to solve the problem described here : http://ubuntuforums.org/showthread.ph

Re: [PHP] Curious Problem with $_POST - Solved

2007-04-10 Thread Stephen
My upload_max_filesize in php.ini was 2M Doh It is documented that if the upload is larger $_POST and $_FILES are empty. Hidden a bit, but it is there! Thanks all Stephen Stephen wrote: I have a form for uploading files. It is intended to upload photos. I have it listed at the end. When I

Re: [PHP] Curious Problem with $_POST

2007-04-10 Thread Richard Lynch
print_r($_FILES) may be more useful that $_POST On Mon, April 9, 2007 7:53 pm, Stephen wrote: > I have a form for uploading files. It is intended to upload photos. I > have it listed at the end. > > When I upload a jpg everything is fine. The $_POST variable is > populated > as expected. > > If I

RE: [PHP] Curious Problem with $_POST

2007-04-09 Thread Buesching, Logan J
You may also want to take a look at http://us.php.net/features.file-upload. That is a good resource for starting in file uploads. -Logan -Original Message- From: Stephen [mailto:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 8:54 PM To: PHP-General Subject: [PHP] Curious Problem with

[PHP] Curious Problem with $_POST

2007-04-09 Thread Stephen
I have a form for uploading files. It is intended to upload photos. I have it listed at the end. When I upload a jpg everything is fine. The $_POST variable is populated as expected. If I upload a zip file, it is empty! print_r ($_POST); gives Array ( ) If I upload a jpg Print_r gives: Ar

Re: [PHP] curious (and frustrating) php/apache behavior

2005-10-29 Thread Richard Lynch
On Sat, October 29, 2005 12:01 pm, Don Brown wrote: > We're having a problem getting more than one imbedded PHP script to > execute in our Apache-served pages. We're using Apache 2.0.40 > server-side includes. We wish to include multiple PHP scripts into our > pages but are only succeeding in havin

Re: [PHP] curious (and frustrating) php/apache behavior

2005-10-29 Thread Linda H
We wish to include multiple PHP scripts into our pages but are only succeeding in having the first included PHP script executed; the rest are ignored or misinterpreted as HTML... I don't know if this is part of your problem, but when you do an include, it throws you out of php. So, if there

[PHP] curious (and frustrating) php/apache behavior

2005-10-29 Thread Don Brown
We're having a problem getting more than one imbedded PHP script to execute in our Apache-served pages. We're using Apache 2.0.40 server-side includes. We wish to include multiple PHP scripts into our pages but are only succeeding in having the first included PHP script executed; the rest are ig

[PHP] Curious bug and crash

2005-05-17 Thread Dave Lists
Hi, Tonight I installed a new php5 instance. php5.0.4/apache-1.3.33/mysql-4.1.10. I was getting "\Wed May 18 01:59:42 2005] [notice] child pid 1621 exit signal Segmentation fault (11)" error whenever I accessed a PHP enable page. I recompiled a few times and removed unnecessary modules. Still

[PHP] Curious problem overloading derived ObjectArray and __toString

2004-08-27 Thread Stefan
hi, I extended ArrayObject (SPL) to a new class. Let's call it ExtObjectArray. ExtArrayObject is quiet tiny, only with some simple functions. One is called getData() and serves some string data. Now I've overloaded the class using __toString() ... public function __toString() { ret

Re: [PHP] Curious about something....

2003-11-21 Thread Curt Zirzow
* Thus wrote Dan Joseph ([EMAIL PROTECTED]): > Hi, > > > > The question sounded more like a technical one - is it an advantage in > > > terms of memory? CPU? startup overhead? etc. > > Yeah, it was mostly a technical one, and it was also one that left me > scratching my head. I guess in ot

RE: [PHP] Curious about something....

2003-11-21 Thread Dan Joseph
Hi, > > The question sounded more like a technical one - is it an advantage in > > terms of memory? CPU? startup overhead? etc. Yeah, it was mostly a technical one, and it was also one that left me scratching my head. I guess in other languages, I just import or include the library I wan

Re: [PHP] Curious about something....

2003-11-20 Thread John W. Holmes
Mike Migurski wrote: Is there any particular advantage to having the default PHP install exclude a lot of useful modules such as mcrypt, cli, sockets, etc? The question sounded more like a technical one - is it an advantage in terms of memory? CPU? startup overhead? etc. Yeah, I think I misread tha

RE: [PHP] Curious about something....

2003-11-20 Thread Vail, Warren
From: Mike Migurski [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 3:22 PM To: CPT John W. Holmes Cc: Dan Joseph; [EMAIL PROTECTED] Subject: Re: [PHP] Curious about something >> Is there any particular advantage to having the default PHP install >> exclude a lot of usefu

Re: [PHP] Curious about something....

2003-11-20 Thread Mike Migurski
>> Is there any particular advantage to having the default PHP install >> exclude a lot of useful modules such as mcrypt, cli, sockets, etc? > >Honestly, this has kind of been discussed this week in the "encoder" >thread. Where do you draw the line on what's useful or not and who does >the deciding

Re: [PHP] Curious about something....

2003-11-20 Thread CPT John W. Holmes
From: "Dan Joseph" <[EMAIL PROTECTED]> > Is there any particular advantage to having the default PHP install exclude > a lot of useful modules such as mcrypt, cli, sockets, etc? Yes. I've found that I do not need those libraries and have a secret agreement preventing them from being included...

[PHP] Curious about something....

2003-11-20 Thread Dan Joseph
Hi, Is there any particular advantage to having the default PHP install exclude a lot of useful modules such as mcrypt, cli, sockets, etc? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] curious - any phpshop/core users?

2002-01-31 Thread Jaxon
: Aric Caley [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 31, 2002 6:02 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] curious - any phpshop/core users? > > > I've used PHPShop (the existing version, not the new > core/commerce thing) to > do one site. > > It&

Re: [PHP] curious - any phpshop/core users?

2002-01-31 Thread Aric Caley
e----- > > From: Rick Emery [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, January 30, 2002 12:58 PM > > To: '[EMAIL PROTECTED]'; PHP > > Subject: RE: [PHP] curious - any phpshop/core users? > > > > > > I use PHP Coder. It's an excellent I

RE: [PHP] curious - any phpshop/core users?

2002-01-30 Thread Jaxon
'[EMAIL PROTECTED]'; PHP > Subject: RE: [PHP] curious - any phpshop/core users? > > > I use PHP Coder. It's an excellent IDE and it's free.. > > -Original Message- > From: Jaxon [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 30, 2002 11:46 A

RE: [PHP] curious - any phpshop/core users?

2002-01-30 Thread Rick Emery
I use PHP Coder. It's an excellent IDE and it's free.. -Original Message- From: Jaxon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 11:46 AM To: PHP Subject: [PHP] curious - any phpshop/core users? hi, has anyone used PHPShop and Core (www.phpshop.org) ?? i&

[PHP] curious - any phpshop/core users?

2002-01-30 Thread Jaxon
hi, has anyone used PHPShop and Core (www.phpshop.org) ?? i'm thinking about using it for a project and wanted to know if it's actually any good :) cheers, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

Re: [PHP] Curious

2001-03-29 Thread Christian Reiniger
On Wednesday 28 March 2001 23:59, you wrote: > This is where I implement a reversal of quotes depending on what kind > of quotes I'll be using in it - the draw back is hitting the . key a > lot to concat with variables, but it makes the my code more readable > (IMO - no \'s all over the place. > >

Re: [PHP] Curious

2001-03-28 Thread Joe Stump
This is where I implement a reversal of quotes depending on what kind of quotes I'll be using in it - the draw back is hitting the . key a lot to concat with variables, but it makes the my code more readable (IMO - no \'s all over the place. So like this : echo ''.$title.''."\n"; or echo "Thi

Re: [PHP] Curious

2001-03-28 Thread YoBro
Thanks to everybody for the informative explanation of my curiosity. It was very helpful, and now I have a better understanding of what I am doing sometimes. Thanks YoBro --- : Hi, : : I am curious to know why you need to use the /n, and what it actually does,

Re: [PHP] Curious

2001-03-28 Thread Christian Reiniger
On Wednesday 28 March 2001 08:18, you wrote: > in general, I avoid using quotes where possible (such as in the > following) (instead of face=\"Arial\">) Remember that XHTML *requires* quotes around every attribute value. -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) /* you

Re: [PHP] Curious

2001-03-27 Thread Stuart J. Browne
> >I am curious to know why you need to use the /n, and what it actually does, > >because I had a page that used them, and i removed them all and it still > >works fine. > > As far as the HTML output, it wont affect how it shows up on the screen, > but if you look at the HTML code, you will notice

Re: [PHP] Curious

2001-03-27 Thread Philip Olson
> I am curious to know why you need to use the /n, and what it actually does, > because I had a page that used them, and i removed them all and it still > works fine. Have a look here (the main manual is down this second) : http://uk.php.net/manual/en/language.types.string.php An example use

Re: [PHP] Curious

2001-03-27 Thread Chris Aitken
At 06:04 PM 28/03/2001, you wrote: >Hi, > >I am curious to know why you need to use the /n, and what it actually does, >because I had a page that used them, and i removed them all and it still >works fine. As far as the HTML output, it wont affect how it shows up on the screen, but if you look a

[PHP] Curious

2001-03-27 Thread YoBro
Hi, I am curious to know why you need to use the /n, and what it actually does, because I had a page that used them, and i removed them all and it still works fine. Also, is it seen as good or bad practive to use \" only when required or all the time. i.e echo ""; //Doesn't need to use \" echo "