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

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

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

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

[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

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

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] 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] 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 "; > 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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

[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

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

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'

Re: [PHP] looking for a PHP editor

2001-01-10 Thread Pavel Jartsev
"Markus H. Maussner" wrote: > > hi.. > > ..i am curious if theres anny linux (x, KDE, Gnome) php editor with syntax > highliting and this things... > bluefish is quite nice. http://bluefish.openoffice.nl/ -- Pavel a.k.a. Papi -- PHP General Mailing L

Re: [PHP] Calling a Windows Com object or an Extended Fetch?

2001-01-11 Thread Pavel Kalian
The DCOM (COM on a remote server) works fine but you still have to run PHP on a windows machine. AFAIK there's no decent way to use COM from a unix box. Pavel - Original Message - From: "Niel Zeeman" <[EMAIL PROTECTED]> To: "Paulson, Joseph V. "Jay"

Re: [PHP] HTTP autentification

2001-01-11 Thread Pavel Kalian
http://www.php.net/manual/features.http-auth.php Pavel P.S. Manual je nekdy docela prima cteni. ;-) - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 11, 2001 12:42 PM Subject: [PHP] HTTP autentification > Please, can yo

Re: [PHP] strange error

2001-01-12 Thread Pavel Jartsev
nt is, you must escape "(" here, 'cause it's metacharacter in regexp. 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] is 1 a Variable...Discoverd it just now...

2001-01-16 Thread Pavel Jartsev
Dhaval Desai wrote: > > ... > > for($i=1; $i<=$recepients; $i++) > { > echo "" .""; Maybe this line should be: echo ""; -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: [PHP] WML/WAP and PHP

2001-01-16 Thread Pavel Kalian
edict what you want to do. text/html is set as default simply because it's the type most users in most cases need. Pavel - Original Message - From: "Rick Hodger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 16, 2001 2:10 PM Subject: [PHP] WML/WA

Re: [PHP] Reading specific data from a .txt file into PHP

2001-01-16 Thread Pavel Kalian
check the manual for fgets() function. then you can maybe explode() the string using " " (space) as separator. Pavel - Original Message - From: "James Holloway" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 16, 2001 4:13 PM Subject:

Re: [PHP] WML/WAP and PHP

2001-01-16 Thread Pavel Kalian
st.php X-Powered-By: PHP/4.0.4 Content-type: text/vnd.wap.wml Hello world! C:\> Pavel - Original Message - From: "Rick Hodger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 16, 2001 5:02 PM Subject: Re: [PHP] WML/WAP and PHP >

Re: [PHP] How to handle multiple lines in PHP?

2001-01-16 Thread Pavel Kalian
nl2br() will do the translation for you, just store the text in database in the form user writes it (allows later editing of the messages in the db without having to deal with 's) and then echo(nl2br($message)) it. Pavel - Original Message - From: "Ignacio Vazquez-Abram

Re: [PHP] SESSIONS

2001-01-18 Thread Pavel Jartsev
David Tandberg-Johansen wrote: > > Hello! > > Could anyone give me an direction where I can find information something > like "session for dummies"! > It's not funny anymore. I don't have anymore hair left :-] http://www.zend.com/zend/tut/sessio

Re: [PHP] Sorting an array

2001-01-18 Thread Pavel Jartsev
SS? http://www.php.net/manual/en/function.usort.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] Error connecting to MySQL server

2001-01-19 Thread Pavel Kalian
Isn't it possible that you're just not allowed to connect to the MySQL host remotely? Pavel - Original Message - From: "Rosen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 19, 2001 10:55 AM Subject: Re: [PHP] Error connecting to MyS

Re: [PHP] mysql auto increment question

2001-01-24 Thread Pavel Jartsev
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: [EMAIL PROTECTED]

Re: [PHP] SQL Server DB to mySQL DB

2001-01-25 Thread Pavel Kalian
) Another way is to connect both the servers to Access using ODBC and just copy the tables - it's the easiest way to do that but resulting MySQL tables are quite screwed up. Pavel - Original Message - From: "Jason Bouwmeester" <[EMAIL PROTECTED]> To: <[EMAIL PROT

Re: [PHP] How do I see the data in list()?

2001-01-25 Thread Pavel Jartsev
Scott Fletcher wrote: > > ... > > What are the better way to see the data in the array? > Maybe var_dump(). http://www.php.net/manual/en/function.var-dump.php -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Outputting a 2 digit number < 10

2001-01-25 Thread Pavel Jartsev
("$i\n"); > } else { > echo("$i\n"); >} > } > echo"" > ?> > > ... Maybe this for-cycle is doing what u want (if i didn't misunderstood your question). $i2\n"; } ?> Hope this helps. -- Pavel a.k.a. Papi

Re: [PHP] array headaches

2001-02-21 Thread Pavel Kalian
a) $menu[] = array("name" => $db->f("name"), "url" => $db->f("topic_id")); b) echo $menu[0]["name"]; //for example - depends on what you want to do BTW have a look into the manual, the array stuff is described pretty well Pav

Re: [PHP] Accessing variables from a form

2001-02-21 Thread Pavel Jartsev
. And there's no need for huge amount of variables. 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] Making .phtml an extension

2001-02-21 Thread Pavel Jartsev
Brandon Orther wrote: > > Hello, > > I am trying to get .phtml to work for php files. How would I do this? If you have Apache, then following line in httpd.conf should help: AddType application/x-httpd-php .php .php3 .phtml -- Pavel a.k.a. Papi -- PHP General Mailin

Re: [PHP] help change filename.

2001-02-22 Thread Pavel Jartsev
e fopen? > > Thanks for any help. > > Regards > > Jan http://www.php.net/manual/en/function.rename.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] Newbie: Can't find function error.

2001-03-05 Thread Pavel Jartsev
Darren Ward wrote: > > ... > > The file looks like: > > > > Any ideas on what i should be looking at or for? > Try phpinfo(). :) -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: [PHP] Session problem

2001-03-14 Thread Pavel Kalian
set the session.save_path to a directory that exists on your system (for example: session.save_path = c:\temp) Pavel - Original Message - From: "Brandon Orther" <[EMAIL PROTECTED]> To: "PHP User Group" <[EMAIL PROTECTED]> Sent: Tuesday, March

Re: [PHP] xml parsing

2001-03-14 Thread Pavel Jartsev
Jon A wrote: > > ... > > print ""; > break; > > ... > print ""; > break; > > - this will let it parse, but it won't do anything with the html. >

Re: [PHP] bug or feature?

2001-03-14 Thread Pavel Jartsev
tested it on 4.0.4pl1. > i got around it by using strcasecmp(), but just wondering. :) > It's expected behaviour, i think. 'cause $value is integer, "NULL" is string and compare will convert "NULL" into integer. If condition is ($value==="NULL"), then output

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]

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

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

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

[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

[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

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

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

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] 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] %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]

[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

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

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

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] 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] 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] 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 ) Pavel > > "vishak tomy" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > He

Re: [PHP] session handling

2001-03-28 Thread Pavel Kalian
- Original Message - From: "[Inf] F!RE-WALL" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 28, 2001 12:10 PM Subject: [PHP] session handling > Every time I want to initiate a session i get this: > > Warning: open(/tmp\sess_b18426d4011c38e033bd0ed54bd2d2f1, O_RDWR) f

Re: [PHP] session handling

2001-03-28 Thread Pavel Kalian
Sorry, hit the submit button too soon :-) The session.save_path must exist on your system. Try session.save_path = C:\winnt\temp (if you're on NT/2000) or C:\windows\temp instead of /tmp Pavel - Original Message - From: "Pavel Kalian" <[EMAIL PROTECTED]> To: &quo

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,

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 peop

  1   2   >