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