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

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 unsu

[PHP] imap

2001-09-17 Thread Andrew Perevodchik
ion: 1.0 X-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

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? -- A

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

2001-09-14 Thread Andrew Perevodchik
rning unless you use "@" :( -- 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[2]: [PHP] html formating trouble

2001-09-14 Thread Andrew Perevodchik
ML and insert variables in there without ;) 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 addition

Re[2]: [PHP] html formating trouble

2001-09-14 Thread Andrew Perevodchik
e single quotes instead: AS> echo 'ovo je javna strana END; -- 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]

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

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

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

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

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

2001-09-12 Thread Andrew Perevodchik
,$val) = each ($headers) and $key <= 6 and $key >= 2) { print ""."$val".""; } 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] 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.ph

[PHP] Apache redirection by PHP

2001-09-11 Thread Andrew Perevodchik
quot; depends on the user's request. I have tried to catch the requested name of server, and add it to $DOCUMENT_ROOT variable. It changed as I expected it to, but still /files/example.txt is returned. I've also tried to use setenv() -- the same result. Is there any way to do this kind of

[PHP] regexp (?:

2001-09-11 Thread Andrew Perevodchik
Why doesn't this simple example work? ereg ("aaa(?:bbb|ccc)aaa", $string); It causes an error. However "?:" command is documented in a manual of my version of PHP4. -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To un