RE: [PHP] Upload size limit stays at 8MB

2011-05-05 Thread Ross Hansen
Hey, There is also an option for post_max_size = xM x being the number specified. This should be located in your php.ini file somewhere. check to make sure that this is set high enough else it could also be causing the issue. > To: php-general@lists.php.net > Date: Thu, 5 May 2011 21:51:26 -0

[PHP] Upload size limit stays at 8MB

2011-05-05 Thread James Moe
Hello, apache v2.2.15 (Linux/SUSE) phpv5.3.3 linux v2.6.34.7-0.7-desktop #1 SMP I updated to change upload_max_filesize = 2M to upload_max_filesize = 60M. php_info() shows the changed value; "echo ini_get(upload_max_filesize)" shows the changed value. Yet when I attempt an upload,

[PHP] Re: php-general Digest 5 May 2011 21:55:09 -0000 Issue 7299

2011-05-05 Thread e-letter
Readers, Looking through the mail lists archives, only the following message seems to advise about the possibility to use gnuplot: http://marc.info/?l=php-general&m=96248542218029&w=2 Is it possible to start gnuplot using php, to plot a graph from postgresql data. For example, a table is created

Re: [PHP] Customize link

2011-05-05 Thread Jim Lucas
On 5/5/2011 3:38 PM, Michael Simiyu wrote: > Dan, > > thanks for the reply.this is the code that shows/lists the categories > you need to make the following check look at $_GET instead of $_POST. Or, I hate to suggest it, you can use $_REQUEST. It includes $_GET, $_POST, and others all in

Re: [PHP] Customize link

2011-05-05 Thread Michael Simiyu
Dan, thanks for the reply.this is the code that shows/lists the categories $cats = $download_taxonomies- >get_parent_cats(); if (!empty($cats)) {

RE: [PHP] Customize link

2011-05-05 Thread admin
If your options are dynamically created you could check the value passed against each option are mark the match with "SELECTED"; Example Static: Echo "5".PHP_EOL; Example Dynamic for($a=1, $a <= 15; $a++) { Echo " ".$a."".PHP_EOL; } Just a though Richard L. Buskirk -Original Message

Re: [PHP] Customize link

2011-05-05 Thread Daniel Brown
On Thu, May 5, 2011 at 18:10, Michael Simiyu wrote: > > So i guess my question is how to configure a meu item in a drop down to be > automatically selected in a link... '.PHP_EOL; foreach ($cat_ids as $cid) { echo ' '.$cid.''.PHP_EOL; } echo ''.PHP_EOL; ?> -- Network Infrastructure Manag

[PHP] Customize link

2011-05-05 Thread Michael Simiyu
Hello, Here is the scenario I have a form with the folloing fields i. Title ii. Category (This is a drop down with a list of categories which have id's - am using wordpress ) iii. upload file field now what i want to do is to be able to customize a link like http://www.mysite.com/ad

[PHP] PHP 5.2.17 zend_mm_panic Called

2011-05-05 Thread Bruce Bailey
Hi I recently upgraded from PHP 5.2.3 to PHP 5.2.17. After that, some of my pages keep failing with either Segfaults or calls to zend_mm_panic. My gdb backtrace shows: (gdb) bt #0 zend_mm_panic (message=0xb71fbda4 "zend_mm_heap corrupted") at /src/php-5.2.17/Zend/zend_alloc.c:92 #1 0xb70a1

Re: [PHP] filter_var using regex

2011-05-05 Thread Ashley Sheridan
On Thu, 2011-05-05 at 13:39 -0600, Jason Gerfen wrote: > On 05/04/2011 03:10 PM, Ashley Sheridan wrote: > > On Wed, 2011-05-04 at 13:46 -0600, Jason Gerfen wrote: > > > >> On 05/04/2011 01:27 PM, Ashley Sheridan wrote: > >>> On Wed, 2011-05-04 at 13:20 -0600, Jason Gerfen wrote: > >>> > I am

Re: [PHP] Re: iPhone apology - was Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Richard Quadling
On 5 May 2011 17:46, Jason Pruim wrote: > > > Jason Pruim > > On May 5, 2011, at 12:29 PM, Ken Kixmoeller wrote: > >> On Thu, May 5, 2011 at 9:52 AM, Richard Quadling wrote: >>> On 5 May 2011 15:08, Mike Mackintosh >>> wrote: Sent from my iPhone >>> >>> Why do all iPhone users apologize f

Re: [PHP] filter_var using regex

2011-05-05 Thread Jason Gerfen
On 05/04/2011 03:10 PM, Ashley Sheridan wrote: > On Wed, 2011-05-04 at 13:46 -0600, Jason Gerfen wrote: > >> On 05/04/2011 01:27 PM, Ashley Sheridan wrote: >>> On Wed, 2011-05-04 at 13:20 -0600, Jason Gerfen wrote: >>> I am running into a problem using the REGEXP option with filter_var(). >>>

Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Ken Kixmoeller
On Thu, May 5, 2011 at 9:08 AM, Mike Mackintosh wrote: > What are the permissions on the include directory? > -- Well, I swear that I had set the permissions to r/w for these directories, but after I did it (again?), now I get a whole *new* set of errors which seem to be about connecting to MySQL

Re: [PHP] Re: iPhone apology - was Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Jason Pruim
Jason Pruim On May 5, 2011, at 12:29 PM, Ken Kixmoeller wrote: > On Thu, May 5, 2011 at 9:52 AM, Richard Quadling wrote: >> On 5 May 2011 15:08, Mike Mackintosh wrote: >>> Sent from my iPhone >> >> Why do all iPhone users apologize for sending mail from their iPhone? > > 1. Apparently, iph

[PHP] Re: iPhone apology - was Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Ken Kixmoeller
On Thu, May 5, 2011 at 9:52 AM, Richard Quadling wrote: > On 5 May 2011 15:08, Mike Mackintosh wrote: >> Sent from my iPhone > > Why do all iPhone users apologize for sending mail from their iPhone? 1. Apparently, iphone software top-posts replies. For some people, that alone constitutes a feder

[PHP] iPhone apology - was Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Richard Quadling
On 5 May 2011 15:08, Mike Mackintosh wrote: > Sent from my iPhone Why do all iPhone users apologies for sending mail from their iPhone. It's like someone saying "Sorry, I've only got IE6". -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Gener

Re: [PHP] mysql error

2011-05-05 Thread Daniel Brown
On Thu, May 5, 2011 at 10:29, Grega Leskovšek wrote: > Can smbd please look  at this sentence - I got an error and do not > know how to fix it - I am still very unfamiliar with MYSQL: > > CREATE TABLE log (  idlog int auto_increment not null,  imepriimek > varchar(50),  clock timestamp,  action va

Re: [PHP] mysql error

2011-05-05 Thread Andre Polykanine
Hello Grega, What do you mean by uniqueid(idlog)? -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion Original message From: Greg

[PHP] mysql error

2011-05-05 Thread Grega Leskovšek
Can smbd please look at this sentence - I got an error and do not know how to fix it - I am still very unfamiliar with MYSQL: CREATE TABLE log ( idlog int auto_increment not null, imepriimek varchar(50), clock timestamp, action varchar(30), onfile varchar(100), filesize float(6,2), uniqueid(

Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Mike Mackintosh
What are the permissions on the include directory? Sent from my iPhone On May 5, 2011, at 9:42, Ken Kixmoeller wrote: > On Thu, May 5, 2011 at 5:59 AM, Mike Mackintosh > wrote: >> Run phpinfo() or php -I and see if the PHP.ini file is being loaded. > > php.ini shows the include_path corre

Re: [PHP] filter_var using regex

2011-05-05 Thread Jason Gerfen
On 05/04/2011 03:10 PM, Ashley Sheridan wrote: > On Wed, 2011-05-04 at 13:46 -0600, Jason Gerfen wrote: > >> On 05/04/2011 01:27 PM, Ashley Sheridan wrote: >>> On Wed, 2011-05-04 at 13:20 -0600, Jason Gerfen wrote: >>> I am running into a problem using the REGEXP option with filter_var(). >>>

Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Ken Kixmoeller
On Thu, May 5, 2011 at 5:59 AM, Mike Mackintosh wrote: > Run phpinfo() or php -I and see if the PHP.ini file is being loaded. php.ini shows the include_path correctly, as:   /Users/ken/Documents/Clients/comped_php:/Users/ken/Documents/Clients/jaguar_php Oops, that line was suppos

Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Ken Kixmoeller
On Wed, May 4, 2011 at 11:51 PM, David Robley wrote: >> php.ini shows the include_path correctly, as: > If I remember correctly, include and friends have two parts to the error > message but you've only shown us one. For a guess, is it possible the > apache process doesn't have permissions for tho

Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Ken Kixmoeller
On Thu, May 5, 2011 at 4:40 AM, Richard Quadling wrote: > On 5 May 2011 05:51, David Robley wrote: >> Ken Kixmoeller wrote: >> > include_path should only contain directories, not filenames. [1] Thanks. Yes, both of those are directories. Ken -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Closing Session (Revisited)

2011-05-05 Thread Steve Staples
On Thu, 2011-05-05 at 21:41 +1000, Roger Riordan wrote: > On Thu, 31 Mar 2011 16:40:06 -0400, eth...@earthlink.net (Ethan Rosenberg) > wrote: > ... > >> > > Can you rephrase the question, Ethan, or give more details? From > >> > >the way it sounds, you're concerned that destroying a session w

Re: [PHP] Closing Session (Revisited)

2011-05-05 Thread Roger Riordan
On Thu, 31 Mar 2011 16:40:06 -0400, eth...@earthlink.net (Ethan Rosenberg) wrote: ... >> > > Can you rephrase the question, Ethan, or give more details? From >> > >the way it sounds, you're concerned that destroying a session will >> > >have implications for other sessions as well, which is n

Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Mike Mackintosh
Run phpinfo() or php -I and see if the PHP.ini file is being loaded. Sent from my iPhone On May 5, 2011, at 5:40, Richard Quadling wrote: > On 5 May 2011 05:51, David Robley wrote: >> Ken Kixmoeller wrote: >> >>> Hey, folks -- -- >>> >>> I am switching over my development (I hope) to a Mac.

Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Richard Quadling
On 5 May 2011 05:51, David Robley wrote: > Ken Kixmoeller wrote: > >> Hey, folks -- -- >> >> I am switching over my development (I hope) to a Mac. Having some >> trouble with the configuration. Rudimentary scripts run fine in the >> document_root, but beyond that, my scripts in the include_path ar