[PHP] mail() limit?

2001-04-06 Thread Chris
Hi, Does anyone know if and what the limit is of bcc that can be used in the mail() function? Hundreds, thousands? Thanks, Chris

RE: [PHP] Which is better??

2001-04-06 Thread Jonathan Sharp
> My forms page is named "submit.phtml" > and if you use the then you don't even need to wory about the file name, as it will always submit to itself... -js > -Original Message- > From: Curtis [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 06, 2001 9:27 AM > To: php > Subject: [PH

RE: [PHP] Variables

2001-04-06 Thread Jonathan Sharp
Have you looked at php.net/manual/ ? Just read through the variables portion and it goes over it. -js > -Original Message- > From: Cheng, Kynan (London) [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 06, 2001 9:54 AM > To: '[EMAIL PROTECTED]' > Subject: RE: [PHP] Variables > > > Thanks

RE: [PHP] Array of words in textfile?

2001-04-06 Thread Jonathan Sharp
If you're splitting by a defined pattern (such as a space " ") explode is quite a bit faster...and i believe that if you need reg exps. you can use split() (which will take a regex as the pattern)... -js > -Original Message- > From: Plutarck [mailto:[EMAIL PROTECTED]] > Sent: Thursday, A

RE: [PHP] Building an array from a URL

2001-04-06 Thread Jonathan Sharp
can you just use a POST instead of a get? seems it might be cleaner in this case... -js > -Original Message- > From: Plutarck [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 05, 2001 11:22 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Building an array from a URL > > > You'll probab

[PHP] Looking for members in the Twin Cities

2001-04-06 Thread Chris Moewes-Bystrom
We are looking for members for the Twin Cities PHP User Group. Interested parties can see http://www.moewes.com/tcphpug.html or http://www.phpusergroups.org/groups.phtml?id=3&menu=groups -- Chris Moewes-Bystrom [EMAIL PROTECTED] http://teamstore.com -- PHP General Mailing List (http://www.p

[PHP] Print or Echo.

2001-04-06 Thread Sterling
H- Just a quick question. Is there any difference between using print or echo? >From what I have read and seen there isn't any. Than why the two different commands? Thanks. -Sterling -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: [PHP] Print or Echo.

2001-04-06 Thread Joe Stump
> Than why the two different commands? Simple - some people come from C which uses print ... others come from languages that use echo. It fosters adaptation by other programmers. --Joe > > Thanks. > -Sterling > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail

RE: [PHP] Print or Echo.

2001-04-06 Thread Jeff Oien
> H- > > Just a quick question. > > Is there any difference between using print or echo? > > >From what I have read and seen there isn't any. > Than why the two different commands? > > Thanks. > -Sterling See this: http://www.php.net/manual/en/function.print.php "As for a print vs. echo

RE: [PHP] mail() limit?

2001-04-06 Thread Boaz Yahav
IMHO, it's not the mail() limit but rather the SMTP protocol limit and it seems to vary between different OS's. I wouldn't go for more than 50 emails in one Bcc. You need to take into consideration that the email length vary and that there may be 50 emails that sum up to 500 chars and some can b

Re: [PHP] bug in php4 with postgres?

2001-04-06 Thread Martín Marqués
On Friday 06 April 2001 21:44, Kristopher Yates wrote: > How come sometimes I get this message and sometimes I dont? > > [Fri Apr 6 13:49:15 2001] [error] PHP Warning: 3 is not a valid > PostgreSQL lin > k resource in /usr/local/apache/htdocs/ltt-dev/htdocs/formproc.php3 > on line 134 > > It wor

Re: [PHP] Print or Echo.

2001-04-06 Thread Alexander Wagner
Jeff Oien wrote: > "As for a print vs. echo, echo gives you more options, > such as being able to continue output on multiple lines > like an < you would not be able to accomplish this." There's another difference. print() returns true on success and false when called after a connection abort. E

Re: [PHP] Newsletter on the way..stuck in the moment!

2001-04-06 Thread Miles Thompson
BCC - blind carbon copy Miles At 11:23 AM 4/6/01 -0700, Dhaval Desai wrote: >Hi! > >Well, I want to send an email to about 300 people. The >problem is that if I use this method people can see >all the email address of the people whoever it is sent >to. > > > >$connect = mysql_connect(); >$query

Re: [PHP] PHP Magazines?

2001-04-06 Thread Miles Thompson
None that I know of, but with PHP Advisor publications would not have anyone to suck up to. And where would the advertising stream be? This list, archives and the tutorial articles are more than adequate, in my opinion. Miles Thompson At 01:15 PM 4/3/01 -0400, Chris Anderson wrote: >Are there

Re: [PHP] Nested for() loops?

2001-04-06 Thread Plutarck
While it's apparently not always required, I always reccommend (and always do it personally) that you use a bracket around every function. So it should lool like this: "); } } ?> It makes it easier to see where the loops begin and where they end, and it stops most types of errors from appea

Re: [PHP] Again about PHP + IRC

2001-04-06 Thread Plutarck
Check out phpwizard.net http://phpwizard.net/projects/phpIRC/ By reading through their code you can probably learn alot of what you want to know. -- Plutarck Should be working on something... ...but forgot what it was. "Marius Petravièius" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTE

Re: [PHP] close tcp-IP connection before php-skript finishes

2001-04-06 Thread Plutarck
Genius! Thank thank thankyou! If I wasn't well rested I'd kiss you. Or more appropriately, I'd kiss the person that programmed that function in the first place...*rubs hands* Oh the fun I'm going to have figuring a way to actually use this for anything other than mail()... -- Plutarck Should b

Re: [PHP] Problem with newline and email

2001-04-06 Thread Plutarck
Doesn't either just "\r" or just "\n" work? Then again I've never tried using them, but I can't imagine that newline and carriage return doesn't force a new line. You could always send an HTML mail and use instead? -- Plutarck Should be working on something... ...but forgot what it was. "Pi

[PHP] fwrite()

2001-04-06 Thread Augusto Cesar Castoldi
I have a textarea and I want to save the textarea text into a file. Then I put this in the html: And this in action of php: $fd = fopen("Augusto.wri", "w" ); fwrite($fd, $conteudo); fclose( $fd ); But I'm having a big problem on this. Is the text has this caracter ("), the PHP add "\" before.

[PHP] Update: 1767 functions!

2001-04-06 Thread Plutarck
*sigh* I just discovered http://www.php.net/manual-lookup.php again, which happens to list all the ones found in the manual. But, it doesn't have them all, so my time wasn't wasted! But I did discover a few I missed, so now there are about 1767 functions listed! The list is valid for all functi

Re: [PHP] function return

2001-04-06 Thread Plutarck
I usually declare $db as global in the function, so I can just execute the function and continue with my querys. -- Plutarck Should be working on something... ...but forgot what it was. "Kurth Bemis" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > i'm tryi

Re: [PHP] fwrite()

2001-04-06 Thread Richard
Check out .htmlspecialchars(..) .removeslashes() .stripslashes() - Richard "Augusto Cesar Castoldi" <[EMAIL PROTECTED]> wrote in message Pine.GSO.4.10.10104062012140.20277-10@venus">news:Pine.GSO.4.10.10104062012140.20277-10@venus... > I have a textarea and I want to save t

[PHP] escape characters

2001-04-06 Thread Adam
what is a list of all the characters that have to be escaped? -- 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, e-mail: [EMAIL PROTECTED]

php-general Digest 6 Apr 2001 23:40:36 -0000 Issue 612

2001-04-06 Thread php-general-digest-help
php-general Digest 6 Apr 2001 23:40:36 - Issue 612 Topics (messages 47430 through 47526): Re: Nearly all (1755) PHP functions in a text file 47430 by: maatt 47458 by: Phillip Bow 47460 by: Jason Lotito 47484 by: Johnson, Kirk Date formatting 47431 by

[PHP-CVS] cvs: php4 /ext/fdf fdf.c php_fdf.h

2001-04-06 Thread Jani Taskinen
sniper Fri Apr 6 16:17:32 2001 EDT Modified files: /php4/ext/fdf fdf.c php_fdf.h Log: Fixed some bugs. Index: php4/ext/fdf/fdf.c diff -u php4/ext/fdf/fdf.c:1.43 php4/ext/fdf/fdf.c:1.44 --- php4/ext/fdf/fdf.c:1.43 Wed Apr 4 22:38:18 2001 +++ php4/e

Re: [PHP] Nearly all (1755) PHP functions in a text file

2001-04-06 Thread Plutarck
The ones that started talking to me half-way through. I'd like to give a shout out to 346, 789, and 1747, and blue function#9. *twitch* -- Plutarck Should be working on something... ...but forgot what it was. ""Johnson, Kirk"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMA

[PHP] HELP!! comparing arrays

2001-04-06 Thread paula
Hi- I'm new here and have this problem that's DRIVING ME CRAZY. I have two arrays as a result of two queries that I have to compare. Supose this two tables: This is my today table showing my actual stock (2001-04): t-shirtblue L jacket blackM sweater red

Re: [PHP] Print or Echo.

2001-04-06 Thread Philip Olson
See this faq : What is the difference between echo and print? --- http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/40 regards, philip On Fri, 6 Apr 2001, Sterling wrote: > H- > > Just a quick question. > > Is there any di

Re: [PHP-CVS] cvs: php4 /ext/fdf fdf.c php_fdf.h

2001-04-06 Thread eschmid+sic
On Fri, Apr 06, 2001 at 11:17:32PM -, Jani Taskinen wrote: > sniperFri Apr 6 16:17:32 2001 EDT > > Modified files: > /php4/ext/fdf fdf.c php_fdf.h > Log: > Fixed some bugs. Why are you changing in the describtions of protos "Sets" to "Set", "Adds

RE: [PHP-CVS] cvs: php4 /ext/fdf fdf.c php_fdf.h

2001-04-06 Thread Sean R. Bright
Speaking of which. How do I enable this mysterious folding mode in emacs? I can't seem to find any documentation on it. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 06, 2001 8:19 PM > To: Jani Taskinen; [EMAIL PROTECTED] > Subject: Re: [

[PHP] how do i...?

2001-04-06 Thread rswfire
$var = "thisclass"; $myclass = new $var; how can i make it recognize $var as a class name? thankz in advance... = = [ rswfire ] http://rswfire.swifte.net/ http://profiles.yahoo.com/rswfire = ___

Re: [PHP-CVS] cvs: php4 /ext/fdf fdf.c php_fdf.h

2001-04-06 Thread eschmid+sic
On Fri, Apr 06, 2001 at 08:55:40PM -0400, Sean R. Bright wrote: > Speaking of which. How do I enable this mysterious folding mode in emacs? > I can't seem to find any documentation on it. PHP 4/CODING_STANDARDS. You can also check http://cvs.php.net/ --> php4 --> CODING_STANDARDS. -Egon -- Li

[PHP] PHP form script in Javascript window

2001-04-06 Thread Claudia
I am attempting to use a Javascript popup window to open a new php form window that uses a php script to process the form data. All processing for the form is completed in the popup window. The issue I am encoutering is occurring with Netscape only -- I receive the following msg: Warning there

[PHP] cookies that don't expire

2001-04-06 Thread Joseph Bannon
How do you set cookies that don't expire? J Say I'm Hot! - Post Your Picture! http://www.sayimhot.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Update: 1767 functions!

2001-04-06 Thread Steve Werby
"Plutarck" <[EMAIL PROTECTED]> wrote: > I just discovered http://www.php.net/manual-lookup.php again, which happens > to list all the ones found in the manual. But, it doesn't have them all, so > my time wasn't wasted! I haven't counted the # of functions at Zend's PHP function table, but I'm pre

Re: [PHP-CVS] cvs: php4 /ext/fdf fdf.c php_fdf.h

2001-04-06 Thread Jani Taskinen
On Sat, 7 Apr 2001 [EMAIL PROTECTED] wrote: >Why are you changing in the describtions of protos "Sets" to "Set", "Adds" >to "Add" and so on? I think the former was the right english description. >Please look into CODING_STANDARDS at php.net and phpdoc/funcsummary.txt. hmm..well, I checked the do

[PHP] $8/mo php hosting on 24/7, OC3+ web server

2001-04-06 Thread Jeffrey Greer
Hello, I am offering php hosting with features at a price no one else has, as far as I know. I'm not going to create a giant web hosting service. I'm doing this to pay for my web portal. - This web portal has been operated by the same person (my partner) for over four years. I have been a co-ad

[PHP] experienced PHP/MYSQL/Perl/JAVA programmer

2001-04-06 Thread SAM G
Hi, I am experienced PHP/MYSQL/Perl/JAVA programmer, with many applications developed. If you have any projects need help, we can work together. If you are interested, pls send me e-mail for more details. Besides, I am in Toronto, would like to make some friends to exchange programming skill. Th

[PHP-CVS] cvs: php4 /ext/fdf fdf.c

2001-04-06 Thread Jani Taskinen
sniper Fri Apr 6 19:48:20 2001 EDT Modified files: /php4/ext/fdf fdf.c Log: fixed protos Index: php4/ext/fdf/fdf.c diff -u php4/ext/fdf/fdf.c:1.44 php4/ext/fdf/fdf.c:1.45 --- php4/ext/fdf/fdf.c:1.44 Fri Apr 6 16:17:31 2001 +++ php4/ext/fdf/fdf.c F

[PHP] PHP coding question

2001-04-06 Thread Rory O'Connor
I'm not a real programmer, so I am wondering if anyone can help me translate this psuedo-code into php code: if ($page_num is a multiple of 8) { do this } If you want to know what I'm trying to do... I have a left frame showing a recordset of 8 records at a time. the frame on

Re: [PHP] Update: 1767 functions!

2001-04-06 Thread Plutarck
Unfortunately I can't find an option to make them all display on one page, or an option to make them easy to cut and paste so I can run them past my PHP script. So I'd have to manually compare the two lists...lmao -- Plutarck Should be working on something... ...but forgot what it was. ""Stev

Re: [PHP-CVS] cvs: php4 /ext/fdf fdf.c

2001-04-06 Thread Sterling Hughes
On Sat, 7 Apr 2001, Jani Taskinen wrote: > sniperFri Apr 6 19:48:20 2001 EDT > > Modified files: > /php4/ext/fdf fdf.c > Log: > fixed protos > Yikes, it seems like you moved the grammar backwards... >From what I remember of english, the active voice is the correc

Re: [PHP-CVS] cvs: php4 /ext/fdf fdf.c

2001-04-06 Thread Jani Taskinen
On Fri, 6 Apr 2001, Sterling Hughes wrote: >On Sat, 7 Apr 2001, Jani Taskinen wrote: > >> sniper Fri Apr 6 19:48:20 2001 EDT >> >> Modified files: >> /php4/ext/fdffdf.c >> Log: >> fixed protos >> > > >Yikes, it seems like you moved the grammar backwards... > >>From wh

Re: [PHP] PHP coding question

2001-04-06 Thread Gustavo Vieira Goncalves Coelho Rios
Rory O'Connor wrote: > > I'm not a real programmer, so I am wondering if anyone can help me translate > this psuedo-code into php code: > > if ($page_num is a multiple of 8) { > > do this > > } > > If you want to know what I'm trying to do... > I have a left frame showing a re

Re: [PHP] PHP coding question

2001-04-06 Thread andre
Try this : if($page_num % 8 == 0) { do this } or to make it a bit more obvious: if(($page_num % 8) == 0) { do this } This way the "if" statement is executed only when the remainder of $page_num divided by 8 is equal to zero, i.e. $page_num is a multiple of 8. > > if ($page_num is a mul

RE: [PHP-CVS] cvs: php4 /ext/fdf fdf.c php_fdf.h

2001-04-06 Thread Sean R. Bright
I know where the CODING_STANDARDS file is, but it only mentions Emacs' folding mechanism, it does not talk about how to use it. I was hoping that someone could give me some insight into how to enable this function under Emacs, as I cannot find any other documentation on it. > -Original Messa

Re: [PHP] Nested for() loops? -> Now Multi Dimension Arrays

2001-04-06 Thread Yasuo Ohgaki
Simple to fix it. You just need to resolve ambiguity with {}. > $res = $i * $j; > $target_array[$i][$j] = $res; > print("result = $target_array[$i][$j] "); print("result = {$target_array[$i][$j]} "); Regards, -- Yasuo Ohgaki <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTE

[PHP] Double your website traffic

2001-04-06 Thread webmaster
Do you want to double the number of visitors to your homepage everyday? The perfect solution is PopUp Window Exchange! It's a brand new concept from LinkExchange. It will pop up websites instead of traditional banners. As a result, it can bring you REAL web traffic instea

Re: [PHP] HELP!! comparing arrays

2001-04-06 Thread Yasuo Ohgaki
How about post some code that does not work as expected? (Simpler code is better) Regards, -- Yasuo Ohgaki ""paula"" <[EMAIL PROTECTED]> wrote in message 001501c0bf29$2f35e740$0f01a8c0@pau">news:001501c0bf29$2f35e740$0f01a8c0@pau... Hi- I'm new here and have this problem that's DRIVING ME CRAZ

Re: [PHP] fwrite()

2001-04-06 Thread Adam
simply add: $conteudo = stripslashes($conteudo) -- 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, e-mail: [EMAIL PROTECTED]

Re: [PHP-CVS] cvs: php4 /ext/fdf fdf.c

2001-04-06 Thread Sterling Hughes
On Sat, 7 Apr 2001, Jani Taskinen wrote: > On Fri, 6 Apr 2001, Sterling Hughes wrote: > > >On Sat, 7 Apr 2001, Jani Taskinen wrote: > > > >> sniper Fri Apr 6 19:48:20 2001 EDT > >> > >> Modified files: > >> /php4/ext/fdf fdf.c > >> Log: > >> fixed protos > >> > > > > > >Yi

Re: [PHP] escape characters

2001-04-06 Thread Adam
nevermind, i found them -- 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, e-mail: [EMAIL PROTECTED]

RE: [PHP] Print or Echo.

2001-04-06 Thread Jason Lotito
> -Original Message- > From: Alexander Wagner [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 06, 2001 3:24 PM > To: [EMAIL PROTECTED] > Cc: PHP > Subject: Re: [PHP] Print or Echo. > > > Jeff Oien wrote: > > "As for a print vs. echo, echo gives you more options, > > such as being able

[PHP] AUTO_INCREMENT with MySQL & phpmyadmin

2001-04-06 Thread Plutarck
At first I thought this might be better suited on the mysql list, but since I'm using phpmyadmin I thought it better to ask here. My problem is I can't figure out how to create a column with the auto_increment attribute. I want to make one called userid whose value is one higher than the highest

RE: [PHP] AUTO_INCREMENT with MySQL & phpmyadmin

2001-04-06 Thread Jason Lotito
> -Original Message- > From: Plutarck [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 06, 2001 10:35 PM > To: [EMAIL PROTECTED] > Subject: [PHP] AUTO_INCREMENT with MySQL & phpmyadmin > > > At first I thought this might be better suited on the mysql list, > but since > I'm using phpmyad

[PHP] here doc performance

2001-04-06 Thread Jack Dempsey
Hi all, I use the here doc option heavily in pages i create, outputting large chunks of HTML with variables inside the echo<

[PHP] Ahhh...I see

2001-04-06 Thread Plutarck
Thanks for the site...it answered my question, actually. I was not aware that an auto_increment must be not null. And am I correct that when it says it must be a "key", it means that it must be either Primary or Unique? That I did not know. Anyway, it's working now :) -- Plutarck Should be wo

Re: [PHP] here doc performance

2001-04-06 Thread Plutarck
To my knowledge, though I haven't done any testing with microtime, heredoc is as faster as using single quotes. Since the only thing PHP looks for is the characters that were present at the very begining on the string, there should certainly be no slowdowns at all. If it's not that way, I imagin

RE: [PHP] here doc performance

2001-04-06 Thread Jack Dempsey
Thanks for your thoughts. I don't believe it can be as fast as single quotes, simply because it does variable interpolation, and that's why printing doubly quoted strings are slower than singles, hence i would think here docs would be slower as well...but nothing so great that i would to worry abo

<    1   2