Hello,
If I have an array like this
$dataArray = array(0=array('type'='da'), 1=array('type'='wb'),
2=array('type'='da');
How I can filtering to get only 'da' only, like this
$newDataArray = array(0=array('type'='da'),2=array('type'='da'))
Thanks in advance
bnug
Thanks You,
rgds, bnug
From: Robin Vickery [mailto:[EMAIL PROTECTED]
Sent: Jumat 28-Mar-2008 21:45
To: Bagus Nugroho
Cc: php-general@lists.php.net
Subject: Re: [PHP] array_filter function
On 28/03/2008, Bagus Nugroho [EMAIL PROTECTED] wrote:
Hello,
If I
I was trying to put embedded image on HTML Mail using PHP Mailer, my problem is
my image does not located on filesystem but located within MySQL Server.
How I can put image from database into HTML Mail.
Thanks in advance, bgs
Hi All,
I'm confuse about usage of php.ini directive register_argc_argv.
Is used for command line purpose only?
Thanks in adavance
bn
Hi All,
When I'm trying to use eclipse on Linux, using command java -startup.jar, it
was show an error like this
Could not create Java Virtual Machine
Is my command wrong.
Java already installed and eclipse was put on /opt
Thanks in advance
bn
Hi All,
I'm just add php_apc.dll in my module, but when I'm restart apache there error
as :
The instruction at 0x097f2e5e referenced memory at 0x0019. The memory
could not be read.
Is this cause of the module or apache itself?
Thanks in advance
bn
Hi All,
I'm trying to install PECL package as install PEAR package, but there's error
as :
---
C:\PHPpear install http://localhost/pear/APC-3.0.13.tgz
http://localhost/pear/APC-3.0.13.tgz
downloading APC-3.0.13.tgz ...
Starting to download APC-3.0.13.tgz (105,042 bytes)
Ok, thanks
Best Regards
bn
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: Wed 04-Apr-2007 23:45
To: Bagus Nugroho
Cc: php-general@lists.php.net
Subject: Re: [PHP] Install PECL
Bagus Nugroho wrote:
Hi All,
I'm trying to install PECL package as install
Hi All,
If I have file on[windows] c:\test.csv.
How I can read the entire contents of this file?
I have try file_get_contents, fgetcsv and etc but didn't work.
May I'm mis-understanding about using those function.
Thanks in advance
Regards,
bn
Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Sun 04-Feb-2007 21:14
To: Bagus Nugroho
Cc: php-general@lists.php.net
Subject: Re: [PHP] Read file on file system
Bagus Nugroho wrote:
If I have file on[windows] c:\test.csv.
How I can read the entire contents of this file?
I have try
Hi All,
It was possible to send embeded image on mail() function.
Curently, I'm using linked image to send image on mail.
Thanks in advance
bn
Hi All,
If we have variable like :
$var1 = 'abcde 12';
$var2 = 'abcdefghi 34';
$var3 = 'abc 20 def';
Then we want output like :
$var1 = 'abcde';
$var2 = 'abcdefghi';
$var3 = 'abc def';
How regex can help us?.
Thanks in advance.
bgs
--
PHP General Mailing List (http://www.php.net/)
To
Hi All,
Is anyway to change starting week number of year on Sunday, instead
Monday as default?
Thanks in advance,
bn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if windows, you may add php directory to the PATH of Windows [Environment
Variables].
From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED]
Sent: Mon 10-Jul-2006 09:08
To: php-general@lists.php.net
Subject: Re: [PHP] php_mysql.dll
Yes. I thik it's
how about like this
---
$insert = INSERT INTO age (age_label) VALUES ('$age');
---
From: Mark Sargent [mailto:[EMAIL PROTECTED]
Sent: Sat 03-Jun-2006 10:02
To: PHP List
Subject: [PHP] Parse error: syntax error, unexpected '}'
Hi All,
can anone see what's
Bagus Nugroho would like to recall the message, [PHP] Parse error: syntax
error, unexpected '}'.
I have experience with loading mysql.dll and other module which unable
to load, even the module is exist on the path.
In my problem, it was solved by put php directory (c:/php) on windows
system variables (Environment Variables), please check Instalation
FAQ(5.14) of PHP Manual.
It look like,
Hello Everyone,
I'm succesfully generate report from mysql table using PEAR :
Spreadsheet_Excel_Writer, but I have problem to generate from table
which contain long text, the text is not download completely.
such as blablabla.
it only contain blab
How can manipulate PEAR, to get full
, mcrypt, mhash, mssql, mysql, mysqli, oci8,
openssl, sybase_ct).
Also, I was re-install my apache(2.0)
Is this problem related with php or apache or my OS(XPSP2)?
Hopefully, someone can help me to solve my problem.
Thanks Regards
From: Bagus Nugroho
Hi All,
Is mysqli module enable by default on php 4 as mysql module.
If not enable by default, where I can get this module(hopefully a direct link
to download)
Thanks in advance
[mailto:[EMAIL PROTECTED]
Sent: Sat 10-Dec-2005 04:14
To: Bagus Nugroho; php-general@lists.php.net
Subject: RE: [PHP] Problem on Instalation ~ several module unable to downl oad
[snip]
Yes,
all requested module is put on same folder which module which succesfully
load.
But, I don't understand
Hi All,
Previously I always succed to instalation PHP, but currently I have
strange problem as several module is unable to download(i.e :
php_mysql.dll, php_mysqli.dll), while several other are succesfully
download(i.e : mbstring, gd).
I have re-installed or copy PHP folder from my succeded
is on c:\php\ext as
others.
Any idea how come
Thanks
From: Bagus Nugroho [mailto:[EMAIL PROTECTED]
Sent: Fri 09-Dec-2005 21:06
To: php-general@lists.php.net
Subject: [PHP] Problem on Instalation ~ several module unable to download
Hi All,
Previously I
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Fri 09-Dec-2005 22:36
To: Bagus Nugroho; php-general@lists.php.net
Subject: RE: [PHP] Problem on Instalation ~ several module unable to download
[snip]
here is my last list of module which bale to load and unable to load
excerpt php.ini
:06
To: Bagus Nugroho; Jay Blanchard; php-general@lists.php.net
Subject: RE: [PHP] Problem on Instalation ~ several module unable to download
[snip]
It's done ...
But it was create errror like this PHP Startup: unable to load dynamic
library 'c:\php\ext\php_mysqli.dll' - The specified module
I have session code which written WindowsXP and It wotk properly as expected,
but when I'm used in Windows 2K, it got error as;
Notice: Undefined index: loginMessage in C:\CentralData\forms\mainForm.php on
line 65
I'am used Apache 2.0 and PHP 5.0.4.
Is php.ini setting on W2K different with XP
poblem was solved by add
session_register function
before $_SESSION[blablabla];
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sat 12-Nov-2005 09:50
To: Bagus Nugroho; php-general@lists.php.net
Subject: Re: [PHP] Question about session
There's
Hi,
I have problem with picture again.
My picture is loaded, but not shown. It look like if show pictures on internet
setting is disable.
I was re-install both Apache, mysql and PHP, but can not solved.
If anyone have this problem previously, please share
Thanks in advance;
regards
ensure you have php_mysql.dll on c:\PHP\ext
and don't forget to check php.ini location, it must comply with httpd.conf (
see PHPIniDir .) and restart apache after editing both of files.
From: Glen Zimmerman [mailto:[EMAIL PROTECTED]
Sent: Sat
Bagus Nugroho would like to recall the message, [PHP] PHP without php.ini.
DISCLAIMER: The information in this email is confidential and proprietary. If
you are not the intended recipient, please do not read, copy, use, or disclose
the contents of this communication. Please permanently
Hi All,
As my previous mail about fail on PHP5-MySQL, then I removed all of php.ini
(included -recomended and -dist).
Then used phpinfo(), I found there is php still work and found and informed
Configuration File(php.ini) Path = C:\WINNT.
How can this be happenned?
(I believe, this will
.
Any idea, what is wrong?
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: Sun 14-Aug-2005 03:44
To: Bagus Nugroho
Subject: Re: [PHP] PHP without php.ini
Bagus Nugroho wrote:
Hi All,
As my previous mail about fail on PHP5-MySQL, then I removed all
to PHP4.
Thanks and Thanks
-Original Message-
From: Lester Caine [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 14, 2005 4:46 AM
To: Bagus Nugroho
Subject: Re: [PHP] PHP without php.ini
Bagus Nugroho wrote:
Actually, my problem is when used phpmyadmin it was generate error cannot
load
Hello,
I have problem 'cannot load mysql' with MySQL on PHP5( recently migrating grom
PHP4 to PHP5).
I was do the following actions to resolve the problem, but failed .
1. uncommented extension=php_mysql.dll
2. put php_mysql.dll on c:/php/ext
3. put libmysql.dll both on c:/winnt and
Hi Master,
I have an array as :
$myArray =
array('four','four','four','four','one,,'three','three','three','two','two');
Then I want output like this,
//==
four is 4 times
three is 3 times
two is 2 times
one is 1 times //(it 's better if one is 1 time).
//===
How can I search and
: Picture3
Or maybe thumbnail view.
How I can do this?
Thanks
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Friday, July 08, 2005 3:58 AM
To: Bagus Nugroho
Cc: [EMAIL PROTECTED]; php-general@lists.php.net
Subject: RE: [PHP] RE: Display picture from MySQL
On Thu
Hi,
Firstly, thanks for your advise.
But, it doesn't work if combine with text or if we need display more than one
record.
Here's my code :
?php
mysql_connect(localhost,root,password) or Die (Failed to connect);
mysql_select_db(intdata) or Die (Failed to select databse);
How about, if we need several pictures from several record?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, July 07, 2005 8:19 PM
To: Bagus Nugroho
Subject: Re: [PHP] RE: Display picture from MySQL
you're trying to set your content-type header every
Hi All,
is possible to upload pdf file into MySQL database, then read in web browser
using php?
And how?
Thanks for help
rgds
Hi All,
I'm looking for tutorial/template/code, how to display a picture on web pages
which the picture is stored on MySQl database.
Thanks in advance,
regards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have experience with this on windows, and solved by change my root password
on mySQL.
I don't know, if this wil work on your OS X
rgds
-Original Message-
From: Sam Smith [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 14, 2005 5:57 AM
To: PHP
Subject: [PHP] phpMyAdmin authentication
Hi,
I'm beginning to learn PHP/MySQL, i have problem 'parse error' when using
'mysql_query' although it was simple code, like this :
=
1 ?php
2 $host = localhost;
3 $user = root;
4 $pass = alpha;
5 $konek = mysql_connect($host,$user,$pass);
6 if (!$konek) {
7 die
42 matches
Mail list logo