Re: [PHP] Serious bug ?

2006-02-05 Thread Marco Kaiser
to the value of the parameter $msg, and assigning to one var will > overwrite values in unrelated variables. I repeat, this only happens if > you tried to access non-existent var or array member before that. > > So it's a bug. Do I get a PHP T-shirt ? :-) > > Boban. > > &

Re: [PHP] Get text from funky url?

2006-01-20 Thread Marco Kaiser
reen name to see what it returns > > I tried include(); but the quotes in the url broke it. Tried escaping them > too, still no luck.??? > > TIA > > -Mike > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Marco Kaiser

Re: [PHP] Case-Insensitive include on linux.

2006-01-11 Thread Marco Kaiser
Date: > 2006/01/10 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Marco Kaiser

Re: [PHP] interfaces - your opinion

2005-12-30 Thread Marco Kaiser
Hi Jochem, i know what you mean, but you can't define code in interfaces to implement a logic. You should use an abstract class to restrict the access. I think a interface should just define a rude prototype of function -- Marco Kaiser

Re: [PHP] Migration from MySQL to MS-SQL Server

2005-12-09 Thread Marco Kaiser
hi, you should also check your sql statements because they are maybe not compatible. Mysql have many mysql specific functions and behaviors. 2) I have not worked with MS-SQL Server before. Is there anything else which > I should keep in mind? > -- Marco Kaiser

Re: [PHP] href difference between OS's.

2005-12-09 Thread Marco Kaiser
Hi, just link directly to the specific file like Link Local the browser knows then how to handle this link. -- Marco

Re: [PHP] Re: Preventing Cross Site Scripting Vulnerbilities

2005-12-08 Thread Marco Kaiser
Hi, IMO, the best way to avoid XSS is to filter _output_. > > My script: > http://nengine.korsengineering.com/files/src/misc/HtmlFilter.phps > uhm, 1st. filter input 2nd escape output -- Marco Kaiser

Re: [PHP] configuring the CLI version of PHP

2005-12-06 Thread Marco Kaiser
Hi Jonathan, /usr/bin/php > /usr/include/php > /usr/lib/php > > How would I know which version in which? "which php" should tell where your phpcli binary are. php -v should tell you which php version you are running. -- Marco Kaiser

Re: [PHP] php problem

2005-12-02 Thread Marco Kaiser
(FF and FE in > hexadecilam) at the start of file. > -- Marco Kaiser -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] why php not running ?

2005-12-02 Thread Marco Kaiser
Hi Mehmet, can you provider a full backtrace of your core dumped php?` > [EMAIL PROTECTED] -> [~]#cat first.php > <%php > echo "Hello World!"; > %> > [EMAIL PROTECTED] -> [~]# > > Segmentation fault (core dumped) > [EMAIL PROTECTED] -> [~]# -

Re: [PHP] shortest possible check: field is set, integer or 0

2005-12-02 Thread Marco Kaiser
er a positive integer or 0, but that also > > accepts/converts 1.0 or 5.00 as input?" > > > > Although, with more caffeine in my system, doing something like > > > > $x = abs(intval(@$_POST['x'])); > > $_CLEAN['x'] = isset($_POST['x']) ? ($x == $_POST['x'] ? $x : false) > > : false; > > > > or, to be more obfuscated, > > > > $_CLEAN['x'] = isset($_POST['x']) ? (($x = > > abs(intval(@$_POST['x']))) == $_POST['x'] ? $x : false) : false; > > > > should do what I was trying to do, more succinctly. > > > > - slightly more awake steve > > > > > > plenty for the OP to chew on anyway ;-) > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Marco Kaiser -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Including classes

2005-11-22 Thread Marco Kaiser
ke to show any results. can you post a working example that can show me the problem? -- Marco Kaiser -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php related segmentation fault with Apache 2.0.55

2005-11-21 Thread Marco Kaiser
on of php. Disable alle Zend Stuff in you php.ini and tell me if this error still happen. -- Marco Kaiser -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php related segmentation fault with Apache 2.0.55

2005-11-21 Thread Marco Kaiser
Hi Kristina, I think there is no version available for 5.1.0-cvs. Try to remove the Zend Extensions and give me please feedback. > I just installed the latest available snap, and now I'm seeing a zend > error, but not a sapi error: -- Marco Kaiser -- PHP General Mailing List (http://

Re: [PHP] php related segmentation fault with Apache 2.0.55

2005-11-21 Thread Marco Kaiser
Hi Kristina, have you tried the lates cvs snap? I know there was some problems with apache2 and mod_rewrite maybe it is solve in CVS. -- Marco Kaiser -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Zend + Eclipse + Standized Framework

2005-11-13 Thread Marco Kaiser
Hi Dan, there are no details right now. Check frequently zend.com for updates about the framework and upcomming zend eclipse stuff. -- Marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mod_rewrite and include paths

2005-11-13 Thread Marco Kaiser
Hi Marcus, try to use realpath, dirname and other related funktion to resolv the real path. dirname(__FILE__) ? -- Marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Recommendations for the Zend PHP Certification

2005-11-13 Thread Marco Kaiser
Hi, i mean http://www.phparch.com/cert/ :) -- Marco > Aren't they the same books? > > I mean, I see the same authors, the same titles and the same pictures. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: emailing MySQL list not working

2005-11-12 Thread Marco Kaiser
Hi Bruce, first, there are just \n in your last header assignment. I think you should test it a bit mir, Try to send mails without the optional header. If this not work ask here again. -- Marco > >>> $headers .= "Mime-Version:1.0\n Content-Type: text/plain; > >>> charset=\"iso-8859-1\nCo

Re: [PHP] Recommendations for the Zend PHP Certification

2005-11-12 Thread Marco Kaiser
, there are 3 versions of the Standard SQL (1993, 1999 and > 2003), but, Which one am I going to need for this test? >- Should I learn to use another HTTP server? i'm certified and i can say, its not necessary that you learn the ANSI SQL Standard. Take your book start reading and i t

Re: [PHP] emailing MySQL list not working

2005-11-12 Thread Marco Kaiser
Hi, try to add in your $headers linebreaks. ("\r\n"). -- Marco > $headers = "From: $sender"; > $headers .= "Reply-To: $reply_to"; > $headers .= "Return-Path: $return_path"; > $headers .= "X-Sender: $x_sender"; > $headers .= "X-Mailer: PHP4\n"; //mailer >