[PHP] Why does this encoding work in PHP?

2007-05-04 Thread Arno Kuhl
\151\154\145\56\160\150\160"; Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP debugger

2007-05-16 Thread Arno Kuhl
to not load, though in that case it should report an error. You can't use the dbg integrated in PHPEd after uninstall because it doesn't work without PHPEd. Arno -Original Message- From: Miles Thompson [mailto:[EMAIL PROTECTED] Sent: 15 May 2007 08:21 To: PHP List Subject: [PHP]

RE: [PHP] Controlling a scanner with PHP

2006-06-27 Thread Arno Kuhl
ought it always had to be run under a web server, and would be interested to know what the other options/opportunities are. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: PHP Frameworks - Opinion

2006-08-03 Thread Arno Kuhl
I'm not so sure if the botanist wasn't saying in a rather confused way that he was playing on the same side as PHPClasses, even if he did profess to be in the other team. Did he say he was rolling his own (in a way only botanists can do) or not? -Original Message- From: Jochem Maas [mailt

RE: [PHP] Cron running 'Hello world' script dies with "Could not startup."

2006-08-08 Thread Arno Kuhl
Is there anything in your error log that says why it failed? (whatever error_log points to in php.ini, or maybe what ErrorLog points to in httpd.conf) Arno -Original Message- From: Ivo F.A.C. Fokkema [mailto:[EMAIL PROTECTED] Sent: 08 August 2006 01:42 To: php-general@lists.php.net

[PHP] Problems with date()

2006-09-13 Thread Arno Kuhl
ed further than 2005. Why do I get the weird lastweek values for 2001, 2002, and 2003? I'm using PHP 4.3.4 on Win2000. Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Problems with date() - SOLVED

2006-09-13 Thread Arno Kuhl
Hi Ducarom Thanks, that clarifies the issue perfectly. Changing to 28 December now reliably gives the last week number of the year every time. Cheers Arno -Original Message- From: Ducarom [mailto:[EMAIL PROTECTED] Sent: 13 September 2006 09:23 To: [EMAIL PROTECTED] Cc: php-general

RE: [PHP] Re: Frustrated trying to get help from your site

2006-09-22 Thread Arno Kuhl
Use one of the skins and it's even better (I use the phpZ skin which displays a tab for the user notes). Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Detecting naughty sites

2006-11-28 Thread Arno Kuhl
a match in the urls. You can back this up with a proper T&C. If you've got something like this in place you can fine-tune the keyword lists as the site develops and you find consistent false matches or urls that slip through. Arno -Original Message- From: Dave Goodchild [mailto:[EM

RE: [PHP] making php code from db work

2006-03-17 Thread Arno Kuhl
x27;t recognise any server-side script in that output (which is what you've already experienced). Arno DotContent Professional Content Management Solutions -Original Message- From: Schalk [mailto:[EMAIL PROTECTED] Sent: 17 March 2006 12:08 To: php-general@lis

[PHP] Can't get rid of escaped quote (solved, but...)

2006-03-23 Thread Arno Kuhl
be coding in a different language. So... (1) Why are these quotes being escaped even with magic_quotes_gpc off? (2) Why doesn't stripslashes or str_replace remove the backslashes? (3) How do I get rid of these backslashes without killing the server? I'm sure I'm doing something really st

RE: [PHP] how include works?

2006-05-30 Thread Arno Kuhl
ut I've never really understood the reason for having both. Is it to help find errors in sloppy coding, or is there a case where including a file more than once is desirable (and won't cause an error)? Arno DotContent Professional Content Management So

RE: [PHP] how include works?

2006-05-30 Thread Arno Kuhl
>On 5/30/06, Arno Kuhl <[EMAIL PROTECTED]> wrote: > > I understand the difference well enough, but I've never really understood > the reason for having both. Is it to help find errors in sloppy coding, or > is there a case where including a file more than once is desir

[PHP] Apache blocking certain requests instead of php

2008-07-23 Thread Arno Kuhl
ocessing which I'd rather not have php busy with. (The php script rejects anything where id=something_not_numeric.) Is there a way for apache to catch these requests before passing it to php? Is it more efficient for apache to handle this than php? Arno -- PHP General Mailing List (http:

RE: [PHP] Apache blocking certain requests instead of php

2008-07-24 Thread Arno Kuhl
ot;, but > it takes processing which I'd rather not have php busy with. (The php > script rejects anything where id=something_not_numeric.) Is there a > way for apache to catch these requests before passing it to php? Is it > more efficient for apache to handle this than php? &

RE: [PHP] Apache blocking certain requests instead of php

2008-07-24 Thread Arno Kuhl
txt or php) on someone else's server. I was hoping there's a way to tell apache to block requests where id=non_numeric. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Apache blocking certain requests instead of php

2008-07-24 Thread Arno Kuhl
Die hacker die!"); } } I'm sure there would be a way to do it with ModRewrite or something but it's 5 lines of code in php so I'd do it there *shrug*. -- Thanks, I'm already doing something like that, but I want to stop it getting to php. Cheers Arno -- PHP

RE: [PHP] Apache blocking certain requests instead of php

2008-07-24 Thread Arno Kuhl
Hi Arno No, when you use it's not filesystem specific any more. But I've just found out that you can't match on the query-string. > These images aren't on my server, and > the requests aren't trying to access images on my server. What I see > are requests us

[PHP] DOCTYPE, javascript and Firefox

2008-10-30 Thread Arno Kuhl
t;no" is clicked they're disabled. This code works fine in IE, Opera and Chrome, but gives a javascript error in FF when I click the radio button: "autostartlabel is not defined". However if I comment out the DOCTYPE line in the header it works fine in all browsers including FF. (Too

RE: [PHP] DOCTYPE, javascript and Firefox

2008-10-30 Thread Arno Kuhl
-Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: 30 October 2008 03:58 PM To: [EMAIL PROTECTED]; 'PHP - General' Cc: Arno Kuhl Subject: Re: [PHP] DOCTYPE, javascript and Firefox At 3:45 PM +0200 10/30/08, Arno Kuhl wrote: >I came across an odd thing

RE: [PHP] DOCTYPE, javascript and Firefox

2008-10-31 Thread Arno Kuhl
e what DOCTYPE the browser chose to use? The browser is obviously smarter than I am in selecting DOCTYPEs so maybe I should follow its cue. Thanks to everyone else who kindly responded as well, I really appreciate it. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Weird pdo-mysql behavior

2008-11-13 Thread Arno Kuhl
a non-object When calling: getClientFullName BTW try to top post. -- Thodoris -- Hi Theodoris First place I'd look is to see if the sql query was successful. If it failed you'll get this error. You can try a simple test $sth = $dbh->query($sql); if

Re: [PHP] Date function and MySQL

2005-07-19 Thread Arno Coetzee
it will give you the date of the monday and the sunday of the current week hope this solves your problem. Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Best practices for deleting and restoring records - moving vs flagging

2005-08-11 Thread Arno Coetzee
is that you might sacrifice some speed(depends on the number of records in the table.) If the table does not grow that fast most def just flag the records as deleted. my2c worth -- Arno Coetzee Developer Flash Media Group Office : 2712 342 7595 Mobile : 2782 693 6180 -- PHP General Mailing List

RE: [PHP] Re: Making functions available from another script

2005-11-07 Thread Arno Kuhl
If it was working properly the function would be callable. Your include is probably not working - change it to "require" and see if you get an error. Using "include" doesn't give you an error if the include file is not found. Arno DotCont

RE: [PHP] PHP Search Engine

2005-11-09 Thread Arno Kuhl
sounds like this is specifically for html pages, or am I assuming wrong? Do any of these or other search engines index html content held in a MySQL database? Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] What software do you use for writing PHP?

2005-12-06 Thread Arno Kuhl
thing yet to match PhpED. I develop on Windows but there's a Linux version too (which I haven't tried). If you're looking for a professional PHP IDE you won't find better. And BTW I don't work for Nusphere, I just really like their product. Arno Do

RE: [PHP] What software do you use for writing PHP?

2005-12-07 Thread Arno Kuhl
et to match PhpED. I develop on Windows but there's a Linux version too (which I haven't tried). If you're looking for a professional PHP IDE you won't find better. And BTW I don't work for Nusphere, I just really like their product. Arno Do

RE: [PHP] Results In Variable

2006-02-06 Thread Arno Kuhl
Or just append it... Example: $var = ""; $result = mysql_query(³SELECT filename, page_title FROM table²); while ($row = mysql_fetch_assoc($result)) { $var .= "{$row[Œpage_title¹]}"; } echo $var; Arno DotContent

<    1   2