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...). -- ===

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] === А ещё говорят т

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

Re: [PHP] Re: PHP editor for linux

2008-08-18 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 PROTECTED

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] === А ещё говорят так: T

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

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

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

[PHP] tidy extension is loaded but not working

2008-01-04 Thread Pavel Pragin
get this error: 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.

[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

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

2007-10-22 Thread Pavel Janda
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] Problem with MySQL

2007-03-20 Thread Pavel Kaznarskiy
calhost\www\2.php on line 12 Warning: mysql_query(): Access denied for user 'ODBC'@'localhost' (using password: NO) in z:\home\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://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
nual/en/function.unset.php -- Pavel Vrany http://ogi.cz/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pagination

2005-03-24 Thread pavel
$records ); 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.ph

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

Re: [PHP] How to...

2004-04-06 Thread Pavel Jartsev
oad"-event of BODY-tag, i.e. send such HTML to browser: 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: How to Request?

2004-04-06 Thread Pavel Jartsev
T['fd']); $color = ($_REQUEST['c']); } 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] Why are my style sheets all listed on one line?

2004-01-30 Thread Pavel Jartsev
")? "newline"-character should be inside double quotes ("\n"). For example: instead of: echo '\r\n'; use: echo ''."\n"; 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
;HTTP_HOST'] and make decisions according to it. 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: Hope any body can fix this!!!

2004-01-28 Thread Pavel Jartsev
Distance) VALUES ('$LogoutTime - $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

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'

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

[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: As you can see, I've added more ","s to your string to try, if it works good and it seems, that yes... PJ "Craig" <[EMAIL PROTECTED]> píse v diskusním príspevku news:[EMAIL PROTECTED] > Hi, > > I have a

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

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

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

2003-12-23 Thread Pavel Jartsev
know that they are being passed correctly to the form. On submit, the form below displays as follows below. print " the referring doctor is $referringdr .\n"; ... Better try to use superglobals like $_GET, $_POST or $_REQUEST. Eg.: \n"; // etc... ?> -- Pavel a.k.a. Papi -- PHP Ge

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

2003-12-17 Thread Pavel Jartsev
e only 2 times.. not 10. Maybe 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.

[PHP] Re: Generate automatic list of dates

2003-12-02 Thread Pavel Jartsev
TO HERE 1) Convert 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
same in those examples. In "move_uploaded_file()" it contains "_img/...", but in "storeBigImage()" there is "_lib/...". And therefore first case is working and second isn't. -- 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
quot;Macintosh HD" is actually / to the UNIX layer of the OS...): $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] setting a global var so that all pages can see var

2003-11-17 Thread Pavel Jartsev
PAUL FERRIE wrote: > ... add new data to the DB On the links have: View database U are outputting those links incorrectly, because resulting HTML contains "$tablename". Try output those links this way... View database ...or this way echo 'View database'; ?> -

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/ -- P

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

2003-11-17 Thread Pavel Jartsev
"In PHP 4, only 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)

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

2003-11-14 Thread Pavel Jartsev
;-s with non-constant values. 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&q

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
laced with "something else" ;) There could be other strange characters as well that needs to be replaced, so some sort of universal function would be really nice to get tips on… ;) Sincerely Victor Try "htmlspecialchars()" and/or "htmlentities()". -- Pavel a.k.a. Pap

Re: [PHP] Count lines or chars

2003-10-17 Thread Pavel Jartsev
e/file.ext' ); $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] Error in creating BTML(BT Markup Language)

2003-10-13 Thread Pavel Jartsev
Bas wrote: > ... > echo "; > Seems that U don't have closing double-quote (") in line above. It should be: echo ""; -- 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] ps command in php

2003-10-06 Thread Pavel Jartsev
Michael P. Carel wrote: When I do this: I can also see the HTML code, i need to put the output inside the table. Is there any solution for this? Just remove first line of Your code or replace 'text/plain' with 'text/html'. And put inside -tags, as anwsered p

Re: [PHP] condensing a list from MySQL

2003-06-09 Thread Pavel Janda
ng back to the "article" or whatever > you have. I think, 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 an

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

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

2003-06-09 Thread Pavel Janda
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

Re: [PHP] Linux PHP editor

2002-08-09 Thread Pavel Jartsev
ators, code completion and call tips. The selection margin 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 backgrou

Re: [PHP] graphing packages

2002-04-15 Thread Pavel Jartsev
his helps a little: http://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

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] include, include_once bug or feature ?

2002-03-14 Thread Pavel Plesov
al 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

[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
a. So 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

RE: [PHP] Form Problem

2002-01-09 Thread Pavel Kharitonov
to stop submitting - a 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

RE: [PHP] Newbie question

2002-01-09 Thread Pavel Kharitonov
last_name='$aqfl_player_last' AND position='$aqfl_player_position' 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, un

[PHP] Problem "input in flex scanner failed"

2002-01-09 Thread Pavel Kharitonov
de. Any help or hits would be really appreciated!! Sincerely, Pavel Kharitonov Project Manager Intechnic Corporation http://www.intechnic.com Phone: (847) 816-1231 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

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

2001-12-18 Thread Pavel Jartsev
> One possibility is to use 'nl2br()': 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] Partial answer to "FOLLOW UP on "column names not liked by odbc/php/access"

2001-12-05 Thread Pavel Jartsev
x27;, '1', '20011205111456', 'asdas erfver', 'ciao >>ni', '2.5', 'Non andare a capo!');" >> >> Maybe it's just typo (like missing table name), but U have in statement " ... Unico, VALUES ( ... ". 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]

Re: [PHP] Dynamic PHP

2001-12-05 Thread Pavel Jartsev
ute $mycode > ?> > Maybe U need this function: 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] Excel and PHP in Unix

2001-11-30 Thread Pavel Jartsev
Windows version of PHP. > > I want to know how I can write a Excel file but using a Unix version of > PHP. > > Thanks! > Maybe this helps a little: http://sourceforge.net/projects/psxlsgen/ -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To u

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

2001-11-16 Thread Pavel Novak
so I know where is the problem: "> gettext is seeking through all of strings in the file, it thinks that one string is: "" And it doesn't work even with this: value="" or this: value='' Does anybody know how I can do it to be good? -- PHP General Mailing List (http://www.php.net/) To unsu

[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: " class="tlacitko"> SECOND file includes this: When I use: xgettext --keyword=_ file.php on FIRST file I don't get any error message, but it doesn't create the file 'messages.po' but on SECOND file it create

[PHP] problem with xgettext and php with javascript file

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

Re: [PHP] %20

2001-11-14 Thread Pavel Jartsev
program my system? > You need this: http://www.php.net/manual/en/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 L

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

2001-10-22 Thread Pavel Jartsev
content, blah blah > ##end > > ##nissan > This is more content... yadda yadda > ##end > > ... > Try this little code snippet: "; ?> Hope this helps. :) -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

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

2001-10-22 Thread Pavel Jartsev
pattern looks like this: > $engreg = > >'/psPhoneEntry.py?firstname=(.*?)&lastname=(.*?)&street=(.*?)&city=(.*?)&state=(.*?)&zip=(.*?)&phone=(.*?)\">/i'; > Try this pattern: $engreg = '/psPhoneEntry\.py\?firstname=(.*)&lastname=(.*)&stre

[PHP] Warning: offset not contained in string

2001-09-26 Thread Pavel Kharitonov
t; line xxx contains 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 Khariton

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 unsubscri

Re: [PHP] PHP & sendmail

2001-08-24 Thread Pavel Jartsev
it. Is >it posible ? http://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] problem with constants

2001-08-24 Thread Pavel Jartsev
ny input and help to solve this problem ... > 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 M

Re: [PHP] who can give me a article about begining Regular expression?

2001-08-22 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 PROT

Re: [PHP] PHP on client-side

2001-08-16 Thread Pavel Jartsev
ls behind 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,

Re: [PHP] Addtype command in htaccess

2001-08-16 Thread Pavel Jartsev
ttpd-php4 .html Just remove the '4' from this line 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] .htaccess username

2001-08-16 Thread Pavel Jartsev
reads out the usersname "patrick" ?? > > (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] Eval error

2001-08-16 Thread Pavel Jartsev
combr/cgi-local/envia.php(19) : eval()'d code on line > 1 > > Can anyone please help me? > Use 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: Hope this he

Re: [PHP] Select

2001-08-14 Thread Pavel Jartsev
f you want to get all result, use while-loop like this: -- 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 page

2001-08-09 Thread Pavel Jartsev
reshmeat&q=php+banner§ion=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] 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

Re: [PHP] the triple equal sign?

2001-07-16 Thread Pavel Jartsev
elias wrote: > > What is the '===' ? > http://www.php.net/manual/en/language.operators.comparison.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]

Re: [PHP] getting auto-incrementing fields

2001-07-12 Thread Pavel Jartsev
er for the new row. > > Can anyone 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

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

2001-07-09 Thread Pavel Jartsev
n 4.0.6 version, it writes > > 01, 2, 3, 4, ... 12 > > what is the different between verisons? or how can I solve this? > Try this: \n",$idx ); } ?> See also: http://www.php.net/manual/en/function.printf.php http://www.php.net/manual/en/function.sprintf.php -- Pavel a

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

2001-06-20 Thread Pavel Jartsev
ript to > password protect an area of my site and add/edit > user's accounts. You know 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 -- P

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 PROTEC

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

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/)

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

2001-05-24 Thread Pavel Jartsev
how to > * store PHP-code in a database > * and execute 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

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

2001-05-23 Thread Pavel Jartsev
page? > > I've tried > > print date("jS F Y", $dbtable[date]); > > but I always get "1st January 1970" because I don't know how to convert the > MySQL date into a PHP timestamp. > > Can someone tell me how to do it please? > M

Re: [PHP] Recompiling PHP with MySQL

2001-05-22 Thread Pavel Jartsev
PM/RPMS/. (Talking about 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
; Let your php generates sources for images like this: '; ?> 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

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] Tough comparison problem.

2001-04-26 Thread Pavel Jartsev
nderstood Your question, then this double-loop should do the thing: '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)){ /* * co

Re: [PHP] simple form validation

2001-04-26 Thread Pavel Jartsev
Jamie Saunders wrote: > > ... > > Right, you still with me? What I'd like to know is how to validate a text > field in an HTML form to make sure it only contains numbers. > > ... > Try this: Hope this helps. -- Pavel a.k.a. Papi -- PHP General Mailing

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

2001-04-25 Thread Pavel Jartsev
Daniel BI wrote: > > Did anybody have the same error? > > I have this simple script: > > === > session_start() ; > ?> > > ENCTYPE="multipart/form-data" ACTION="another_script.php"> > > -- Pavel a.k.

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

2001-04-19 Thread Pavel Jartsev
wording should 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

Re: [PHP] PEAR

2001-04-16 Thread Pavel Jartsev
lease provide a link? > > Chris http://www.php.net/manual/en/pear.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]

  1   2   >