Re: [PHP] Is it possible to disable eval()?

2007-08-17 Thread hshh
Thank you. It is already enough for me. It works.

On 8/16/07, Steffen Ebermann [EMAIL PROTECTED] wrote:
 On Thu, Aug 16, 2007 at 09:50:30PM +0800, hshh wrote:
  I try to disable eval() function in php script, but failed.
  In php.ini disable_functions=eval is not work, but other functions.
  So, is it possible to disable eval()? Thanks.

 It don't work because eval() isn't a function.

 The Suhosin protection system would let you do so. If an option:
 http://www.hardened-php.net/suhosin/configuration.html#suhosin.executor.disable_eval


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Is it possible to disable eval()?

2007-08-16 Thread hshh
Hi,
I try to disable eval() function in php script, but failed.
In php.ini disable_functions=eval is not work, but other functions.
So, is it possible to disable eval()? Thanks.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Howto disable echo back in windows?

2005-02-03 Thread Unreal HSHH
I need to get data from stdin, but i don't know how to disable echo
back in windows.
There is stty -echo in unix like OS, but what about windows?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Hoe does that work - http://www.domainname.con/?var=lakjhd (instead of http://www.domainname.con/file.php?var=lakjhd)?

2005-02-03 Thread Unreal HSHH
Rename the file.php to your web server default index file name, such
as index.php.
Or make a rewrite for it


On Thu, 03 Feb 2005 09:42:45 +, symbulos partners
[EMAIL PROTECTED] wrote:
 How do you activate / allow the behavious
 
 http://www.domainname.con/?var=lakjhd
 
 instead of the more traditional
 
 http://www.domainname.con/file.php?var=lakjhd
 --
 symbulos partners
 -.-
 symbulos - ethical services for your organisation
 http://www.symbulos.com
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Is it possible compile a php script to native binary like perlcc ?

2005-02-02 Thread Unreal HSHH
Hi,
Is it possible compile a php script to native binary like perlcc ?
That can run the binary and no depend on php.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] How can I build a no depends module?

2005-01-13 Thread Unreal HSHH
Hi,

I want to build a dba module with qdbm.
But after I cp the dba.so to another machine, it depends on libqdbm.so.
How can I build a no depends module? So I am not have to make qdbm to
other machine.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Cant use MYSQLi with Zend Performance Suit 4.0.2

2004-10-23 Thread Unreal HSHH
I am trying Zend Performance Suit,and using php5.0.2 w/ MySQL 4.1.6 on
my FreeBSD 4.10 box.

But it doesn't seem working,it make php core dump forever.
When the php script is calling MYSQLi functions , php core dump.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP 5.0.1 compiled with mysql and mysqli in FreeBSD always core dump

2004-08-20 Thread Unreal HSHH
FreeBSD 4.10/5.2.1
mysql 4.1.3 linuxthreads in FreeBSD4, KSE in FreeBSD5

Compile PHP with mysql and mysqli together,i get core dump always.
And the most core dump is using mysqli functions.

Is it a bug?Any body have good idea?
Now i am back to PHP 5.0.0

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP 5.0.1 cli with mysqli on FreeBSD core dump

2004-08-13 Thread Unreal HSHH
try FreeBSD 4.x and 5.x
cli with mysqli usage,core dump

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] [ mysqli ] how can i define the charset for mysqli

2004-07-18 Thread hshh
i want to use utf8 charset to connect the mysql4.1.x,and use the mysql
charset for tables,columns.

but i cant found the charset setting or function in php.

how can i do it?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] [ mysqli ] how can i define the charset for mysqli

2004-07-18 Thread Unreal HSHH
i want to use utf8 charset to connect the mysql4.1.x,and use the mysql
charset for tables,columns.

but i cant found the charset setting or function in php.

how can i do it?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php