[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] Re: server side games question

2001-11-13 Thread Galkov Vladimir
Good day! Some time ago I tried to create game server for games on line(people with people)... poker, preferance, chess and so on well as I was wery new in this action I tried diferent languages and even operation systems. At last (for some hawy rezons :-) ) I stoped on Client-Server model

[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
Good time of a day! Hello Alex! may be? but if you use $PHP_AUTH_USER, $PHP_AUTH_PW i don't see simple way if you check password every time page reqwesting... may be try to check password from temp file/table (just a miror of original). On login place reg data from original to temp and work

[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] how about walking another way?

2001-11-04 Thread Galkov Vladimir
Good time of a day! Very strange... the code you place here works good (if forget one '=' ). I thinck you have to chek what you have in $name, $MYPATH, "$MYPATH/admin.php"... by the way what error you have? not such file? ... or somth special?... If still not working. (vay;-)))

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