RE: [PHP] Apache

2013-09-24 Thread Arno Kuhl
Googling returned many results where this was described as a major security threat e.g. "Beware of the default Apache 2 config for PHP" http://ilia.ws/archives/226-Beware-of-the-default-Apache-2-config-for-PHP.ht ml On that site the solution was to change AddHandler to AddType. My service provider is going the FilesMatch route. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Apache's PHP handlers

2013-09-19 Thread Arno Kuhl
Arno: If you can request that file using a web browser, and it gets executed as PHP on your server then there is an error in the Apache configuration. Easy test: create a file in a text editor containing some PHP ( would be enough) and upload it to the www root of your site and name it test.pgif

RE: [PHP] Apache's PHP handlers

2013-09-19 Thread Arno Kuhl
s handlers directly back to the browser, but > instead it sent it to the php handler. Is this normal behaviour or is there > a problem with my service provider's apache configuration? Trying this on > my localhost returns the file contents directly to the browser as expected > and does

RE: [PHP] Apache's PHP handlers

2013-09-19 Thread Arno Kuhl
ed my .htaccess file to go to a spam site when my site got a 404 error. That was nasty. Ken Sent from my iPad On Sep 19, 2013, at 7:35 AM, "Arno Kuhl" wrote: > For the past week I've been trying to get to the bottom of an exploit, > but googling hasn't been much help so f

[PHP] Apache's PHP handlers

2013-09-19 Thread Arno Kuhl
nstead it sent it to the php handler. Is this normal behaviour or is there a problem with my service provider's apache configuration? Trying this on my localhost returns the file contents directly to the browser as expected and doesn't run the php code. Cheers Arno

RE: [PHP] significance of escape character in string in PHP - MySQL

2013-03-18 Thread Arno Kuhl
ow about this. No doubt it's been general news for months or years but I see the PHP manual page you linked to was edited 3 days ago. Will have to see what ADOdb is doing - the last release I saw didn't support PDO_MySQL or mysqli. I googled and saw a first release of 5.5 will be

RE: [PHP] Re: UNLESS Statement Equivalent

2013-03-12 Thread Arno Kuhl
ol operators, but if so then wouldn't there be less need for the parentheses? I prefer using the Boolean keyword operators for both the readability and because of the lower precedence. Unless I've been wrong all this while and the keyword precedence is actually higher? Cheers Arno -- I c

RE: [PHP] Re: UNLESS Statement Equivalent

2013-03-12 Thread Arno Kuhl
ol operators, but if so then wouldn't there be less need for the parentheses? I prefer using the Boolean keyword operators for both the readability and because of the lower precedence. Unless I've been wrong all this while and the keyword precedence is actually higher? Cheers Arno --

RE: [PHP] Some date() oddities

2013-01-09 Thread Arno Kuhl
On Tue, 8 Jan 2013, Arno Kuhl wrote: > Starting with a unix timestamp for 31 December 2012 13:12:12 (which is > 1356952332) I calculate a week number: > > $ux_date = 1356952332; > > $weeknumber = date("W", $ux_date); // returns 01 instead of 52 I'm not that

[PHP] Some date() oddities

2013-01-08 Thread Arno Kuhl
instead of 52 I found some warnings regarding ISO8601 for this in the user notes for the date() function in the PHP manual but couldn't see how this is managed in code, does anyone know of a workaround for this? Cheers Arno

RE: [PHP] Unexpected Notice message

2012-07-05 Thread Arno Kuhl
ssumed 'QUERY_STRING' in > > I would guess that it's asking you to add quotes around QUERY_STRING...? As in: if (strlen($_SERVER['QUERY_STRING']) > 0) { Cheers -- Tim Excellent, a bit surprised but that was it, thanks a lot. Cheers Arno -- PHP Gener

[PHP] Unexpected Notice message

2012-07-04 Thread Arno Kuhl
int, I inspect the $_SERVER[QUERY_STRING] and it's got the expected value, it only executes that line once (never gets to that breakpoint again), and yet I get the notice message. Can anyone give me an idea what's going on here? Cheers Arno -- PHP General Mailing List (http://www.php

RE: [PHP] Watch out for automatic type casting

2012-03-30 Thread Arno Kuhl
-Original Message- From: Simon Schick [mailto:simonsimc...@googlemail.com] Sent: 29 March 2012 07:19 PM To: a...@dotcontent.net Cc: php-general@lists.php.net Subject: Re: [PHP] Watch out for automatic type casting Hi, Arno FYI: I found a page in the php-manual that's exactly for

RE: [PHP] Watch out for automatic type casting

2012-03-29 Thread Arno Kuhl
-Original Message- From: Simon Schick [mailto:simonsimc...@googlemail.com] Sent: 29 March 2012 07:19 PM To: a...@dotcontent.net Cc: php-general@lists.php.net Subject: Re: [PHP] Watch out for automatic type casting Hi, Arno FYI: I found a page in the php-manual that's exactly for

[PHP] Watch out for automatic type casting

2012-03-29 Thread Arno Kuhl
manual, I just never came across it. Just thought I'd highlight one of the gotchas of auto typecasting for any other simpletons like me. Cheers Arno

RE: [PHP] foreach weirdness

2012-03-25 Thread Arno Kuhl
, not following the list that actively. I'll try search next time before raising an issue. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] foreach weirdness

2012-03-25 Thread Arno Kuhl
ual and foreach references). Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] foreach weirdness

2012-03-25 Thread Arno Kuhl
From: Simon Schick [mailto:simonsimc...@googlemail.com] Sent: 24 March 2012 12:30 AM To: Robert Cummings Cc: a...@dotcontent.net; php-general@lists.php.net Subject: Re: [PHP] foreach weirdness 2012/3/23 Robert Cummings > > On 12-03-23 11:16 AM, Arno Kuhl wrote: >> >> &g

RE: [PHP] foreach weirdness

2012-03-25 Thread Arno Kuhl
ified as a bug, or at least the manual needs to elaborate on using a foreach when you assign the $value by reference. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] foreach weirdness

2012-03-23 Thread Arno Kuhl
-Original Message- From: Robert Cummings [mailto:rob...@interjinn.com] Sent: 23 March 2012 06:11 PM To: a...@dotcontent.net Cc: php-general@lists.php.net Subject: Re: [PHP] foreach weirdness On 12-03-23 11:16 AM, Arno Kuhl wrote: > The following snippet is copied from the php man

[PHP] foreach weirdness

2012-03-23 Thread Arno Kuhl
u don't, not only will you get the wrong results but the array itself is actually altered, even if there's no code in the loop to alter it. Is that correct or is it a bug? At what stage can you start using the array in the "normal" way again? That could create hair-pulling hav

RE: [PHP] Getting knotted with quotes encoding - (one possible solution)

2012-03-19 Thread Arno Kuhl
Tue, 13 Mar 2012 16:35:44 +0200, Arno Kuhl sent: > >> From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] >> Sent: 13 March 2012 03:25 PM >> To: a...@dotcontent.net; php-general@lists.php.net >> Subject: Re: [PHP] Getting knotted with quotes encoding >> >

RE: [PHP] Getting knotted with quotes encoding - (one possible solution)

2012-03-13 Thread Arno Kuhl
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: 13 March 2012 03:25 PM To: a...@dotcontent.net; php-general@lists.php.net Subject: Re: [PHP] Getting knotted with quotes encoding Arno Kuhl wrote: >I've been battling with quotes encoding when outputting javascript with &

[PHP] Getting knotted with quotes encoding

2012-03-13 Thread Arno Kuhl
d, and it would then be displayed with single quotes even though the user entered double quotes. It's far from ideal but it would work, though I can think of a few situations where it would be quite confusing to the reader. Are there any other solutions that would allow both types of quotes wit

[PHP] ip2long and ipv6

2012-01-09 Thread Arno Kuhl
andard way to store ip addresses in sql for quick lookup? Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Seeking strategy/algorithm for maintaining order of records

2011-10-17 Thread Arno Kuhl
can't think of any way of processing a form with multiple order changes other than looping through the post the way you described. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Dennis Ritchie, Father of Unix and C programming language, dead at 70

2011-10-15 Thread Arno Kuhl
-Original Message- From: Daevid Vincent [mailto:dae...@daevid.com] Sent: 14 October 2011 12:08 AM To: php-general@lists.php.net Subject: [PHP] Dennis Ritchie, Father of Unix and C programming language, dead at 70 #include int main() { printf("R.I.P. Dennis Ritchie: 1941-2011\n")

RE: [PHP] Check for open file

2011-03-04 Thread Arno Kuhl
e using a reserved extension for the copy and then renaming to the proper filename after the copy is complete, or copying to a temp directory and then moving the file to the destination directory once copied (renames and moves take milliseconds). Assuming you're able to automate the copy process

RE: [PHP] Paging and permissions

2011-02-09 Thread Arno Kuhl
the most common permissions are group/category and group/container, where an article can be assigned to one or more category/containers. Using a temporary permission table could be the solution. Thanks. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Paging and permissions

2011-02-09 Thread Arno Kuhl
On Tue, 2011-02-08 at 14:36 +0200, Arno Kuhl wrote: I'm hoping some clever php gurus have been here before and are willing to share some ideas. I have a site where articles are assigned to categories in containers. An article can be assigned to onl

[PHP] Paging and permissions

2011-02-08 Thread Arno Kuhl
y large data set for file or fast writing to a new table (ie I obviously don't want to write it record by record) 3. Are there any other alternatives worth looking at? TIA Cheers Arno

RE: [PHP] tutorial failure

2010-08-18 Thread Arno Kuhl
e -- Shouldn't that be http://localhost/test.php Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Recent Influx of Unrelated Discussions

2010-07-16 Thread Arno Kuhl
day. But I also think those same users have the skills and filters to quickly scan and find the posts that are useful/interesting/relevant. Personally I think this list is great, even with some of the off-topic discussion. And your own involvement has always been very professional, and of course ve

RE: [PHP] Dynamic Menus in a PHP Form Issue

2010-05-25 Thread Arno Kuhl
t being put into the output buffer the way you're expecting (e.g. maybe the quotes don't match). You can look at the source code in the browser and compare it against the working html code to see where the difference is. Cheers Arno -- PHP General Mailing List (http://www.php

RE: [PHP] Forward to a Different PHP Script?

2010-05-11 Thread Arno Kuhl
of the function that I should use? Thanks for your help. Alice _ Use include(mypages/another_program.php); Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: PHP Application Structre

2010-05-11 Thread Arno Kuhl
and adding mod-rewrite can be done without needing to change the entry script. If another completely unrelated app is ever added I'll just call it's script as Ashley described. The design allows for some interesting options, like a single installed app running multiple domains.

RE: [PHP] PHP Application Structre

2010-05-10 Thread Arno Kuhl
_ From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: 10 May 2010 01:58 PM To: a...@dotcontent.net Cc: 'Alex Major'; 'php-general General List' Subject: RE: [PHP] PHP Application Structre On Mon, 2010-05-10 at 13:15 +0200, Arno Kuhl wrote: -Origina

RE: [PHP] PHP Application Structre

2010-05-10 Thread Arno Kuhl
developer friendly option? Alex. = The second option doesn't really belong here, because you could go for option 1 or option 3, and then decide whether to hide your implementation behind a mod-rewrite. Option 2 would rather be part of a separate question "what is the cost/benefit of

RE: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Arno Kuhl
h (or little) development experience do you have? Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Arno Kuhl
have pointed out you use the right tools for the job, and if php doesn't have what is required then use something else. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Using $$

2009-11-19 Thread Arno Kuhl
-Original Message- From: Ford, Mike [mailto:m.f...@leedsmet.ac.uk] Sent: 19 November 2009 07:06 PM To: php-general@lists.php.net Subject: RE: [PHP] Using $$ > -Original Message- > From: Arno Kuhl [mailto:ak...@telkomsa.net] > Sent: 19 November 2009 12:23 > > I

[PHP] Using $$

2009-11-19 Thread Arno Kuhl
also tried ${$input} but same result. I tested something other than a superglobal and it works as expected. What am I missing? Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Anyone using Aptana and Xdebug? Or other debugger recommendations besides Zend?

2009-11-09 Thread Arno Kuhl
last few years to see how it was progressing, but wasn't that impressed. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Need unrounded precision

2009-10-11 Thread Arno Kuhl
- strpos the decimal - grab the char from the next position Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Output buffering

2009-10-07 Thread Arno Kuhl
From: djo...@gmail.com [mailto:djo...@gmail.com] On Behalf Of David Otton Sent: 07 October 2009 10:54 AM To: a...@dotcontent.net Cc: php-general@lists.php.net Subject: Re: [PHP] Output buffering 2009/10/7 Arno Kuhl : > According to the manual I shouldn't see anything at

[PHP] Output buffering

2009-10-07 Thread Arno Kuhl
e an error about "headers already sent" or something). Looking at phpinfo confirms the value echoed by the script. Has something changed with output buffering? Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Fixing the path

2009-09-14 Thread Arno Kuhl
olute paths, one for includes and one for urls. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP configuration values

2009-09-11 Thread Arno Kuhl
On Fri, Sep 11, 2009 at 3:06 AM, Arno Kuhl wrote: > I'm having some problems with the way my service provider is > implementing FastCGI. My tests show that local configuration values > are no longer used, even though those are the values reported by php > when the script queri

[PHP] PHP configuration values

2009-09-11 Thread Arno Kuhl
nt me to a definitive reference. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] header problem

2009-09-10 Thread Arno Kuhl
output buffer. If you want to continue using output buffering after an ob_end_clean() you'll have to do an ob_start() again. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: page works on public web site, but not on my computer

2009-08-27 Thread Arno Kuhl
php community? The error message mentions the script name and a line number, have you checked what code is causing the error? You said you installed php 5.3 on your pc. Chances are very high that the host you uploaded this to is not running php 5.3. Someone previously mentioned that there are differences between 5.3 and the previous versions that could account for your issues. Have you tried installing php 5.2 and trying it again? There are also settings in php ini file that you can change to change the error reporting, but it's not clear if you've tried that yet. One final thing, have you tried to google with the error message to see how others dealt with this problem? Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Beginner question

2009-08-25 Thread Arno Kuhl
initial html code and finds And sends a request back to the server for pp.php The server runs pp.php and send the output generated by the php script back to the browser, so effectively the browser ends up with Printing with php Obviously that isn't going to work. Hopefully you can now see

RE: [PHP] (was: anchor inside form) js switched on/off

2009-08-25 Thread Arno Kuhl
> > You can use javascript behind a button or image or link to submit the > form from anywhere in your html page. You don't need the anchor but > you do need a form name. Something like: > > href="javascript:document.FormName.submit();" > > Cheers &g

RE: [PHP] anchor inside form

2009-08-25 Thread Arno Kuhl
e: href="javascript:document.FormName.submit();" Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] about to run PHP script when POST data.

2009-08-21 Thread Arno Kuhl
lly when it runs out of execution time (defined in php.ini) Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Invoking functions stored in a separate directory?

2009-08-21 Thread Arno Kuhl
u do dev on a Windows pc and deploy on a *nix box without any problems - just use a different path file for each. One other advantage it will give you for your particualr design is that you can have multiple engines per server (e.g. Engine1, Engine2, etc) so that you can bring one engine down for upgra

RE: [PHP] How to make sure that the target file to read is not under writing by others?

2009-08-20 Thread Arno Kuhl
that may no longer be consistent (until you finish your update) that you'd want to lock it. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Arno Kuhl
s a feature. If you want to be able to use different browser windows as though they were different users then use different browsers e.g. IE and FF on the same client-side computer will look like two separate end users to the server, and they don't share session info or cookies. Cheers Arno

RE: [PHP] How to make sure that the target file to read is not under writing by others?

2009-08-19 Thread Arno Kuhl
2009-08-19 at 15:31 +0200, Arno Kuhl wrote: > (any computer would instantly crash if that sort of basic housekeeping > wasn't done) No, it really wouldn't! If it did, then you'd never have video playing software out there that supported broken downloads, no preview software for

RE: [PHP] How to make sure that the target file to read is not under writing by others?

2009-08-19 Thread Arno Kuhl
2009-08-19 at 12:56 +0200, Arno Kuhl wrote: > -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: 19 August 2009 11:57 AM > To: a...@dotcontent.net > Cc: 'Dengxule'; 'Php Maillist' > Subject: RE: [PHP] How to make su

RE: [PHP] How to make sure that the target file to read is not under writing by others?

2009-08-19 Thread Arno Kuhl
2009-08-19 at 11:55 +0200, Arno Kuhl wrote: > -Original Message- > From: Dengxule [mailto:dengx...@gmail.com] > Sent: 19 August 2009 09:56 AM > To: Php Maillist > Subject: [PHP] How to make sure that the target file to read is not > under writing by others? > > H

RE: [PHP] How to make sure that the target file to read is not under writing by others?

2009-08-19 Thread Arno Kuhl
control file that is updated by the program transferring the log file only when the transfer is completed, and work on that. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] DB Question | A hotel reservation scenario

2009-08-18 Thread Arno Kuhl
moment of your time and share your opinion. Thank you in advance, -b - You get that information from the history table. I presume there is some sort of a history table? Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: unsetting a referenced parameter in a function

2009-07-23 Thread Arno Kuhl
e'. Local $a and global $a have the same names but are different variables. Also, the local $a after unset($a) happens to have the same name as the $a before unset($a) but it's a different variable, it could just as easily been called $b after unset($a). A final point: the "global $a;" in the function doesn't mean it's THE global $a, it just means it's a local variable called $a pointing to (referencing) a global variable with the same name. In PHP it has to be the same name because that's the way the "global" statement works, but it can sometimes create the impression that it's the same variable. Hope I haven't made that as clear as mud. Cheers Arno -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-10 Thread Arno Kuhl
art, because once a thread starts getting complicated with many responses then bottom posting definitely makes it easier to follow, but most threads don't get to that stage. Just my 2c. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] This Friday's OT Thread

2009-06-26 Thread Arno Kuhl
-Original Message- From: Michelle Konzack [mailto:linux4miche...@tamay-dogan.net] Sent: 26 June 2009 03:20 PM To: php-general@lists.php.net Subject: Re: [PHP] This Friday's OT Thread ...and no one care about the foreign (european) sniper WHO killed Neda in Iran. Note: I can not reach

RE: [PHP] PHP doesn't see php.ini

2009-06-25 Thread Arno Kuhl
HP can't find libraries of MySQL extensions. But this libraries exactly exist in folder that indicated in error messages. What that could be? -- Does mysql run from the command line? You can also download MySQL Administrator from mysql.com and see if it can connect to mysql. Cheers Arno

RE: [PHP] PHP doesn't see php.ini

2009-06-25 Thread Arno Kuhl
"extension=php_dummy.dll" to check that the error logging is working. If your logging is working and there is no error reported for loading the mysql extension, and you still see no entry for mysql in phpinfo output, then you have a different problem, maybe a mysql installation problem. HTH Arno "Cat, the other other white meat" - looks like the economic downturn hit really hard... Does it go with "Weed, the other green tea"? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] sessions tutorial

2009-06-19 Thread Arno Kuhl
than digging salt mines, and has the added advantage of enlightening you to new possibilities you hadn't thought of before. I've done both (but I'm no guru) and I can definitely recommend both, especially having a book around for a reference when you want to quickly check something -

RE: [PHP] php applications

2009-06-10 Thread Arno Kuhl
D fine in wine or vmware, but I don't know if that also works for PhpDock runtime. I haven't tried any PhpDock development. http://www.nusphere.com/products/phpdock.htm Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] WHILE LOOP PROBLEM

2009-03-27 Thread Arno Kuhl
The webserver or php environment is probably terminating the script. It will only run for the max number of seconds set in your php.ini file. Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Frameworks / obstinate?

2009-03-23 Thread Arno Kuhl
apps that will all but eliminate the need for server-side processing, but it's likely more power on the client will mean internet apps are going to be more powerful all round, both client and server side. Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

RE: [PHP] [News] Affordable Independent Web Developer - Search Engine Optimization Services - March 19th, 2009

2009-03-20 Thread Arno Kuhl
Sounds like a good deal - clean your home and develop your home page all-in-one. A sailor friend once told me about all-in-one services he got when he stopped for shore leave in Bangkok - also sounded like a good deal, though I don't think it included web development. Experienced sailors pre-booked

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] 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] 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

[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] 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

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
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
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? &

[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] Forum coded in PHP with mail and news gateway

2008-06-11 Thread Arno Kuhl
Not sure about the gateways but you can look at www.phpbb.com -Original Message- From: Michelle Konzack [mailto:[EMAIL PROTECTED] Sent: 11 June 2008 04:52 To: PHP - General Subject: [PHP] Forum coded in PHP with mail and news gateway Hello, because it is actual for me while having som

RE: [PHP] Problem with script timing out in php 4.4.8

2008-06-04 Thread Arno Kuhl
tion_time").""; echo "sleeping ".date('h:i:s').""; sleep($t); echo "stop sleeping ".date('h:i:s'); ?> ?> Same result, $t=59 works but $t=70 times out Cheers Arno -Original Message- From: Ólafur Waage [mailto:[EMAIL PROTEC

[PHP] Problem with script timing out in php 4.4.8

2008-06-04 Thread Arno Kuhl
bruary and checking the archives I see no-one else has reported this problem, which seems highly unlikely, so I'm wondering if this is specific only to my environment somehow. Has anyone else had problems with max_execution_time in 4.4.8? Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Conditional popup driven from server-side

2008-04-08 Thread Arno Kuhl
Arno Kuhl <[EMAIL PROTECTED]> wrote: > I know popup windows are a client-side issue, but I can't figure how > to create and close a popup window from the server side only on > condition, otherwise display normal browser page. > > What I want is to accept a form,

[PHP] Conditional popup driven from server-side

2008-04-07 Thread Arno Kuhl
results of a php script, but I need to do it the other way round. Can anyone please suggest some pointers on how to generate a conditional popup from the server, and then get the server to close it when done. Thanks Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

RE: [PHP] PHP date: ISO year = loss of hair

2007-12-14 Thread Arno Kuhl
the actual count, and if the start date was 30/31 Dec 07 I got 52 weeks more than the actual count. All the other dates worked fine, and would have worked fine for the next 4 years. The next time "week 53" occurs is in 2012. Cheers Arno -- PHP General Mailing List (http://www.php.net/) T

RE: [PHP] PHP date: ISO year = loss of hair

2007-12-14 Thread Arno Kuhl
-Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: 14 December 2007 04:50 To: [EMAIL PROTECTED]; php-general@lists.php.net Cc: Arno Kuhl Subject: Re: [PHP] PHP date: ISO year = loss of hair At 10:02 AM +0200 12/14/07, Arno Kuhl wrote: >I'm battling with getting the l

[PHP] PHP date: ISO year = loss of hair

2007-12-13 Thread Arno Kuhl
ciated. Thanks Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] IDE

2007-11-16 Thread Arno Kuhl
icated to PHP IDE's, with user polls. Then whenever the IDE thread pops up the response would be to look at the web site (RTFWS). The only downside might be the resources to run it. BTW jammer, if you start using php for big projects I'd recommend NuSphere PhpED, but it's overkill if you just want to dabble. There's a trial version if you want to check it out, and a good tip is they drop the price every now and then for promotions (wish I knew that 4 years ago). Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] IDE

2007-11-16 Thread Arno Kuhl
y ZS users who would disagree. Best advice is do what I did - download both trial versions and give them a thorough test yourself. What you feel comfortable with is likely different to what I feel comfortable with. Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Generating foldout menus in php

2007-09-04 Thread Arno Kuhl
e css >or dhtml or something else (maybe something in javascript that I missed) to do this? > >Thanks >Arno Arno: There's really no way to do this just using php. I can envision a way to use php with a couple of other languages to provide drop-down and pop-out menus, but that woul

RE: [PHP] Generating foldout menus in php

2007-09-04 Thread Arno Kuhl
I misunderstood the manual). I had problems making it work on my local machine. The annotated.example.html displayed an error code (I presume) on right click. BTW I stumbled across cssplay in my search and think it may be the solution. Just trying to figure if lack of support for IE5 is a proble

[PHP] Generating foldout menus in php

2007-09-03 Thread Arno Kuhl
I missed) to do this? Thanks 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]

[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] Ide help needed

2007-04-02 Thread Arno Kuhl
Nuspere's PHPEd. Highly recommended. I looked at all the alternatives, including Zend and Eclipse, and IMO PHPEd is superior. And faster performance is a real bonus. Arno -Original Message- From: Davi [mailto:[EMAIL PROTECTED] Sent: 02 April 2007 02:50 To: php-general@lists.ph

[PHP] Newline and tab characters

2007-03-26 Thread Arno Kuhl
haracters before display, checking first that they don't occur within a tag in which case I mustn't strip them. TIA Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Data Types Problem

2007-03-11 Thread Arno Coetzee
x27;"; }else if (is_numeric($theMessage)) { echo "Numeric Input : " . $theMessage; }else { echo "Invalid Input"; } ?> i presume that i am not interpreting the data types it should be interpreted. can anyone please help -- Arno Coetzee Flash Me

  1   2   >