[PHP] Performance

2001-12-13 Thread René Fournier
Is it true that mixing HTML and PHP--switching back and forth with ?php ? tags--slows down performance? (I'm using PHP4.) Is it better to echo output than to drop out of PHP mode? And concerning database connections, my ISP asks that I always close a MySQL connection with a

Re: [PHP] Performance

2001-12-13 Thread Prottoss
On November 13, 2001 12:05 pm, René Fournier wrote: Is it true that mixing HTML and PHP--switching back and forth with ?php ? tags--slows down performance? (I'm using PHP4.) Is it better to echo output than to drop out of PHP mode? And concerning database connections, my ISP asks that I

[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

Re: [PHP] PHP 4.1.0 is_dir bug

2001-12-13 Thread Philip Olson
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 exist' warning. (Sterling) http://cvs.php.net/co.php/php4/NEWS regards,

Re: [PHP] Re: php 4.1.0 output compression

2001-12-13 Thread Rares Vasilescu
From: Yasuo Ohgaki How does it work? Read RFC for HTTP/1.1 I meant how do i tell PHP to use output compression. Does PHP automatically detect the browser capability and send a compressed response or do i have to activate it in my scripts. Or in the configuration file? I know the HTTP rfc well

[PHP] including outside pages

2001-12-13 Thread Jordan
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

[PHP] subscribe me

2001-12-13 Thread [EMAIL PROTECTED]
please subscribe me --- L'e-mail gratuit pas comme les autres. Pour créer votre adresse : http://www.nomade.fr/courrier/ouvrir.asp NOMADE.FR, pourquoi chercher ailleurs ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] PHP 4.1.0 Compiling on OS X

2001-12-13 Thread Andrew White
On Thursday, December 13, 2001, at 07:36 am, Weston Houghton wrote: So I'm experimenting trying to get PHP 4.1 running under MacOS 10.1.1, running the following for configure: I'm having problems here as well though not the same ones. I think the major problem is that PHP 4.1 has switched to

Re: [PHP] Re: php 4.1.0 output compression

2001-12-13 Thread Yasuo Ohgaki
Rares Vasilescu wrote: From: Yasuo Ohgaki How does it work? Read RFC for HTTP/1.1 I meant how do i tell PHP to use output compression. Search zlib.output_compression ini directive in php.ini. There is description in php.ini-dist, php.ini-recommended. Does PHP automatically detect the

[PHP] PHP APACHE Authenticate

2001-12-13 Thread Silvia Mahiques
Hi Friends!: I have some problems with APACHE Authenticate. I have a directory with access control. This is his structure: intranet_directory file_1.php4 ... people_directory file1_1.php4

[PHP] PHP APACHE Authenticate

2001-12-13 Thread Silvia Mahiques
-Mensaje original- De: Silvia Mahiques [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 13 de diciembre de 2001 10:32 Para: [EMAIL PROTECTED] Asunto: PHP APACHE Authenticate Hi Friends!: I have some problems with APACHE Authenticate. I have a directory with access control. This

Re: [PHP] PHP APACHE Authenticate

2001-12-13 Thread Rasmus Lerdorf
Are you sure you want to send an external POST request to a PHP script on the same server? That doesn't make a whole lot of sense to me. Why not simply include file1_1.php4 directly from file_1.php4. However, assuming you have some logical reason for wanting to do this, it is rather simple.

Re: [PHP] Logo proposal

2001-12-13 Thread Dimitris Kossikidis
How about an Aunt!? ( I don't know if it is in use ) Ant is a hard worker in the summer and very powerfull ( can lift 30 times it's weight ) and small. Just Like PHP. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] first totally php site

2001-12-13 Thread AAustin
Hi My first totally php/mysql site. www.thegardenzone.co.nz Andrew

[PHP] redirect

2001-12-13 Thread Tommy Straetemans
Hi, I have a small problem i come from a link in html page witch gives an numbet to php (contact.php?nummer=2) and in the script i use a redirec to a other php script but i can't give that number to then next script i do it like this: $url =

[PHP] Date Formatting/Reading

2001-12-13 Thread PHPGalaxy.com
Hi! =) I'm doing a website that will be using a pay-per-month membership program. There's a field for 'lastpaid' that holds the date the last paid (sorry to state the obvious). My questions are these: 1) What would be the best way to format it so PHP can see if it's been 30 days since it was

Re: [PHP] redirect

2001-12-13 Thread Tamas Arpad
I have a small problem i come from a link in html page witch gives an numbet to php (contact.php?nummer=2) and in the script i use a redirec to a other php script but i can't give that number to then next script i do it like this: $url =

[PHP] Online editor that edits all pages

2001-12-13 Thread R. Lindeman
sorry for the inconvieniance but i have to restate my question i'm looking for a online editor that is able to edit pages that are not on the same host as the editor is. thanx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] Online editor that edits all pages

2001-12-13 Thread Andreas Landmark
On Fri, Dec 14, 2001 at 12:11:14AM -0800, R. Lindeman wrote: sorry for the inconvieniance but i have to restate my question i'm looking for a online editor that is able to edit pages that are not on the same host as the editor is. And how is it supposed to do that? ftp/ssh/frontpage-ext ?

Re[2]: [PHP] Logo proposal

2001-12-13 Thread Morten Winkler Jørgensen
DK Ant is a hard worker in the summer and very powerfull ( can lift 30 times DK it's weight ) and small. Does that mean that php should be ineffective during winter? ;) Great idea I sincerely think! Kind regards, Morten Winkler -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Logo proposal

2001-12-13 Thread PHPGalaxy.com
Actually I heard it's 50 times it's weight, but I refuse to be anal about it. =) Who's to say ants dont work just as hard in the winter? We can't se em.. unless it's because they're dormant in the winter, in which case I just made myself look INCREDIBLY stupid =) Morten Winkler Jørgensen

Re: [PHP] Online editor that edits all pages

2001-12-13 Thread George Pitcher
I'm using EditPlus to edit files on my server, from my laptop, but that accesses the files via the NT network, which might not be what yopu are looking for. George - Original Message - From: Andreas Landmark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 11:16

[PHP] Zend Accelerator

2001-12-13 Thread Daniel Urstöger
Does anybody know, when Zend plans to release a working Zend Accelerator version for PHP 4.1.0 ? Bcz we already think about buying this nice application, and we had the stuff already ruuning in evaluation mode, and I wanna test the new version of Zend Accelerator on PHP 4.1.0 before investing

[PHP] ldap_rename

2001-12-13 Thread Greg Ulyatt
Hello all, Does anyone out there have ldap_rename working? I've tried resetting the LDAP version to 3 (which gives a protocol error) and 2 (which gives an unsupported call return). However, the command line ldapmodrdn command works, as does some PerlC code that I tossed togther to test

Re: [PHP] Re: Permission denied, although permissions are right

2001-12-13 Thread Wim Godden
So there's no way for me to open that file ? It's generated as zapman and I can't change that... Any ideas or tricks to get around the protection without causing a big security hole ? Fred wrote: Your PHP script may be owned by zapman, but it is run as nobody. Therefore your file that you

Re: [PHP] Logo proposal

2001-12-13 Thread Valentin V. Petruchek
Aunt is more similar very similar to PHP. Very industrious and powerful ;) - Original Message - From: PHPGalaxy.com [EMAIL PROTECTED] To: Php-General [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 1:31 PM Subject: Re: [PHP] Logo proposal Actually I heard it's 50 times it's

RE: [PHP] Logo proposal

2001-12-13 Thread Adrian Teasdale
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 my attention, but having an Ant would be quite cool. Not because of the ant on its own, but it's usually a whole bunch of ants that really

Re: [PHP] Need PHP 4.0.3pl1

2001-12-13 Thread Rouvas Stathis
For the linux version, go to: URL:http://glaykos.mm.di.uoa.gr/~rouvas/tmp/inet/linux/php/php-4.0.3pl1-orig.tar.gz -Stathis. Gaylen Fraley wrote: This build is not on php.net. I need both the linux source and the windows binary for testing. Does anyone know where I can obtain these? --

Re: [PHP] Logo proposal

2001-12-13 Thread Nicolas Costes
well, I think the ant is a good idea, but : t's a bunch of people that have grown PHP into what it is and I think that fits. that fits too for Linux, and many others But this idea fits to me . Le Jeudi 13 Décembre 2001 13:26, Adrian Teasdale a écrit : I'd kind of ignored this whole

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

2001-12-13 Thread sunny AT wde
Hi all, I manage an South-Asian community site from the UK (but hosted in USA) which is currently wolfing down 20 GB per month and is increasing to about 25 very soon as the popularity grows. I've searched the mailing lists, but couldn't find a good solution. How shall I go about increasing

Re: [PHP] Branching to a page

2001-12-13 Thread Jason G.
Just send a redirect header. header(Location: nextpage.php); exit; -Jason Garber IonZoft.com At 08:45 AM 12/11/2001 -0800, Todd Cary wrote: I open a socket if I am in the middle of a php script to branch to a page so that I can send the header information. However, I understand that this is

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

2001-12-13 Thread sunny AT wde
I also forgot to ask: are messageboards really big bandwidth suckers?? I get about 2000 messages posted a day on my messageboard and I use up nealry 20 gigs with that. Is this normal? My site is - www.barfiCulture.com thanks sunny --- sunny AT wde [EMAIL PROTECTED] wrote: Hi all, I

[PHP] Re: subscribe me

2001-12-13 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: please subscribe me Why not? Have you take a look at http://www.php.net/support.php ? I recommend to use news server. news://news.php.net/ -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

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

2001-12-13 Thread Jaime Bozza
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 problems) and I can't

[PHP] Call to undefined function: bcdiv()

2001-12-13 Thread Daniel Alsén
Hi, i when i run a script that contains a bcdiv() calculation i get this error: Call to undefined function: bcdiv() I am using bcdiv() successfully in other scripts. However i vaguely remember getting an error message some time for some operation in bcdiv... Any ideas? Regards # Daniel Alsén

RE: [PHP] a piece of PHP history

2001-12-13 Thread Matt Williams
http://groups.google.com/groups?selm=1991Apr14.200541.755%40napc.uucp So did you ever find the book Rasmus m: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

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

2001-12-13 Thread Shane Wright
For a UK based server, have a look at dsvr.co.uk - they do great hosting and bandwidth is pretty cheap (AFAIK for a dedicated box its ~£300 p/month for 40-50Gb of storage and 25Gb/month bandwidth) Its worked out the best deal for us anyways :) (PHP4 with loads of extensions compiled in,

Re: [PHP] Logo proposal

2001-12-13 Thread Andrey Hristov
Ants don't sleep. PHP programmers are from the whole globe so PHP also never sleep. Regards, Andrey Hristov On Thursday 13 December 2001 07:05 am, you wrote: Aunt is more similar very similar to PHP. Very industrious and powerful ;) - Original Message - From: PHPGalaxy.com [EMAIL

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

2001-12-13 Thread Andrew Brampton
Well just looking at the source of your HTML, you could save yourself some bandwidth by shrinking it a bit. For example change the br / into br place your JavaScript into a .js file remove a lot of the new lines also remove the tabs. Just doing this I changed the file size of a random forum page

[PHP] pictures width and height

2001-12-13 Thread Tommy Straetemans
Hi, I'am new in php and i have a question. Is there a way to check the height and width from a picture that I upload? Tommy Straetemans -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

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

2001-12-13 Thread Nicolas Costes
constructive answer, huh ??? :-)) Le Jeudi 13 Décembre 2001 15:31, Andrew Brampton a écrit : Well just looking at the source of your HTML, you could save yourself some bandwidth by shrinking it a bit. For example change the br / into br place your JavaScript into a .js file remove a lot

Re: [PHP] PHP 4.1 and quicker run times

2001-12-13 Thread Zeev Suraski
At 20:48 12/12/2001, Eöl wrote: The php readme / changelog noted that they worked with m$ and have made great improvements in the speed of php on windows. Now I find this to be a very generic explanation and not very helpful. Well, maybe you should stick with 4.0.6 then? Seriously, I rarely

Re: [PHP] Zend Accelerator

2001-12-13 Thread Zeev Suraski
A 4.1.0 compatible version should be out soon. Zeev At 13:40 13/12/2001, Daniel Urstöger wrote: Does anybody know, when Zend plans to release a working Zend Accelerator version for PHP 4.1.0 ? Bcz we already think about buying this nice application, and we had the stuff already ruuning in

[PHP] max # of characters for links to work in emails?

2001-12-13 Thread Tom Churm
hi, i'm working on an eCard project and somehow need to find out what the reasonable limit is on characters for urls in email bodies (normal text, not mime). i know that some mail clients will cut off urls that are too long or else throw a line break in the middle of them--thus rendering them

Re: [PHP] pictures width and height

2001-12-13 Thread Valentin V. Petruchek
?PHP $size = getimagesize ($userfile); echo pre; print_r($size); echo /pre; ? userfile is file you want to get size of. Zliy Pes, http://www.zliypes.com.ua - Original Message - From: Tommy Straetemans [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 4:32 PM

[PHP] Re: Antialiasing with GD..?

2001-12-13 Thread Jeremy Reed
Antialiasing is done on a pixel by pixel basis. I'm guessing that you don't want to deal with the lines on that kind of basis, considering that it's a whole lot of work. Check the documentation, a lot of graphics engines/utilities include a way draw antialiased lines. However, if you're hell

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

2001-12-13 Thread sunny AT wde
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 out on the machine as much as possible. the br / unfortunately happens automatically when i use the nl2br function before stuff goes into the database. anyway of avoiding that? /sunny

[PHP] Can i do this?

2001-12-13 Thread Daniel Alsén
Hi, can i do this? $num_vals = array (); for ($i=0; $i10; $i++) { $shot_count = SELECT COUNT(*) FROM statistik WHERE shooter='$shooter_login' shot_one = '$i' || shooter='$shooter_login' shot_two = '$i' || shooter='$shooter_login' shot_three = '$i' || shooter='$shooter_login' shot_four =

RE: [PHP] Can i do this?

2001-12-13 Thread Jack Dempsey
didn't check your code specifically, but you can definitely have arrays nested inside of arrays...to see how to print them out use something like print_r to look at the structure... -Original Message- From: Daniel Alsén [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 10:12

[PHP] Re: Sending letter with attaching of the file

2001-12-13 Thread Jeremy Reed
You cannot attach a file using the mail() function in PHP. You will have to use a SMTP PHP class or another MIME enabled class to use attachments. Jeremy Alexandr Klaus [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Help me ! For sending a letter I using the

RE: [PHP] Re: Sending letter with attaching of the file

2001-12-13 Thread Rudolf Visagie
Here is a function I use that might help: function mail_attachment ($to, $subject, $message, $addr_from, $attachment, $filename) { /* This function sends an e-mail with a file attachment using the standard PHP mail function with parameters $to, $subject and $message.

Re: [PHP] PHPhish Logo

2001-12-13 Thread Dasmeet Singh Arora
How about a tiger? After all PHP is vast (and dangerous). Alok K. Dhir wrote: How about the Phrog? It's sort of a marine animal as well... Don't think there are any trademark infringements there. Although my guess is Phish wouldn't mind our using the 'Phish'. PHP is hardly in the same

Re: [PHP] Re: Script like this for PHP

2001-12-13 Thread Dasmeet Singh Arora
You may also try using flash. It looks good and files are small too Peter wrote: The pop outs are done using JavaScript. Its something to do with setting the STYLE=visibility: hidden property of the HTML element. I'm not sure exactly how its done though. If you can get your hands on a copy of

[PHP] http referer problems

2001-12-13 Thread sgibbs
For some reason, the following if statement isn't working. Maybe I haven't had enough coffee to drink or maybe I've had too much - what am I missing? if ($efa != nm || $HTTP_REFERER != http://www.globalhealth.org/news/article.php3?id=1526;){ do this); } Thank you, Shawna -- PHP General

[PHP] Another Installation Problem...sorry

2001-12-13 Thread Sam
Hi all, I've checked most of the archive, but nothing I've found has worked. I've installed PWS and then also PHP. I've done everything that the install file says to, i.e. checked the registry entry, moved the php4ts file, ticked the execute file, but when I go to a PHP file on the web, it

RE: [PHP] http referer problems

2001-12-13 Thread Boget, Chris
if ($efa != nm || $HTTP_REFERER != http://www.globalhealth.org/news/article.php3?id=1526;){ do this); } Not sure what the exact problem is as you haven't been all that descriptive as to what the values are or what is happening, but you should know that $HTTP_REFERER can't be trusted. You

RE: [PHP] http referer problems

2001-12-13 Thread Darren Gamble
Good day, It's a bit difficult to determine what the problem is without more information. If you add before this: echo pre|$efa|/prepre|$HTTP_REFERER|/pre; What is the output? Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW

Re: [PHP] Searching for a new provider

2001-12-13 Thread Dasmeet Singh Arora
Try http://www.portland.co.uk Andy wrote: Hi there, I am searching for a provider who fullfills those criterias and does not cost a fortune: - PHP = 4.06 bzw. PHP 4.x mit GDLibrary ab 2.0 - GDLibrary = 2.0 - PHP installed as module - mind 5 Subdomains - mind 100 MB Speicherplatz -

Re: [PHP] Online editor that edits all pages

2001-12-13 Thread Andreas D. Landmark
At 13.12.2001 11:30, George Pitcher wrote: I'm using EditPlus to edit files on my server, from my laptop, but that accesses the files via the NT network, which might not be what yopu are looking for. And EditPlus is hardly an online editor, and I *don't* want a cc of a thread I didn't start as

Re: [PHP] Beginner's CURL

2001-12-13 Thread Erik Price
I asked this question three times this week!! :) http://marc.theaimsgroup.com/?l=php-generalm=100817196924450w=1 No BFD. I discovered /bin/links in the process and that worked for the download. -- Erik On Wednesday, December 12, 2001, at 09:40 PM, Rasmus Lerdorf wrote: You need to

[PHP] lotus notes and PHP

2001-12-13 Thread Rodrigo Peres
Hi list, After an extensive search, without results, in web, I'd like to know with there's a way to integrate PHP4 and Lotus Notes. I'll develop a new module to a intranet that is based in lotus notes. Thank's in advance Rodrigo Peres -- PHP General Mailing List (http://www.php.net/) To

[PHP] streaming media via php

2001-12-13 Thread Stephen VanDyke
Hello PHP people :) I have a tough one here, I wrote a content script that plays media files, but I can't seem to get things to actually buffer and stream as they should. Here's the conundrum: http://server/media/file.asf - Media player will buffer and start playing before download completes

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

2001-12-13 Thread Prottoss
Conisder just using str_replace(\n, br\n, $your_string) instead of nl2br. On December 13, 2001 10:10 am, sunny AT wde wrote: 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 out on the machine as much as possible. the br /

Re: [PHP] Antialiasing with GD..?

2001-12-13 Thread Phil Driscoll
On Wednesday 12 December 2001 8:35 am, Jan Maska wrote: Hi, I have the following problem: Using the database, I create a graph like __.--._.--._/\.__ In order to keep exact colors and prevent a JPEG detail distortion, I use PNG format as output. This has one disadvantage: all lines are

Re: [PHP] Antialiasing with GD..?

2001-12-13 Thread Rasmus Lerdorf
The jpgraph graphing package written in PHP has such an anti-aliasing line draw routine written in PHP and it isn't actually that slow. Check it out at http://www.aditus.nu/jpgraph/ -Rasmus On Thu, 13 Dec 2001, Phil Driscoll wrote: On Wednesday 12 December 2001 8:35 am, Jan Maska wrote:

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:

[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

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: ? for($i=0;$i10;$i++) { ?We have done ?=$i? loop.? } ? We have done performance testing on most everything that can be done out put and

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

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 of php

[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 my

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 into

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

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 print

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:

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
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] Sent:

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

2001-12-13 Thread l0t3k
Sunny, AFAICR, br / is for Netscrape, which apparently cant understand br/ 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

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

[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

[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.

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

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

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

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

[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

[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

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 and

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, br / is for Netscrape, which apparently cant understand br/ for some reason.. It's not a browser thing... br / is the correct syntax for a line break in XHTML. All tags must be closed, hence the / and the white

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

[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] 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

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 Peacock

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

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] 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

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 =

[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

[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

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 book.

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

  1   2   >