Re: [PHP] how to convert array into integer

2004-03-13 Thread Five
"Firman Wandayandi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Kenneth, > > You can implode an array first, and convert it to integer, see below. > > $number = (int) implode('', $yourarray); > > Good Luck, > Firman > > - Original Message - > From: "Kenneth" <[EMA

Re: [PHP] how to convert array into integer

2004-03-13 Thread Firman Wandayandi
Hi Kenneth, You can implode an array first, and convert it to integer, see below. $number = (int) implode('', $yourarray); Good Luck, Firman - Original Message - From: "Kenneth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 14, 2004 12:48 PM Subject: [PHP] how to

Re: [PHP] gd installation problem

2004-03-13 Thread Firman Wandayandi
Hi QT, Sorry I don't where the turtorial can be found. :( But can you check you php.ini? this is the most problem have been posted to the list. Regards, Firman - Original Message - From: "QT" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 14, 2004 9:59 AM Subject: [P

php-general Digest 14 Mar 2004 07:06:00 -0000 Issue 2645

2004-03-13 Thread php-general-digest-help
php-general Digest 14 Mar 2004 07:06:00 - Issue 2645 Topics (messages 180351 through 180378): Re: MySQL Writes Exception for PHP in License 180351 by: Red Wingate 180354 by: Rasmus Lerdorf Re: Create table .. script[via LSMTP - see www.lsoft.com] 180352 by: Firman Wa

[PHP] Regarding PHP Installation on linux

2004-03-13 Thread balaji.ankem
Hi, I am installing php alone on linux system where apache is already installed. I couldn't find make command during installation. Could anybody solve my problem. thanks Balaji Confidentiality Notice The information contained in this electronic message and any attachments to this messa

Re: [PHP] how to convert array into integer

2004-03-13 Thread Raditha Dissanayake
Kenneth wrote: To all, I have an Array ( [0] => 2 [1] => . [2] => 2 [3] => 0 [4] => 8 ) but i want to convert it into integer 2.208 in order to use it to plot graphhow can i convert it? thx, Kenneth Please refer to for loops and string concatenation '.' and type casting (). I can show yo

[PHP] how to convert array into integer

2004-03-13 Thread Kenneth
To all, I have an Array ( [0] => 2 [1] => . [2] => 2 [3] => 0 [4] => 8 ) but i want to convert it into integer 2.208 in order to use it to plot graphhow can i convert it? thx, Kenneth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Classes & Objects.

2004-03-13 Thread Elliot J. Balanza
Anybody knows a good on line tutorial for objects & classes on PHP. Thanks. Vamp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and Apache 2

2004-03-13 Thread trlists
On 13 Mar 2004 Rasmus Lerdorf wrote: > I think that is pretty clear. It says that it works but we do not > consider it production quality. OK, thanks. That is what I thought it meant but I wanted to be sure. > As for whether your particular install will work? I have no idea. Maybe, > maybe n

RE: [PHP] [Q] Session management when WEB site is based on template

2004-03-13 Thread Mike Mapsnac
I like this tutorial about session: http://www.phpfreaks.com/tutorials/41/0.php From: "Michael T. Peterson" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [PHP] [Q] Session management when WEB site is based on template Date: Sat, 13 Mar 2004 18:15:24 -0800 I'm having difficulty figuring out

[PHP] [Q] Session management when WEB site is based on template

2004-03-13 Thread Michael T. Peterson
I'm having difficulty figuring out where/how to integrate PHP session management into a web site whose pages are based on a template. Pointers to docs and/or examples would be very helpful. Cheers, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP] Re: servers in php

2004-03-13 Thread DvDmanDT
I was thinking about this a while ago accutually.. It does seem like you can use ticks to get a multithreaded server, with multiple connections, but I can't say for sure.. :p -- // DvDmanDT MSN: dvdmandt?hotmail.com Mail: dvdmandt?telia.com "Comex" <[EMAIL PROTECTED]> skrev i meddelandet news:[EM

Re: [PHP] Safari download problems

2004-03-13 Thread Michal Migurski
>I have a script for downloading a file once it's been purchased. Works >fine with any browser except Safari, which only downloads the first tiny >portion of the file and then, of course, the user can't uncompress the >incomplete archive. Here is my code: > >header('Content-type: '.$file_row['conte

[PHP] Re: [PHP-WIN] servers in php

2004-03-13 Thread Robert Twitty
Take a look at the socket functions, with special attention to socket_listen() and socket_accept(). AFAIK, this may be a bit beyond the scope of PHP on windows. Even if you successfully call the program from itself, you will not be able to pass the connection to the cloned program. Your server ma

Re: [PHP] [PERL] Excel sheet reading

2004-03-13 Thread Raditha Dissanayake
Hi, I am sorry this is a PHP group. The DBI modules documentation will tell you where you should post your question. Sakitram wrote: Hello I can read values found in cell in Excel worksheet. But I can not read numeric value from it, always null string. I had done this work using DBI. How ca

Re: [PHP] servers in php

2004-03-13 Thread Comex
On Sun, 14 Mar 2004 01:15:32 +0100, Norbert Pfeiffer <[EMAIL PROTECTED]> wrote: Hi Comex, forget Win-PHP, it only scarcely to 60% of the functions are supported. Everything which with Sockets, Pipes or the like to do has, became omitted. m. b. G. Norbert _ normal: 02686-9871

Re: [PHP] servers in php

2004-03-13 Thread Norbert Pfeiffer
Hi Comex, forget Win-PHP, it only scarcely to 60% of the functions are supported. Everything which with Sockets, Pipes or the like to do has, became omitted. m. b. G. Norbert _ normal: 02686-987103 Notruf: 0177-2363368 - e.o.m. -- PHP General Mailing L

[PHP] servers in php

2004-03-13 Thread Comex
I was wondering how to go about making a server in PHP that would accept multiple connections..in windows, so I can't use forks. I'd need to call the program from itself but I don't know how the listening works. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

[PHP] Web based php development tool

2004-03-13 Thread Joseph Ross Lee
Anybody here who could recommend a web based php dev tool for editing php sources online? Thanks! I'm having a hard time finding a nice one. Thanks in advance guys! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] objects in session

2004-03-13 Thread marc serra
Hi, I got problem when i want to save object in session. I got my first page when I create my object and save it to session: Load($_Get['id']); $_SESSION['save'] = $test; ?> In my second page I want to retrieve my object When I do get_class($_SESSION['test']); I got

Re: [PHP] selecting text from a database and displaying it in a html form

2004-03-13 Thread Brian V Bonini
On Sat, 2004-03-13 at 13:20, Bernie McKeown wrote: > I am using php for the first time and I am stuggling with something that is > simple to most people. I am using mysql and php to select text from a > database and display it in a html form but its not working, any ideas? Its > supposed to be a

[PHP] selecting text from a database and displaying it in a html form

2004-03-13 Thread Bernie McKeown
I am using php for the first time and I am stuggling with something that is simple to most people. I am using mysql and php to select text from a database and display it in a html form but its not working, any ideas? Its supposed to be a one line quiz site where the user is presented with a quest

[PHP] Safari download problems

2004-03-13 Thread Brian Dunning
Hi all, I have a script for downloading a file once it's been purchased. Works fine with any browser except Safari, which only downloads the first tiny portion of the file and then, of course, the user can't uncompress the incomplete archive. Here is my code: header('Content-type: '.$file_row[

Re: [PHP] HTML Utilities

2004-03-13 Thread Red Wingate
woops :-) function toList ( $array ) { $temp = ''; foreach ( $array AS $item ) { if ( is_array ( $item ) ) { $temp .= ''.toList ( $array ).''; } else { $temp .= ''.$item.''; } } return ''.$temp.'' ; } $array = array ( 10 , 20 , array ( 30 , 40 ) ); echo toList (

Re: [PHP] HTML Utilities

2004-03-13 Thread Red Wingate
How about this: function toList ( $array ) { $temp = ''; foreach ( $array AS $item ) { if ( is_array ( $item ) ) { $temp .= ''.toList ( $array ).''; } else { $temp .= ''.$item.''; } } return $temp ; } $array = array ( 10 , 20 , arra

[PHP] HTML Utilities

2004-03-13 Thread Jeff Oien
Are there any ready made utilities out there for adding HTML tags to lists? For example if I have: This Thing That Thing The Other Thing Lot More Things etc. I would like to have something that would either add (including at beginning and end) or . If there's nothing out there I'll try to do it

[PHP] gd installation problem

2004-03-13 Thread QT
dear Sirs, I did what says in http://www.php.net/manual/en/install.windows.php#Installation of Windows extensions but still I can not run php_gd2.dll extensions on win2000 where can I find more solutions about this -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

[PHP] fw:¤£°eªáªº²z¥Ñ.

2004-03-13 Thread ©÷­ô
> > > >不送花的理由 > > > >朋友讀美術系的女友問: > >「我的生日耶!你怎麼都不送花給我?」 > >「什麼?」讀園藝系的某某竟然說: > >「你不知道花是植物的生殖器嗎?!我們為什麼要將人家的生殖器割下來,然 > >[EMAIL PROTECTED] > > > >這男人真是狠角色.. > >竟然講到那女孩子慚愧地低下頭來.』 > > > >所以 > >1.有些女生會比較誰收到的生殖器比較多、比較大 > >2.有經驗的女生,會認為未割過包皮的生殖器(含苞的)可以較持久 > >3.女生們會[EMAI

Re: [PHP] MySQL Writes Exception for PHP in License

2004-03-13 Thread Rasmus Lerdorf
No, there are no plans to bundle the client library with PHP5. We are bundling SQlite instead. That of course doesn't mean any less support for MySQL. The MySQL extension, 2 of them in fact in PHP5, will still be there and you simply build it against your own copy of the MySQL client library. -

Re: [PHP] PHP and Apache 2

2004-03-13 Thread Rasmus Lerdorf
On Sat, 13 Mar 2004 [EMAIL PROTECTED] wrote: > > So the current situation is that Apache2-prefork+PHP is a decent solution > > but it hasn't been tested a whole lot. > > I am currently moving my app to an Apache 2 server. I did not build > the server (not my area of expertise) and don't know how

Re: [PHP] Create table .. script[via LSMTP - see www.lsoft.com]

2004-03-13 Thread Firman Wandayandi
Hi Mike, Try using phpMyAdmin, but sorry I forgot the site :( try google. Regards, Firman - Original Message - From: "Mike Mapsnac" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 13, 2004 11:24 PM Subject: [PHP] Create table .. script > Hello > > When I need to c

Re: [PHP] MySQL Writes Exception for PHP in License

2004-03-13 Thread Red Wingate
When you compile PHP --with-mysql=/path/to/mysql you will use the libs from the installed MySQL dist , when using the bundled MySQL libs by compiling --with-mysql you can use MySQL feature even if you haven't installed on your maschine. Am Samstag, 13. März 2004 19:24 schrieb Karl Timmermann: > So

php-general Digest 13 Mar 2004 18:24:59 -0000 Issue 2644

2004-03-13 Thread php-general-digest-help
php-general Digest 13 Mar 2004 18:24:59 - Issue 2644 Topics (messages 180316 through 180350): Re: Apache Config: php_value "auto_prepend_file" & "auto_append_file" 180316 by: electroteque 180320 by: Rasmus Lerdorf Re: Dumb 180317 by: Burhan Khalid variable passing

[PHP] MySQL Writes Exception for PHP in License

2004-03-13 Thread Karl Timmermann
So I guess PHP 5 can now include the MySQL libraries. Anyone know if they will include them with the first release of PHP 5, or have plans to? What difference will this make? I ask, because I read that just configuring with "--with-mysql=/usr" allows you to use MySQL with PHP 5. THis is how I

[PHP] [PERL] Excel sheet reading

2004-03-13 Thread Sakitram
Hello I can read values found in cell in Excel worksheet. But I can not read numeric value from it, always null string. I had done this work using DBI. How can I resolve this? R. Kumaran

Re: [PHP] Connect to MS-SQL 2000

2004-03-13 Thread Filip de Waard
On Mar 13, 2004, at 6:01 PM, [EMAIL PROTECTED] wrote: Can we control php direct connect to MS-SQL 2000 ( Another computer machine ) ? RTFM, http://www.php.net/ms_sql. Regards, Filip de Waard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Create table .. script

2004-03-13 Thread Filip de Waard
On Mar 13, 2004, at 5:24 PM, Mike Mapsnac wrote: Hello When I need to create table I have to login into mysql and run the query. Is there a way to create some sort of scipt that can create all my tables?.So If I need create a table in new database I just run the script. I know that I can do m

[Fwd: [PHP] Installation of 4.3.4]

2004-03-13 Thread edwardspl
--- Begin Message --- Dear Jason, If I want to install php for the following function on Fedora Core 1 System : DOM XML, FTP, Gettext, IMAP, LDAP, MCAL, Mcrypt, MySQL, PostgreSQL, XML, GD, MM and MS-SQL 2000 Then which special configure commands ( parameters ) must be compiled with php ? Many

[PHP] Connect to MS-SQL 2000

2004-03-13 Thread edwardspl
Dear you, Can we control php direct connect to MS-SQL 2000 ( Another computer machine ) ? Thank for your help !! Edward. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] multipart/form-data and Array POST

2004-03-13 Thread Raditha Dissanayake
My Code: echo " base64_encode(serialize($my_array)) . "\">"; ?> The code does not compile. Thank you for the 7 different copies of your messages which i recieved. You had missed the last part of my reply to your original post. -- Raditha Dissanayake. -

[PHP] Create table .. script

2004-03-13 Thread Mike Mapsnac
Hello When I need to create table I have to login into mysql and run the query. Is there a way to create some sort of scipt that can create all my tables?.So If I need create a table in new database I just run the script. I know that I can do mysql_query("QUERY OF TABLE"); But is there another

Re: Re[2]: [PHP] help for getimagesize

2004-03-13 Thread Norbert Pfeiffer
Hi Richard, I have a imagefile with*.jp2 is type 10 you read harder ... ;-) I search a imagefile with *.jb2 is type 12 I search a imagefile with *.jpx is type 11 I search a imagefile with *.swc is type 13 also see http://de3.php.net/getimagesize I have IrfanView, XnView and other progs ..

RE: [PHP] multipart/form-data and Array POST

2004-03-13 Thread Andy Lewis
register_globals = On -Original Message- From: Raditha Dissanayake [mailto:[EMAIL PROTECTED] Sent: Saturday, March 13, 2004 10:18 AM To: Andy Lewis Cc: [EMAIL PROTECTED] Subject: Re: [PHP] multipart/form-data and Array POST Andy Lewis wrote: >Hello All, > >I'm having a problem inclu

RE: [PHP] multipart/form-data and Array POST

2004-03-13 Thread Andy Lewis
I am running: $my_array = unserialize(base64_decode($my_array)); on the array once it's POSTed. -Original Message- From: Raditha Dissanayake [mailto:[EMAIL PROTECTED] Sent: Saturday, March 13, 2004 10:18 AM To: Andy Lewis Cc: [EMAIL PROTECTED] Subject: Re: [PHP] multipart/form-data an

Re: Re[2]: [PHP] help for getimagesize

2004-03-13 Thread Firman Wandayandi
Ups, is not right place to discuss this... Firman - Original Message - From: "Richard Davey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 13, 2004 10:45 PM Subject: Re[2]: [PHP] help for getimagesize > Hello Norbert, > > Saturday, March 13, 2004, 3:13:10 PM, you w

RE: [PHP] multipart/form-data and Array POST

2004-03-13 Thread Andy Lewis
I'm trying to pass an array of values. Then retrieve it on the next page. -Original Message- From: Brian V Bonini [mailto:[EMAIL PROTECTED] Sent: Saturday, March 13, 2004 9:58 AM To: Andy Lewis Cc: PHP Lists Subject: Re: [PHP] multipart/form-data and Array POST On Sat, 2004-03-13 at 10:

Re: Re[2]: [PHP] help for getimagesize

2004-03-13 Thread Firman Wandayandi
Hi Richard, I right click the image in Browser Window and select Convert.., Select JP2 and click Go button. Then warning message appear "Contact your dealer", on JPC too. XnView 1.68.1 on WinXP. I don't know why? Regards, Firman - Original Message - From: "Richard Davey" <[EMAIL PRO

Re: [PHP] multipart/form-data and Array POST

2004-03-13 Thread Raditha Dissanayake
Andy Lewis wrote: Hello All, I'm having a problem including an array in a hidden field for file upload. My first question is, can this be done? Can I actually include an array in a hidden field on a POSTed PHP upload field? can be done If so do I have to encode the array. I use array's on my

Re: [PHP] multipart/form-data and Array POST

2004-03-13 Thread Brian V Bonini
On Sat, 2004-03-13 at 10:40, Andy Lewis wrote: > > enctype="multipart/form-data"> > > > echo " base64_encode(serialize($my_array)) . "\">"; > ?> > > What value are you trying to get from or place in "value" for the hidden field? -- Brian V Bonini <[EMAIL PROTECTED]> -- PHP General Mai

Re[2]: [PHP] help for getimagesize

2004-03-13 Thread Richard Davey
Hello Firman, Sunday, March 14, 2004, 3:33:16 PM, you wrote: FW> By the way I used XnView too, JP2 and JPEG-2000 converter err or need FW> registered. Have better idea cause I needed too or are someone know what?. There is no difference between the free version and the registered version at all.

Re[2]: [PHP] help for getimagesize

2004-03-13 Thread Richard Davey
Hello Norbert, Saturday, March 13, 2004, 3:13:10 PM, you wrote: NP> I'm sorry - bad reply ... :-( NP> Hi Richard, NP> unfortunately you err. NP> I use already XnView. NP> This program does not support the looked for formats. Yes, it does. Look harder. -- Best regards, Richard Davey http://

[PHP] multipart/form-data and Array POST

2004-03-13 Thread Andy Lewis
Hello All, I'm having a problem including an array in a hidden field for file upload. My first question is, can this be done? Can I actually include an array in a hidden field on a POSTed PHP upload field? If so do I have to encode the array. I use array's on my site and am aware that I have

Re: [PHP] help for getimagesize

2004-03-13 Thread Firman Wandayandi
Hi Norbert, Hi Richard, Hi All, Maybe you can use IrfanView, if still developed. :) http://www.irfanview.com I found JP2 converter only in it. By the way I used XnView too, JP2 and JPEG-2000 converter err or need registered. Have better idea cause I needed too or are someone know what?. Regards

Re: [PHP] help for getimagesize

2004-03-13 Thread Norbert Pfeiffer
I'm sorry - bad reply ... :-( Hi Richard, unfortunately you err. I use already XnView. This program does not support the looked for formats. m. b. G. Norbert _ normal: 02686-987103 Notruf: 0177-2363368 - e.o.m. -- PHP General Mailing List (http://www.

Re: [PHP] Re: SMTP Authentication

2004-03-13 Thread Norbert Pfeiffer
Hi Richard, unfortunately you err. I use already XnView. This program does not support the looked for formats. m. b. G. Norbert _ normal: 02686-987103 Notruf: 0177-2363368 - e.o.m. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Fetching apache directoryoptions

2004-03-13 Thread Simon Fredriksson
I wonder if it's possible to get the options (such as Indexes) for a directory via PHP. Any clue? //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: SMTP Authentication

2004-03-13 Thread Elliot J. Balanza
I still wonder, how your smtp server requires authentification even when using the function internally. For my education please... does that means that you are using a third party SMTP, meaning some SMTP outside your server? vamp "Beauford" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL P

[PHP] PHP and Apache 2

2004-03-13 Thread trlists
> So the current situation is that Apache2-prefork+PHP is a decent solution > but it hasn't been tested a whole lot. I am currently moving my app to an Apache 2 server. I did not build the server (not my area of expertise) and don't know how how it was built, but I can talk to the folks who d

Re: [PHP] help for getimagesize

2004-03-13 Thread Richard Davey
Hello Norbert, Saturday, March 13, 2004, 11:54:54 AM, you wrote: NP> on a page the function getimagesize is supposed NP> to be applied on all possible formats. NP> Unfortunately I do not find anybody, who can NP> procure a sample for me for these three formats: NP> 11 = JPX, 12 = JB2 and 13 = SW

RE: [PHP] Re: SMTP Authentication

2004-03-13 Thread Beauford
Thanks, I'll check them out. -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED] Sent: March 12, 2004 11:31 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: SMTP Authentication Hello, On 03/13/2004 12:54 AM, Beauford wrote: > How would I set up PHP to use SMTP authentication

[PHP] help for getimagesize

2004-03-13 Thread Norbert Pfeiffer
Hello, on a page the function getimagesize is supposed to be applied on all possible formats. Unfortunately I do not find anybody, who can procure a sample for me for these three formats: 11 = JPX, 12 = JB2 and 13 = SWC. People who would like to help me, here is the output collecting main finds:

Re: [PHP] Help w/Array Roadblock ( mental )

2004-03-13 Thread Robert Cummings
On Sat, 2004-03-13 at 04:35, Joey wrote: > As you can see by the below code, I have tried many ways to store DB values > to a multi-dimensional array and then print them out. > The problem is I am missing something somewhere. > As you can see at the bottom of the code I created an array and printed

[PHP] Help w/Array Roadblock ( mental )

2004-03-13 Thread Joey
As you can see by the below code, I have tried many ways to store DB values to a multi-dimensional array and then print them out. The problem is I am missing something somewhere. As you can see at the bottom of the code I created an array and printed the entire content of the array, but getting it

RE: [PHP] Apache Config: php_value "auto_prepend_file" & "auto_append_file"

2004-03-13 Thread Rasmus Lerdorf
It's a chicken and egg problem. Until enough people, especially core PHP folks, start using Apache2 seriously, it is not going to have enough experienced eyes fixing the various little niggly things like this. In this case it is unlikely to have anything to do with threading. It's probably simpl