Re: [PHP] vpopmail extensions ?

2001-12-13 Thread Brian Clark
* Arnauld Dravet ([EMAIL PROTECTED]) [Dec 14. 2001 02:08]: > I found that in the PHP changelog : > New extension for vpopmail - http://www.inter7.com/vpopmail, give it a try, but keep >in mind that it is not ready for production environments. (David Croft, Boian Bonev) > > but i can't find any

Re: [PHP] PHPhish Logo

2001-12-13 Thread John Lim
Hi Also see http://www.web-cards.de/create.php3?rubrik=29 P for Pachyderm! John Rasmus Lerdorf <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Not that I think PHP needs a mascot, but I have always liked the > mole/groundhog. Someone even drew up some logos

[PHP] PHP + DB2 @ Win2k

2001-12-13 Thread Rares Vasilescu
Hi. I am in the process of developing a web app. over the IBM DB2 database. So I'm interested if any of you have knowledge of such a sucessful combination: PHP + DB2 on Windows 2000 platform (using IIS or IBMHttpd Server - wich is Apache, by the way). If so, please contact me to discuss further

Re: [PHP] echo vs. print() performance?

2001-12-13 Thread Jack Dempsey
not as a criticism, but this is among the top 10 questions asked ...or used to be for a while...anyway, there's tons of info on the mailing lists, marc.theaimsgroup.com the short answer is that echo is SLIGHTLY faster being a language construct rather than a function...then again, i believe i reme

[PHP] echo vs. print() performance?

2001-12-13 Thread Jon Niola
Someone on this list once mentioned a performance difference between using echo and print(). Is there any evidence to back this up? I am really curious to see if it would make a difference to use one over the other. --Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: [PHP] Countdown clock?, X days till christmas

2001-12-13 Thread Jack Dempsey
not sure why and how you need mysql for this...why not just do the date calculation in php? Webleycity wrote: > Hello all is it possible to do an interactive countdown clock in MYsql that > can be embeded in emails. > > --- > Mark Webley > Multimedia desig

[PHP] FW: CHEEP WEBSPACE OFFERS HERE

2001-12-13 Thread Webleycity
http://www.webleycity.co.uk/mac.zip Error, the above is a screensaver for macs only. --- Mark Webley Multimedia design and development WebleyCity Limited London United Kingdom [EMAIL PROTECTED] [EMAIL PROTECTED] Mobile: 07980 213 627 Fax/Tel: 0208

[PHP] Re: CHEEP WEBSPACE OFFERS HERE

2001-12-13 Thread Webleycity
http://www.webleycity.co.uk/mac.zip Error, the above is a screensaver for macs only. --- Mark Webley Multimedia design and development WebleyCity Limited London United Kingdom [EMAIL PROTECTED] [EMAIL PROTECTED] Mobile: 07980 213 627 Fax/Tel: 0208 6

[PHP] CHEEP WEBSPACE OFFERS HERE

2001-12-13 Thread Webleycity
good prices here on http://www.webleycity.co.uk/offers/index.html http://www.webleycity.co.uk/mac.zip --- Mark Webley Multimedia design and development WebleyCity Limited London United Kingdom [EMAIL PROTECTED] [EMAIL PROTECTED] Mobile: 0

Re: [PHP] Newbie-student Database PHP Question

2001-12-13 Thread Webleycity
PLAY A GAME HERE ON http://www.webleycity.co.uk/theblitz.html | Website design and hosting. | | Your free website trial including design and webspace, contact: | [EMAIL PROTECTED] Visit: http://www.webleycity.co.uk/offers

Re[2]: [PHP] using eval

2001-12-13 Thread rdkurth
I am trying to get it to fill in the $path variable with what is in $path. It seams eval does not work for this and it does not work on it's own. What can I do to make this work $path="/home/sites/home"; $fp3=fopen ("location.inc","w")or die("unable to open file (location.inc)"); $str=' this is w

[PHP] Countdown clock?, X days till christmas

2001-12-13 Thread Webleycity
Hello all is it possible to do an interactive countdown clock in MYsql that can be embeded in emails. --- Mark Webley Multimedia design and development WebleyCity Limited London United Kingdom [EMAIL PROTECTED] [EMAIL PROTECTED] Mobile: 07980 213 6

[PHP] vpopmail extensions ?

2001-12-13 Thread Arnauld Dravet
hello, i'm in need off managing a web site and i need to authenticate the users on the web site using their email/passwd adress. The mail server is using qmail & vpopmail, vpopmail is compiled with mysql option, so i have the choice between managing myself the passwords to compare it with the

[PHP] Re: cross server sessions????

2001-12-13 Thread Fred
This question has been asked many times on this list (several times in the last month). Search the archive and you will find several solutions: http://marc.theaimsgroup.com/?l=php-general&w=2&r=1&s=session+different+serv er&q=b Fred Prolog <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]

Re: [PHP] Post Variable Problem

2001-12-13 Thread Richard Baskett
Just have a hidden field in your "Choose" form named user That should take care of it Rick > Dear all > I had a Form Called Login.php, this form will pass the login Username to > Main.php. > > For the Main.php i create a form for user to choose what they want to do > from the List/Menu. Once

[PHP] Re: Post Variable Problem

2001-12-13 Thread Fred
You can create a hidden form variable with the value of user to pass with the rest of the post data, or (preferably) you can use: cookies: http://php.he.net/manual/en/function.setcookie.php or, even better, sessions: http://php.he.net/manual/en/ref.session.php Fred Jack <[EMAIL PROTECTED]> wrot

RE: [PHP] using eval

2001-12-13 Thread Martin Towell
this is what the eval() command equates to $str = "include("$path/inc/dataconf.inc");"; that should make it clearer (??) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 4:21 PM To: php-general Subject: [PHP] using eval I ke

[PHP] Re: using eval

2001-12-13 Thread Phillip Oertel
why would you want you quote the variable? eval ("\$str = $str;"); should work. at least no more parse error. phil. [EMAIL PROTECTED] wrote: > I keep getting this error when I use eval what am I missing > > Parse error: parse error in c:\httpd\doc\install.php(6) : eval()'d code on line 1

[PHP] i get a warning after upgrading to 4.1.0

2001-12-13 Thread Phillip Oertel
does anyone know what Warning: Unknown persistent list entry type in module shutdown (11) in Unknown means? what do i have to do to solve the problem php seems to have? environment: Win2k, IIS5.0, MySQL just upgraded from PHP 4.0.6 to 4.1.0 now i get the warning msg. any help would be apprecia

[PHP] Post Variable Problem

2001-12-13 Thread Jack
Dear all I had a Form Called Login.php, this form will pass the login Username to Main.php. For the Main.php i create a form for user to choose what they want to do from the List/Menu. Once they had select the choose and press the Option, the value of the Selected choose will pass back to Main.ph

[PHP] using eval

2001-12-13 Thread rdkurth
I keep getting this error when I use eval what am I missing Parse error: parse error in c:\httpd\doc\install.php(6) : eval()'d code on line 1 $path="/home/sites/home"; $fp3=fopen ("location.inc","w")or die("unable to open file (location.inc)"); $str='include("$path/inc/dataconf.inc");'; eva

[PHP] cross server sessions????

2001-12-13 Thread Prolog
hello all, Two questions 1) Is it possible to pass a session to another server? I'm creating a secure order form for a shopping cart but the ssl service of my provider is on a different server. Is there anyway to carry a users session over to this box? 2) If it is not possible to carry a sess

[PHP] PHP 4.1.0 - Win2K - Apache SAPI and Include_Path Problem...

2001-12-13 Thread Garth Dahlstrom
It seems that when I switched from running my PHP 4.1.0 from running as a CGI to running as an SAPI on Win2K, I get the error below on every page: Warning: Failed opening '/htdocs/test/dir.php' for inclusion (include_path='.') in Unknown on line 0 ^^^--- After this message PHP stops w/ no log

Re: [PHP] phplib???

2001-12-13 Thread Egon Schmid
From: "Duane Douglas" <[EMAIL PROTECTED]> > At 03:23 PM 12/13/2001 -0800, Nathan Cassano wrote: > > >Went to www.google.com. Searched "phplib". The first result returned was > >http://sourceforge.net/projects/phplib. > > i went to the site and the description of phplib was rather sparse. i'm > wo

Re: [PHP] Re: PHP 4.1.0 and User-defined Sessions

2001-12-13 Thread Yasuo Ohgaki
Alok K. Dhir wrote: > Also, I saw the faults with little to no load on the server. I.e. just > me banging on it. The faults are seemingly random, although I was able > to duplicate failing test cases with some consistency. > > More on this in a day or two. > Unless you provide meaningfull b

Re: [PHP] Another Installation Problem...sorry

2001-12-13 Thread Rio Uniwaly
- Original Message - From: Sam <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 13, 2001 10:53 PM Subject: [PHP] Another Installation Problem...sorry > Hi all, > > I've checked most of the archive, but nothing I've found has worked. > > I've installed PWS and then al

[PHP] Problem Recompiling for GD Support

2001-12-13 Thread Gabriel Richards
Hi, I'm trying to recompile PHP to include GD and PDFLib support. So, I've installed those libraries (as well as zlib, libjpeg, libtiff, libpng), deleted config.cache, then ran : ./configure --with-apxs=/usr/local/apache/bin/apxs --with-openssl --enable-f tp --with-gd=shared -with-mysql=/usr --wi

RE: [PHP] phplib???

2001-12-13 Thread Duane Douglas
At 03:23 PM 12/13/2001 -0800, Nathan Cassano wrote: >Went to www.google.com. Searched "phplib". The first result returned was >http://sourceforge.net/projects/phplib. i went to the site and the description of phplib was rather sparse. i'm wondering if anyone can provide a more comprehensive de

php-general@lists.php.net

2001-12-13 Thread Ulf Wendel
Hi, is there a way to access the calling smarty object from withing a modifier callback function? Regular smarty callback functions get passed a list of "parameters" of the function call as a first argument and a reference to the calling smarty object as a second argument. function my_smary_

Re: [PHP] Sending out mass mail without having timeout problems ..

2001-12-13 Thread Andrew Brampton
You can set the max_timeout varible to zero at the begining of the script and it will continue forever... I once did this for a PHP IRC Bot... (which was kinda cool :)) Andrew - Original Message - From: "bain" <[EMAIL PROTECTED]> To: "jimtronic" <[EMAIL PROTECTED]> Cc: "php general list"

Re: [PHP] PHP 4.1.0 is_dir bug

2001-12-13 Thread Eugene Lee
On Thu, Dec 13, 2001 at 08:17:30AM +, Philip Olson wrote: : : It's fixed in CVS, we'll see it in the next release (4.2.0). From the : NEWS file: : : - Fixed is_dir(), is_writeable(), is_readable(), is_executable(), : is_link() and is_file() functions to not throw a 'file does not : exis

Re: [PHP] phplib???

2001-12-13 Thread Steve Edberg
http://phplib.sourceforge.net/ At 4:59 PM -0500 12/13/01, Duane Douglas wrote: >hello, > >can someone please explain phplib to me? what is it used for? i >apologize if this question has been asked many times before. > >thanks in advance. > -- +-

RE: [PHP] phplib???

2001-12-13 Thread Nathan Cassano
Went to www.google.com. Searched "phplib". The first result returned was http://sourceforge.net/projects/phplib. -Original Message- From: Duane Douglas [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 1:59 PM To: [EMAIL PROTECTED] Subject: [PHP] phplib??? hello, can some

Re: [PHP] register_globals not turning off

2001-12-13 Thread Philip Olson
what command? if you're using ini_set you can't. in this case it'll set the local value but it's of no consequence, register_globals has already done its thing before getting to the script. use of .htaccess is possible. regards, Philip Olson On Thu, 13 Dec 2001, Charlie Killian wrote: > I t

RE: [PHP] Can i do this?

2001-12-13 Thread Martin Towell
try: echo $num_vals[0][0]; // should display 0 echo $num_vals[0]["COUNT(*)"]; // should display 0 echo $num_vals[1][0]; // should display 0 echo $num_vals[1]["COUNT(*)"]; // should display 0 echo $num_vals[2][0]; // should display 5 echo $num_vals[2]["COUNT(*)"]; // shou

RE: [PHP] Can i do this?

2001-12-13 Thread Daniel Alsén
Yep... And i don´t get any wiser. I have tried all sorts of combinations. But i can´t get the damn values printed. This is how the print_r of $num_vals looks: ( [0] => Array ( [0] => 0 [COUNT(*)] => 0 ) [1] => Array ( [0] => 0 [COUNT(*)] => 0 ) [2] => Array ( [0] => 5 [COUNT(*)] => 5 ) [3] => A

[PHP] phplib???

2001-12-13 Thread Duane Douglas
hello, can someone please explain phplib to me? what is it used for? i apologize if this question has been asked many times before. thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: [PHP] Sending out mass mail without having timeout problems ..

2001-12-13 Thread bain
On Thu, 2001-12-13 at 23:13, jimtronic wrote: > > Wouldn't it be easier (better) to create a sendmail alias include > file that has all the addresses in it and let sendmail or majordomo > or qmail or whatever handle it? > > I'm not knocking your method as much as I'm looking for the pros and

RE: [PHP] Re: How do I do this

2001-12-13 Thread Philip Hallstrom
Probably something like this... $str = "[hi] there, this is me [HI][HI] there, this is me"; $newstring = ereg_replace("(\[[A-Z]*][^]])", "\\1", $str); I'm not sure if the "[^]]" should be "[^\]]" or not, but that might work. If it doesn't you could always do: $str = "[hi] there, this is me [HI]

[PHP] Function OciLogon().

2001-12-13 Thread Somsak RAKTHAI
Dear sir, I used PHP 4.1.0 and Oracle 9i running on RedHat-7.2. I have question about Oracle function OciLogon(). I have problem about my source below. When run this source on browser, it has messages below. Warning: _oci_open_server: Error while trying to retrieve text for er

[PHP] Re: How do I do this

2001-12-13 Thread Jeff Warrington
In <[EMAIL PROTECTED]>, Chris Boget wrote: Either of these should work: $str = preg_replace("/(\[[A-Z]+\])/","\\1",$str); $str = ereg_replace("(\[[A-Z]+\])","\\1",$str); e.g.: \\1",$str); //$str = ereg_replace("(\[[A-Z]+\])","\\1",$str); print("$str"); ?> Jeff Warrington > I've got the fo

Re: [PHP] Sending out mass mail without having timeout problems ..

2001-12-13 Thread jimtronic
Wouldn't it be easier (better) to create a sendmail alias include file that has all the addresses in it and let sendmail or majordomo or qmail or whatever handle it? I'm not knocking your method as much as I'm looking for the pros and cons of the different methods. jim >the way I handle thi

[PHP] register_globals not turning off

2001-12-13 Thread Charlie Killian
I turn register_globals off using this command: but my get variables are still accessible as variables. Any ideas. phpinfo() says: register_argc_argv Off register_globals Off PHP Version 4.0.6 Charlie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTEC

[PHP] Foreign Language Translation

2001-12-13 Thread jimtronic
I've seen developers use php to translate data into other languages. Has anyone here done this? Ideally, I'd like to be able to write or employ a function like this ... translate($data,"english","french"); Obviously accuracy will be rough, but are there add on modules that can do this? --

Re: [PHP] Sending out mass mail without having timeout problems ..

2001-12-13 Thread Paul Roberts
the way I handle this is to send a response to the browser before sending any mail you can then close the browser window and the script will carry on while you do something else. I get the script to send me an email when its finished 2-3 hours later. (I have around 6000 newsletters that are sent o

RE: [PHP] Re: How do I do this

2001-12-13 Thread Boget, Chris
> This is untested, but something like... > $str = "[hi] there, this is me [HI] there, this is me"; > $newstring = ereg_replace("(\[[A-Z]*])", "\\1", $str); > should do it. > using the Perl regexe's might make it easier, but that should work. That worked perfectly. Is there any way I can make it

Re: [PHP] Searching for a new provider

2001-12-13 Thread R'twick Niceorgaw
cool.. I'm also on stingray:) - Original Message - From: "Nuitari" <[EMAIL PROTECTED]> To: "PHP LIST" <[EMAIL PROTECTED]> Sent: Thursday, December 13, 2001 2:19 PM Subject: RE: [PHP] Searching for a new provider > I switched to Aletia in April I believe, and have been pleased. I asked f

[PHP] Best book you've used/or one can use to learn php?

2001-12-13 Thread Joelmon2001
Hello, thanks for your time. The subject says it all. I'll still read, test, and search archives. But taking into consideration new changes in php, and not wanting to just learn x in php, just curious if there is a current "recommended" Book you know of or book that has helped you greatly that

[PHP] Problem with fopen / url

2001-12-13 Thread Martin Leclair
Hi, I have a problem doing a fopen("http:///index.php","r";) on a particular server it's extreamly slow (about 2 minutes to get the content of a webpage on a server that pings at 1ms) on another server it's getting the content in less than 5 seconds (same script). Same URL, servers are side t

[PHP] Re: How do I do this

2001-12-13 Thread Philip Hallstrom
This is untested, but something like... $str = "[hi] there, this is me [HI] there, this is me"; $newstring = ereg_replace("(\[[A-Z]*])", "\\1", $str); should do it. using the Perl regexe's might make it easier, but that should work. On Thu, 13 Dec 2001, Boget, Chris wrote: > I've got the fol

[PHP] Re: very urgent assistance

2001-12-13 Thread Mike Eheler
http://home.rica.net/alphae/419coal/ Mike Adewale.Johnson wrote: > Dr.Adewale.Johnson. > 16 Kingsway Road > Ikoyi, Lagos > Nigeria.. > [EMAIL PROTECTED] > 6th, December , 2001. > > Sir, > > Request for Urgent Business Relationship. > > First I must solicit your confidence in this tr

Re: [PHP] Performance

2001-12-13 Thread Dan McCullough
Well its like anything else, its personal preference and who your talking too, this is standard coding pratice offered by our development firm, and I have continued the practice. To be honest, you should almost never have logic code contained on the same page as your presentation code. I have

[PHP] How do I do this

2001-12-13 Thread Boget, Chris
I've got the following possible (example) strings: [hi] there, this is me [HI] there, this is me [ho] there, that is you [HO] there, that is you [hey] there, where are you [HEY] there, where are you and so on. I'm trying to come up with a regex that will find the capitalized text (only) between

RE: [PHP] Re: PHP 4.1.0 and User-defined Sessions

2001-12-13 Thread Alok K. Dhir
Also, I saw the faults with little to no load on the server. I.e. just me banging on it. The faults are seemingly random, although I was able to duplicate failing test cases with some consistency. More on this in a day or two. > -Original Message- > From: > [EMAIL PROTECTED] > [mailt

[PHP] Re: Date Formatting/Reading

2001-12-13 Thread Jeremy Reed
Got a question, I just noticed your signature, 'earn up to $10 per order selling our PHP Scripts'. Are you paying us to help you out? =) Just messing with ya. Anyway, you'd probably want to use a 'DATE' field. For checking the passing of a month, the easiest way would be to use the getdate()

RE: [PHP] Re: PHP 4.1.0 and User-defined Sessions

2001-12-13 Thread Alok K. Dhir
FWIW, and I don't have time to try to debug this right now, so I've rolled back to 4.0.6 on my dev server (never upgraded production), I too am seeing seemingly random segfaults (Sig 11) from php 4.1.0 + Apache 1.3.22. All is well in 4.0.6 (and 1.3.22). I, too, am using a database bound custom s

RE: [PHP] The "peacock" logo... and others...

2001-12-13 Thread Rasmus Lerdorf
Before I get hundreds of questions on this, nope. I have no idea when it will be done. I have written some stuff for it, but am mostly reviewing what others have written. It should be a good book, but there is still some work to do to finish it up. I would say sometime in the next 3-6 mont

RE: [PHP] Searching for a new provider

2001-12-13 Thread Nuitari
I switched to Aletia in April I believe, and have been pleased. I asked for pdflib to be compiled on the server my site is on (stingray), and they did. It took about 3 days. My server has been up for 52 days 15 minutes, so that is good...however, 2 times in the last 6 months I have been denied a

RE: [PHP] The "peacock" logo... and others...

2001-12-13 Thread Jack Dempsey
Oh great, I didn't realize there was full book in the making...any ideas on when the full book will be hitting the shelfs? -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 2:39 PM To: Jack Dempsey Cc: [EMAIL PROTECTED] Subject: RE: [PHP

[PHP] [PHP/Apache] Transparent Subdomains ?

2001-12-13 Thread Jon Shoberg
Any ideas on how to pull this off. I would like to have http://mydomain.com and http://www.mydomain.com resolve to my /index.html page. When a user types in http://crazy.mydomain.com or http://crazy.mydomain.com/crazy-page.php, I would like to have it resolve to /home/mydomain/public_html/ha

RE: [PHP] The "peacock" logo... and others...

2001-12-13 Thread Rasmus Lerdorf
The full book will have the same bird on the cover. I'd like to do a new edition of the pocket reference. (and yes, I will try to get them to not remove the index this time), but O'Reilly wants to get the full book out before they'll let me do another quick reference. -Rasmus On Thu, 13

Re: [PHP] The "peacock" logo... and others...

2001-12-13 Thread Philip Hallstrom
Would you rather it be an asp? http://www.oreilly.com/catalog/aspnut2/ >From the colophon: The animal appearing on the cover of ASP in a Nutshell, 2nd Edition, is an asp, which is a term applied to various venomous snakes, including the depicted asp viper (Vipera aspis) of Europe as well as the

RE: [PHP] The "peacock" logo... and others...

2001-12-13 Thread Jack Dempsey
True...guess everyone's forgotten the ol' pocket manual... Any chance a new edition will come out? -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 2:30 PM To: Philip Hallstrom Cc: [EMAIL PROTECTED] Subject: Re: [PHP] The "peacock" log

Re: [PHP] The "peacock" logo... and others...

2001-12-13 Thread Kurth Bemis
At 02:30 PM 12/13/2001, Rasmus Lerdorf wrote: my asp buddy saw this message as said "Cuckoo, huh? Maybe thats because you have to be crazy to use it." sigh - when will those pesky Microsoft junkies ever learn :-) ~kurth >The O'Reilly animal for PHP is a cuckoo bird. > >On Thu, 13 Dec 2001, P

RE: [PHP] Re: PHP 4.1.0 and User-defined Sessions

2001-12-13 Thread Jaime Bozza
I've been trying to work something up running httpd -X, unfortunately, single user access doesn't seem to help. As near as I can tell, it happens only with concurrent access. Perhaps some type of memory lock or something. I no longer have "--with-mm", so it's not trying to use that type of shar

Re: [PHP] Performance

2001-12-13 Thread Mike Eheler
The problem with that is giving feedback to the user. If you're busy generating a string to display to the user and the mysql server is running slow, or for whatever reason, the user is looking at a blank page until the process is completed entirely, then they have all the data dumped on them

Re: [PHP] The "peacock" logo... and others...

2001-12-13 Thread Rasmus Lerdorf
The O'Reilly animal for PHP is a cuckoo bird. On Thu, 13 Dec 2001, Philip Hallstrom wrote: > Not to throw a wrench into the plans and it's not clear that it really > matters, but O'Reilly uses a peacock for an XML book. > > http://www.oreilly.com/catalog/xmlnut/ > > and a pelican for this bo

[PHP] The "peacock" logo... and others...

2001-12-13 Thread Philip Hallstrom
Not to throw a wrench into the plans and it's not clear that it really matters, but O'Reilly uses a peacock for an XML book. http://www.oreilly.com/catalog/xmlnut/ and a pelican for this book. http://www.oreilly.com/catalog/webclient/ I suspect that most animals are probably being used by ore

[PHP] PHP 4.1.0 Comments

2001-12-13 Thread Jeremy Allen
I would like to take a few bytes text to give a little thanks to the PHP team. I have been writing a book on PHP for the last 8 months. I thought I knew PHP inside and out, having done quite a bit of work with PHP. I have even had the pleasure of adding on a few libraries for a customized vers

RE: [PHP] Re: ordered alpabeticaly list

2001-12-13 Thread Gerard Onorato
Okay, haven't tested this but it should work. I would let mysql do some of the work here. In your select add something like Something like $result = mysql_query('select ucase(left(name,1)) as foo, name from userlist order by name'); $lastletter = ''; while ($data = mysql_fetch_array($result))

Re: [PHP] Logo proposal - voting script!

2001-12-13 Thread Alex Shi
Really? It seems perfect from my end (IE5.5/Win2K).. > I got the same error... > > --- R'twick Niceorgaw <[EMAIL PROTECTED]> wrote: > > While voting I got this error > > > > Warning: Cannot add header information - headers already sent by > > (output > > started at /home/b1642/public_html/v

Re: [PHP] Logo proposal - voting script!

2001-12-13 Thread Ben Matthews
I got the same error... --- R'twick Niceorgaw <[EMAIL PROTECTED]> wrote: > While voting I got this error > > Warning: Cannot add header information - headers already sent by > (output > started at /home/b1642/public_html/vote/logo.php:6) in > /home/b1642/public_html/vote/logo.php on line 49 > >

Re: [PHP] Re: PHP 4.1.0 and User-defined Sessions

2001-12-13 Thread Yasuo Ohgaki
Jaime Bozza wrote: > I *HAVE* searched the database and there have been similar problems, > with the request to try the latest CVS and to produce a short script > that duplicates the problem. Since I can't exactly put the CVS version > onto a live website (and start having all sorts of other pro

RE: [PHP] Logo proposal - voting script!

2001-12-13 Thread Dan McCullough
Also if you hit refresh --- "Alok K. Dhir" <[EMAIL PROTECTED]> wrote: > Good idea. You may want to write a cookie to keep ppl from voting > multiple times (I confess, I hit it a couple times on Phrog in order to > see if you were checking for this)... Then I read the list and decided > I liked P

RE: [PHP] Logo proposal - voting script!

2001-12-13 Thread Alok K. Dhir
Good idea. You may want to write a cookie to keep ppl from voting multiple times (I confess, I hit it a couple times on Phrog in order to see if you were checking for this)... Then I read the list and decided I liked Peacock better, so I voted for that too. ;) Although, in retrospect, I think I

[PHP] Logo proposal - first thought

2001-12-13 Thread Dan McCullough
Go here and take a look for a first pass, first idea of what an ant might look like. http://www.heathermccullough.com/php_logo.gif This logo keeps the original familiar (like some wanted) and adds an "industrial" appeal. Please feedback. dan mccullough _

Re: [PHP] Re: ordered alpabeticaly list

2001-12-13 Thread Rodrigo Peres
Thnk's Mike, But what I really need is create a separation like this ex: A ab... ac.. ad.. B be... bee... .. for all the names in my table Thank's again Rodrigo on 12/13/01 4:30 PM, Mike Eheler at [EMAIL PROTECTED] wrote: > If I understand you correctly, you want to put a separator whe

Re: [PHP] Need high bandwidth provider for my Asian community site

2001-12-13 Thread James Stewart
On Thursday, December 13, 2001, at 06:14 PM, l0t3k wrote: > Sunny, > AFAICR, is for Netscrape, which apparently cant understand > > for some reason.. It's not a browser thing... is the correct syntax for a line break in XHTML. All tags must be closed, hence the / and the white space is ne

Re: [PHP] Performance

2001-12-13 Thread Nicolas Costes
A good way to avoid HEADER errors too Le Jeudi 13 Décembre 2001 19:14, René Fournier a écrit : > That certainly makes sense on one level, but I think it really comes > down to the question, what is more compute intensive--echoing the HTML > while "in" PHP mode, or context-switching to HTML

[PHP] Re: ordered alpabeticaly list

2001-12-13 Thread Mike Eheler
If I understand you correctly, you want to put a separator when the letter changes. Try this: $result = mysql_query('select name from people order by name'); $lastletter = ''; while ($data = mysql_fetch_array($result)) { $curletter = strtolower(substr($data['name'],0,1)); if ($curlett

[PHP] Apache keeping php waiting on output flush

2001-12-13 Thread George Whiffen
Hi, Apologies if this is more of an Apache question than a php one, but as it's about the relationship between them, I thought it was safe to bring it up here ;) While investigating a possible performance issue, I discovered that (according to microtime()), my script runs 5 times faster for a

Re: [PHP] Performance

2001-12-13 Thread Dan McCullough
Here is one thing that I do, of course there is 50 ways you can do anything. All coding, well 90% of the PHP is done in the head, all output in coposed in variables, and outputted through the code. All SQL is done there as well, and an mysql close is done at the end of that area. If there is a

Re: [PHP] Connecting MS SQL

2001-12-13 Thread Shane Wright
Hi you're getting MS SQL messages so you have the MS SQL library installed ok (otherwise you'd be getting 'undefined function' or thereabouts...) The problem is most likely with MS SQL itself - is the username/password set up and is access allowed from the machine your making the connection fr

Re: [PHP] Need high bandwidth provider for my Asian community site

2001-12-13 Thread Shane Wright
but it can understand [ive never had any problems anyways...] -- Shane On Thursday 13 Dec 2001 6:14 pm, l0t3k wrote: > Sunny, > AFAICR, is for Netscrape, which apparently cant understand > for some reason.. > > Sunny At Wde <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">new

[PHP] ordered alpabeticaly list

2001-12-13 Thread Rodrigo Peres
Hi list, I have a mysql tables, with names on it. I'd like to select this names ordered by name and output it to a html in alphabetical order, but separates by letter, ex: a, names with a, b I've done the select, but I can't figure out how to output the respective letters separated. Thank's

[PHP] Connecting MS SQL

2001-12-13 Thread pong-TC
Hello All I am trying to connect MS SQL, but got the error message as follows: Warning: MS SQL message: Login failed for user 'pong'. (severity 14) in d:\inetpub\wwwroot\cgi-bin\mailman.php on line 26 Warning: MS SQL: Unable to connect to server: dilbert in d:\inetpub\wwwroot\cgi-bin\mailman.ph

Re: [PHP] Performance

2001-12-13 Thread René Fournier
That certainly makes sense on one level, but I think it really comes down to the question, what is more compute intensive--echoing the HTML while "in" PHP mode, or context-switching to HTML and back again to PHP? (It could be that the difference, if any, is negligible--but I'd like to at least

Re: [PHP] Need high bandwidth provider for my Asian community site

2001-12-13 Thread l0t3k
Sunny, AFAICR, is for Netscrape, which apparently cant understand for some reason.. Sunny At Wde <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > yeah i'll have a look at making the html a lot smaller as well :) i > guess thats a cheap way of tryin to hold o

Re: [PHP] Logo proposal - voting script!

2001-12-13 Thread Valentin V. Petruchek
Warning: Cannot add header information - headers already sent by (output started at /home/b1642/public_html/vote/logo.php:6) in /home/b1642/public_html/vote/logo.php on line 49 Seemes to be a bug. - Original Message - From: "Michael Cronström" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

Re: [PHP] Performance

2001-12-13 Thread Mike Eheler
Yes! Please release some of these results. I am *very* interested. I have been coding using the method you demonstrate (terminating PHP any time possible, and rarely, if ever, using echo and print). I would love to know how much, if any, difference it makes. Mike Jim Lucas wrote: > the site

Re: [PHP] Logo proposal - voting script!

2001-12-13 Thread Valentin V. Petruchek
AND WHAT ABOUT WOODPECKER! He started everything! - Original Message - From: "Michael Cronström" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 13, 2001 7:55 PM Subject: [PHP] Logo proposal - voting script! > OK guys, > > a voting script! > > at: http://zoon.se/vo

Re: [PHP] Can i do this?

2001-12-13 Thread Jeremy Reed
However, in your if statement, you need to nest your statements with parenthesis. "Jack Dempsey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > didn't check your code specifically, but you can definitely have arrays > nested inside of arrays...to see how to pr

Re: [PHP] Logo proposal - voting script!

2001-12-13 Thread R'twick Niceorgaw
While voting I got this error Warning: Cannot add header information - headers already sent by (output started at /home/b1642/public_html/vote/logo.php:6) in /home/b1642/public_html/vote/logo.php on line 49 - Original Message - From: "Michael Cronström" <[EMAIL PROTECTED]> To: <[EMAIL PR

Re: [PHP] Performance

2001-12-13 Thread Shane Wright
another resounding YES vote on this corner [anything so I dont have to do it all myself] -- Shane On Thursday 13 Dec 2001 5:45 pm, Jim Lucas wrote: > the site that I design for has converted all of the echo""; print() and > any other printing function of php into a simple breakout int

[PHP] Logo proposal - voting script!

2001-12-13 Thread Michael Cronström
OK guys, a voting script! at: http://zoon.se/vote/logo.php try it :) Michael Cronstrom Web Inventor At 13:26 13/12/01, you wrote: >I'd kind of ignored this whole thread thinking it was going on and on, but >in the end I have to say something :) > >None of the other "animals" really captured m

Re: [PHP] Performance

2001-12-13 Thread Nicolas Costes
"If you would like information on the performance results I might be able to round up some of the data." er, ... YEs, we'd like !!! ;-) Le Jeudi 13 Décembre 2001 18:45, Jim Lucas a écrit : > the site that I design for has converted all of the echo""; print() and > any other printing function o

Re: [PHP] intergration?

2001-12-13 Thread John S. Huggins
I have these issues too and the only thing I knew to do was develop my own user management system with a simple interface to other programs. My other programs are custom too. I used Tim Perdue's user system as a code base so I am duty bound to distribute my changes to the open source crowd soo

Re: [PHP] Performance

2001-12-13 Thread Jim Lucas
the site that I design for has converted all of the echo""; print() and any other printing function of php into a simple breakout into HTML. ie: We have done loop. We have done performance testing on most everything that can be done out put and include()/require() stuff. If you would like inf

[PHP] intergration?

2001-12-13 Thread Kunal Jhunjhunwala
Hi, Ive been trying to figure out ways to intergrate two applications to use a common user information database... example: intergrating phpnuke to work with vbulletin.. so the use doesnt have to re-gister to use each service... any suggestions on how to go about doing this? I have the dbase struc

RE: [PHP] Performance

2001-12-13 Thread Nathan Cassano
I have always assumed straight html was faster than function output. My logic being that "quoted" output requires more parsing than straight html. But they may be the same speed after a simple optimization pass. -Original Message- From: René Fournier [mailto:[EMAIL PROTECTED]] Sent: Tu

  1   2   >