Re: [PHP] What is wrong with next code

2004-11-02 Thread Vladimir Shiray
query('SELECT 1+1', $db1); > if ($result) > { > $row = mysql_fetch_row($result); > echo "Result: {$row[0]}\n"; > } > - > [EMAIL PROTECTED]:~/src/P

Re: [PHP] What is wrong with next code

2004-10-29 Thread Vladimir Shiray
- [EMAIL PROTECTED]:~/src/PHP# php -q mysql_connect3.php Result: 2 On Thu, 28 Oct 2004 23:08:39 -0400 John Holmes <[EMAIL PROTECTED]> wrote: > Vladimir Shiray wrote: > > - > > War

[PHP] What is wrong with next code

2004-10-28 Thread Vladimir Shiray
Can one explain me why I has got a result: - Warning: mysql_query(): 4 is not a valid MySQL-Link resource in ... $result = mysql_query('SELECT 1+1', $db1); - from next example. The example does not wo

[PHP] parse_ini_file problem

2004-08-27 Thread Vladimir
; Rent ) And that's all. Shouldn't parse_ini_file return all the messages I have in ini file but not only the first one? I'm using 4.3.8 on windows XP. TIA. Vladimir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] parsing question ('010.000.080.001' == `10.0.80.1`) how to be 'true'?

2004-04-08 Thread Galkov Vladimir
Two tables have diferent standarts to hold IP adresses: first: 045.012.001.002 003.000.123.231 123.230.101.080 second: 45.12.1.2 3.0.123.231 123.230.101.80 I have to compare the data and stack there .. my fantasy can't help me write regular expresion to parse first format into second or second i

[PHP] mcrypt as shared module

2003-02-26 Thread Vladimir Fedorkov
How can I attach mcrypt to PHP (FreeBSD) without recompile whole PHP ? How can I compile mcrypt as PHP shared module ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: internal site search

2003-02-18 Thread Vladimir Galkov
Windows? Linux? "Rehab Mostafa" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi guys, > i wanna make an internal site search, i wanna search my internal html > pages and php pages..and i have no clue how to do thatany help!!!

[PHP] Re: when is OOP a good choice?

2003-02-12 Thread Vladimir Galkov
if you work in comand its good thing. "Anders Thoresson" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I've just started to read about - and will soon try to write - object > oriented code. I think I've got the basics both from the PHP-bo

Re: [PHP] test

2003-01-29 Thread Vladimir Galkov
> worked will be a flame I feel ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Advice on uploaded files

2003-01-29 Thread Vladimir Galkov
Me too. I add tracks to DB only and store images as independent files. My experiments with storing images in DB shows large memory use wich slow down other processes (especialy if I need to choose several images from DB). But if pictures unnumerous and small (smaler 30-40kb) my advice - insert t

[PHP] Re: server side games question

2001-11-13 Thread Galkov Vladimir
han ofcouse better use IE5-6 as client (with it exelent object model) and server on PHP&MySQL. Vladimir. -- 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] Re: Using PHP for directory indexing

2001-11-12 Thread Galkov Vladimir
line print ''.$filenames[$ i].''; change on print ''.$filenames[$i].'' ; -- 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] Re: Using PHP for directory indexing

2001-11-12 Thread Galkov Vladimir
Hi! Kevin! Try this... :-) have a nica day! «'.START_PATH.$catalog.'»'; print $str; echo ''; echo ''; echo 'Record type Path'; for ($i = 0; $i < count($filenames); $i++) { if ($filenames[$i]!='.' && $filenames[$i]!='..') { if (is_dir(START_PATH.$catalog.'/'.$filenames[$i]))

[PHP] Re: Help me to win the battle with browser's cache

2001-11-12 Thread Galkov Vladimir
p and work with them... On logout delete or breake reg data in temp fille to resive the situation $PHP_AUTH_USER, $PHP_AUTH_PW entered before are denied now... Vladimir. "Olexandr Vynnychenko" <[EMAIL PROTECTED]> ???/ ? ?: [EMAIL PROTECTED]">news

[PHP] how do the thing?

2001-11-11 Thread Galkov Vladimir
Good time of a day! well... as for me the construction... switch($action) { case ... .. } ...is not very elegant when number of cases over 40-60 or more and the only thing they must do is start one function (often with the same name). for example: ca

[PHP] get names of vars $HTTP_POST_VARS?

2001-11-09 Thread Vladimir Galkov
Good day! Is there any way to get names of vars and values from $HTTP_POST_VARS if I don't know their names and (ofcourse) values? (number can be taken from count($HTTP_POST_VARS) ) ... This is nesesery to write a function wich write log of user's work with remote filesystem. Vladi

[PHP] how about walking another way?

2001-11-04 Thread Galkov Vladimir
ot working. (vay;-))) ) than remember than any mission can be completed in different ways try somth like this ;-) if ($name == "admin") { print ''; } .. Vladimir Galkov. -- PHP General Mailing List (http://www.php.net/) To un

[PHP] Re: Running 1 more script inside

2001-11-03 Thread Galkov Vladimir
27;); ? ... som realy this all will work as one program but realy be different files? Galkov Vladimir [EMAIL PROTECTED] ICQ 84873967 Daniel Harik <[EMAIL PROTECTED]> ïèøåò â ñîîáùåíèè:[EMAIL PROTECTED] > Hello > > Thank you for your prevoius replies > > I have 1 main php and 1 c

[PHP] Re: passing variables between pages without using url??

2001-11-03 Thread Galkov Vladimir
may be you find accepteble usint ??? -- 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] Re: Passing many valaues to function

2001-11-03 Thread Galkov Vladimir
$HTTP_ENV_VARS $HTTP_SESSION_VARS $HTTP_SERVER_VARS This arrays store different types of varbles used during script's work. I never use this method to access to vars... so can't give 100% correct advice. just a way... read about using this arrays. Galkov Vladimir -- PHP General Mailing

[PHP] Yes you can........ but....

2001-11-01 Thread Galkov Vladimir
Yes you can... Ifif I rightly understand you only well... you whant submit information without clicking submit button? .. well then you have to imagine any suported event or use meta tag.. One problrm I don't use VB script Way one... ( this is example of 100% stupid code ... only

[PHP] regular expression

2001-11-01 Thread Galkov Vladimir
Need to remove all "../" "/.." from user inputing string to prevent him walking and creating files&directories where I don't whant see them/him... The string: $path = eregi_replace('([..]{2,})|([./]{2})|([../]{3,})|([/.]{2})|([/..]{3})', '', $path); works good with any combinations ( ../.

[PHP] Re: Dynamic update of content

2001-10-31 Thread Galkov Vladimir
"]; objH1.innerText = objSelector.value; } . innerText is a content betvin Well... don't test that code... so cach only idea... but if you need more coments mail me I'll send working example. Have a nice day! --- Galkov Vladimir [EMAIL PROTECTED] --

[PHP] Re: does array sorted like you show in example?

2001-10-30 Thread Galkov Vladimir
Good day! my fingersrun faster my head ;-) ofcourse... MUST be (not in one string...) function array_element_delete_function($a, $ind) { $a[$ind] = $a[0]; unset($a[0]); sort($a); // <<<< return $a; // <<<< } - Galkov Vladimir [EMAIL PROTECTED

[PHP] does array sorted like you show in example?

2001-10-30 Thread Galkov Vladimir
Galkov Vladimir [EMAIL PROTECTED] ICQ 84873967 -- 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] need coments...

2001-10-30 Thread Galkov Vladimir
Good day! I try to wrote Web-interface for DNS. Only simple test version now. I'd like to listen your comets to make real good and useful thing. mail me you coments please Galkov Vladimir ICQ 84873967 begin 666 dns.zip M4$L#!!0``@`(`+)V7BN5U&O5OP(```4%```';6%N+G1X=(U4RV[

[PHP] Question about PDF functions and PDFLib 3.03

2001-02-15 Thread Vladimir Novakovic
I'm running PHP4.0.4pl1-Win32, Zend Engine v1.0.4, Zend Optimizer v1.0.0, I tryed to run sample script for creating PDF document. It's PHP manual script, but I get message like this: Fatal error: Call to undefined function: pdf_new() in c:/web/pdf/pdf.php on line 2 phpinfo.php said: PDF

[PHP] About old GD DLL and PHP 4.0.4pl1

2001-01-24 Thread Vladimir Novakovic
Under PHP 4.0.4pl1 (for Windows) I can not start up old php_gd.dll from older PHP distribution. This is old GD library 3.0.12 that have GIF support. (Under 4.0.3pl1 everything was fine). Does anyone have idea about this problem Thanks in advance, Vladimir P.S. I installed and new