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) failed:

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 13, 2001 10

Re: [PHP] xml parsing

2001-03-14 Thread Pavel Jartsev
won't do anything with the html. can somebody help me?? Try this: print 'img src="'.$element_attrs['IMG'].'"'; -- 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] bug or feature?

2001-03-14 Thread Pavel Jartsev
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 will be "Value is not null.". RTFM ;-) -- Pavel a.k.a. Papi

Re: [PHP] help change filename.

2001-02-22 Thread Pavel Jartsev
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] Accessing variables from a form

2001-02-21 Thread Pavel Jartsev
$phone, $fax. Now, for values from first table use: $name[0], $phone[0], $fax[0]. For second: $name[1], $phone[1], $fax[1]. etc... 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-mai

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 Mailing List (http

Re: [PHP] Netscape not resolving $PHPSELF ??

2001-02-13 Thread Pavel Jartsev
r. And all the other vars in those echo statements are properly resoved into value. Try $PHP_SELF. -- 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 administra

Re: [PHP] PHP vs JSP

2001-02-13 Thread Pavel Jartsev
something: http://php.weblogs.com/jsp Maybe it helps a little. :) -- 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] Com

2001-02-07 Thread Pavel Kalian
The COM construct was introduced in PHP4 as a replacement for com_* functions to provide something looking similar to MS's syntax AFAIK and it exists and works at least for me and many others. And it behaves more or less like a normal class. Cheers Pavel - Original Message - From

Re: [PHP] SQL Server DB to mySQL DB

2001-01-25 Thread Pavel Kalian
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 PROTECTED] Sent: Thursday, January

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 PROTECTED] For additional

Re: [PHP] Outputting a 2 digit number 10

2001-01-25 Thread Pavel Jartsev
$i=1; $i$daysinmonth+1; $i++){ $i2 = sprintf( "%02d", $i ); echo "option value=\"".$i2."\"".( $i2 == $day ? ' selected' : '' )."$i2\n"; } ? 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] 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 MySQL server When I conne

Re: [PHP] Sorting an array

2001-01-18 Thread Pavel Jartsev
/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] is 1 a Variable...Discoverd it just now...

2001-01-16 Thread Pavel Jartsev
Dhaval Desai wrote: ... for($i=1; $i=$recepients; $i++) { echo "input type=\"text\" name=\"$i\"" ."br"; Maybe this line should be: echo "input type=\"text\" name=\"$i\"br"; -- Pavel a.k.a. Papi -- PHP Gen

Re: [PHP] WML/WAP and PHP

2001-01-16 Thread Pavel Kalian
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/WAP and PHP Here's a fun littl

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

Re: [PHP] WML/WAP and PHP

2001-01-16 Thread Pavel Kalian
-By: PHP/4.0.4 Content-type: text/vnd.wap.wml wml card pHello world!/p /card /wml 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 "Pavel

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 br's) and then echo(nl2br($message)) it. Pavel - Original Message - From: "Ignacio Vazquez-Abrams&qu

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

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 you send me where could I

<    1   2