[PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-06 Thread Jan Ehrhardt
? Could you test if your problems are solved when you use the latest opcache from github? https://github.com/zendtech/ZendOptimizerPlus Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-02 Thread Jan Ehrhardt
and that opcache is trailing behind (or something like that). Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-02 Thread Jan Ehrhardt
Jan Ehrhardt in php.general (Mon, 02 Sep 2013 10:57:14 +0200): Could you try to add a function_exists check to libs/upgradephp/upgrade.php? This at the function declaration of _json_encode: if (!function_exists('_json_encode')) { function _json_encode($var, ... And a extra } at the end

Re: [PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-01 Thread Jan Ehrhardt
special is displaying on the page. You have to grep your Apache error_log to know that it happens. How did you notice? Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-01 Thread Jan Ehrhardt
, if it was no known issue it is confirmed now. Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Jan Ehrhardt
Mihai Anghel in php.general (Mon, 19 Aug 2013 11:30:01 +0300): Check this http://www.php.net/manual/en/ini.core.php#ini.post-max-size Keyword: max_input_vars. Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] fpdf problem?

2013-08-09 Thread Jan Ehrhardt
Reader XI, version 11.0.3. Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: OPcache Instead of APC Now?

2013-07-30 Thread Jan Ehrhardt
should take a look at APCU (APC without the opcode cache): https://github.com/krakjoe/apcu Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 64bit php5.5.0beta3 on Windows

2013-04-25 Thread Jan Vávra
This is weird. I've expected working filesize and values 8, 2 ^63. Jan. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Extremely slow cURL curl_exec execution/response with 5.4.13

2013-03-22 Thread Jan Ehrhardt
having issues or have suggestions as to how to debug/proceed? PHP 5.4.13 on Apache 2.4.4 on Windows Server 2008 R2 Could you try the php_curl.dll from my build? See http://www.apachelounge.com/viewtopic.php?t=5233 for the right version. Jan -- PHP General Mailing List (http://www.php.net

[PHP] Re: Extremely slow cURL curl_exec execution/response with 5.4.13

2013-03-22 Thread Jan Ehrhardt
Jan Ehrhardt in php.general (Fri, 22 Mar 2013 10:40:56 +0100): Ron in php.general (Thu, 21 Mar 2013 17:25:39 -0500): When upgrading from 5.4.12 to 5.4.13, cURL curl_exec calls are taking something like 700ms to complete. (Even to a file on the same server.) If I replace php_curl.dll library

[PHP] Re: [PHP-DEV] PHP 5.3.22RC1 and 5.4.12RC1 Released for Testing!

2013-02-19 Thread Jan Ehrhardt
Johannes Schlüter in php.internals (Thu, 31 Jan 2013 16:00:17 +0100): If no critical issues is found in this RC, the final version will be released in two weeks. Just curious: what is keeping 5.3.22 and 5.4.12 from being released? Are there any issues? Jan -- PHP General Mailing List (http

[PHP] Re: [PHP-DEV] PHP 5.3.22RC1 and 5.4.12RC1 Released for Testing!

2013-02-19 Thread Jan Ehrhardt
Stas Malyshev in php.internals (Tue, 19 Feb 2013 15:35:54 -0800): Johannes Schlüter in php.internals (Thu, 31 Jan 2013 16:00:17 +0100): If no critical issues is found in this RC, the final version will be released in two weeks. Just curious: what is keeping 5.3.22 and 5.4.12 from being

Re: [PHP] Undefined Variables

2013-02-14 Thread Jan Ehrhardt
. Then the performance will be degraded. Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Configuration Issue (Error 310 ERR_TOO_MANY_REDIRECTS)

2013-01-09 Thread Jan Ehrhardt
Ken Kixmoeller in php.general (Wed, 9 Jan 2013 14:25:33 -0600): I have searched for 2 days trying to find references for this. I see a lot of PHP-driven applications having the same problem (mostly blogs), but no under the hood fixes. It might be a rewrite rule that rewrites to the original URL

[PHP] Php application with session used in a cluster

2012-12-12 Thread Jan Vávra
. And the last possibility is: 4. Can apache mod_proxy_balancer stick cookies by the session cookie name? Each app server can have its own session.cookie_name=PHPSESSION-X. But it is a query for a different forum... Can anybody give me an advice? Thanks. Jan.

Re: [PHP] Serving an image

2012-10-15 Thread Jan Ehrhardt
viper in php.general (Mon, 15 Oct 2012 17:58:06 +0200): then in your email you can put: img src=http://myurl.com/image.php?id=5; / Many receiving e-mail clients will not show external images. External images are used by spammers to trach if a message is read. Jan -- PHP General Mailing List

Re: [PHP] Fwd: ezmlm warning

2011-07-20 Thread Jan Reiter
Hi, I'm in Germany and I got it, too. I get those about once in 6 month ... nothing to worry about, is it?? Regards Original-Nachricht Datum: Wed, 20 Jul 2011 07:12:58 -0400 Von: Tim Thorburn immor...@nwconx.net An: php-general@lists.php.net Betreff: Re: [PHP] Fwd: ezmlm

[PHP] Bug #52782: DOMDocument subclass forgotten using -ownerDocument after closure

2010-10-05 Thread Jan Moesen
, and it only seems to happen with that closure. I have checked versions 5.3.1, 5.3.2, 5.3.3 and now the latest 5.3.4 snapshot compiled with './configure make'. More details and a test case: http://bugs.php.net/bug.php?id=52782 Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] two questions on serverside validation

2010-08-27 Thread Jan G.B.
2010/8/27 Jan G.B. ro0ot.w...@googlemail.com: But make sure the other code which we don't see - does not outpot any _POST / _GET / _REQUEST / _COOKIE variables without encoding the contents (f.e. htmlspecialchars), or - does not send and user supplied data without scaping the sb-related

Re: [PHP] two questions on serverside validation

2010-08-27 Thread Jan G.B.
.. (f.e. mysql_real_escape-string). Regards, Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] two questions on serverside validation

2010-08-25 Thread Jan G.B.
2010/8/25 Marc Guay marc.g...@gmail.com: function html($text) {        return htmlentities($text, ENT_QUOTES, 'UTF-8'); } function htmlout($text) {        return html($text); } Possibly irrelevant, and definitely not related to your questions, but is it just me or is htmlout() a

Re: [PHP] Re: How safe is a .htaccess file?

2010-08-24 Thread Jan G.B.
2010/8/19 Andre Polykanine an...@oire.org: Hello Nathan, Sorry, could you provide any links to read for a security noob?) Actually, I know that the md5 is decryptable (there are bases with words encrypted in md5), but I thought the SHA1 was secure... -- With best regards from Ukraine,

Re: [PHP] mysqldump

2010-08-24 Thread Jan G.B.
2010/8/18 Daniel P. Brown daniel.br...@parasane.net: On Tue, Aug 17, 2010 at 15:19, tedd t...@sperling.com wrote: Bingo -- that worked. It's interesting that a space is optional between -u and user, but required to be absent between -p and password. Seems not symmetrical to me.    The

Re: [PHP] Re: How safe is a .htaccess file?

2010-08-24 Thread Jan G.B.
2010/8/24 Bob McConnell r...@cbord.com: From: Peter Lind On 24 August 2010 15:43, Gary php-gene...@garydjones.name wrote: Jan G.B. wrote: The weakness of MD5 is mainly because MD5 collisions are possible. That means, that different strings can have the same MD5-hash... http

Re: [PHP] Re: How safe is a .htaccess file?

2010-08-24 Thread Jan G.B.
2010/8/24 Peter Lind peter.e.l...@gmail.com: On 24 August 2010 16:25, Jan G.B. ro0ot.w...@googlemail.com wrote: 2010/8/24 Bob McConnell r...@cbord.com: From: Peter Lind On 24 August 2010 15:43, Gary php-gene...@garydjones.name wrote: Jan G.B. wrote: The weakness of MD5 is mainly because

Re: [PHP] SQL Syntax [improved SQL]

2010-06-16 Thread Jan Reiter
pictures USING(pid); DROP temporary table if exists tmp_size; DROP temporary table if exists tmp_qi; This takes 0.12 seconds to return, which is quite bearable for now. Thanks again for all your input! Regards, Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] SQL Syntax

2010-06-15 Thread Jan Reiter
be an option, but that would immensely decrease flexibility. I guess I have to keep on cooking my brain on this ;-) I think I did it before, a few years ago when MySQL didn't support views yet, but I can't find that stuff ... @Dan: Thanks for forwarding my mail to the MySQL List! Regards, Jan

[PHP] SQL Syntax

2010-06-15 Thread Jan Reiter
. AND THAT DRIVES ME CRAZY!! I appreciate your thoughts on this. Regards, Jan

Re: [PHP] regular expression

2010-06-02 Thread Jan G.B.
2010/6/1 Peter Lind peter.e.l...@gmail.com: On 1 June 2010 17:33, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-01 at 16:31 +0100, Richard Quadling wrote: $re1 = '/^[a-z]++$/i'; $re2 = '/^[a-z ]++$/i'; -- - Richard Quadling Standing on the shoulders of some very

Re: [PHP] NetBeans Question

2010-05-31 Thread Jan G.B.
Hi there. I'm also a User of the Netbeans IDE and I can tell you the following: - Netbeans is the only IDE who can load very large PHP scripts (f.e. 1mb PHP Script with a multiple of 10thousands of lines) with syntax highlighting and SUPERB code completion. It works with include files, you can

Re: [PHP] Can't find my error

2010-05-07 Thread Jan G.B.
2010/5/6 David McGlone da...@dmcentral.net: On Wednesday 05 May 2010 16:19:35 Paul M Foster wrote: On Wed, May 05, 2010 at 01:03:41PM -0400, David McGlone wrote: On Wednesday 05 May 2010 12:51:00 Ashley Sheridan wrote: On Wed, 2010-05-05 at 12:55 -0400, David McGlone wrote: I've checked

Re: [PHP] Weird problem with is_file()

2010-04-26 Thread Jan G.B.
2010/4/25 Michelle Konzack linux4miche...@tamay-dogan.net: Hi, I have a code sniplet which does not work and I do not know why: 8--  $isfile=shell_exec(ls /tmp/tdphp-vserver/SESSION_ . $_SERVER['REMOTE_ADDR'] . _ .

[PHP] htmlentitites ENT_QUOTES in HTML attributes?

2010-04-23 Thread Jan G.B.
Hi List, I just figured, that the Browsers on my system do interpret #039; inside href or onclick attribute as a plain '. Imagine the user input is the following line: param2 foo';);alert(document.cookie);alert(' Which is being written by the script like that: a href=javascript:void(0);

Re: [PHP] escape \n

2010-04-23 Thread Jan G.B.
You can also just send out the correct Header for plain text. But your HTMl will not be interpreted then.. So this makes only sense if you actually want plain text as the output format. header(Content-type: text/plain; charset=utf8); echo foo\nbar; Regards 2010/4/23 Nick Balestra

Re: [PHP] Basic switch statement

2010-04-16 Thread Jan G.B.
2010/4/16 Adam Richardson simples...@gmail.com: On Thu, Apr 15, 2010 at 5:55 PM, Jason Pruim li...@pruimphotography.comwrote: On Apr 15, 2010, at 8:55 AM, tedd wrote:  At 4:13 PM -0400 4/14/10, Al wrote: Incidentally, about formatting scripts, one of the reasons I like phpEdit is that

Re: Re[2]: [PHP] Still searching for a bugtracking system

2010-04-01 Thread Jan G.B.
2010/3/30 Andre Polykanine an...@oire.org: Hello Jan, And what do you use then?) Sadly, I'm bound to use what I dislike. Mantis. ;) It's not my decision and in our business model there's no major benefit in switching the software, at this point. I can live with it. Regards -- With best

Re: [PHP] how to provide download of files mow in documentroot

2010-03-30 Thread Jan G.B.
2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: 2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: Top posting sucks, so I'll answer the post somewhere down there. SCNR 2010/3/29 Devendra Jadhav devendra...@gmail.com Then you can do file_get_contents within PHP

Re: [PHP] Still searching for a bugtracking system

2010-03-30 Thread Jan G.B.
2010/3/30 Alex Major p...@allydm.co.uk Surely if it's not suitable for your situation, it's not the best? :) Mantis is what I'd recommend and believe has already been recommend to you. Runs using PHP and MySQL, it's flexible for public or private projects, multiple projects etc. I do agree

Re: [PHP] how to provide download of files mow in documentroot

2010-03-30 Thread Jan G.B.
2010/3/30 Nathan Rixham nrix...@gmail.com: Jan G.B. wrote: 2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: 2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: Top posting sucks, so I'll answer the post somewhere down there. SCNR 2010/3/29 Devendra Jadhav devendra

Re: [PHP] bug tracking system

2010-03-29 Thread Jan G.B.
2010/3/29 Anshul Agrawal drinknder...@gmail.com There is something new based on Trac but written in PHP. mtrack (http://bitbucket.org/wez/mtrack/wiki/Home) It is written by one of the PHP Core Developers (Wez Furlong). May be you want to try it out. And there's something quite new that's

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread Jan G.B.
Top posting sucks, so I'll answer the post somewhere down there. SCNR 2010/3/29 Devendra Jadhav devendra...@gmail.com Then you can do file_get_contents within PHP. or any file handling mechanism. On Mon, Mar 29, 2010 at 1:00 AM, ebhakt i...@ebhakt.com wrote: Hi i am writing a web

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread Jan G.B.
2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: Top posting sucks, so I'll answer the post somewhere down there. SCNR 2010/3/29 Devendra Jadhav devendra...@gmail.com Then you can do file_get_contents within PHP. or any file handling mechanism. On Mon, Mar 29, 2010 at 1

Re: [PHP] constants STDOUT, STDERR, STDIN not working in 5.2.x?

2010-03-24 Thread Jan G.B.
2010/3/24 Marten Lehmann lehm...@cnm.de Hello, dan...@daniel-laptop:~$ php test.php /dev/null Error 1 Error 2 dan...@daniel-laptop:~$ ./src/php-5.2.12/sapi/cli/php test.php /dev/null Error 1 Error 2 well, using php-cli instead of php-cgi, this finally worked: ? fwrite(STDERR,

Re: [PHP] constants STDOUT, STDERR, STDIN not working in 5.2.x?

2010-03-23 Thread Jan G.B.
the original STDERR handle? The constant should be there, but does not exist. regards Marten Hi, I can reproduce it with some differences. Check this out: $ php --version PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7 (cli) (built: Jan 6 2010 22:56:44) Copyright (c) 1997-2009 The PHP Group Zend

Re: [PHP] constants STDOUT, STDERR, STDIN not working in 5.2.x?

2010-03-23 Thread Jan G.B.
2010/3/23 Daniel Egeberg degeb...@php.net On Tue, Mar 23, 2010 at 11:47, Marten Lehmann lehm...@cnm.de wrote: Hello, I found different code examples like this, which use the file handle STDERR just like this: ?php fwrite(STDERR, hello\n); ? Also, the PHP documentation of

Re: [PHP] PHP SMTP Mailers

2010-03-20 Thread Jan G.B.
2010/3/20 King Coffee kcof...@hotmail.com Hi, I'm executing a third-parity standard PHP application on a Windows IIS 7 shared hosting server. I need to convert, or use, a SMTP mailer service. I found two SMTP PHP scripts - I think may work. The sourceforge.net PHPMailer project and the

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Jan G.B.
2010/3/18 Pete Ford p...@justcroft.com: On 17/03/10 18:59, Tommy Pham wrote: On Wed, Mar 17, 2010 at 11:01 AM, Rene Veermanrene7...@gmail.com  wrote: hmm.. seems easier to me to push a filetree of .php's with?= through the str_replace(), than it is to get all the?= writers to comply with

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Jan G.B.
2010/3/18 tedd tedd.sperl...@gmail.com: Calling it ranting or religious unjustly demeans the discussion and is inflammatory. In all of this, I've simply said it's your choice. What I said was: *persons ranting about short open tags* *are just like some religious people * I did not address

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Jan G.B.
2010/3/18 Ashley Sheridan a...@ashleysheridan.co.uk Technically, PHP isn't embedded in any language; it's the other way around. XML and PHP are used together more often than you might realise. Consider Ajax and RSS, which are becoming more and more popular. Also, there are sites out there

Re: [PHP] PHP MySQL Insert Statements

2010-03-16 Thread Jan G.B.
2010/3/12 Martine Osias webi...@gmail.com Hi, My insert statements on this web page don't execute. The select statements do work. This tells me that the database connection is working. The username and password are the administrator's. What else could prevent the insert statements from

Re: [PHP] A better php document?

2009-10-28 Thread Jan Marques
wondering if some body can point me some better PHP document? http://www.php.net/manual/en/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- met vriendelijke groet, kind regards, Jan Marques ---Disclaimer--- Deze e-mail, met eventuele

RE: [PHP] get an object property

2009-09-12 Thread Jan Reiter
$this-arr['a'];} } $o = array( new o(1), new o(2) ); if ( end($o)-getA() 1 ) { echo yeah; } Which works fine as well ... Regards, jan -Original Message- From: Tom Worster [mailto:f...@thefsb.org] Sent: Saturday, September 12, 2009 1:31 AM To: PHP General List Subject: [PHP] get

[PHP] preg_match()

2009-09-09 Thread Jan Reiter
) prim_state ( 3 tex_idxs ( 1 2 ) 0 4 1 0 1 ) [.] ) Thank You! Regards, Jan

RE: [PHP] preg_match()

2009-09-09 Thread Jan Reiter
to avoid. But maybe that's what I have to after all if there is no other way. Thanks Regards, Jan -Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Wednesday, September 09, 2009 6:21 PM To: Jan Reiter Cc: php-general@lists.php.net Subject: Re: [PHP] preg_match

RE: [PHP] preg_match()

2009-09-09 Thread Jan Reiter
); return true; } Regards -Original Message- From: Shawn McKenzie [mailto:nos...@mckenzies.net] Sent: Wednesday, September 09, 2009 7:57 PM To: Jan Reiter Cc: php-general@lists.php.net Subject: [PHP] Re: preg_match() Jan Reiter wrote: Good Afternoon. This shouldn't be too

Re: [PHP] MySQL Queries in PHP

2009-07-14 Thread Jan G.B.
2009/7/14 Tom Chubb tomch...@gmail.com 2009/7/14 Eddie Drapkin oorza...@gmail.com On Tue, Jul 14, 2009 at 2:29 AM, Tom Chubbtomch...@gmail.com wrote: Hi List, Just wanted to pick your brains please? I'm trying to standardise on the way I query databases and move away from the

Re: [PHP] Browser Alert

2009-07-07 Thread Jan G.B.
2009/7/4 tedd t...@sperling.com So, if you're having problems with Safari 4.0 on Mac OSX uploading files, you're not alone. s/uploading files// ;) To make this posting useful: The thing might be related to this Bug http://www.webmasterworld.com/macintosh_webmaster/3300569.htm But, since

Re: [PHP] How to authnticate and use contents from ${HOME}

2009-07-07 Thread Jan G.B.
2009/7/6 Isaac Dover isaacdo...@gmail.com Hi Chantale, as Bastien mentioned, a preconfigured package might be the best way to go. Wikipedia has more information: http://en.wikipedia.org/wiki/List_of_LAMP_Packages What are you wanting to build in your interface? - Isaac On Mon, Jul 6,

Re: [PHP] Re: SHOULD I NOT USE ELSE IN IF STATEMENTS....?

2009-06-11 Thread Jan G.B.
2009/6/10 Clancy clanc...@cybec.com.au On Tue, 09 Jun 2009 12:22:22 -0400, rob...@interjinn.com (Robert Cummings) wrote: Craige Leeder wrote: I'm not sure I agree with NEVER using else. Sometimes else is a very logical way to organize code. However, it should not be used for data

Re: [PHP] Preventing XSS Attacks

2009-06-11 Thread Jan G.B.
2009/6/11 HallMarc Websites m...@hallmarcwebsites.com -Original Message- From: tedd [mailto:tedd.sperl...@gmail.com] Sent: Thursday, June 11, 2009 9:28 AM To: PHP-General List Subject: Re: [PHP] Preventing XSS Attacks At 7:08 PM +0100 6/10/09, Ashley Sheridan wrote:

Re: [PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Jan G.B.
You could even make it shorter, if you don't need the line numbers anyway: pre ? echo nl2br(file_get_contents('file.txt')); ? /pre 2009/5/14 Peter Ford p...@justcroft.com: Moses wrote: Hi Folks, I have a written a script in PHP which outputs the result from a text file. The PHP script is

Re: [PHP] irrational behavior

2009-05-12 Thread Jan G.B.
2009/5/12 PJ af.gour...@videotron.ca: Could somebody please explain this? When the line - sort($category) is commented out, the output returns Notice: Undefined offset: in the line 36 for all the repeats (29 in this case) Sure thing if you consider this: The code below: ? $SQL = SELECT

Re: [PHP] Re: SQL Injection - Solution

2009-05-07 Thread Jan G.B.
What about declare, cast, unhex, exec etc.? You Replace everything with isn't so good, I believe. Others mentiond it before, that *, =, select, from ETC. are valid words and characters in an other context. Anayse some attacks before trying to defend them. Injections can be heavily db-dependent,

Re: [PHP] Re: elseif statements

2009-05-06 Thread Jan G.B.
Hi Gary, 2009/5/5 Gary gwp...@ptd.net: Jan Thanks for your note. So your wrote: $x = (3)*(2) makes no sense. $x = 3 * 2 works, as $x = (3 * 2) does, too. But this is not an error at all. ^^ In the first example($x = (3)*(2) makes no sense.), which

Re: [PHP] Re: elseif statements

2009-05-05 Thread Jan G.B.
;NO, Your property does not appear to qualify. If property values in your area continue to decline, you may wish to revisit this issue again next year. /h3br /br /'; } elseif(isset($montco_assess_difference) =1000){ and here Regards, Jan PS: The tip no never use elseif isn't a good tip

Re: [PHP] elseif statements

2009-05-05 Thread Jan G.B.
2009/5/5 tedd tedd.sperl...@gmail.com: At 10:13 AM -0400 5/5/09, Robert Cummings wrote: On Tue, 2009-05-05 at 10:05 -0400, Robert Cummings wrote:  On Tue, 2009-05-05 at 09:49 -0400, tedd wrote:   At 2:57 PM -0400 5/4/09, Gary wrote:   I am trying to get this to work, however it only reads

Re: [PHP] E-Mail Verification - Yes, I know....

2009-04-28 Thread Jan G.B.
2009/4/28 Jay Blanchard jblanch...@pocket.com: Our company wants to do e-mail verification and does not want to use the requests / response method (clicking a link in the e-mail to verify the address), which as we all know is the only way you can be truly sure. I found this;

Re: [PHP] E-Mail Verification - Yes, I know....

2009-04-28 Thread Jan G.B.
2009/4/28 Luke l...@blog-thing.com: 2009/4/28 Jan G.B. ro0ot.w...@googlemail.com 2009/4/28 Jay Blanchard jblanch...@pocket.com: Our company wants to do e-mail verification and does not want to use the requests / response method (clicking a link in the e-mail to verify the address

Re: [PHP] Non-Object errors

2009-04-28 Thread Jan G.B.
2009/4/28 Miller, Terion tmil...@springfi.gannett.com: Can someone help with how to make this work, trying to get the number of rows but am getting the trying to get property of non-object Code- $query = select blah, blah, blah from table where .$type. like '%.$name.%';

Re: [PHP] Re: Help with scandir()

2009-04-27 Thread Jan G.B.
2009/4/26 Nathan Rixham nrix...@gmail.com: Deivys Delgado Hernandez wrote: Hi, I'm having problems when i try to use the function scandir()  in a Novell Netware Volumen or a Windows Shared Folder they both are mapped as a windows network drive, so i suppose i could access them as local

Re: [PHP] [php] graph with two or more input display

2009-04-24 Thread Jan G.B.
2009/4/24 Andrew Williams andrew4willi...@gmail.com: Hi All, Does anyone know of any php grahp that will enable you to show/analyse more than one inputs like price versus time? Hi Andrew, we're using PEAR:Image_graph here and it's good for our needs. Maybe you should check it out.

Re: [PHP] MAIL Error

2009-04-24 Thread Jan G.B.
2009/4/22 Daniel Brown danbr...@php.net: On Wed, Apr 22, 2009 at 12:31, Jan G.B. ro0ot.w...@googlemail.com wrote: I believe that you all should just overread the huge signature. You've wasted a lot bandwidth with this discussion about the signature. :-) It's not interesting. You could have

Re: [PHP] MAIL Error

2009-04-24 Thread Jan G.B.
2009/4/22 tedd tedd.sperl...@gmail.com: At 6:31 PM +0200 4/22/09, Jan G.B. wrote: I believe that you all should just overread the huge signature. You've wasted a lot bandwidth with this discussion about the signature. :-) It's not interesting. You could have send your pointless replies

Re: [PHP] error with hosting

2009-04-24 Thread Jan G.B.
2009/4/24 Andrew Ballard aball...@gmail.com: On Tue, Apr 21, 2009 at 1:20 PM, Jan G.B. ro0ot.w...@googlemail.com wrote: Do yourself a favour: * remopve that 1337 hax0r name - it makes you look like a dumbass This coming from someone whose e-mail address is ro0ot.w...@? Sounds a little

Re: [PHP] MAIL Error

2009-04-24 Thread Jan G.B.
2009/4/24 Bastien Koert phps...@gmail.com: On Fri, Apr 24, 2009 at 10:03 AM, tedd tedd.sperl...@gmail.com wrote: Whereas, your opinion doesn't matter much because you haven't contributed anything I can remember Tedd, it's not my problem that your sight is limited. I don't believe the

Re: [PHP] help with explode()

2009-04-24 Thread Jan G.B.
2009/4/24 Adam Williams awill...@mdah.state.ms.us: I have a form where users submit search terms and it explodes the terms into an array based upon spaces.  But, how can I have explode() keep words in quotation marks together?  For example, if someone enters on the form: John Jill Judy Smith

Re: [PHP] help with explode()

2009-04-24 Thread Jan G.B.
2009/4/24 Adam Williams awill...@mdah.state.ms.us: Jan G.B. wrote: You could try it with regular expression matching.. for example: ?php    preg_match_all('/([a-z]+|[a-z ]+)/i', $searchstring, $resultarray); ? Regards Thanks.  That seems to create 2 duplicate arrays, though.  Can

Re: [PHP] MySQL, MD5 and SHA1

2009-04-22 Thread Jan G.B.
2009/4/21 Per Jessen p...@computer.org: Jan G.B. wrote: A web application that uses an external db server would be quite ... uhm... slow! Anyone did this, yet? ;) Certainly, and it's not slow.  It depends entirely on your connection to the public internet. As we're speaking

Re: [PHP] MAIL Error

2009-04-22 Thread Jan G.B.
I believe that you all should just overread the huge signature. You've wasted a lot bandwidth with this discussion about the signature. :-) It's not interesting. You could have send your pointless replies to the person, skipping the mailing list, so that we aren't annoyed by your drivel which is

Re: [PHP] escape your variables

2009-04-21 Thread Jan G.B.
2009/4/21 Chris dmag...@gmail.com: How does one deal with that? Do you use mysql_real_escape_string? e.g. ?php $db_host = 'localhost'; $db_user = 'auser'; $db_pwd = 'apassword'; $database = 'adatabase'; $table = 'authorBook'; if (!mysql_connect($db_host, $db_user, $db_pwd))  

Re: [PHP] error with hosting

2009-04-21 Thread Jan G.B.
2009/4/21 ®0L¥ rol...@gmail.com: I have a littli application in PHP that I do with appserv, in my local server work ok but when I upload de page.php to the hosting server don't work, the hosting say in your page that support php and the web server is apache because the directory is httpdocs,

Re: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Jan G.B.
2009/4/21 Andrew Ballard aball...@gmail.com: On Tue, Apr 21, 2009 at 8:34 AM, Grega Leskovsek mavri...@gmail.com wrote: provided I want to store hash of a password in MySQL ... Using MySQL, the whole check can be achieved with a SQL query, since the MD5 function is provided as part of the

Re: [PHP] problem with my class

2009-04-16 Thread Jan G.B.
2009/4/16 Luke l...@blog-thing.com: Hi guys, I've been learning about object oriented programming and I wrote this test class but it doesn't seem to be working, it throws no errors but doesn't insert anything to the database either. I have made sure that the data being sent when the class is

Re: [PHP] problem with my class

2009-04-16 Thread Jan G.B.
...@addmissions.nlwrote: Luke wrote: 2009/4/16 Jan G.B. ro0ot.w...@googlemail.com 2009/4/16 Luke l...@blog-thing.com: Hi guys, I've been learning about object oriented programming and I wrote this test class but it doesn't seem to be working, it throws no errors

Re: [PHP] problem with my class

2009-04-16 Thread Jan G.B.
Excuse my bad spelling. I should have read the message again before hitting send. :-) 2009/4/16 Jan G.B. ro0ot.w...@googlemail.com: I think the problem was with the $title. As above, you defined the private variable $rtitle but you were trying to call the variable later as $title

Re: [PHP] $_GET

2009-04-14 Thread Jan G.B.
2009/4/12 Ron Piggott ron@actsministries.org: At the very start of my index.php I have the following lines of code: foreach($_GET as $key = $val) { $$key = $_GET[$val]; echo $_GET[$val] . br /; } What I don't understand is why the output is br /br / Well, this would happen if you

Re: [PHP] what to use instead of foreach

2009-04-14 Thread Jan G.B.
2009/4/13 PJ af.gour...@videotron.ca: I have already tried with several count and for schemes. None work because foreach ignores any counters once in the loop. Also, this foreach is nested within another foreach; don't know if that affects anything. Have you heard of while()? You can use it

Re: [PHP] What was the unix timestamp of last week, Monday 12:00 am?

2009-04-14 Thread Jan G.B.
2009/4/13 René Fournier m...@renefournier.com: What was the unix timestamp of last week, Monday 12:00 am? Depends on when I read your message. SCNR :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] codeigniter 'secure, non-secure content' pop up message in IE7

2009-04-09 Thread Jan G.B.
2009/4/9 Yannick Mortier mvmort...@googlemail.com: 2009/4/9 9el le...@phpxperts.net: -- Forwarded message -- From: Sabrina Akter lizzeel...@gmail.com Date: Thu, Apr 9, 2009 at 1:12 AM Subject: codeigniter 'secure, non-secure content' pop up message in IE7 To:

Re: [PHP] Escape Data In/Out of db

2009-04-09 Thread Jan G.B.
2009/4/9 tedd t...@sperling.com: Hi gang: -.- I'm gathering information from a user, storing that data in a db, and then showing it back to the user. It's a simple process and can bee seen here in this address book demo (not real people): http://php1.net/a/edit-db-demo I gather

Re: [PHP] difficult select problem

2009-04-08 Thread Jan G.B.
2009/4/7 Bastien Koert phps...@gmail.com: On Tue, Apr 7, 2009 at 1:10 PM, Michael A. Peters mpet...@mac.com wrote: PJ wrote: Bob McConnell wrote: From: PJ First, let me thank you all for responding and offering suggestions. I appreciate it and I am learning things. However, it looks

Re: [PHP] file_get_contents for URLs?

2009-04-07 Thread Jan G.B.
Well, you might want to do it with curl, you might want to write your own socketscript, or your just check the return variable of file_get_contents() - it'll be false on failure and it won't try to get an invalid URL forever. Guess the error is somewhere else, when your script continues

Re: [PHP] [php] scheduled task in php

2009-04-03 Thread Jan G.B.
2009/4/3 Chris dmag...@gmail.com: Andrew Williams wrote: I want to created a window schedule a task that will run every 2 minutes and run my php script(www.domain.com/script.php).  But I need to know how to create a php.exe that I can select as a window schedule a task so that the php.exe

Re: [PHP] Button id's - firefox and IE different ?

2009-04-03 Thread Jan G.B.
a nice day. Regards, Igor Escoar Systems Analyst Interface Designer -- Personal Blog ~ blog.igorescobar.com Online Portifolio ~ www.igorescobar.com Twitter ~ @igorescobar On Thu, Apr 2, 2009 at 11:01 AM, Jan G.B. ro0ot.w...@googlemail.com wrote: 2009/4/2 Igor Escobar titiolin

Re: [PHP] syntax woes

2009-04-03 Thread Jan G.B.
2009/4/3 aurfal...@gmail.com: Hi all, For any one following this thread, here is how I worked around the apache/php/chown limitation. script snippet (and if any one has a more elegant style, please share as I am an amateur script kiddie). $path = /homes.$username; $chowncmd =

Re: [PHP] Button id's - firefox and IE different ?

2009-04-03 Thread Jan G.B.
that. Regards, Igor Escoar Systems Analyst Interface Designer -- Personal Blog ~ blog.igorescobar.com Online Portifolio ~ www.igorescobar.com Twitter ~ @igorescobar On Fri, Apr 3, 2009 at 6:27 AM, Jan G.B. ro0ot.w...@googlemail.com wrote: Igor, what are you doing here? You

Re: [PHP] Button id's - firefox and IE different ?

2009-04-03 Thread Jan G.B.
Is it mandatory to annoy the whole list with your crap? If you want to keep on informing me or insulting me or feel free to send it directly to me. I'll add you to my killfile in no time. get a life 2009/4/3 Igor Escobar titiolin...@gmail.com: Better then READ is UNDERSTAND. 2009/4/2 Igor

Re: [PHP] Button id's - firefox and IE different ?

2009-04-02 Thread Jan G.B.
2009/4/2 Igor Escobar titiolin...@gmail.com: If you don't want change your form, do some function in Javascript witch control the last button you clicked. Javascript is bad and you don't need it. centerbutton type=submit name=btid value=1Delete/center centerbutton type=submit name=btid

Re: [PHP] [php] scheduled task in php

2009-04-02 Thread Jan G.B.
Or even with CRONw if via window is an indicator for the evil OS. http://cronw.sourceforge.net/ (I personally didn't test this software) bye 2009/4/2 Michel OLIVIER michel.oliv...@mc2i.fr: hi, with a cron and wget? 2009/4/2 Andrew Williams andrew4willi...@gmail.com: All, Please how can you

  1   2   3   4   >