see http://cn.php.net/manual/en/language.oop5.abstract.php
PHP 5 introduces abstract classes and methods. It is not allowed to
create an instance of a class that has been defined as abstract. Any
class that contains at least one abstract method must also be
abstract. Methods defined as abstract
Use preg_replace_callback instead!
preg_replace_callback is better performance than preg_replace with /e.
-
code
$str=cats i saw a cat and a dog;
$str1=preg_replace_callback(/(dog|cat|.)/is,call_replace,$str);
echo
i test your codes again,it is work correctly!
But for backends compatibly with older php versions my codes is better
:),i'm sorry for my mistake at moment.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php tigger is right i think.
Because of Zend engine parse line by line.(I can't use English give
expression to it with My Poor English).
It mean that (What I think) unset function is right parse but error
for is parameter.
Tigger Display :Warning: Wrong parameter count for unset what
is
i like durpal or e107
2009/8/26 Lars Nielsen l...@mit-web.dk:
tir, 25 08 2009 kl. 17:05 -0400, skrev Bastien Koert:
On Tue, Aug 25, 2009 at 4:35 PM, Lars Nielsenl...@mit-web.dk wrote:
Hey list,
I am going to use a cms for some sites and I have looked a little at
Typo3, Joomla and
It Just Deprecated Function used.It mean source code wouldn't work
wall based on newer php versions.
see this link http://cn.php.net/manual/en/function.eregi.php
If you want fix that warning ,replace eregi to preg_match_all and use
/s instead.
2009/8/26 mike bode mikebo...@hotmail.com:
I just
see this
https://bugzilla.redhat.com/show_bug.cgi?id=478425
2009/8/26 David Taveras d3taveras3...@gmail.com:
I already did see that, but it only lists one single vulnerability
previously stated. Id just want to confirm that is the only one?
On Tue, Aug 25, 2009 at 7:09 PM, Vinicius Pinto
have a tab inserted in the middle of the path ??? What it mean,I
can't find any diffrent between last one with other rows.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
use is_null() check it
2009/8/26 David Stoltz dsto...@shh.org:
Paul,
This all started because when I try this:
?php echo $rs-Fields(22);?
It work fine, as long as there is a non-null value there, otherwise it
produces an error.
Also, I'm working with a Microsoft SQL 2000 database, not
Could you post your database's class to here?
I'm use mssql with php for several years and read NULL Fields is never
appear your case.
2009/8/26 David Stoltz dsto...@shh.org:
I tried that -it's in the first part of my message
-Original Message-
From: hack988 hack988 [mailto:hack
your means Health and Safety Questionnaireis directory?
so you want it display like this
full dir path tab filenametabdate
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My code for mssql
please enable the php's mssql extentions.
it used like so many mysql class that you can find by google
--
?php
if(!defined('IN_WEB')) {
exit('Access Denied');
}
some code copy from my old codes for truncatedir function,it for
backend compatibility.
see this
PHP_EOL (string)
Available since PHP 4.3.10 and PHP 5.0.2
http://cn.php.net/manual/en/reserved.constants.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
eval_evaluations WHERE id = .$_POST[eval];
$rs = $conn-execute($query);
echo $rs-Fields(22); //this is where that particular field is NULL, and
produces the error
-Original Message-
From: hack988 hack988 [mailto:hack...@dev.htwap.com]
Sent: Wednesday, August 26, 2009 8:08 AM
I'm write a php file for you
=
define('Line_End', (PHP_OS == 'WINNT')?\r\n:\n);
clearstatcache();
$mylist=array();
listdir(F:\\Programming\\Web\\php,$mylist);
function listdir($dir,$list){
if ($handle = opendir( $dir )){
while ( false !== ( $item =
All IE has a bug for download file so.:)
see this http://support.microsoft.com/default.aspx?scid=kb;en-us;308090
some unkown mime type also display in IE no popup a download window
2009/8/26 Ryan Cavicchioni r...@confabulator.net:
On Wed, Aug 26, 2009 at 03:38:27PM +0200, Grega Leskov??ek wrote:
use realpath is better that i think
2009/8/26 Steve ad...@ultramegatech.com:
Ashley Sheridan wrote:
On Wed, 2009-08-26 at 09:50 +0100, Tom Chubb wrote:
2009/8/26 Ashley Sheridan a...@ashleysheridan.co.uk:
On Tue, 2009-08-25 at 17:08 +0100, Tom Chubb wrote:
I've been playing about more
Com function is just for Windows,I don't kown why some body like use it.:(
2009/8/27 Andrew Ballard aball...@gmail.com:
On Wed, Aug 26, 2009 at 9:51 AM, David Stoltzdsto...@shh.org wrote:
Sorry - I don't know what you mean by DB class?
I'm using Microsoft SQL 2000with this code:
?php
I'm sorry for my poor English,what is OP? I don't kown what is OP mean.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm try php6-dev recently.I found it had so many diffrent with older
versions.I'll discuss with everybody in later:)
now i have a problem in php6-dev
codes follow:(warning:this code include some no-english characters and
it hex string is B2E2 In GBK char-set)
I'm try php6-dev recently.I found it had so many diffrent with older
versions.I'll discuss with everybody in later:)
now i have a problem in php6-dev
codes follow:(warning:this code include some no-english characters and
it hex string is B2E2 In GBK char-set)
this post is away from the point :),but everyone's reply is interesting
2009/8/27 Paul M Foster pa...@quillandmouse.com:
On Wed, Aug 26, 2009 at 09:52:49AM -0700, sono...@fannullone.us wrote:
On Aug 26, 2009, at 9:28 AM, Paul M Foster wrote:
and having a great marriage to a woman I can
Use Database Online table for user sessions.
2009/8/27 Balasubramanyam A knowledge.wea...@gmail.com:
Hello,
I've written a simple application, where users need to login to access the
features of the application. I want to develop login system such that, if
user is already logged in, the
Nobody Discuss with is title or I'm post to wrong mailing-list?
2009/8/27 hack988 hack988 hack...@dev.htwap.com:
I'm try php6-dev recently.I found it had so many diffrent with older
versions.I'll discuss with everybody in later:)
now i have a problem in php6-dev
codes follow:(warning:this
I'm not sure,but one thing is that ,the code save as ANSI format will
trow Parse error in php6.
Sometime I don't like script run with unicode because of some system
environment limitation.
2009/8/27 Ashley Sheridan a...@ashleysheridan.co.uk:
On Thu, 2009-08-27 at 20:03 +0800, hack988 hack988
I'm not sure,but one thing is that ,the code save as ANSI format will
throw Parse error in php6.
Sometime I don't like script run with unicode because of some system
environment limitation.
I'm make a spell mistake in before message :( (trow-throw).
Any boday have a solution for it?
--
PHP
at 20:17 +0800, hack988 hack988 wrote:
I'm not sure,but one thing is that ,the code save as ANSI format will
trow Parse error in php6.
Sometime I don't like script run with unicode because of some system
environment limitation.
2009/8/27 Ashley Sheridan a...@ashleysheridan.co.uk:
On Thu, 2009-08
Some Php's tigger info output to client before you set header.try this
code first
---
ob_start();//first line write this code
some code for your self
header(location:index.php);
ob_end_flush();
I don't kown your mean,could you descript the question more detail?
2009/8/28 leledumbo leledumbo_c...@yahoo.co.id:
Is it possible to call a function that resides in an extension from another
extension?
--
View this message in context:
add this
php_admin_value open_basedir
2009/8/28 Nico Sabbi nsa...@officinedigitali.it:
Hi,
I'm testing one of my sites in safe_mode, but I'm experiencing some
strangeness that is not documented.
The settings are:
in php.ini:
include_path =
nobody have a solution for no-unicode php script with MBCS (Multiple
Byte Character Set) run on php6?
I have an wrong spelling for MBCS in OM.:(
2009/8/27 hack988 hack988 hack...@dev.htwap.com:
I'm not sure,but one thing is that ,the code save as ANSI format will
throw Parse error in php6
Please set log_error=on,error_reporting=E_ALL,error_log=syslog in
php.ini and then,see error detail in syslog.
2009/8/31 Fred Silsbee fredsils...@yahoo.com:
I got 5.3 working but found out there was no php_mssql.dll for it.
Somebody (who didn;t know) said I had to return to 5.2.8 but I found no
Are u set auth_type to config?
$cfg['Servers'][$i]['auth_type'] = 'config';
2009/9/1 Ricky Tompu Breaky ricky.bre...@uni.de:
Dear Shawn.
Firstly, thank you very much for your quick respond.
I've installed the php-mysql:
[r...@mandreev linux]# urpmi php-mysql
Package
Please create a file(.php) and write follow codes for more details.
?php
phpinfo();
?
2009/8/31 Nico Sabbi nsa...@officinedigitali.it:
Lars Torben Wilson ha scritto:
2009/8/28 Nico Sabbi nsa...@officinedigitali.it:
Hi,
I'm testing one
on the login form without any error or
success message.
Is there any another possibility?
Please keep telling me.
===
On Tue, 1 Sep 2009 04:52:55 +0800
hack988 hack988 hack...@dev.htwap.com wrote:
Are u set auth_type to config?
$cfg['Servers'][$i]['auth_type'] = 'config';
2009/9/1 Ricky Tompu
Use follow codes for test your php,php_mysql is work well.
use your ip replace localhost,your mysql port replace 3306 and
username,password to replace mysql_user, mysql_password.
?php
error_reporting(2047);
ini_set(display_error,On);
if(mysql_connect('localhost:3306', 'mysql_user',
Use Event Viewer and log type is :Application log
2009/9/2 Fred Silsbee fredsils...@yahoo.com:
I looked high and low but no syslog
I am currently working under XP Prof SP3
--- On Mon, 8/31/09, hack988 hack988 hack...@dev.htwap.com wrote:
From: hack988 hack988 hack...@dev.htwap.com
Subject
Yes,thanks and I sorry for my poor english
2009/9/3 Robert Cummings rob...@interjinn.com:
hack988 hack988 wrote:
Reference vars in php would not be unset if it reference by another
var,so you must keep original var had'nt being reference.
You can't reference a reference in PHP. If you take
I found memcache_get_stats for memcached in some php code.
I'm search it at php.net's function list,but it no matched result :(.
I had found explain for Memcache::getStats() at this link
http://www.php.net/manual/en/function.memcache-getstats.php
In this link,tell me that
Nobody Kown this?This is my second question in this mail-list :(.I
don't kown why it's no reply by anybody.
2009/9/5 hack988 hack988 hack...@dev.htwap.com:
I found memcache_get_stats for memcached in some php code.
I'm search it at php.net's function list,but it no matched result :(.
I had
.
Jonathan
On Sun, Sep 6, 2009 at 1:16 AM, hack988 hack988hack...@dev.htwap.com wrote:
Nobody Kown this?This is my second question in this mail-list :(.I
don't kown why it's no reply by anybody.
2009/9/5 hack988 hack988 hack...@dev.htwap.com:
I found memcache_get_stats for memcached
Sent: Saturday, September 5, 2009 10:41:39 PM
Subject: Re: [PHP] Who kown this memcache_get_stats function ?
- Original Message
From: hack988 hack988
To: PHP General List
Sent: Saturday, September 5, 2009 9:16:51 PM
Subject: Re: [PHP] Who kown this memcache_get_stats function
You can use mysql's autoincrement ,but you must do some php for
special display,follow is my method.
1.create an int or smallint mysql col.
2.set it autoincrement.
3.insert some dates to database.
4.select dates and display with letter prefix.
for example: 12-AAA0012,AAA1234,
you can make an php
I'm see some code from jsmin-php like follow:
?php
error_reporting(E_STRICT);
fwrite(STDERR, memory_get_peak_usage(true).\n);
require './jsmin.php';
echo JSMin::minify(file_get_contents('ext-all-debug.js'));
fwrite(STDERR, memory_get_peak_usage(true).\n);
?
I have some question about code
see this
http://www.phpclasses.org/browse/package/4282.html
2009/12/28 robert mena robert.m...@gmail.com:
Hi,
I need to develop an interface that will, for example, ping IPs from a
remote server. So the php script will be hosted in a server with ssh access
(key) to the remote server.
I can
In Online Document say's:
Users may not change the array itself from the callback function. e.g.
Add/delete elements, unset elements, etc. If the array that
array_walk() is applied to is changed, the behavior of this function
is undefined, and unpredictable.
So I'm use Use Optional param( [,
1.add
WITHOUT_X11=yes
in /etc/make.conf
2.remove
X11BASE=
from that file and
4.make all-depend-list
5.make clean all depend soft
6.make menuconfig set X11 disable
7.make make install
2010/1/12 Don O'Neil li...@lizardhill.com:
Ok.. just for grins I installed a new instance of 6.1, NO Patches,
Online document say's
Note: Please note that this function only checks one dimension of a
n-dimensional array. Of course you can check deeper dimensions by
using, for example, array_udiff_uassoc($array1[0], $array2[0],
data_compare_func, key_compare_func);.
It's not my needed
My need is
===
I try a 'make all-depend-list'
the error shows up
=
which error show ?
2010/1/13 Don O'Neil li...@lizardhill.com:
This is _exactly_ what I did, and as soon as I try a 'make all-depend-list'
the error shows up. I don't even have the X11 system
I think Vasily Pupkin is right.
http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=1.630;r2=1.631;f=h
Found {portsdir}/Mk/bsd.port.mk and make sure the version is higher
than 1.631(2009/12/18)
In another side,your are use *default tag=. in your supfile or /etc/make.conf?
Hi tedd!
I'm not see your email about this open source before,but i can't
understand why somebody like to use it.
It is too fat,and depend with JDK,I think it's an bad idea.
JAVA has so many problem with itself.
so I'd like to use some simpler text editor to code with php.
There is a work
:13 +0800, hack988 hack988 wrote:
Hi tedd!
I'm not see your email about this open source before,but i can't
understand why somebody like to use it.
It is too fat,and depend with JDK,I think it's an bad idea.
JAVA has so many problem with itself.
so I'd like to use some simpler text editor
you can use php with mssql2005.
But infact that mysql is more suit than mssql in php environment.
2010/1/18 deal...@gmail.com deal...@gmail.com:
On Jan 17, 2010, at 11:06 AM, Ashley Sheridan wrote:
On Sun, 2010-01-17 at 10:47 -0800, dealtek wrote:
On Mon, 2010-01-18 at 03:32 +0800, hack988 hack988 wrote:
Yes,I'm just use text editor for php coding.
It's faster than using IDE.
I'm just add an custom syntax file (php.stx ) for Basic syntax and
php's internal functions.
Eclips's syntax and function association is so slow.
2010/1/18 Ashley
On Mon, 2010-01-18 at 03:32 +0800, hack988 hack988 wrote:
Yes,I'm just use text editor for php coding.
It's faster than using IDE.
I'm just add an custom syntax file (php.stx ) for Basic syntax and
php's internal functions.
Eclips's syntax and function association is so slow.
2010/1/18 Ashley
It's Spam.Have some administor for this mail-list can block this email address?
2010/1/22 Bipper Goes! bipper.g...@gmail.com:
OP: Watch your mouth.
2010/1/21 Kaya Saman samank...@netscape.net
Marc Hall wrote:
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Thursday,
56 matches
Mail list logo