Re: [PHP] Looking for complete entered URL

2013-04-20 Thread Tom Rogers
and email your self the information that is available: ?php ob_start(); phpinfo(INFO_VARIABLES); $s = ob_get_contents(); ob_end_clean(); email('y...@wherever.com', 'Error Listing, $s); Then you can see all that's present and work out what to trap -- Best regards, Tom

Re: [PHP] PHP 5.4 Help

2013-03-06 Thread Tom Rogers
();   ? ---   You will probably need to remove the '' from this line: $process = process_get_process($processName); All objects are passed around as a reference now so the '' is not needed and may cause troubles. Tom -- Best regards, Tommailto:trog

Re: [PHP] SNMP via PHP

2012-10-15 Thread Tom Rogers
/book.snmp.php -- Best regards, Tommailto:trog...@kwikin.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] relative url and path_info

2012-09-30 Thread Tom Sparks
I have created a php script that use $_SERVER['PATH_INFO'], for the different sub-sections the links now looks like this http://localhost/collection/popups.php/models/bttf/car01/    my web browser cant load my images/javascripts/etc because it is trying to use  relative url from

[PHP] Re: php batch/queue framwork

2012-06-29 Thread Tom Sparks
Forwarded Message: php-general_318334.ezm Re: php batch/queue framwork Friday, 29 June, 2012 6:30 AM From: Shailesh N. Humbad humb...@alum.mit.edu To: php-general@lists.php.net On 6/28/2012 11:58 AM, Tom Sparks wrote: I am looking for a batch/queue framework that is database-centric? I could

[PHP] php batch/queue framwork

2012-06-28 Thread Tom Sparks
I am looking for a batch/queue framework that is database-centric? I could write my own, but I want one that is mature tom_a_sparks It's a nerdy thing I like to do -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql list to two-column list

2012-03-19 Thread Tom Sparks
I have a members list witch I print out once a week, I would like to make the list into two-column list, but I dont know where to start looking to change the code? here is the code $result = mysql_query(SELECT * FROM customers ORDER BY LastName); while($row = mysql_fetch_array($result)) {

Re: [PHP] mysql list to two-column list

2012-03-19 Thread Tom Sparks
--- On Tue, 20/3/12, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Mon, 2012-03-19 at 15:43 -0700, Tom Sparks wrote: I have a members list witch I print out once a week, I would like to make the list into two-column list, but I dont know where to start looking to change the code? here

Re: [PHP] mysql list to two-column list

2012-03-19 Thread Tom Sparks
--- On Tue, 20/3/12, Ashley Sheridan a...@ashleysheridan.co.uk wrote: From: Ashley Sheridan a...@ashleysheridan.co.uk Subject: Re: [PHP] mysql list to two-column list To: Tom Sparks tom_a_spa...@yahoo.com.au Cc: php-general php-general@lists.php.net Received: Tuesday, 20 March, 2012, 10:15 AM

Re: [PHP] mysql list to two-column list

2012-03-19 Thread Tom Sparks
Edition, AF 2012 Plus Edition, Sam440 AOS 4.1.2, Roland DXY-1300 pen plotter, Cutok DC330 cutter/pen plotter Wanted: RiscOS system, GEOS system (C64/C128), Atari ST, Apple Macintosh (6502/68k/PPC only) --- On Tue, 20/3/12, Tom Sparks tom_a_spa...@yahoo.com.au wrote: From: Tom Sparks

[PHP] ext/mbstring compile time dependency

2012-01-04 Thread Tom Worster
What does this mean in the PHP Change Log: Removed compile time dependency from ext/mbstring (Dmitry) Does it mean that mbstring is available by default in PHP 5.4? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Deleting elements from the middle of an array

2011-03-16 Thread Tom Barrett
http://en.wikipedia.org/wiki/Two_Little_Dickie_Birds

[PHP] PHP4 vs PHP5 overrides

2011-03-16 Thread Tom Robinson
the parameters are defined differently. As I expected, the FormClass::_dispatchSave() implementation is called in PHP5. This implementation does not have the desired effect (the application crashes). What is happening? Maybe I'm not seeing something simple. I look forward to any responses. Regards, Tom

Re: [PHP] PHP4 vs PHP5 overrides

2011-03-16 Thread Tom Robinson
...??? BTW I'm tracing this though with xdebug. Regards, Tom Tom Robinson System Administrator On 17/03/11 13:06, Tom Robinson wrote: Hi, I'm trying to decipher inherited code (I did not write this) and I'm having great difficulty understanding the override of a method in PHP4 vs PHP5 Here's

Re: [PHP] PHP4 vs PHP5 overrides

2011-03-16 Thread Tom Robinson
:20, Tom Robinson wrote: My apologies. I've not seen something I should have earlier. Also the instance that is behind all of this is and instance of ActiveRecordFormClass. So, in PHP4, the correct overridden method is called: ActiveRecordFormClass::_dispatchSave(). In PHP5, the FormClass

[PHP] Bar Charts in PDFs

2011-02-11 Thread Tom Barrett
be pointed towards? Thanks! Tom

Re: [PHP] Mysql search query ignoring dots

2011-01-24 Thread Tom Rogers
too. -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP4 to PHP5 migration with E_STRICT

2010-12-07 Thread Tom Robinson
assignments in a similar way in this class and in other classes throughout the code. I'm not sure of the best way to re-code this to resolve the E_STRICT warning. Any help is much appreciated. Regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] PHP4 to PHP5 migration with E_STRICT

2010-12-07 Thread Tom Robinson
()); --- function _getTable($cached=true) { $temp = new TableClass($this-_getTableName()); return $temp; Is this acceptable? I'll have to come back to the $db issue - it's not issuing a warning so I'll leave it alone until I've tidied up all the other issues. Regards, Tom

Re: [PHP] Possible issue in mail() function?

2010-11-27 Thread Tom Hendrikx
On 26/11/10 16:54, Richard Quadling wrote: On 26 November 2010 15:12, Tom Hendrikx t...@whyscream.net wrote: On 26/11/10 15:54, Richard Quadling wrote: On 25 November 2010 21:30, Tom Hendrikx tom+php@whyscream.net wrote: Hi, I noticed that the mail() function in php 5.3.3 on gentoo linux

Re: [PHP] Possible issue in mail() function?

2010-11-26 Thread Tom Hendrikx
On 26/11/10 15:54, Richard Quadling wrote: On 25 November 2010 21:30, Tom Hendrikx tom+php@whyscream.net wrote: Hi, I noticed that the mail() function in php 5.3.3 on gentoo linux triggers a warning when used. A simple debug script with the contents: ?php // recipient, subject, body

Re: [PHP] Possible issue in mail() function?

2010-11-26 Thread Tom Hendrikx
On 26/11/10 15:54, Richard Quadling wrote: On 25 November 2010 21:30, Tom Hendrikx tom+php@whyscream.net wrote: Hi, I noticed that the mail() function in php 5.3.3 on gentoo linux triggers a warning when used. A simple debug script with the contents: ?php // recipient, subject, body

[PHP] Possible issue in mail() function?

2010-11-25 Thread Tom Hendrikx
://stackoverflow.com/questions/1906403 -- Kind regards, Tom Hendrikx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] simple photo gallery

2010-11-08 Thread Tom Sparks
--- On Mon, 8/11/10, Tommy Pham tommy...@gmail.com wrote: From: Tommy Pham tommy...@gmail.com Subject: RE: [PHP] simple photo gallery To: a...@ashleysheridan.co.uk, 'Tom Sparks' tom_a_spa...@yahoo.com.au Cc: php-general@lists.php.net Received: Monday, 8 November, 2010, 11:11 PM

[PHP] simple photo gallery

2010-11-07 Thread Tom Sparks
I am looking for a simple photo gallery like this http://www.lavrsen.dk/webcam/cam1/movecam.php I want to use it in place of apache autoindex tom_a_sparks It's a nerdy thing I like to do -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Unconference Europe

2010-10-06 Thread Tom Calpin
I'm not affiliated with the PHP Unconference in any way but saw this on another mailing list, so just passing it on here in case anyone is interested. -Tom We are delighted to announce that PHP Unconference Europe will take place on: 19th 20th February 2011

Re: [PHP] Database Administration

2010-09-30 Thread Tom Barrett
Thanks for the replies, they have been most enlightening. :)

Re: [PHP] Database Administration

2010-09-24 Thread Tom Barrett
On 22 September 2010 21:40, Bastien Koert phps...@gmail.com wrote: Not at all. What I would suggest is that you create a separate mysql user that is used exclusively by the script to do the create stuff. The regular application user account should not have those privileges at all. I'm not

Re: [PHP] Database Administration

2010-09-22 Thread Tom Barrett
Hmm.. I am familiar with PMA. I would for the purpose of this project consider it too technical for the target user base. The point is to create a GUI layer that would manage these things. For example, the 'add client' screen would ask for four things; name, description, username and password.

[PHP] Database Administration

2010-09-21 Thread Tom Barrett
Hi I need to build a custom client management app, which will build and manage a database per client. This means that on top of the usual sql crud, it needs to be able to create databases, add/edit/delete database users, create tables. Is there a way for me to do this nicely as PHP solution? am

Re: [PHP] New to PHP and the list

2010-09-11 Thread Tom Sparks
-upload.post-method.php start off simpler with this version http://www.w3schools.com/php/php_file_upload.asp tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Filestat.c erorrs when building php-5.3.3 on solaris

2010-09-09 Thread Tom Rogers
? Can you point me in the right direction? SVCD -Vicki Stanfield, RHCE, CISSP SVCD -Original Message- SVCD From: Tom Rogers [mailto:trog...@kwikin.com] SVCD Sent: Wednesday, September 08, 2010 10:06 PM SVCD To: Tom Rogers SVCD Cc: php-general@lists.php.net SVCD Subject: Re: [PHP

Re: [PHP] Filestat.c erorrs when building php-5.3.3 on solaris

2010-09-08 Thread Tom Rogers
am doing SVCD wrong in this build? SVCD -Vicki Stanfield, RHCE, CISSP From the error message it would seem the operating system's getpwnam_r() function is not POSIX compatible. What system are you compiling on? -- regards, Tom -- PHP General Mailing List (http://www.php.net

Re: [PHP] Filestat.c erorrs when building php-5.3.3 on solaris

2010-09-08 Thread Tom Rogers
on? TR -- TR regards, TR Tom It would seem you need to add -D_POSIX_PTHREAD_SEMANTICS to the cc flags to get the right function. -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] xml/cap problems

2010-08-21 Thread Tom Shaw
and all help is appreciated. Tom ?xml version='1.0' encoding='UTF-8' standalone='yes'? cap:alert xmlns:cap='http://www.incident.com/cap/1.0' cap:identifierNOAA-NWS-ALERTS National 2010-08-21T13:26:34-04:00/cap:identifier cap:senderw-nws.webmas...@noaa.gov/cap:sender cap:sent2010-08-21T13:26:34-04:00

Re: [PHP] exec output to mySQL, How?

2010-07-21 Thread Tom Sparks
--- On Wed, 21/7/10, Nilesh Govindarajan li...@itech7.com wrote: On Wed, Jul 21, 2010 at 8:49 AM, Tom Sparks tom_a_spa...@yahoo.com.au wrote: How do I take the output from a command line program and update a MYSQL database with it? tom_a_sparks Light travels faster then sound, which

[PHP] exec output to mySQL, How?

2010-07-20 Thread Tom Sparks
How do I take the output from a command line program and update a MYSQL database with it? tom_a_sparks Light travels faster then sound, which is why some people appear bright, until you hear them speak -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] integrating lib (C++) into php

2010-07-15 Thread Tom Sparks
I have found lib that looks like it dose what i need How do I integrating this lib into php? dose php support C++ libs? http://libnoise.sourceforge.net/tutorials/tutorial1.html#gcc tom_a_sparks Light travels faster then sound, which is why some people appear bright, until you hear them speak

RE: [PHP] Beginner's question: How to run a PHP web application locally?

2010-04-08 Thread Tom Calpin
Hi List, The other day, I read an article that mentioned about a tool that would permit to simulate a web environment for PHP, so that testing could be made before uploading the page on the server. Unfortunately, I don't seem to find the article again. So here am I with this

[PHP] XSLTProcessor issue

2010-03-21 Thread Tom
I have located what appears to me to be bug in the XSLTProcessor in PHP5.2.13 but want to insure that I am not overlooking something before reporting it. Any advice will be appreciated. The issue is apparent discrepancies in output sort order in an XSLTProcessor generated list. Following is a

[PHP] Revision control?

2010-03-09 Thread Tom Sparks
Is there a Revision control class that I can use in a php program? tom_a_sparks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Revision control?

2010-03-09 Thread Tom Sparks
based tom Bastien Sent from my iPod On Mar 9, 2010, at 7:21 PM, Tom Sparks tom_a_spa...@yahoo.com.au  wrote: Is there a Revision control class that I can use in a php program? tom_a_sparks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Revision control?

2010-03-09 Thread Tom Sparks
--- On Wed, 10/3/10, James McLean james.mcl...@gmail.com wrote: On Wed, Mar 10, 2010 at 11:14 AM, Tom Sparks tom_a_spa...@yahoo.com.au wrote: --- On Wed, 10/3/10, Phpster phps...@gmail.com wrote: I believe pear has some stuff for subversion. Don't want to use subversion or any third

Re: [PHP] Do you use a public framework or roll your own?

2010-01-29 Thread Tom Sparks
--- On Fri, 29/1/10, Michael A. Peters mpet...@mac.com wrote: Michael A. Peters wrote: Daevid Vincent wrote:   I'm not looking to start a holy war here or re-hash the tired debate. I just want some hard cold numbers to look at. Do you use a public framework or roll your own?

[PHP] RE: I have not seen any messages for a couple of days...

2009-12-10 Thread Tom Calpin
Yep, although Christmas shopping seems to be higher on the agenda than PHP Wait till a week before Christmas and we'll have a slew of messages from desperate developers trying to complete to a client deadline :) -Original Message- From: Jay Blanchard [mailto:jblanch...@pocket.com]

Re: [PHP] Re: Converting tables into forms

2009-10-29 Thread Tom Barrett
Apologies for semi-hijacking, but I am confused. What are aiming to do that something like PHPMyAdmin doesn't do? 2009/10/28 ben...@gmail.com ben...@gmail.com Jay, What function do you have? Thanks to everyone for their feedback. Best, Ben On Wed, Oct 28, 2009 at 9:17 AM, Jay

Re: [PHP] What PHP version are you using?

2009-10-29 Thread Tom Barrett
2009/10/29 Israel Ekpo israele...@gmail.com Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version as 5.2.11. [snip] I cannot go

[PHP] RE: Netbeans IDE 6.5

2009-10-28 Thread Tom Calpin
If you go ToolsOptions Keymap tab, you can click the 'Import' button at the bottom. It just imports the zip file. I'm new to Netbeans myself and decided to install this colour scheme, however I can't get it to display correctly. I'm also missing word wrap and a more simple one-click FTP upload

[PHP] (nginx) fcgi+PHP+memcache on RedHat: Class 'Memcache' not found...

2009-10-26 Thread Tom Barrett
Hello I have installed:  - libevent  - libmemcached (http://tangent.org/552/libmemcached.html)  - Done a PECL installation (pecl download memcached, phpize ./configure make)  - memcached cat /etc/php.d/memcached.ini ; Memcached default settings extension=memcache.so ls -1  

Re: [PHP] (nginx) fcgi+PHP+memcache on RedHat: Class 'Memcache' not found...

2009-10-26 Thread Tom Barrett
2009/10/26 Eddie Drapkin oorza...@gmail.com: On Mon, Oct 26, 2009 at 11:45 AM, Tom Barrett t...@miramedia.co.uk wrote: Hello I have installed:  - libevent  - libmemcached (http://tangent.org/552/libmemcached.html)  - Done a PECL installation (pecl download memcached, phpize ./configure

Re: [PHP] (nginx) fcgi+PHP+memcache on RedHat: Class 'Memcache' not found...

2009-10-26 Thread Tom Barrett
2009/10/26 Eddie Drapkin oorza...@gmail.com: On Mon, Oct 26, 2009 at 11:59 AM, Tom Barrett t...@miramedia.co.uk wrote: 2009/10/26 Eddie Drapkin oorza...@gmail.com: On Mon, Oct 26, 2009 at 11:45 AM, Tom Barrett t...@miramedia.co.uk wrote: Hello I have installed:  - libevent  - libmemcached

Re: [PHP] PHP broadcast mailer

2009-10-20 Thread Tom Chubb
. The bounce handling takes away a lot of admin work once your list starts getting larger and people's email addresses change/stop working. Tom

Re: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo

2009-10-07 Thread Tom Worster
just yesterday i was reading through this wonderful and very funny presentation: http://talks.php.net/show/froscon08/0 for me it really drove home the message (among others) that it makes sense to find out where the real gains can be made before investing your efforts in optimization. --

Re: [PHP] FILTER_VALIDATE_INT - newbie question

2009-10-07 Thread Tom Worster
On 10/7/09 6:04 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Wed, 2009-10-07 at 10:57 +0100, MEM wrote: Hello all, I'm having this strange behavior, and I do not understanding why... When I use FILTER_VALIDATE_INT I'm unable to get, on my input box, values starting with

Re: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Tom Worster
On 10/6/09 4:16 AM, Mert Oztekin mozte...@anadolusigorta.com.tr wrote: My mistake, I thought it was date() now strftime() Sorry (why do php developers create two different standarts for such similiar functions???☺ ) it's traditional to do so. it reminds me of the bit about subtly

Re: [Fwd: [PHP] Sessions in databases]

2009-10-06 Thread Tom Worster
On 10/6/09 10:26 AM, Il pinguino volante tuxs...@codeinside.it wrote: I have to realize an authentication system for a lot of users. I heard that someone uses to store session states (?) into a database. I'd like to know how and, expecially, WHY to do it and what's would be better

Re: [PHP] Re: ternary operator sintax help

2009-10-06 Thread Tom Worster
just as ashley said it. On 10/6/09 3:26 PM, MEM tal...@gmail.com wrote: Sorry all, It's ok. The sintax: ?php echo (isset($erros['anexo']) ? 'div class=mensagemErro'.$erros['anexo'].'/div' :''); ? Was right all the time. Anyway, I've learn something new: having a var with '' is not

Re: [PHP] A really wacky design decision

2009-10-04 Thread Tom Worster
On 10/4/09 6:36 AM, clanc...@cybec.com.au clanc...@cybec.com.au wrote: i might think it ok for (2260 == '226E1') to be true since php would be doing type juggling in a logical left-to-right manner: we start with an integer 2260, next is the juggling comparison operator, then a string, so it

Re: [PHP] Self-Process php forms or not?

2009-10-04 Thread Tom Worster
process the form does not appear when the form first loads, because the server side script is not requested on load, it is requested when the form submits to the php code presented on that same page (self). Tom Worster, is this precise? i don't think so. if the user requests the page a_form.php

Re: [PHP] class to generate Javascript Object ??

2009-10-04 Thread Tom Worster
On 10/4/09 9:39 AM, Michael A. Peters mpet...@mac.com wrote: I wrote a php class to generate flowplayer/html5 media code for my site: http://www.shastaherps.org/xml_MMmediaClass.phps The buildFlashvars() function in it is really ugly and will be a pain to update as I modify the class in

Re: [PHP] Self-Process php forms or not?

2009-10-04 Thread Tom Worster
On 10/4/09 10:39 AM, MEM tal...@gmail.com wrote: i don't think so. if the user requests the page a_form.php then the server will normally execute the a_form.php script regardless whether the form was submitted or not. to display a blank form, the user probably requests a_form.php with the

Re: [PHP] Self-Process php forms or not?

2009-10-04 Thread Tom Worster
On 10/4/09 10:55 AM, tedd tedd.sperl...@gmail.com wrote: At 3:39 PM +0100 10/4/09, MEM wrote: i don't think so. if the user requests the page a_form.php then the server will normally execute the a_form.php script regardless whether the form was submitted or not. to display a blank

Re: [PHP] Self-Process php forms or not?

2009-10-03 Thread Tom Worster
On 10/2/09 10:24 AM, tedd tedd.sperl...@gmail.com wrote: At 1:55 PM +0530 10/2/09, kranthi wrote: and yes i forgot to mention... i avoid hidden form elements because they can be modified very easily and hence pose a security threat. That depends upon how sloppy you are in coding. NONE of

Re: [PHP] Self-Process php forms or not?

2009-10-03 Thread Tom Worster
On 10/2/09 10:06 AM, MEM tal...@gmail.com wrote: I'm now understanding that even if the form is submitted to self, we can still use a redirect to a success_message_page.php. However, we must do this redirect, AFTER the form has submitted to himself. It's the only thing that we have to pay

Re: [PHP] Re: A really wacky design decision

2009-10-03 Thread Tom Worster
On 10/3/09 9:53 AM, Ralph Deffke ralph_def...@yahoo.de wrote: this is a clear sign that somebody is on a sin TRAIL, I would not even spend the time on what sin collections this guy got i see it more as ignorance than sin. to misunderstand the difference between $n++ and ++$n is a beginner

Re: [PHP] A really wacky design decision

2009-10-03 Thread Tom Worster
On 10/3/09 7:21 AM, clanc...@cybec.com.au clanc...@cybec.com.au wrote: However there is one feature of PHP which, to my mind, is really bad design. How many of you can see anything wrong with the following procedure to search a list of names for a particular name? $i = 0; $j = count

Re: [PHP] A really wacky design decision

2009-10-03 Thread Tom Worster
On 10/3/09 12:25 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Sat, 2009-10-03 at 11:57 -0400, Tom Worster wrote: On 10/3/09 7:21 AM, clanc...@cybec.com.au clanc...@cybec.com.au wrote: However there is one feature of PHP which, to my mind, is really bad design. How many of you

Re: [PHP] Self-Process php forms or not?

2009-10-01 Thread Tom Worster
On 10/1/09 8:00 AM, MEM tal...@gmail.com wrote: One last question about this: I've done a self submit form, after hearing all the advantages expressed here. But how could we relate, without using javascript, a self submit form with a success page or a confirmation page that doesn't show

Re: [PHP] Self-Process php forms or not?

2009-10-01 Thread Tom Worster
On 10/1/09 10:13 AM, tedd tedd.sperl...@gmail.com wrote: At 1:00 PM +0100 10/1/09, MEM wrote: One last question about this: I've done a self submit form, after hearing all the advantages expressed here. But how could we relate, without using javascript, a self submit form with a success

Re: [PHP] intl extension on os x

2009-09-28 Thread Tom Worster
On 9/28/09 2:41 AM, Tommy Pham tommy...@yahoo.com wrote: - Original Message From: Tom Worster f...@thefsb.org To: PHP General List php-general@lists.php.net Sent: Sunday, September 27, 2009 5:34:45 PM Subject: [PHP] intl extension on os x does anyone know how to install intl

Re: [PHP] Re: session.gc_maxlifetime

2009-09-24 Thread Tom Worster
lines and reconect without the users even know it. Also a lot of lines change IP address at midnihgt. cheers ralph_def...@yahoo.de Tom Worster f...@thefsb.org wrote in message news:c6e00521.12d98%...@thefsb.org... there's a need for long timeouts in this app but could perhaps be reduced

[PHP] catch an iconv E_NOTICE

2009-09-24 Thread Tom Worster
i have this hack that works up to a point... function my_err_handler($errno, $errstr, $errfile, $errline) { if ( preg_match('/iconv/', $errstr) ) { throw new Exception('iconv error'); } else { // ? how to invoke default error handler ? } }

Re: [PHP] catch an iconv E_NOTICE

2009-09-24 Thread Tom Worster
On 9/24/09 10:30 AM, David Otton phpm...@jawbone.freeserve.co.uk wrote: 2009/9/24 Tom Worster f...@thefsb.org: but i'd like proceed with default error handling in the branch with the question marks. how can i do that? An error handler that passes through to the previous error handler

Re: [PHP] Re: session.gc_maxlifetime

2009-09-23 Thread Tom Worster
handler instead? On 9/22/09 4:46 PM, Ralph Deffke ralph_def...@yahoo.de wrote: Hi Tom, in sometimes 2001 I did have incidences with those things, and as I remember over the past years there where some trouble with operating systems and stuff. This part is very deep inside the os. I would expect

[PHP] session.gc_maxlifetime

2009-09-22 Thread Tom Worster
i'm not 100% sure what the manual means when it says... session.gc_maxlifetime integer session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up. Garbage collection occurs during session start. what event exactly does the after which here

Re: [PHP] Re: session.gc_maxlifetime

2009-09-22 Thread Tom Worster
thank you, Ralph! i'm going to be bold and assume that tom at punkave dot com is right despite that the report was discarded. i got a complaint from a client about some users reporting being logged out with rather short periods of inactivity. but session.gc_maxlifetime is set to 6 hours so i

Re: [PHP] moving to quad core

2009-09-15 Thread Tom Worster
On 9/15/09 10:54 AM, Andres Gonzalez and...@packetstorm.com wrote: I have an application developed that uses alot of PHP. Currently, it is running on a Ubuntu 8.04 , single core CPU host. We are moving to a quad core host for this application. Is there anything special that I need to do to

Re: [PHP] server name that the user agent used

2009-09-14 Thread Tom Worster
On 9/13/09 10:24 PM, Tommy Pham tommy...@yahoo.com wrote: --- On Sun, 9/13/09, Tom Worster f...@thefsb.org wrote: From: Tom Worster f...@thefsb.org Subject: [PHP] server name that the user agent used To: PHP General List php-general@lists.php.net Date: Sunday, September 13, 2009, 8:21 PM

Re: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Tom Worster
On 9/14/09 5:39 AM, Phred White phpl...@planetphred.com wrote: On Sep 13, 2009, at 8:50 PM, Eddie Drapkin wrote: On Sun, Sep 13, 2009 at 9:38 PM, Phred White phpl...@planetphred.com wrote: On Sep 13, 2009, at 7:34 PM, Eddie Drapkin wrote: On Sun, Sep 13, 2009 at 8:29 PM, Phred White

Re: [PHP] server name that the user agent used

2009-09-14 Thread Tom Worster
On 9/14/09 9:03 AM, Tom Worster f...@thefsb.org wrote: On 9/13/09 10:24 PM, Tommy Pham tommy...@yahoo.com wrote: --- On Sun, 9/13/09, Tom Worster f...@thefsb.org wrote: From: Tom Worster f...@thefsb.org Subject: [PHP] server name that the user agent used To: PHP General List php-general

Re: [PHP] server name that the user agent used

2009-09-14 Thread Tom Worster
On 9/14/09 2:11 PM, Lars Torben Wilson tor...@php.net wrote: Tom Worster wrote: On 9/13/09 10:24 PM, Tommy Pham tommy...@yahoo.com wrote: --- On Sun, 9/13/09, Tom Worster f...@thefsb.org wrote: From: Tom Worster f...@thefsb.org Subject: [PHP] server name that the user agent used To: PHP

[PHP] server name that the user agent used

2009-09-13 Thread Tom Worster
when using apache with one vhost that responds to a few different hostnames, e.g. domain.org, y.domain.org, x.domain.org, let's say the vhost's server name is y.domain.org and the other two are aliases, is there a way in php to know which of these was used by the user agent to address the server?

Re: [PHP] get an object property

2009-09-13 Thread Tom Worster
On 9/13/09 3:21 AM, Lars Torben Wilson tor...@php.net wrote: On 9/12/09 9:50 AM, Tom Worster f...@thefsb.org wrote: but let me give you a more different example: $a and $b are normally both objects, each with various members including a prop q, but sometimes $a is false. i want the q

Re: [PHP] get an object property

2009-09-12 Thread Tom Worster
On 9/12/09 12:31 AM, Paul M Foster pa...@quillandmouse.com wrote: On Fri, Sep 11, 2009 at 07:31:01PM -0400, Tom Worster wrote: if i have an expression that evaluates to an object, the return value from a function, say, and i only want the value of one of the objects properties

Re: [PHP] get an object property

2009-09-12 Thread Tom Worster
On 9/12/09 1:32 AM, Lars Torben Wilson tor...@php.net wrote: Tom Worster wrote: if i have an expression that evaluates to an object, the return value from a function, say, and i only want the value of one of the objects properties, is there a tidy way to get it without setting another

Re: [PHP] get an object property

2009-09-12 Thread Tom Worster
On 9/12/09 9:50 AM, Tom Worster f...@thefsb.org wrote: On 9/12/09 1:32 AM, Lars Torben Wilson tor...@php.net wrote: Tom Worster wrote: if i have an expression that evaluates to an object, the return value from a function, say, and i only want the value of one of the objects properties

Re: [PHP] String scrambling

2009-09-11 Thread Tom Chubb
!niBgo /* $str = Bingo!; str_shuffle($str); */ :)

[PHP] get an object property

2009-09-11 Thread Tom Worster
if i have an expression that evaluates to an object, the return value from a function, say, and i only want the value of one of the objects properties, is there a tidy way to get it without setting another variable? to illustrate, here's something that doesn't work, but it would be convenient if

Re: [PHP] mysql user session handler

2009-09-09 Thread Tom Worster
On 9/9/09 4:16 AM, Ford, Mike m.f...@leedsmet.ac.uk wrote: -Original Message- From: Tom Worster [mailto:f...@thefsb.org] Sent: 09 September 2009 02:29 thanks, Devendra, that's pretty much the same as my handler. (though i can't figure Rich Smith's $sess_save_path global. do you

Re: [PHP] Renaming a Directory

2009-09-09 Thread Tom Worster
On 9/9/09 12:08 AM, Paul M Foster pa...@quillandmouse.com wrote: On Tue, Sep 08, 2009 at 05:39:43PM -0400, Floyd Resler wrote: How can I rename a directory with files in it? The rename function gives me a directory not empty error. I know I could do it be creating the directory, moving

Re: [PHP] mysql user session handler

2009-09-09 Thread Tom Worster
: I'm our case we opt for memcache to store the sessions Mmc its soo much faster and you will have less net overhead because the simple protocol Also the configuration its easier. If you see in the php manual you only need to touch two lines in the php.ini On 9/8/09, Tom Worster f...@thefsb.org

[PHP] mysql user session handler

2009-09-08 Thread Tom Worster
something i found on the web. i trust everything i read on the internet ;-) -tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql user session handler

2009-09-08 Thread Tom Worster
as easy and simple as all these online articles i've read about it claim? or is that experience so hard won that people aren't keen to share it? -tom On 9/8/09 2:23 PM, Devendra Jadhav devendra...@gmail.com wrote: http://www.devshed.com/c/a/PHP/Storing-PHP-Sessions-in-a-Database/ On Tue

Re: [PHP] Converting URL's to hyperlinks.

2009-09-04 Thread Tom Chubb
2009/9/4 Daevid Vincent dae...@daevid.com -Original Message- From: Lupus Michaelis [mailto:mickael+...@lupusmic.orgmickael%2b...@lupusmic.org ] Sent: Friday, September 04, 2009 7:46 AM To: php-general@lists.php.net Subject: Re: [PHP] Converting URL's to hyperlinks.

Re: [PHP] Re: Best way to test for form submission?

2009-08-29 Thread Tom Worster
On 8/29/09 9:29 AM, tedd tedd.sperl...@gmail.com wrote: At 1:18 AM -0700 8/29/09, Warren Vail wrote: To test a form I usually send the form contents to a php file that contains the following; foreach($_POST as $nm = $val) echo _POST[.$nm.] [.$val.]br; foreach($_GET as $nm = $val) echo

Re: [PHP] Re: Directory Listing

2009-08-26 Thread Tom Chubb
2009/8/26 Ashley Sheridan a...@ashleysheridan.co.uk: On Tue, 2009-08-25 at 17:08 +0100, Tom Chubb wrote: I've been playing about more and now I have the following code: ? error_reporting(E_ALL); ini_set('display_errors', true); function getDirectory($path = '.', $ignore

Re: [PHP] Re: Directory Listing

2009-08-26 Thread Tom Chubb
2009/8/26 Ashley Sheridan a...@ashleysheridan.co.uk: On Wed, 2009-08-26 at 09:50 +0100, Tom Chubb wrote: 2009/8/26 Ashley Sheridan a...@ashleysheridan.co.uk: On Tue, 2009-08-25 at 17:08 +0100, Tom Chubb wrote: I've been playing about more and now I have the following code

Re: [PHP] Re: Directory Listing

2009-08-26 Thread Tom Chubb
Works Terms v1.1 (22.05.08).pdftab here29/07/2009 /Tender Docs/UNWANTED TAB HEREHealth and Safety Questionnaire 14/08/2009 -- Tom Chubb t...@tomchubb.com | tomch...@gmail.com 07912 202846 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Directory Listing

2009-08-26 Thread Tom Chubb
should really be enclosed in quotation marks if you go down this route just in-case) Thanks, Ash http://www.ashleysheridan.co.uk Thanks Ash, I've learnt quite a lot trying to get this working! And yeah I think I might change it to csv now. -- Tom Chubb t...@tomchubb.com | tomch

Re: [PHP] Re: Directory Listing

2009-08-26 Thread Tom Chubb
2009/8/26 hack988 hack988 hack...@dev.htwap.com: your means Health and Safety Questionnaireis directory? so you want it display like this full dir path tab filenametabdate Yes. I did try using if(is_dir($file)) { insert tab } but couldn't get it to work. Also tried counting the length of the

  1   2   3   4   5   6   7   8   9   10   >