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
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
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
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
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
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
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
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
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
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
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
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
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
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
* 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
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
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
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
>> 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
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...
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
: 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&
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
'[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
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&
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
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.
>
>
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
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,
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
> >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
> 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
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
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 "
34 matches
Mail list logo