Re: [PHP] About search engine usability

2007-12-31 Thread David Wonderly
On Mon, 2007-12-31 at 15:19 -0800, Jim Webber wrote: > Hello I'm building a website with a search engine. > Do you think it is more usable if the search interface had a search > button? or do you think it will be more convenient to not have button to > let the users just push "enter" to search.

[PHP] Re: About search engine usability

2007-12-31 Thread Darren Whitlen
Jim Webber wrote: Hello I'm building a website with a search engine. Do you think it is more usable if the search interface had a search button? or do you think it will be more convenient to not have button to let the users just push "enter" to search. I would appreciate any comment regarding

[PHP] About search engine usability

2007-12-31 Thread Jim Webber
Hello I'm building a website with a search engine. Do you think it is more usable if the search interface had a search button? or do you think it will be more convenient to not have button to let the users just push "enter" to search. I would appreciate any comment regarding this, thanks. --

Re: [PHP] Which file called the function?

2007-12-31 Thread Nathan Nobbe
On Dec 20, 2007 7:06 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Thu, 2007-12-20 at 19:54 +, George Pitcher wrote: > > > On Thu, December 20, 2007 8:37 am, Christoph Boget wrote: > > > > Let's say I have the following 3 files > > > > > > > > global.php > > > > > > > function myFunc(

Re: [PHP] PHP5 Speed Issues

2007-12-31 Thread Nathan Nobbe
On Dec 31, 2007 3:47 PM, Michael McGlothlin <[EMAIL PROTECTED]> wrote: > Nathan Nobbe wrote: > > On Dec 31, 2007 3:37 PM, Michael McGlothlin <[EMAIL PROTECTED] > > > wrote: > > > > Richard Lynch wrote: > > > On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote:

Re: [PHP] PHP5 Speed Issues

2007-12-31 Thread Michael McGlothlin
Nathan Nobbe wrote: On Dec 31, 2007 3:37 PM, Michael McGlothlin <[EMAIL PROTECTED] > wrote: Richard Lynch wrote: > On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote: > >> Hi Fellows, >> >> I figured out, that PHP5 runs faster when I am not

Re: [PHP] PHP5 Speed Issues

2007-12-31 Thread Nathan Nobbe
On Dec 31, 2007 3:37 PM, Michael McGlothlin <[EMAIL PROTECTED]> wrote: > Richard Lynch wrote: > > On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote: > > > >> Hi Fellows, > >> > >> I figured out, that PHP5 runs faster when I am not inherit classes, > >> I hope I use the right word. > >> > >> I

Re: [PHP] PHP5 Speed Issues

2007-12-31 Thread Michael McGlothlin
Richard Lynch wrote: On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote: Hi Fellows, I figured out, that PHP5 runs faster when I am not inherit classes, I hope I use the right word. I mean the class sub_class extends main_class notation. As well I figured out, that I in most cases shou

RE: [PHP] Which file called the function?

2007-12-31 Thread Richard Lynch
On Thu, December 20, 2007 1:54 pm, George Pitcher wrote: > I have a functions file with over 400 functions (and that may be too > many - > but it works). I've been adding some error reporting in to my PEAR::DB > queries, but wanted to know which page triggered the function. I went > theough my php

Re: [PHP] I hate bugs...Mysqli issue

2007-12-31 Thread Richard Lynch
On Fri, December 21, 2007 10:50 am, Jason Pruim wrote: > > > > $link = mysqli_connect($server, $username, $password, $database) ; > > /* check connection */ > if (mysqli_connect_errno()) { > printf("Connect failed: %s\n", mysqli_connect_error()); > exit(); > } > > > > ?> > It looks valid

Re: [PHP] PHP5 Speed Issues

2007-12-31 Thread Richard Lynch
On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote: > Hi Fellows, > > I figured out, that PHP5 runs faster when I am not inherit classes, > I hope I use the right word. > > I mean the class sub_class extends main_class notation. > > As well I figured out, that I in most cases should references

Re: [PHP] html to doc and pdf ??

2007-12-31 Thread Richard Lynch
http://php.net/pdf I'm betting there is a PEAR module to write Word docs. Or you could use COM objects, if you are running PHP on a Windows box that has Word installed. On Sat, December 22, 2007 9:55 pm, Me2resh Lists wrote: > Dear All, > > after suffering with asp.net, i finally convinced the c

Re: [PHP] imap_mail()

2007-12-31 Thread Richard Lynch
$headers = "From: \"Thomas Le\" <[EMAIL PROTECTED]>\nMailed-by: whatever\n"; mail('[EMAIL PROTECTED]', 'test', 'test', $headers); NOTE: The RFC says use \r\n between headers. gmail is broken and will puke if you do. Complaint to gmail, please. On Sat, December 22, 2007 10:27 pm, Thomas Le wrote:

RE: [PHP] Sending SMS via PHP

2007-12-31 Thread Richard Lynch
The 160 byte limit is carrier/handset dependent, and goes as low as 140 for some Canadian carriers. The cell phone companies are happy to provision you with a gateway account, if you can prove you are not a cell-spammer and will pay them money. If not, you are at the mercy of free systems designe

Re: [PHP] PHP interprocesss communication

2007-12-31 Thread Richard Lynch
On Sun, December 23, 2007 2:48 pm, Christophe Gosiau wrote: > The problems I have with this setup are: > 1) How does my PHP application finds out what thread is handling the > TCP > connection according to the user who is logged in into the > application? I do not think you can do this... > 2) Wh

Re: [PHP] Try{} Catch()

2007-12-31 Thread Richard Lynch
On Sun, December 23, 2007 3:50 pm, Martin Alterisio wrote: > It's not supposed to be practical, it's just a way to handle errors. > You > shouldn't rely on try/catch for algorithm implementation. > > You create exceptions for errors and unexpected behavior. Then in some > other > part of the system

Re: [PHP] Php exec

2007-12-31 Thread Richard Lynch
http://php.net/imap_createmailbox On Sun, December 23, 2007 4:31 pm, mattias wrote: > If i use courier-mta > Can i create a php script wich create mailboxes? > And users > Hope any understand > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP] Simple RegEx question

2007-12-31 Thread Richard Lynch
Find Weitz's "The Regex Coach" (Linux and Windows) and install it and play around. You'll learn more in one day from the pretty color syntax highlighting than reading the perl books/pages for months. On Mon, December 24, 2007 9:34 pm, M5 wrote: > I'm learning regular expressions, and trying to fi

Re: [PHP] why is Japan not highlighted

2007-12-31 Thread Richard Lynch
FireFox may be "remembering" whatever you last selected. That's a browser "feature" you have to live with. Move along, nothing to see here :-) On Sun, December 30, 2007 9:46 pm, Mary Anderson wrote: > in my scrolling list? > > Here is the offending code (abbreviated) > > Italy > Japan > Jersey

Re: [PHP] script stoped working over christmas ?

2007-12-31 Thread Joker7
In news: [EMAIL PROTECTED] - Jochem Maas wrote : >> Joker7 schreef: >> >> ... >> >> >> config.php >> > $max_summary = 6; >> $max_latest = 7; >> $summary_template = "t_summary.tp"; >> $article_template = "t_article.tp"; >> $password = "password"; >> latest.php >>

Re: [PHP] simplexml problem

2007-12-31 Thread Nathan Nobbe
On Dec 31, 2007 10:09 AM, Dani Castaños <[EMAIL PROTECTED]> wrote: > Thanks! Problem fixed... But I think PHP must do the cast automatically. > I think it's a bug fixed in a further version than mine as I've read > no problem; but just fyi, its not a bug; the behavior is as expected per the manua

Re: [PHP] simplexml problem

2007-12-31 Thread Dani Castaños
Nathan Nobbe escribió: On Dec 31, 2007 7:11 AM, Dani Castaños <[EMAIL PROTECTED] > wrote: Hi all! I'm using simplexml to load an xml into an object. The XML is this: 3 agenda cticket_agenda_server 1 1 addUsersToGroup

Re: [PHP] simplexml problem

2007-12-31 Thread Nathan Nobbe
On Dec 31, 2007 7:11 AM, Dani Castaños <[EMAIL PROTECTED]> wrote: > Hi all! > > I'm using simplexml to load an xml into an object. > The XML is this: > > > 3 > agenda > cticket_agenda_server > 1 > 1 > addUsersToGroup > > > When I do this: > > $file = simplexml_load_file( 'file.xml' ); > $

Re: [PHP] why is Japan not highlighted

2007-12-31 Thread Tom Chubb
On 31/12/2007, Mary Anderson <[EMAIL PROTECTED]> wrote: > in my scrolling list? > > Here is the offending code (abbreviated) > > Italy > Japan > Jersey > Jiangsu > Jiangxi > > I have data series which have a location specified. I wish to edit the > data series. I select the location from the da

[PHP] simplexml problem

2007-12-31 Thread Dani Castaños
Hi all! I'm using simplexml to load an xml into an object. The XML is this: 3 agenda cticket_agenda_server 1 1 addUsersToGroup When I do this: $file = simplexml_load_file( 'file.xml' ); $ticketType = $file->ticketType; What i really have into $ticketType is a SimpleXMLElement... not t