php-general Digest 17 Jul 2009 08:29:19 -0000 Issue 6234

2009-07-17 Thread php-general-digest-help
php-general Digest 17 Jul 2009 08:29:19 - Issue 6234 Topics (messages 295485 through 295511): Re: Syntax Snag need extra eyes 295485 by: Jim Lucas Re: Case Conversion of US Person Names 295486 by: Jônatas Zechim 295487 by: phphelp -- kbk 295500 by: phphelp

[PHP] Re: Sub Menu System?

2009-07-17 Thread David Robley
David Stoltz wrote: Folks, I'm developing a rather large site in PHP. The main horizontal nav bar never changes, no matter how deep you are in the site. However, on the left side is a vertical sub-menu system. This menu is proving to be a real pain to program. I have it limited the menu

Re: [PHP] Add php.net to my browser search box

2009-07-17 Thread Michael Kubler
Jim Lucas wrote: I use FF 2 3 and I created a bookmark that simply had a keyword assigned to it. Bookmark properties are as follows: Name: PHP.net Location: http://www.php.net/%s Keyword:php Description:Type php search term in the address bar to

Re: [PHP] Add php.net to my browser search box

2009-07-17 Thread Michelle Konzack
Hello Jim, Am 2009-07-16 09:40:53, schrieb Jim Lucas: I use FF 2 3 and I created a bookmark that simply had a keyword assigned to it. Bookmark properties are as follows: Name: PHP.net Location: http://www.php.net/%s Keyword: php Description: Type php search term in

[PHP] Linking to images above the webspace

2009-07-17 Thread Al
I've got a php script in which I'd like to link to an image above the webspace [doc-root] and render it as img or object... Anyone know how this can be done? Googling always refers me to document_root, where absolute or relative. Do I first have to make a copy of the image and put it

Re: [PHP] Linking to images above the webspace

2009-07-17 Thread Nitsan Bin-Nun
You can create a PHP script which will serve files based on their location which will be transfered through a GET parameter. Just send the correct response headers which will be corresponded to the file's mime type, size, etc. Then use something like: img

Re: [PHP] Linking to images above the webspace

2009-07-17 Thread Michelle Konzack
Am 2009-07-17 14:23:30, schrieb Nitsan Bin-Nun: You can create a PHP script which will serve files based on their location which will be transfered through a GET parameter. Just send the correct response headers which will be corresponded to the file's mime type, size, etc. Then use

Re: [PHP] Linking to images above the webspace

2009-07-17 Thread Nitsan Bin-Nun
Everyone should be careful with every stuff, you can also inject a LOAD_FILE('/etc/passwd') into a MYSQL query easily. On Fri, Jul 17, 2009 at 2:28 PM, Michelle Konzack linux4miche...@tamay-dogan.net wrote: Am 2009-07-17 14:23:30, schrieb Nitsan Bin-Nun: You can create a PHP script which

Re: [PHP] Characters causing problems in search strings?

2009-07-17 Thread Bastien Koert
On Thu, Jul 16, 2009 at 5:40 PM, Miller, Teriontmil...@springfi.gannett.com wrote: My little browse /search restaurant project is coming along, but I just noticed that any restaurant with a , () or # in the name like say for example Arby's Store #12 ...will not return results... Yet if a name

Re: [PHP] Add php.net to my browser search box

2009-07-17 Thread Paul M Foster
On Thu, Jul 16, 2009 at 12:59:00PM -0300, Martin Scotta wrote: Hi all! I'd like to add php.net to my browser search box. snip Gee, I just keep a tab open to php.net at all times. Just like having Programming PHP on my desk at all times. Paul -- Paul M. Foster -- PHP General Mailing

[PHP] Back from the dead with a racing question!

2009-07-17 Thread Jason Pruim
Hi everyone! So some of you may have noticed that I have been away for quite awhile... Been trying to get settled (Moved across the country) and getting a job. And now that that is done I have a question about a project that I might be doing for my current employer and want to do it

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread Thorsten Suckow-Homberg
Jason, Do I need to be reading up on locking tables/rows? Or in my situation as I've briefly described it do I not have to worry about it? Or is there a third door with the magic bullet that will solve all my problems? :) Any advice is greatly appreciated as always, RTFMing is good as

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread Bastien Koert
On Fri, Jul 17, 2009 at 11:12 AM, Jason Pruimja...@jasonpruim.com wrote: Hi everyone! So some of you may have noticed that I have been away for quite awhile... Been trying to get settled (Moved across the country) and getting a job. And now that that is done I have a question about a project

[PHP] another pagination problem

2009-07-17 Thread PJ
I noticed the thread on pagination here just after posting to mysql. But I am using php/mysql ;-) I have some rather complicated ordering problems: 1. need to order by 2 fields title, sub_title 2. need to display 10 items per page (hundreds, if not 1000s or pages) 3. order by ASC or DESC makes

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread Ashley Sheridan
On Friday 17 July 2009 16:27:10 Bastien Koert wrote: On Fri, Jul 17, 2009 at 11:12 AM, Jason Pruimja...@jasonpruim.com wrote: Hi everyone! So some of you may have noticed that I have been away for quite awhile... Been trying to get settled (Moved across the country) and getting a job.

Re: [PHP] another pagination problem

2009-07-17 Thread Ashley Sheridan
On Friday 17 July 2009 16:35:10 PJ wrote: I noticed the thread on pagination here just after posting to mysql. But I am using php/mysql ;-) I have some rather complicated ordering problems: 1. need to order by 2 fields title, sub_title 2. need to display 10 items per page (hundreds, if

Re: [PHP] another pagination problem

2009-07-17 Thread PJ
Ashley Sheridan wrote: On Friday 17 July 2009 16:35:10 PJ wrote: I noticed the thread on pagination here just after posting to mysql. But I am using php/mysql ;-) I have some rather complicated ordering problems: 1. need to order by 2 fields title, sub_title 2. need to display 10

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread Paul M Foster
On Fri, Jul 17, 2009 at 11:12:43AM -0400, Jason Pruim wrote: Hi everyone! So some of you may have noticed that I have been away for quite awhile... Been trying to get settled (Moved across the country) and getting a job. And now that that is done I have a question about a project that I

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread tedd
At 11:12 AM -0400 7/17/09, Jason Pruim wrote: Hi everyone! So some of you may have noticed that I have been away for quite awhile... Been trying to get settled (Moved across the country) and getting a job. And now that that is done I have a question about a project that I might be doing

Re: [PHP] another pagination problem

2009-07-17 Thread PJ
Ashley Sheridan wrote: On Friday 17 July 2009 16:35:10 PJ wrote: I noticed the thread on pagination here just after posting to mysql. But I am using php/mysql ;-) I have some rather complicated ordering problems: 1. need to order by 2 fields title, sub_title 2. need to display 10

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread Bastien Koert
On Fri, Jul 17, 2009 at 11:51 AM, teddtedd.sperl...@gmail.com wrote: At 11:12 AM -0400 7/17/09, Jason Pruim wrote: Hi everyone! So some of you may have noticed that I have been away for quite awhile... Been trying to get settled (Moved across the country) and getting a job. And now that

[PHP] Re: Exception not being caught

2009-07-17 Thread Lupus Michaelis
Weston C a écrit : If it's catchable, why isn't it caught in my example? This is well-documented here http://php.net/manual/en/class.errorexception.php -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org Seeking for a position http://lupusmic.org/pro/ -- PHP General Mailing List

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread Jason Pruim
On Jul 17, 2009, at 11:56 AM, Bastien Koert wrote: On Fri, Jul 17, 2009 at 11:51 AM, teddtedd.sperl...@gmail.com wrote: At 11:12 AM -0400 7/17/09, Jason Pruim wrote: Hi everyone! So some of you may have noticed that I have been away for quite awhile... Been trying to get settled (Moved

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread Bastien Koert
On Fri, Jul 17, 2009 at 1:54 PM, Jason Pruimja...@jasonpruim.com wrote: On Jul 17, 2009, at 11:56 AM, Bastien Koert wrote: On Fri, Jul 17, 2009 at 11:51 AM, teddtedd.sperl...@gmail.com wrote: At 11:12 AM -0400 7/17/09, Jason Pruim wrote: Hi everyone! So some of you may have noticed that

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread Floyd Resler
On Jul 17, 2009, at 1:54 PM, Jason Pruim wrote: On Jul 17, 2009, at 11:56 AM, Bastien Koert wrote: On Fri, Jul 17, 2009 at 11:51 AM, teddtedd.sperl...@gmail.com wrote: At 11:12 AM -0400 7/17/09, Jason Pruim wrote: Hi everyone! So some of you may have noticed that I have been away for

[PHP] Dual PHP installation and session sharing

2009-07-17 Thread Bruno Fajardo
Hi all, I'm using Apache/2.2.3 (Linux/SUSE), running PHP 4.4.7 in CGI mode, in a dual installation with PHP 5.1.2 running as an Apache module. Scripts with .php5 extension are executed by PHP 5, and those with .php are executed by PHP 4, and everything runs as expected. My question is: is it

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread ray
I strongly believe you have nothing to worry about and I think you are over-thinking an issue that will never happen to you. Even if you have 2000 users, you will have nothing to worry about. I manage db's on large scales and have run into every problem I never imaginged and always figured out

RE: [PHP] DHCP web interface. New version.

2009-07-17 Thread Daevid Vincent
Once again I've updated this web tool. The big difference is that now you don't need to be running DHCP on your Web server. It works 'stand alone'. Perfect for those using a router box (as most are I'm sure). A while ago I switched from having my Gentoo box be my firewall, router, wifi, dhcp,

Re: [PHP] Internal PHP caching methodology

2009-07-17 Thread Daniel Kolbo
Eric Butera wrote: On Thu, Jul 16, 2009 at 5:50 PM, Daniel Kolbokolb0...@umn.edu wrote: Hello, Call me a dreamer...but I got to ask. Is there any software for helping speed up PHP by utilizing internal PHP caching? I am not talking about the external php cache/header control. Smarty

[PHP] PHP 5.3 date.timezone

2009-07-17 Thread John Corry
Why is date.timezone blank...I'm setting it in the config file? How come PHP is ignorning teh directives I have set in the .ini? OS X with PHP 5.3 compiled from source on Apache 2.2.9 WTF? Here's my php.ini file:[Date] ; Defines the default timezone used by the date functions date.timezone =