Re: [PHP] PHP and SOAP/XML-RPC

2001-08-27 Thread Andrey Hristov
Visit: 1)http://freshmeat.net/search/?site=Freshmeat&q=php+soapĀ§ion=projects Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Sean McCormack" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 27, 2001 6:32

Re: [PHP] PHP mysql admin?

2001-08-27 Thread Andrey Hristov
Try phpMyAdmin http://phpwizard.net/ Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Joseph Bannon" <[EMAIL PROTECTED]> To: "PHP (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, August 27, 2001 6:06 PM Subject: [PHP

Re: [PHP] MySQL: Updating ID auto_increment fields

2001-08-27 Thread Andrey Hristov
able_new select id,one,two, three,..., from table; Hope this will help. Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Tom Churm" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 27, 2001 5:08 PM Subject: [P

Re: [PHP] PCRE Multiline modifier

2001-08-27 Thread Andrey Hristov
t/manual/en/pcre.pattern.modifiers.php This produces: array(2) { [0]=> array(1) { [0]=> string(16) "hello world" } [1]=> array(1) { [0]=> string(11) "hello world" } } In this case it's better your pattern to be : "|(.+?)|is" /

Re: [PHP] Shell or http?

2001-08-27 Thread Andrey Hristov
Note that I have problems with shellscripts written on Windows the SCP to Linux. They don't run a t first time. So I've to open them with a editor(i prefer joe), remove Ms (newlines) after -q to http://www.icygen.com 99% - Original Message - From: "Jon Farmer" <[EMAIL PROTECTED]> To: "Ge

[PHP] Useful function. Better than print_r

2001-08-24 Thread Andrey Hristov
element:"'".addslashes(stripslashes($element))."'"); } return $res; } // Usage $a1 = array(1=>"dd","ff"=>array(1,2,3)); echo print_rrr("a1",$a1,0); ?> The output is: $a1 = array( 1 => 'dd', "ff" =

Re: [PHP] Getting MySQL Query Times.

2001-08-23 Thread Andrey Hristov
endtime-$this->starttime; I've copied that from a class member but the idea is clear; Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Nathan Cook" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Gabe da Silveira" &l

Re: [PHP] Getting MySQL Query Times.

2001-08-23 Thread Andrey Hristov
0]; $this->parse_time=$this->endtime-$this->starttime; I've copied from working code of a class. But the idea is clear.This way is better than time() solutuion because with microtime() you get microseconds. But have in mind that on windows there are some problems with microtime() and

Re: [PHP] Re: conf file access on host server

2001-08-23 Thread Andrey Hristov
Many conf variables can be setup at runtime. Just include(require) in every script setup.php Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Diane Mulberry" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 23

Re: [PHP] constant arrays or something like #define in c

2001-08-23 Thread Andrey Hristov
Ok, the solution is : in script1.php define("ARRAY_NAME","array1"); in script2.php define("ARRAY_NAME","array2"); in template.php: ${ARRAY_NAME}['some_index'] I didn't tested this but think that it will work. If not post a message to think

Re: [PHP] Grep Challenge 2001

2001-08-23 Thread Andrey Hristov
Try "/([\w\s]*?)/m" the "?" will force PCRE to not be *greedy*. Look in the manual of PCRE for syntaxis. Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Sondra Russell" <[EMAIL PROTECTED]> To: <[EMAIL PROTEC

Re: [PHP] always last

2001-08-23 Thread Andrey Hristov
Use a counter when fetching from the DB if you use while the $counter=0; while(list(...)=mysql_fetch_array($res)){ $option_block .= ''.$option.''; } Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Jeremy Morano" &

Re: [PHP] constant arrays or something like #define in c

2001-08-23 Thread Andrey Hristov
;,"age"=>"25"); ${SESSION_NAME}['login'] or ${SESSION_NAME}['age'] Hope this helps. Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Gregor Maier" <[EMAIL PROTECTED]> To: <[EMAIL P

Re: [PHP] OCI8 on PHP 4 Windows

2001-08-23 Thread Andrey Hristov
PHP for Windows works under SYSTEM id. Check if SYSTEM have access to read(or any other privilege) to the OCI dll. - Original Message - From: "Ridai Govinda Pombo (Engenharia BSB)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 23, 2001 5:33 PM Subject: [PHP] OCI8 on

Re: [PHP] multiple select statement

2001-08-23 Thread Andrey Hristov
in HTML in PHP code var_dump($HTTP_POST_VARS['availabilities']; Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Natasha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 23, 2001

Re: [PHP] php-counter

2001-08-22 Thread Andrey Hristov
g']==1){ // You must have the $WEBSTATS_pages array in the included file webstats.lib.php . Collecting shows if we collect info about this page db_connect(); $res = db_exec('SELECT COUNT(*) FROM webPages WHERE webpage_name="'.$page_name.'";'); list($is_there)=db_fe

Re: [PHP] Convert to int...?

2001-08-22 Thread Andrey Hristov
- Original Message - From: "Andrey Hristov" <[EMAIL PROTECTED]> To: "Seb Frost" <[EMAIL PROTECTED]> Sent: Wednesday, August 22, 2001 6:20 PM Subject: Re: [PHP] Convert to int...? > Try > $a=7.50; > $a=(int) floor($a); > var_dump($a)

Re: [PHP] Cannot get uploaded file by PUT request vith PHP4 and Apache1.3

2001-08-22 Thread Andrey Hristov
-=-=-=-=-=-=-=-=-=- or: - Original Message - From: "Martin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 22, 2001 5:26 PM Subject: [PHP] Cannot get uploaded file by PUT request vith PHP4 and Apache1.3 > I wanted to make a script to allow publishing from Ne

Re: [PHP] Web fetching script

2001-08-22 Thread Andrey Hristov
Try this: http://www.php.net/manual/en/ref.curl.php - Original Message - From: "Ben Quinn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 22, 2001 2:35 PM Subject: [PHP] Web fetching script > Hi all > > I have a web fetching script that fetches text from an externa

Re: [PHP] convert 12:12:00 to seconds

2001-08-22 Thread Andrey Hristov
Use gmmktime() or mktime() example : - Original Message - From: "nafiseh saberi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 23, 2001 4:30 PM Subject: [PHP] convert 12:12:00 to seconds > > hi. > how do I covert convert 12:12:00 to seconds ? > I want to get time

[PHP] PHP_Commander

2001-08-21 Thread Andrey Hristov
Hope this will help. Some code is grabbed from the PHP's quickref. '; echo ""; if ($dir = @opendir($HTTP_POST_VARS['dir'].'/')) { while($file = readdir($dir)) { if (is_file($HTTP_POST_VARS['dir']."/$file")){ $fsize=filesize($HTTP_POST_VARS['dir']."/$file"); }else{ $fsize=0;

<    1   2   3   4