Re: [PHP] Embeding images in HTML emails

2002-08-20 Thread Andrew Perevodchik
Hello, Michael Sims! MS I imagine that MS Manuel Lemos' PHP Classes site has a class that would take care of MS this for you... url, plz :) -- Andrew Perevodchik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] imap

2001-09-17 Thread Andrew Perevodchik
-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable X-UIDL: 80d991297a6d3b18a50c311202c5 -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] Stupid Cookie Question

2001-09-17 Thread Andrew Perevodchik
n1c SetCookie(password,$password); n1c SetCookie(cwname,$cwname); SetCookie(password); SetCookie(cwnamd); B-) -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Re: Compiling php like C

2001-09-16 Thread Andrew Perevodchik
Has anyone done this to date?? I was thinking of compiling my programs for better perfomance, and of course, protect the source code. Anyone have any ideas on this issue? Another question: is it possible to compile PHP script in COM or EXE file? -- Andrew Perevodchik [EMAIL PROTECTED

[PHP] imap_search

2001-09-14 Thread Andrew Perevodchik
$search = imap_search ($mail, TO reply, SE_UID); returns the same values as $search = imap_search ($mail, TO reply); search whorks ok, but it doesnt return message id's. or this is imap-only flag and it won't work with pop3 connection? -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP

Re[2]: [PHP] html formating trouble

2001-09-14 Thread Andrew Perevodchik
and AS use single quotes instead: AS echo 'font col=ff..'; Or try something like this (but i'm shure you won't want to use it :) echo END font color=#FFovo je javna strana /font END; -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re[2]: [PHP] html formating trouble

2001-09-14 Thread Andrew Perevodchik
?=...? ;) However in the book I'm using about PHP they recomend not to use it. But no good reasons are given... -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re[2]: [PHP] if(isset($a)) vs if($a)

2001-09-14 Thread Andrew Perevodchik
JD isset checks to see if the $a variable has JD been set, ie, if it exists. if($a) checks for JD the truthood of $a, meaning, if it has a JD non-zero, non-null/empty-string value, then JD its true, else, false. ... and if it's not set at all it returns a warning unless you use @ :( -- Andrew

[PHP] minus in [] groups in ereg

2001-09-13 Thread Andrew Perevodchik
Is this a bug or feature? The only way to include a minus characher in [] groups in regex is to put \- right gefore ] [[A-Za-z0-9\_\-\=\%\.]] won't work with - as it is supposed to [[A-Za-z0-9\_\=\%\.\-]] is ok Uh? -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP General Mailing List (http

Re[2]: [PHP] minus in [] groups in ereg

2001-09-13 Thread Andrew Perevodchik
Hello! You wrote: JK Feature. By placing a dash next to the JK bracket, there is no confusion that the dash JK is being used to specify a range. Doesn't slash before dash mean that??? -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re[2]: [PHP] How to list 2-6 in while script?

2001-09-12 Thread Andrew Perevodchik
pb.$val./b/p; } Eh? -- Andrew Perevodchik [EMAIL PROTECTED] -- 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] double values in array

2001-09-12 Thread Andrew Perevodchik
Hello! You wrote: TB What am I doing wrong? You should use this line: $y = mysql_fetch_array ($getrec_result, MYSQL_ASSOC); -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] suming up in MySQL

2001-09-11 Thread Andrew Perevodchik
TM id - price TM 1 1000 TM 2 300 TM 3 200 TM How to sum up price row ? This can be done by MySQL rather than PHP. mysql_query ("SELECT SUM (price) FROM table"); -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscri