Re: [PHP] Which Exception to use ....

2008-08-22 Thread Pavel
//sorry for my english Firstly, this list of exception show only registered in system exceptions, which (excluding one-two) are exceptions of some php mobules:mysqli,sqllite and so on... I use only Exception class and my extends on it (so and exceptions from your list are extends...). --

[PHP] include methods of one class in another

2008-08-21 Thread Pavel
Hello, firstly, sorry for my English... I have class: //--- class manageClassError{ private $errorsList=array(); private function addError($ex){ $errorsList[]=$ex; } public function isError(){ return (bool)(count($this-errorsList)); } public

Re: [PHP] include methods of one class in another

2008-08-21 Thread Pavel
use a decorator pattern or wait till hell freezes over and the core devs actually allow the Traits functionality into php. I must read about patterns, thanks :) -- === С уважением, Манылов Павел aka [R-k] icq: 949-388-0 mailto:[EMAIL PROTECTED] === А ещё говорят

Re: [PHP] Re: PHP editor for linux

2008-08-19 Thread Pavel
I use Zend Studio (shareware, but i couldn't find better things). There are some plugins for Eclipse,but if you used Zend before, you will be cunfused by that plugins... P.S. Sorry for my English... -- === С уважением, Манылов Павел aka [R-k] icq: 949-388-0 mailto:[EMAIL

Re: [PHP] Creating zip files

2008-07-09 Thread Pavel
В сообщении от Wednesday 09 July 2008 01:22:32 Eric Butera написал(а): [1] http://us2.php.net/manual/en/ref.zip.php Thank you for this link! -- === С уважением, Манылов Павел aka [R-k] icq: 949-388-0 mailto:[EMAIL PROTECTED] === А ещё говорят так: Родился сам - помоги

Re: [PHP] Case sensitive password

2008-06-21 Thread Pavel
В сообщении от Friday 20 June 2008 23:05:55 Andrew Ballard написал(а): if(preg_match('/^'.$_SESSION['userpass'].'$/i',$login)) { So, why you use /i ? :-) -- === С уважением, Манылов Павел aka [R-k] icq: 949-388-0 mailto:[EMAIL PROTECTED] === А ещё говорят так: The

Re: [PHP] phpinfo shows wrong value of post_max_size

2008-06-18 Thread Pavel
В сообщении от Wednesday 18 June 2008 14:25:35 Yi Wang написал(а): Hi, These day I'm working around large file uploading. php runs on the windows server 2003. I changed the post_max_size value in the registry. Then phpinfo reports the value changed from 8M to 200M (local value. Master value

Re: [PHP] HTML 5

2008-06-12 Thread Pavel
В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а): This may be of interest (HTML 5 diffences to HTML 4 overview): what about xHTML? html died few years ago and i thought is was official.. //sorry for my english -- === С уважением, Манылов Павел aka [R-k] icq:

Re: [PHP] PHP with C++[Zend Engine?]

2008-06-09 Thread Pavel
You wrote: 4) Post questions here if you have problems but be sure you show that you've done 1-3 or we'll ignore you. I read this book and some else,but nothing book helped me in writing Zend - Extension... I'd like to wrote some similar but simplier them Zend Encoder... If you can, help me

Re: [PHP] PHP with C++

2008-06-09 Thread Pavel
You wrote: 4) Post questions here if you have problems but be sure you show that you've done 1-3 or we'll ignore you. I read this book and some else,but nothing book helped me in writing Zend - Extension... I'd like to wrote some similar but simplier them Zend Encoder... If you can, help me

[PHP] tidy extension is loaded but not working

2008-01-04 Thread Pavel Pragin
: Fatal error: Class 'tidy' not found in /var/www/html/_autodesk.com/aliasdesign/releases/20071226192151/tidy.php on line 16 Please help what I am missing? Thank You . PAVEL PRAGIN [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] T 650.328.3900 M 650.521.4377 F 650.328.3901

[PHP] Different size of file on server and on output

2007-10-22 Thread Pavel Janda
increasing one byte? Whitch byte it is? Thanks a lot! Pavel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Different size of file on server and on output

2007-10-22 Thread Pavel Janda
Thanks a lot. However there wasn't any visible whitespace in code, leaving of ? helped... I haven't known, that it is not required :o). Thank you very much again! Pavel M. Sokolewicz napsal(a): Pavel Janda wrote: Hello to everybody, I have this problem with downloading files via PHP

[PHP] Problem with MySQL

2007-03-20 Thread Pavel Kaznarskiy
\localhost\www\2.php on line 14 Warning: mysql_query(): A link to the server could not be established in z:\home\localhost\www\2.php on line 14 Database Selected: i what does it' mean? -- Best regards, Pavelmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] Pagination

2005-03-24 Thread pavel
); after get count of all records: $sql='SELECT FOUND_ROWS()'; (I would like there to be a next and previous.) you can use http://pear.php.net/package/Pager -- Pavel Vrany http://ogi.cz/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can I destroy parameters by page

2005-03-24 Thread pavel
IHow Can I destroy some variable that I pass by url, exmple: http://webadmin/paginas/personalidades.php?ac2=deleteitem=18# then when i get the varibale ac2 and item, I want to delete the value of this variable. unset($_GET['item']) ? http://www.php.net/manual/en/function.unset.php -- Pavel

[PHP] Re: Need direction on PHP-CLI MUD Server

2004-09-02 Thread Pavel Jartsev
Don Myers wrote: ... B. Since the PHP-CLI script never ends how can I send the first echo You have...? Maybe flush() helps. http://www.php.net/manual/en/function.flush.php -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Problem when scaling Jpeg images with libgd

2004-05-20 Thread Pavel Jartsev
Oôv asäönsson wrote: ... Does anyone have any suggestion what i can do? Just a wild guess.. What happens if You use imagecreatetruecolor() instead of imagecreate() and imagecopyresampled() instead of imagecopyresized()? -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net

[PHP] Re: How to Request?

2004-04-06 Thread Pavel Jartsev
']); } if ( isset( $_REQUEST['fd'] ) isset( $_REQUEST['c'] )) { $vehicle = $_REQUEST['fd']; $color = $_REQUEST['c']; } Hope that helps. -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to...

2004-04-06 Thread Pavel Jartsev
, but with 0 success. Try onLoad-event of BODY-tag, i.e. send such HTML to browser: html body onLoad=window.close(); /body /html Hope that helps. -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: locking to domain

2004-01-30 Thread Pavel Jartsev
. :) -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why are my style sheets all listed on one line?

2004-01-30 Thread Pavel Jartsev
that helps. :) -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Hope any body can fix this!!!

2004-01-28 Thread Pavel Jartsev
- $RightLoginTime'); Hope that helps. :) -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Making coockies valid for multiple domains possible?

2004-01-12 Thread Pavel Janda
Merlin [EMAIL PROTECTED] píse v diskusním príspevku news:[EMAIL PROTECTED] Hello everybody, I am working on translating my site into multiple languages (i18n). Each different language is hosted on the same server, but on a different subdomain. example: de.server.com - german en.server.com

Re: [PHP] Making coockies valid for multiple domains possible?

2004-01-12 Thread Pavel Janda
Someone correct me if I'm wrong, but if you set this in your php.ini or with session_set_cookie_params() to server.com, it's valid across any sub domains, whereas if you set it to de.server.com, it would only be valid in the de.server.com sub domain. Or possibly try *server.com. I havn't

[PHP] Time Limit in save-mode

2004-01-09 Thread Pavel Janda
Hello, a have this problem. I am reading some data from another server via http-conection for which I have used fsock_open. But sometimes, it is possible, that reading is longer, than for example 5 seconds, and I want to stop this reading a return false... I found function set_time_limit,

[PHP] Re: not sure why regex is doing this

2004-01-09 Thread Pavel Janda
Hi Craig, the mistake is in regex, because you replace only the pair of , with ,NULL,... So in case, that there are tree , in row, there is only one pair and it means one replacing.. For example, when your string is like this: (12345) //two pair of ,, the result is (12345,NULL,,NULL,) But

[PHP] Re: not sure why regex is doing this

2004-01-09 Thread Pavel Janda
Hi again, I am not sure, that it is the clearest way, how to do it, but I've tried this: ? $query=(4536,'golf tournament management',4300,0), (1434,'Premium golf balls'0),; while (eregi(',\s*,',$query)): $query = preg_replace('/,\s*,/',',NULL,', $query, -1); endwhile; echo

[PHP] Re: pgp form handler will not display data

2003-12-23 Thread Pavel Jartsev
; // etc... ? -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Inserting function into mail()???

2003-12-17 Thread Pavel Jartsev
this is the reason. -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: can tomcat server run PHP??

2003-12-12 Thread Pavel Jartsev
Sheawh wrote: Can i run PHP using Apache tomcat server?? From Google: http://www.mail-archive.com/[EMAIL PROTECTED]/msg108708.html -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: question on which day is the first day of the week

2003-12-11 Thread Pavel Jartsev
??? wrote: ... How can readjust the date function to make each week start with Sunday, instead of Monday? thank you http://www.php.net/manual/en/function.strftime.php Look at conversion specifiers like %U and %W. -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net

[PHP] Re: Generate automatic list of dates

2003-12-02 Thread Pavel Jartsev
current $first_date into timestamp, 2) add 1 day (in seconds), 3) convert it back to SQL-format and use it in next cycle-step. } -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file uploads

2003-12-01 Thread Pavel Jartsev
. -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Telling GD2 Where Fonts Are

2003-11-28 Thread Pavel Jartsev
...): $font = '/Fonts/arial.ttf'; Hope that helps. -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is there a php built-in function to determine the number of dimensions of the array?

2003-11-26 Thread Pavel Jartsev
[EMAIL PROTECTED] wrote: Hello all mailing list, I am wondering if it exists a PHP built-in function to determine the numbers of dimensions of any type of array (indexed, and associative), thanks for any help, bye. http://www.php.net/manual/en/function.count.php -- Pavel a.k.a. Papi -- PHP

Re: [PHP] include/require not allowed in classes?

2003-11-17 Thread Pavel Jartsev
constant initializers for var variables are allowed. To initialize variables with non-constant values, you need an initialization function which is called automatically when an object is being constructed from the class. Such a function is called a constructor (see below). -- Pavel a.k.a. Papi

Re: [PHP] PHP browser windows control.

2003-11-17 Thread Pavel Jartsev
Carles Xavier Munyoz Baldó wrote: ... May I do it using PHP ? No, PHP is unfortunately server-side. :) I believe thah I can do it using javascript ... may someone give me a web address where can I get any help about this iussue ? Maybe here: http://javascript.internet.com/ -- Pavel a.k.a. Papi

Re: [PHP] setting a global var so that all pages can see var

2003-11-17 Thread Pavel Jartsev
'] ?View database/abr ...or this way ? echo 'a href=edit.php?tablename='.$_GET['tablename'].'View database/abr'; ? -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] include/require not allowed in classes?

2003-11-14 Thread Pavel Jartsev
. Solutions: 1) Define those connection parameters as constants, i.e. define( 'MR_Host', some.host ) etc. And use those constants in ads_DB-class definition. 2) Create constructor for ads_DB-class and initialize var-s there. Hope that helps. :) -- Pavel a.k.a. Papi -- PHP General Mailing List

Re: [PHP] Remove HTML TAGS

2003-11-13 Thread Pavel Jartsev
D. Jame wrote: HI, Is ther any way to remove HTML tags from Source File with PHP http://www.php.net/manual/en/function.strip-tags.php -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reset auto_increment field

2003-11-11 Thread Pavel Jartsev
Christian Ista wrote: How reset a MySQL auto_incrment field ? ALTER TABLE table_name AUTO_INCREMENT = value -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] About php

2003-11-10 Thread Pavel Jartsev
webmaster wrote: We have a data base in access 2000. Could you advise which version of php will connect to the access. Please advise also how can i open the connection . Look into ODBC-functions: http://www.php.net/manual/en/function.odbc-connect.php -- Pavel a.k.a. Papi -- PHP General Mailing

Re: [PHP] replace special chars

2003-11-05 Thread Pavel Jartsev
() and/or htmlentities(). -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Count lines or chars

2003-10-17 Thread Pavel Jartsev
' ); $lines_count = count( $file ); -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Object and properties

2003-10-13 Thread Pavel Jartsev
Cosmin wrote: Is there a way to find out all the properties from an object? ... Try this: http://www.php.net/manual/en/function.get-object-vars.php -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error in creating BTML(BT Markup Language)

2003-10-13 Thread Pavel Jartsev
Bas wrote: ... echo IMG SRC=\ . $bttags['image'] . \; Seems that U don't have closing double-quote () in line above. It should be: echo IMG SRC=\ . $bttags['image'] . \; -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ps command in php

2003-10-06 Thread Pavel Jartsev
the table. Is there any solution for this? Just remove first line of Your code or replace 'text/plain' with 'text/html'. And put ? echo $ps; ? inside PRE-tags, as anwsered previously. -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] PHP/Apache - Problem with REMOTE_USER var.

2003-06-09 Thread Pavel Janda
. (The computer, whitch is OK is using apache 1.32 and the bad comp. is using apache 2.0.X(?)... - if this information can help anyone to find the mistake)... Any idea, where is the problem? Thank you very much for any help!!! Pavel -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: Little help

2003-06-09 Thread Pavel Janda
I've just visited your web from Czech rep... Does your script work OK? :o)) Pavel Mike Mannakee [EMAIL PROTECTED] pí¹e v diskusním pøíspìvku news:[EMAIL PROTECTED] Hi, I have a script that records the languange and time zone of every user that comes to the site. Currently I am testing

Re: [PHP] condensing a list from MySQL

2003-06-09 Thread Pavel Janda
, that the problem with duplicates can be solved by using distinct parametr in SQL-query whitch count each keyword only once, however it is there ten times... Pavel The process of creating the table and creating the array are about the same. The table will give you more flexibility, though

Re: [PHP] Linux PHP editor

2002-08-09 Thread Pavel Jartsev
can contain markers like those used in debuggers to indicate breakpoints and the current line. Styling choices are more open than with many editors, allowing the use of proportional fonts, bold and italics, multiple foreground and background colours and multiple fonts. -- Pavel a.k.a. Papi

Re: [PHP] graphing packages

2002-04-15 Thread Pavel Jartsev
://freshmeat.net/projects/phpgraphs/ -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] include, include_once bug or feature ?

2002-03-14 Thread Pavel Plesov
; ? -- At output i'll gets nothing :( No any global variables. But, at index.php I get it all. If I move include() to global scope, all ok. It's feature, or bug ? -- Pavel Plesov Simpage support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] include, include_once bug or feature ?

2002-03-14 Thread Pavel Plesov
, : the included vars do not exist at all. : : This is a feature, not a bug. Thanks. Now, I understood :) -- Pavel Plesov Simpage support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Array !!!

2002-02-06 Thread Pavel Zvertsov
Help!! How to move an array's internal pointer to the required element not the first one or last one??? Thanks!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Print ONCE ONLY?????

2002-01-12 Thread Pavel Kharitonov
you are always skipping the first record. Sincerely, Pavel Kharitonov Project Manager Intechnic Corporation http://www.intechnic.com Phone: (847) 816-1231 -Original Message- From: Michael Kimsal [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 12, 2002 5:14 PM To: Dani Cc: PHP LIST

[PHP] Problem input in flex scanner failed

2002-01-09 Thread Pavel Kharitonov
)) include(/***path***/info/$my_cat_cust1); ? I'm running 4.0.6 on a Redhat 6.2 I'm completely stumped, this looks like a completely innocent code. Any help or hits would be really appreciated!! Sincerely, Pavel Kharitonov Project Manager Intechnic Corporation http://www.intechnic.com Phone: (847) 816

RE: [PHP] Newbie question

2002-01-09 Thread Pavel Kharitonov
' AND nfl_team='$aqfl_player_nfl_team'); $row_id=mysql_fetch_array($result); $nfl_player_id = $row_id[0]; //end This will get you the right ID and should allow to do the update, unless there are other pbs :) Sincerely, Pavel Kharitonov Project Manager Intechnic Corporation http://www.intechnic.com

RE: [PHP] Form Problem

2002-01-09 Thread Pavel Kharitonov
to stop submitting - a BASE tag. I still do not understand why. I ended up deleting the entire directory, re-uploading the files and they started working all of a sudden. I know it's not much help, just my 2 cents. Sincerely, Pavel Kharitonov Project Manager Intechnic Corporation http

Re: [PHP] Parsing syntax to add a HTML line break

2001-12-18 Thread Pavel Jartsev
()': http://www.php.net/manual/en/function.nl2br.php -- Pavel a.k.a. Papi -- 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] Dynamic PHP

2001-12-05 Thread Pavel Jartsev
/manual/en/function.eval.php -- Pavel a.k.a. Papi -- 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] Partial answer to FOLLOW UP on column names not liked by odbc/php/access

2001-12-05 Thread Pavel Jartsev
( ... . It should be ... Unico) VALUES ( ... . -- Pavel a.k.a. Papi -- 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] problem with xgettext and php with javascript file

2001-11-16 Thread Pavel Novák
);? script language=JavaScript !-- function zmen_cenu() { window.opener.document.celkem.cena_celkem.value = ?= $str?; } // -- /script --- gettext makes this good. Do you know where is a problem? My gettext version is 0.10.35 Thanks, Pavel Novák

[PHP] Re: problem with xgettext and php with javascript file

2001-11-16 Thread Pavel Novak
now it is the same problem without javascript: FIRST file includes only this row: input type=submit name=submit_dotaz value=?=_(Odeslat dotaz)? class=tlacitko SECOND file includes this: ?$str=_(Odeslat dotaz)? input type=submit name=submit_dotaz value=?=_$str? class=tlacitko When I use:

[PHP] Re: problem with xgettext and php with javascript file

2001-11-16 Thread Pavel Novak
so I know where is the problem: input type=submit name=bla value=?=_(Odeslat dotaz)? gettext is seeking through all of strings in the file, it thinks that one string is: ?=_( and second: )? And it doesn't work even with this: value=?=_('Odeslat dotaz')? or this: value='?=_(Odeslat dotaz)?'

Re: [PHP] %20

2001-11-14 Thread Pavel Jartsev
/function.rawurlencode.php -- Pavel a.k.a. Papi -- 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] editor for working with php

2001-10-26 Thread Pavel Jartsev
Ray Todd Stevens wrote: I ahve been using go-live (4.0) to edit pages containing php scripts. this is not really working well. Is there a better way or a better editor to use for this? Try SciTE: http://www.scintilla.org/ -- Pavel a.k.a. Papi -- PHP General Mailing List (http

Re: [PHP] preg_match_all...grrrr!!!

2001-10-23 Thread Pavel Jartsev
=(.*?)street=(.*?)city=(.*?)state=(.*?)zip=(.*?)phone=(.*?)\/i'; Try this pattern: $engreg = '/psPhoneEntry\.py\?firstname=(.*)lastname=(.*)street=(.*)city=(.*)state=(.*)zip=(.*)phone=(.*)/i'; -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Matching strings in a flat/text file?

2001-10-23 Thread Pavel Jartsev
= TRUE; elseif ($read ereg('^##end', $f)) { $read = FALSE; break; } elseif ($read) $content .= $f; } } } echo content=$contentbr; ? Hope this helps. :) -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Warning: offset not contained in string

2001-09-26 Thread Pavel Kharitonov
the following code: $query.= WHERE ses_id=$sid; This warning started happening after I added some ' (single quotes) to the string $query somewhere else at the top. At least that's the best reason I can come up with. TIA Sincerely, Pavel Kharitonov Project Manager Intechnic Corporation http

Re: [PHP] Statement Confusion

2001-09-06 Thread Pavel Jartsev
Jordan Elver wrote: Hi, Could any one explain what this statemnt means? $i = (!$i)?0:$i; http://www.php.net/manual/en/language.operators.comparison.php RTFM :) -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] problem with constants

2001-08-24 Thread Pavel Jartsev
... Use $variable['value'] or $variable[value]. Because, if you use $variable[value], then PHP thinks that 'value' is some constant, not string. This is why these warnings occurs. -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] PHP sendmail

2001-08-24 Thread Pavel Jartsev
://www.php.net/manual/en/configuration.php#ini.sendmail-path -- Pavel a.k.a. Papi -- 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] who can give me a article about begining Regular expression?

2001-08-23 Thread Pavel Jartsev
liufeng wrote: thanks! i want to learn Regular expression. http://www.php.net/manual/en/pcre.pattern.syntax.php -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] Eval error

2001-08-16 Thread Pavel Jartsev
arrays, it's much easier. Set name of fields like this: email[0], email[1] and email[2]. Now after submitting the form you have array $email. And for-loop will be: ? for($i=0; $i sizeof($email); $i++) { echo $email[$i]; } ? Hope this helps. -- Pavel a.k.a. Papi -- PHP General Mailing List (http

Re: [PHP] .htaccess username

2001-08-16 Thread Pavel Jartsev
?? (and if ,... how? ;) $PHP_AUTH_USER and $PHP_AUTH_PW. -- Pavel a.k.a. Papi -- 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] Addtype command in htaccess

2001-08-16 Thread Pavel Jartsev
and it's ok. -- Pavel a.k.a. Papi -- 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] PHP on client-side

2001-08-16 Thread Pavel Jartsev
this project was to prove that PHP can be used to write client-side GUI applications. -- Pavel a.k.a. Papi -- 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

Re: [PHP] Select

2001-08-14 Thread Pavel Jartsev
like this: ? while ($data=mysql_fetch_row($result)) { ... // do here something with $data array ... } ? -- Pavel a.k.a. Papi -- 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

Re: [PHP] how to create directory through php on linux platform??

2001-08-09 Thread Pavel Jartsev
Balaji Ankem wrote: Hi! dear friends, how to create directory through php on linux platform?? http://www.php.net/manual/en/function.mkdir.php and how to give permissions to the directory. http://www.php.net/manual/en/function.chmod.php -- Pavel a.k.a. Papi -- PHP General

Re: [PHP] Php page

2001-08-09 Thread Pavel Jartsev
=projects -- Pavel a.k.a. Papi -- 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] getting auto-incrementing fields

2001-07-12 Thread Pavel Jartsev
help?? Maybe this helps: http://www.php.net/manual/en/function.mysql-insert-id.php -- Pavel a.k.a. Papi -- 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

Re: [PHP] for() problem on php-4.0.6

2001-07-09 Thread Pavel Jartsev
is the different between verisons? or how can I solve this? Try this: ? for ( $idx = 1; $idx = 12; $idx++ ) { printf( option value=\%02d\\n,$idx ); } ? See also: http://www.php.net/manual/en/function.printf.php http://www.php.net/manual/en/function.sprintf.php -- Pavel a.k.a. Papi -- PHP

Re: [PHP] NONE

2001-06-20 Thread Pavel Kalian
www.google.com Pavel - Original Message - From: Ali Amirnezhad [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 5:47 AM Subject: [PHP] NONE Hi every body, I look for some plase to find good programs for APACHE web server on Windows, such as PHP for windows

Re: [PHP] time

2001-06-20 Thread Pavel Jartsev
Jon Yaggie wrote: quickly can some one tell me if time() return server or usersystem time? Server time. -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] Need recommendation: good user management system (PHP/MySQL)

2001-06-20 Thread Pavel Jartsev
the usual member management script. Thanks in advance! // Andreas Maybe this link helps a little: http://freshmeat.net/search/?q=php+user+management -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] Executing PHP stored in MySQL-database?

2001-05-24 Thread Pavel Jartsev
it? ... Use eval(). http://www.php.net/manual/en/function.eval.php -- Pavel a.k.a. Papi -- 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] Building a Chat Room

2001-05-24 Thread Pavel Jartsev
ryan.barnett1 wrote: Hey All, Does anyone know where I can find a nice PHP chat room script? ... Have you tried this site: http://freshmeat.net/search/?q=php+chat -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Converting MySQL Date (2001-05-21) to Friendly Date (21 May 2001)

2001-05-23 Thread Pavel Jartsev
this helps. -- Pavel a.k.a. Papi -- 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] Recompiling PHP with MySQL

2001-05-22 Thread Pavel Jartsev
Mandrake). -- Pavel a.k.a. Papi -- 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] Refresh problems

2001-05-17 Thread Pavel Jartsev
this: ? echo 'img src=image.gif?' . time() . ''; ? Now, for browser this image source is a little different every time and it must be requested from server, not from cache. At least Netscape does. Hope this helps. -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net

Re: [PHP] Passing Objects Vol II

2001-05-11 Thread Pavel Kalian
In index2.php change the line $myInstance=urldecode ( unserialize($passedClass) ); to $myInstance=unserialize ( urldecode($passedClass) ); and you should be happy... I also assume you have register_globals turned on in php.ini. Pavel - Original Message - From: [EMAIL PROTECTED

Re: [PHP] simple form validation

2001-04-26 Thread Pavel Jartsev
... ? Hope this helps. -- Pavel a.k.a. Papi -- 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] Tough comparison problem.

2001-04-26 Thread Pavel Jartsev
do the thing: ? $arr1=array('a'='aa','b'='bb'); $arr2=array('c'='cc','d'='cc'); for(reset($arr1);$i=key($arr1);next($arr1)){ for(reset($arr2);$j=key($arr2);next($arr2)){ /* * compare here $arr1[$i] with $arr2[$j] and do something */ ... } } ? -- Pavel a.k.a. Papi -- PHP General

Re: [PHP] PLEASE HELP!! STRANGE ERROR!! IS THERE ANY PHP DEVELOPER?

2001-04-25 Thread Pavel Jartsev
typo, but line above should be: SELECT NAME=sel onChange=hidden_field.value=this.value3 -- Pavel a.k.a. Papi -- 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

Re: [PHP] How many color can html recongize in Word.

2001-04-19 Thread Pavel Jartsev
hould I use.. Maybe this link helps a little: http://developer.netscape.com/docs/manuals/htmlguid/colortab.htm -- Pavel a.k.a. Papi -- 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 ad

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Pavel Kalian
Zend Compiler got renamed to Zend Encoder. Pavel - Original Message - From: "Marian Vasile" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 30, 2001 11:19 AM Subject: Re: [PHP] Compile .php file is possible ? I've seen many people talking about Zend compiler

Re: [PHP] How may :)

2001-03-29 Thread Pavel Jartsev
Nilesh Parmar wrote: Hi Does anyone know how many keywords does PHP have.And where can I find them ? You can find them here: http://www.php.net/manual/en/reserved.php -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] About php

2001-03-28 Thread Pavel Kalian
You can only reference such elements using it's indexes in javascript. try formName.elements[3].value //(replace 3 with the index of your select) Pavel "vishak tomy" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I have a

  1   2   >