RE: [PHP] PHP Variables sizes

2006-04-24 Thread Nicolas Verhaeghe
Nicolas Verhaeghe - White Echo Technologies > Is there a maximum size for a variable in PHP. A client of mine is > having problems working with a file of around 4Mb. Not really being a > php developer I cannot really answer him. To quote him: > > We are not uploading excel from ftp. We are read

Re: [PHP] PHP Variables sizes

2006-04-24 Thread Richard Lynch
On Sun, April 23, 2006 10:43 pm, David Killen wrote: > Is there a maximum size for a variable in PHP. A client of mine is > having problems working with a file of around 4Mb. Not really being a > php developer I cannot really answer him. To quote him: > > We are not uploading excel from ftp. We are

Re: [PHP] PHP Variables sizes

2006-04-23 Thread chris smith
On 4/24/06, David Killen <[EMAIL PROTECTED]> wrote: > Is there a maximum size for a variable in PHP. A client of mine is > having problems working with a file of around 4Mb. Not really being a > php developer I cannot really answer him. To quote him: > > We are not uploading excel from ftp. We are

[PHP] PHP Variables sizes

2006-04-23 Thread David Killen
Is there a maximum size for a variable in PHP. A client of mine is having problems working with a file of around 4Mb. Not really being a php developer I cannot really answer him. To quote him: We are not uploading excel from ftp. We are reading excel file which is about 4 MB. In php settings maxim

[PHP] PHP variables on SSL and IE5.x

2004-12-28 Thread Merlin
Hi there, I am having trouble with posting a form to a php script through SSL on IE prior 5.5 sp1. It works like a charm on all other browsers. In IE it works without SSL, but when SSL is enabled, the browser pops up with a message that he is switching to an unsecure site and then all then displ

Re: [PHP] php variables in a backtick command

2004-12-11 Thread Jonathan Duncan
Original Message - > From: "Jonathan Duncan" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, December 11, 2004 8:09 PM > Subject: [PHP] php variables in a backtick command > > >> I am trying to run a shell command with backticks.

Re: [PHP] php variables in a backtick command

2004-12-11 Thread Jonathan Duncan
Ah, that is a good idea, putting the command in a variable and then executing the variable. I have doen that before but did not think of it now. Too many things going on. Thanks! Jonathan "Rory Browne" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm not sure about variable

Re: [PHP] php variables in a backtick command

2004-12-11 Thread Rory Browne
I'm not sure about variable expansion with backticks(I don't use backticks, if necessary I use shell_exec() instead). I'm just after installing a fresh SuSE 9.1, and php is giving me a segfault at the minute, with that particular code, but if you were using double quotes you could: $command = "add

Re: [PHP] php variables in a backtick command

2004-12-11 Thread Sebastian
well $user['password'] has no double quotes around it. - Original Message - From: "Jonathan Duncan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 11, 2004 8:09 PM Subject: [PHP] php variables in a backtick command > I am

[PHP] php variables in a backtick command

2004-12-11 Thread Jonathan Duncan
I am trying to run a shell command with backticks. However, I get a parse error. Is it because I have an array variable in there? $result = `adduser -l=$dist_id -p=$user['password'] --f="$user['name_first'] $user['name_last']"`; Do I need to assign the value to a regular variable before I put

[PHP] PHP variables via SSL on IE5.x

2004-09-29 Thread Merlin
Hi there, I am having trouble with posting a form to a php script through SSL on IE prior 5.5 sp1. It works like a charm on all other browsers. In IE it works without SSL, but when SSL is enabled, the browser pops up with a message that he is switching to an unsecure site and then all then displ

Re: [PHP] PHP & Variables

2003-12-06 Thread Justin Patrin
John W. Holmes wrote: echo ''; Or even *MORE* correct echo ''; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP & Variables

2003-12-06 Thread John W. Holmes
Lloyd Bayley wrote: echo ""; < This returns first word. Please learn HTML. The "value" should have quotes around it. echo ""; or, even MORE correct: echo ''; -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP P

[PHP] PHP & Variables

2003-12-06 Thread Lloyd Bayley
Greetings All, Have a small problem that I just can't work out. I know it's an easy one but it's got me stumped... I have some code to pull a question out of a database and display it on the screen. I also want to store it in a hidden var for use with the $_POST on the next page. Currently, th

RE: [PHP] PHP: Variables in

2001-05-14 Thread Matt Schroebel
I would recommend: is logged in that way you won't get burned by quotes, etc ... > From: Tarrant Costelloe [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 14, 2001 7:59 AM > To: '[EMAIL PROTECTED]' > I want the the secure page to hold the users name > (from variable) in > the header Some

Re: [PHP] PHP: Variables in

2001-05-14 Thread James Holloway
Hiya Taz, James. "Tarrant Costelloe" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a log in script written in PHP4 which accesses a secure server. Once > entered I want the the secure page to hold the users name (from variable) in > the header ..

Re: [PHP] PHP: Variables in

2001-05-14 Thread Geir Eivind Mork
Tarrant Costelloe wrote: > I have a log in script written in PHP4 which accesses a secure server. Once > entered I want the the secure page to hold the users name (from variable) in > the header Something along the lines of this: > $name is logged in > Obiously I have tried that with no luc

[PHP] PHP: Variables in

2001-05-14 Thread Tarrant Costelloe
I have a log in script written in PHP4 which accesses a secure server. Once entered I want the the secure page to hold the users name (from variable) in the header Something along the lines of this: $name is logged in Obiously I have tried that with no luck, anyone got any ideas? Taz --

Re: [PHP] PHP Variables across files

2001-02-20 Thread Ben Peter
Jay, to make variables.inc available from wherever you are, set the value of include_path in your php.ini or httpd.conf or .htaccess t something like ".:/path/to/where/variables.inc/is:/other/paths" as an alternative, use the auto_prepend_file directive to include variables.inc before any script

[PHP] PHP Variables across files

2001-02-20 Thread Jay Klehr
Hey all, I have a question about using a variable across multiple PHP files. I want to set a path variable such as: $root_path = /www2/yoursite/docs and I want this variable to be able to be changed in case the site is moved to another server that has a different root path. I was thinking tha

Re: [PHP] php variables in sql statements.

2001-02-19 Thread Ifrim Sorin
From: Matt Davis <[EMAIL PROTECTED]> To: Php Mailing List <[EMAIL PROTECTED]> Sent: Monday, February 19, 2001 6:05 PM Subject: [PHP] php variables in sql statements. > Can someone tell me if this is possible. > > I have a PHP variable which i got from a html form using $HTTP_PO

[PHP] php variables in sql statements.

2001-02-19 Thread Matt Davis
Can someone tell me if this is possible. I have a PHP variable which i got from a html form using $HTTP_POST_VAR. I collect a variable called Community. Therefore is it possible to have an sql statement like this? //create sql statement $sql = "select businessname from main where businesst