Re: [PHP] possible variable declaration error

2011-03-25 Thread Daniel Brown
On Fri, Mar 25, 2011 at 09:00, matty jones wrote: > I used the format of your link and that gave me something like what I was > looking for, so I am sure now the error is just in my markup.  How would I > get this to work without passing it a value or does the function not work > like that, in whi

Re: [PHP] possible variable declaration error

2011-03-25 Thread matty jones
On Fri, Mar 25, 2011 at 8:23 AM, wrote: > Correct me if I wrong, but you're declaring $id AFTER binding the SQL > parameter, therefore your :id isn't being bound to anything, hence the empty > returned array. > > I think: > $d_series_fetch = $db->prepare("SELECT * FROM defaultseries WHERE publish

Re: [PHP] possible variable declaration error

2011-03-25 Thread matty jones
On Fri, Mar 25, 2011 at 8:24 AM, Daniel Brown wrote: > On Fri, Mar 25, 2011 at 08:18, matty jones wrote: > > I get the following error " PHP Notice: Undefined index: publisher in > > /var/www/testfunctions.php on line 65" and I have narrowed it down to > what I > > *think* is a variable not bei

Re: [PHP] possible variable declaration error

2011-03-25 Thread matty jones
On Fri, Mar 25, 2011 at 8:34 AM, Daniel Brown wrote: > On Fri, Mar 25, 2011 at 08:24, Daniel Brown wrote: > > And, now that I'm not on a three-inch screen, I can see that I > didn't read your entire message, so my response appears rather idiotic > --- because you already did the isset(). So

Re: [PHP] possible variable declaration error

2011-03-25 Thread Daniel Brown
On Fri, Mar 25, 2011 at 08:24, Daniel Brown wrote: > >    So, as you can see, it's complaining because you didn't give it > that information.  If you don't always want to have to do so, surround > it with an isset() case. And, now that I'm not on a three-inch screen, I can see that I didn't r

Re: [PHP] possible variable declaration error

2011-03-25 Thread Daniel Brown
On Fri, Mar 25, 2011 at 08:18, matty jones wrote: > I get the following error " PHP Notice:  Undefined index: publisher in > /var/www/testfunctions.php on line 65" and I have narrowed it down to what I > *think* is a variable not being declared.  Here is the code. This line is the issue: > i

Re: [PHP] possible variable declaration error

2011-03-25 Thread james
Correct me if I wrong, but you're declaring $id AFTER binding the SQL parameter, therefore your :id isn't being bound to anything, hence the empty returned array. I think: $d_series_fetch = $db->prepare("SELECT * FROM defaultseries WHERE publisher >> :id"); $id = 'DC Comics'; $d_series_fetch->b

Re: [PHP] Possible to pinpoint peak memory usage?

2011-03-11 Thread Daniel Hong
Nice. I will give XHProf a try. Thanks! -daniel On Fri, Mar 11, 2011 at 12:04 PM, David Harkness wrote: > On Fri, Mar 11, 2011 at 11:35 AM, Daniel Hong wrote: > >> Is it possible to pinpoint the location where the most memory was used? > > > Take a look at XHProf. [1] It will track memory and ti

Re: [PHP] Possible to pinpoint peak memory usage?

2011-03-11 Thread David Harkness
On Fri, Mar 11, 2011 at 11:35 AM, Daniel Hong wrote: > Is it possible to pinpoint the location where the most memory was used? Take a look at XHProf. [1] It will track memory and time of all function calls. Paul Reinheimer created a GUI [2] to make dealing with the data easier. Peace, David [

Re: [PHP] possible namespace bug?

2011-01-21 Thread Tommy Pham
On Thu, Jan 20, 2011 at 5:27 PM, David Harkness wrote: > On Thu, Jan 20, 2011 at 4:26 PM, Tommy Pham wrote: >> >> Anyway, I found the problem:  \N   in >> use org\puremvc\php\patterns\observer\Notifier; > > AFAIK \n is only processed inside double-quoted strings and here-docs. The > \N has no speci

Re: [PHP] possible namespace bug?

2011-01-20 Thread David Harkness
On Thu, Jan 20, 2011 at 4:26 PM, Tommy Pham wrote: > Anyway, I found the problem: \N in > > use org\puremvc\php\patterns\observer\Notifier; > AFAIK \n is only processed inside double-quoted strings and here-docs. The \N has no special meaning beyond a namespace separator and a capital N. My

Re: [PHP] possible namespace bug?

2011-01-20 Thread Tommy Pham
On Thu, Jan 20, 2011 at 3:49 PM, Adam Richardson wrote: > On Thu, Jan 20, 2011 at 5:33 PM, Tommy Pham wrote: >> >> Hi folks, >> >> I thought I try implementing namesapce on one the ported apps I did a >> while >> back but ran into a problem.  First the code: >> >> //namespace org\puremvc\php\interf

Re: [PHP] possible namespace bug?

2011-01-20 Thread Adam Richardson
On Thu, Jan 20, 2011 at 5:33 PM, Tommy Pham wrote: > Hi folks, > > I thought I try implementing namesapce on one the ported apps I did a while > back but ran into a problem. First the code: > > //namespace org\puremvc\php\interfaces; > > interface ICommand > { >function execute(INotification

Re: [PHP] Possible issue in mail() function?

2010-11-27 Thread Tom Hendrikx
On 26/11/10 16:54, Richard Quadling wrote: > On 26 November 2010 15:12, Tom Hendrikx wrote: >> On 26/11/10 15:54, Richard Quadling wrote: >>> On 25 November 2010 21:30, Tom Hendrikx wrote: Hi, I noticed that the mail() function in php 5.3.3 on gentoo linux triggers a warning w

Re: [PHP] Possible issue in mail() function?

2010-11-26 Thread Richard Quadling
On 26 November 2010 15:12, Tom Hendrikx wrote: > On 26/11/10 15:54, Richard Quadling wrote: >> On 25 November 2010 21:30, Tom Hendrikx wrote: >>> Hi, >>> >>> I noticed that the mail() function in php 5.3.3 on gentoo linux triggers >>> a warning when used. A simple debug script with the contents:

Re: [PHP] Possible issue in mail() function?

2010-11-26 Thread Tom Hendrikx
On 26/11/10 15:54, Richard Quadling wrote: > On 25 November 2010 21:30, Tom Hendrikx wrote: >> Hi, >> >> I noticed that the mail() function in php 5.3.3 on gentoo linux triggers >> a warning when used. A simple debug script with the contents: >> >> > // recipient, subject, body >> mail("s...@examp

Re: [PHP] Possible issue in mail() function?

2010-11-26 Thread Tom Hendrikx
On 26/11/10 15:54, Richard Quadling wrote: > On 25 November 2010 21:30, Tom Hendrikx wrote: >> Hi, >> >> I noticed that the mail() function in php 5.3.3 on gentoo linux triggers >> a warning when used. A simple debug script with the contents: >> >> > // recipient, subject, body >> mail("s...@examp

Re: [PHP] Possible issue in mail() function?

2010-11-26 Thread Richard Quadling
On 25 November 2010 21:30, Tom Hendrikx wrote: > Hi, > > I noticed that the mail() function in php 5.3.3 on gentoo linux triggers > a warning when used. A simple debug script with the contents: > > // recipient, subject, body > mail("s...@example.com", "mail() test", "This is a test"); > ?> > > d

RE: [PHP] Possible foreach bug; seeking advice to isolate the problem

2010-10-22 Thread Ford, Mike
> -Original Message- > From: Jonathan Sachs [mailto:081...@jhsachs.com] > Sent: 20 October 2010 04:48 > To: php-general@lists.php.net > Subject: [PHP] Possible foreach bug; seeking advice to isolate the > problem > > I've got a script which originally contained the following piece of > cod

Re: [PHP] Possible foreach bug; seeking advice to isolate the problem

2010-10-19 Thread richard gray
On 20/10/2010 05:47, Jonathan Sachs wrote: I've got a script which originally contained the following piece of code: foreach ( $objs as $obj ) { do_some_stuff($obj); } When I tested it, I found that on every iteration of the loop the last element of $objs was assigned the value of the curr

Re: [PHP] possible issue with quotes (Magicquotes feature)?

2010-08-19 Thread David Mehler
Hello Everyone, Thanks. Ash, i'll try your function and see how that works. The original content came from word documents, but they were pasted in to a text editor in this case notetab light. In the meta of the site the character set is utf-8 I was told it was better to use that than iso8859-1 if t

Re: [PHP] possible issue with quotes (Magicquotes feature)?

2010-08-19 Thread Ashley Sheridan
On Thu, 2010-08-19 at 11:24 -0400, Marc Guay wrote: > I would chalk this up to that fancy, extra-curly, apostrophe that you > get when copying and pasting text from Microsoft Word or similar. > Marc > The characters Microsoft software introduces don't play nice with non-Microsoft software, and

Re: [PHP] possible issue with quotes (Magicquotes feature)?

2010-08-19 Thread Marc Guay
I would chalk this up to that fancy, extra-curly, apostrophe that you get when copying and pasting text from Microsoft Word or similar. Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] possible issue with quotes (Magicquotes feature)?

2010-08-19 Thread Bob McConnell
From: David Mehler > I've got a php5 document and some items are showing up as question > marks. For example, the word President's in the code it is President's > however when displaying in the browser it's President?s the "'" is not > being displayed properly, this is occurring in several places

Re: [PHP] Possible Server Infection?

2009-04-07 Thread sono-io
On Apr 4, 2009, at 6:51 PM, TG wrote: Anyway, just some thoughts. Good luck! Thanks to TG, Bastien, and Marc. I appreciate the input. Regards, Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Possible Server Infection?

2009-04-05 Thread Marc Christopher Hall
I recommend switching to Hostgator for your ded and ask them for their custom modsec. I'm not affiliated with them except that I am a customer and have been for 6 years. I do bring this up because you stated that they "do not know" which if true tells me that do not know how to do even the smallest

Re: [PHP] Possible Server Infection?

2009-04-05 Thread Phpster
On Apr 4, 2009, at 21:51, "TG" wrote: Had to deal with a rogue PHP based backdoor situation recently. Two remote management scripts were installed somehow that would allow you to do something like what you describe. You probably want to download a fresh copy of the entire site (assuming

Re: [PHP] Possible Server Infection?

2009-04-04 Thread TG
Had to deal with a rogue PHP based backdoor situation recently. Two remote management scripts were installed somehow that would allow you to do something like what you describe. You probably want to download a fresh copy of the entire site (assuming you don't have remote shell access and/or th

RE: [PHP] possible session bug - Mantis Bug Tracker

2009-03-05 Thread Edsall, William (WJ)
esday, March 03, 2009 11:18 AM To: Edsall, William (WJ) Cc: php-general@lists.php.net Subject: Re: [PHP] possible session bug - Mantis Bug Tracker On Tue, 2009-03-03 at 11:01 -0500, Edsall, William (WJ) wrote: > Hello list! > I'm having a strange problem with php after installing Mantis Bu

Re: [PHP] possible session bug - Mantis Bug Tracker

2009-03-03 Thread Ashley Sheridan
On Tue, 2009-03-03 at 11:18 -0500, Robert Cummings wrote: > On Tue, 2009-03-03 at 11:01 -0500, Edsall, William (WJ) wrote: > > Hello list! > > I'm having a strange problem with php after installing Mantis Bug > > Tracker. I'm not sure if this is a Mantis bug or a PHP bug but I'm > > leaning toward

Re: [PHP] possible session bug - Mantis Bug Tracker

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 11:01 -0500, Edsall, William (WJ) wrote: > Hello list! > I'm having a strange problem with php after installing Mantis Bug > Tracker. I'm not sure if this is a Mantis bug or a PHP bug but I'm > leaning toward PHP. > > Here's what's going on. When I view an issue in Mantis,

Re: [PHP] Possible using XPath?

2008-03-27 Thread Robin Vickery
On 27/03/2008, Christoph Boget <[EMAIL PROTECTED]> wrote: > > > Is that possible? Or is this something I'd have to do programatically > > > using the nodes returned by the XPath query? Basically, I'm just > > > trying to get a fragment of the larger xml document... > > //[EMAIL PROTECTE

Re: [PHP] Possible using XPath?

2008-03-27 Thread Christoph Boget
> > Is that possible? Or is this something I'd have to do programatically > > using the nodes returned by the XPath query? Basically, I'm just > > trying to get a fragment of the larger xml document... > //[EMAIL PROTECTED]'gc3']/child/ancestor-or-self::* Thanks for the response. However

Re: [PHP] Possible using XPath?

2008-03-27 Thread Robin Vickery
On 27/03/2008, Christoph Boget <[EMAIL PROTECTED]> wrote: > Let's say I have the following structure: > > > > > > > > > > > >

Re: [PHP] possible to "move_uploaded_file" to a variable instead a file?

2007-06-17 Thread Larry Garfield
I believe you can just fopen() and friends the file directly out of /tmp, or wherever the file gets put. Just read the file itself into a string and have your way with it. PHP will delete the temp file for you when the script ends. On Sunday 17 June 2007, Mark wrote: > hey, > > i`m wondering

Re: [PHP] possible IE problem

2006-07-12 Thread Richard Lynch
On Mon, July 10, 2006 10:55 am, Schalk wrote: > Now that the parse error is fixed the login script works fine in FF > but > in IE it does not do the redirect. Is there a reason why this code may > not work in IE? Is there a better way to do this? > > $_SESSION['email'] = $email; > $_SESSION['member

Re: [PHP] possible IE problem

2006-07-10 Thread Larry Garfield
This is an issue with the session not being closed properly on a redirect. IE seems to be more bothered by this than Firefox, for reasons I don't quite understand. The solution is to explicitly close the session yourself. See: http://www.php.net/manual/en/function.session-start.php#57875 http

Re: [PHP] Possible?

2006-04-28 Thread Richard Lynch
On Fri, April 28, 2006 6:49 pm, René Fournier wrote: > I suppose my question > would be, can a single PHP socket server script, executed from the > command-line, maintain 1000s of concurrent connections (there is not > a lot of data incoming, btw)? I suppose my answer boils down to: You'll never

Re: [PHP] Possible?

2006-04-28 Thread Richard Lynch
On Fri, April 28, 2006 6:13 pm, René Fournier wrote: > Simple problem: Many client apps need to send data to a server. > > By default each client will open a persistent TCP socket connection > to a common IP address:port (10.10.10.10:1234) and write to it (which > the server will save/log, etc.). >

RE: [PHP] Possible?

2006-04-28 Thread Warren Vail
x.org/faq/ Good luck, Warren Vail -Original Message- From: René Fournier [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 4:50 PM To: PHP-General; John Hicks Subject: Re: [PHP] Possible? >> Anyway, I've started looking at this, but I'm not quite sure if it's

Re: [PHP] Possible?

2006-04-28 Thread John Hicks
René Fournier wrote: Simple problem: Many client apps need to send data to a server. By default each client will open a persistent TCP socket connection to a common IP address:port (10.10.10.10:1234) and write to it (which the server will save/log, etc.). My question is, what should be ready

Re: [PHP] Possible?

2006-04-28 Thread René Fournier
Anyway, I've started looking at this, but I'm not quite sure if it's even possible. I mean, can "something" send a request to Apache, and continue to write data along that TCP socket? Normally, HTTP requests include GET or POST for such data, but this is not a a web browser that's opening t

Re: [PHP] Possible hacker using php script to send e-mails?

2006-03-11 Thread Julius Hacker
Merlin wrote: > Hi there, > > I am running php 4.x on a suse 9.x machine. There is a php script > which resides > on a webapp that is responsible for sending e-mail to myself in case > of errors like db-errors or similar. Called error.php > This script does include phpmailer and uses it to send the

Re: [PHP] possible to get a function from another domain

2005-08-26 Thread Rory Browne
piraten.se > > - Original Message - > From: "Rory Browne" <[EMAIL PROTECTED]> > To: "Jim Moseby" <[EMAIL PROTECTED]> > Cc: > Sent: Tuesday, August 23, 2005 10:21 PM > Subject: Re: [PHP] possible to get a function from another domain > &

Re: [PHP] possible to get a function from another domain

2005-08-24 Thread Gustav Wiberg
Hi there! Thanx for the help! And everybody else that helped me with the solution of course! :-) /G @varupiraten.se - Original Message - From: "Rory Browne" <[EMAIL PROTECTED]> To: "Jim Moseby" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, August 23,

Re: [PHP] possible to get a function from another domain

2005-08-23 Thread Rory Browne
I withdraw my information in my earlier post. I was in a cybercafe in a hurry - and didn't have time to consider what was said, nor what I was saying myself. What I said before has little or not merit. You can make an experimental interface, and parse the html without the other domain owners co

RE: [PHP] possible to get a function from another domain

2005-08-23 Thread Jim Moseby
> [snip] > Can I use require with http? > > My domain: www.varupiraten.se > > Other domain: www.webshop2.se > > Does this kind of code work? > > Code for my domain: > require(http://www.webshop2.se/externfunctions.php); > $x = getValueFromProduct('Inno AX5000'); //This function > retrieves pr

RE: [PHP] possible to get a function from another domain

2005-08-23 Thread Jay Blanchard
[snip] Can I use require with http? My domain: www.varupiraten.se Other domain: www.webshop2.se Does this kind of code work? Code for my domain: http://www.webshop2.se/externfunctions.php); $x = getValueFromProduct('Inno AX5000'); //This function retrieves price from webshop2.se ? [/snip] Hav

Re: [PHP] possible to get a function from another domain

2005-08-23 Thread Jasper Bryant-Greene
Gustav Wiberg wrote: Hi! Njae I have a webshop and want to see a price from another webshop online (directly). Let's call my webshop - varupiraten.se and the other webshop - inwarehouse.se I want to be able to see what price inwarehouse.se has for a certain product directly. (without no co

Re: [PHP] possible to get a function from another domain

2005-08-23 Thread Gustav Wiberg
se ? /G @varupiraten.se - Original Message - From: "Jasper Bryant-Greene" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 23, 2005 9:47 PM Subject: Re: [PHP] possible to get a function from another domain Gustav Wiberg wrote: Is it possible in PHP to retrieve value from one

RE: [PHP] possible to get a function from another domain

2005-08-23 Thread Jay Blanchard
[snip] I have a webshop and want to see a price from another webshop online (directly). Let's call my webshop - varupiraten.se and the other webshop - inwarehouse.se I want to be able to see what price inwarehouse.se has for a certain product directly. (without no copying). Of course I have to

Re: [PHP] possible to get a function from another domain

2005-08-23 Thread Gustav Wiberg
AIL PROTECTED]> Cc: "PHP General" Sent: Tuesday, August 23, 2005 9:45 PM Subject: Re: [PHP] possible to get a function from another domain I'm not sure I understand but: You define a function on one machine; You want to use that function on another machine; If I unde

Re: [PHP] possible to get a function from another domain

2005-08-23 Thread Jasper Bryant-Greene
Gustav Wiberg wrote: Is it possible in PHP to retrieve value from one domain to another than my own? Something like this: Other domain: function getValueForMp3Player() My domain: $price = getValueForMp3Player('Inno AX VB4393') //retrieves value from other domain What exactly do you mean by

Re: [PHP] possible to get a function from another domain

2005-08-23 Thread Rory Browne
I'm not sure I understand but: You define a function on one machine; You want to use that function on another machine; If I understand you correctly, then you should be able to just cp function_server.php function_server.txt , and include it over http and done On 8/23/05, Gustav Wiberg <[

Re: [PHP] possible bug (string equality to zero)?

2005-08-11 Thread xfedex
Hi, > Is it a bug that ($var == 0) is always true for any string $var? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Check this out! http://us3.php.net/manual/en/types.comparisons.php -- PHP General Mailing List (http://www.p

Re: [PHP] possible bug (string equality to zero)?

2005-08-11 Thread Chris Shiflett
Christopher J. Bottaro wrote: Is it a bug that ($var == 0) is always true for any string $var? For any string? How about the string 5? :-) PHP tries to help you out, but there's not much it can do when you ask it to compare a string like 'foo' to an integer. It scans your string from left to

Re: [PHP] possible bug (string equality to zero)?

2005-08-11 Thread Scott Noyes
> [snip] > Is it a bug that ($var == 0) is always true for any string $var? > [/snip] > > You are comparing a string to an integer. Right. This is clearly documented at http://www.php.net/operators.comparison -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] possible bug (string equality to zero)?

2005-08-11 Thread Torgny Bjers
No, Christopher, that is not a bug. As long as the var is empty, and if you try to compare with 0, or false, it will report true in the comparison because the variable does not contain anything, which will mean false for a boolean and 0 for a variable. If you are attempting to discover if a string

RE: [PHP] possible bug (string equality to zero)?

2005-08-11 Thread Jay Blanchard
[snip] Is it a bug that ($var == 0) is always true for any string $var? [/snip] You are comparing a string to an integer. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Possible to read JavaScript results into a string?

2005-08-08 Thread Richard Davey
Hello Brian, Monday, August 8, 2005, 6:38:54 PM, you wrote: BD> $x = file_get_contents('http://www.mydomain.com/log.js'); BD> // also tried urlencode() but that did not help ?>> BD> The result: BD> Warning: main(http://www.mydomain.com/log.js) [function.main]: failed BD> to open stream: HTTP r

Re: [PHP] possible jscript/php/frames question!!

2005-06-18 Thread Richard Lynch
On Fri, June 17, 2005 3:47 pm, bruce said: > i've got a problem where i'm trying to play with imagemaps. i created a > test > image map, but when i select inside the image map, i 'see' the "?x,y" from > the imagemap, appended to the url in the browser address bar... i get > http://foo.com?3,5 etc..

Re: [PHP] possible jscript/php/frames question!!

2005-06-17 Thread Tom Rogers
Hi, Saturday, June 18, 2005, 8:47:58 AM, you wrote: b> hi... b> i've got a problem where i'm trying to play with imagemaps. i created a test b> image map, but when i select inside the image map, i 'see' the "?x,y" from b> the imagemap, appended to the url in the browser address bar... i get b> ht

RE: [PHP] possible jscript/php/frames question!!

2005-06-17 Thread Chris W. Parker
bruce on Friday, June 17, 2005 5:05 PM said: > chris... > > i'll humour you.. although i'm pretty sure you have no idea as to > what i'm trying to acomplish.. or how to get to my goal... > > the basic issue is to allow a user to click inside an image map, and > to translate the coordinates

RE: [PHP] possible jscript/php/frames question!!

2005-06-17 Thread bruce
TECTED]; php-general@lists.php.net Subject: RE: [PHP] possible jscript/php/frames question!! bruce on Friday, June 17, 2005 3:48 PM said: > i've got a problem where i'm trying to play with imagemaps. i created > a test image map, but when i select inside the image map, i 'see

RE: [PHP] possible jscript/php/frames question!!

2005-06-17 Thread Chris W. Parker
bruce on Friday, June 17, 2005 3:48 PM said: > i've got a problem where i'm trying to play with imagemaps. i created > a test image map, but when i select inside the image map, i 'see' the > "?x,y" from the imagemap, appended to the url in the browser address > bar... i get http://foo.com?3,5

Re: [PHP] possible to use eregi instead of LIKE

2005-05-02 Thread John Nichel
Jay Blanchard wrote: [snip] you understood John [/snip] Well, there you go. At least I gave a PHP answer on this, a PHP list. ;) You are my hero. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

RE: [PHP] possible to use eregi instead of LIKE

2005-05-02 Thread Jay Blanchard
[snip] you understood John [/snip] Well, there you go. At least I gave a PHP answer on this, a PHP list. ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] possible to use eregi instead of LIKE

2005-05-02 Thread Ross
you understood John "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jay Blanchard wrote: > >> Why you'd want to do it this way beats me, the overhead is a lot bigger >> than doing it in the query. > > > I _think_ he was asking if he could use some sort of pattern match

Re: [PHP] possible to use eregi instead of LIKE

2005-05-02 Thread Ross
you understood John "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jay Blanchard wrote: > >> Why you'd want to do it this way beats me, the overhead is a lot bigger >> than doing it in the query. > > > I _think_ he was asking if he could use some sort of pattern matc

RE: [PHP] possible to use eregi instead of LIKE

2005-05-02 Thread Jay Blanchard
[snip] I _think_ he was asking if he could use some sort of pattern matching in the query itself. Of course, it's Monday, and I may not have understood the question at all. ;) [/snip] True. He was pretty specific about eregi though. Perhaps he'll let us know when he does whatever it is he is d

Re: [PHP] possible to use eregi instead of LIKE

2005-05-02 Thread John Nichel
Jay Blanchard wrote: Why you'd want to do it this way beats me, the overhead is a lot bigger than doing it in the query. I _think_ he was asking if he could use some sort of pattern matching in the query itself. Of course, it's Monday, and I may not have understood the question at all. ;) --

Re: [PHP] possible to use eregi instead of LIKE

2005-05-02 Thread John Nichel
Ross wrote: Is it possible to use eregi instead of LIKE to filter mysql queries? This would be in the MySQL manual. http://dev.mysql.com/doc/mysql/en/pattern-matching.html -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To uns

RE: [PHP] possible to use eregi instead of LIKE

2005-05-02 Thread Jay Blanchard
[snip] Is it possible to use eregi instead of LIKE to filter mysql queries? If so can someone do a quick example? [/snip] $sql = "SELECT foo, bar FROM table "; $result = mysql_query($sql, $connection); while($row = mysql_fetch_array($result)){ if(eregi('glorp', $row['foo']){ echo $row[

Re: [PHP] Possible to make $$ distributing PHP as Shareware?

2004-12-16 Thread Brent Baisley
I would say it depends on how much money your are looking to make. You're not going to get rich "selling" it as shareware, but you may build a user base. You could then try switching it to a commercial product. Just remember, if it's a commercial product, people will expect a certain level of s

Re: [PHP] Possible to make $$ distributing PHP as Shareware?

2004-12-15 Thread Robby Russell
On Thu, 2004-12-16 at 10:50 +0800, Jonathan wrote: > Hi, > > I have developed a full email marketing application (using php, mysql) which > supports tracking technology (i.e. whether the recipient has read the email, > view online, unsubscribe, click on any of the link etc), bounce mail > manageme

Re: [PHP] Possible to make $$ distributing PHP as Shareware?

2004-12-15 Thread Lars B. Jensen
If you have any experience with this, kindly enlighten me. In my experience, people aren't going to pay unless they have to. ... and spending money for some application, which more than likely is going to be filtered hard by spam filters, might not be what I want to spend my pennies on -- Lars B

Re: [PHP] Possible to make $$ distributing PHP as Shareware?

2004-12-15 Thread Greg Donald
On Thu, 16 Dec 2004 10:50:52 +0800, Jonathan <[EMAIL PROTECTED]> wrote: > Is it possible to make some $$ if I distribute the application as a > shareware Probably not. > or should I just sell it as an commercial package. If you plan to make any money, yes. > If you have any experience with this

[PHP] RE: . [PHP] Possible to Google search the news.php.net past post with keywords???

2004-06-09 Thread Cody Phanekham
you could use the following in the search field: Patch memory limit site:news.php.net This will tell google to search news.php.net for any reference of "Patch" "memory" "limit" -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 12:18 AM To: [

Re: [PHP] Possible to Google search the news.php.net past post with keywords???

2004-06-09 Thread Curt Zirzow
* Thus wrote Scott Fletcher ([EMAIL PROTECTED]): > I'm wondering if it is possible to use Google search to search in hte > news.php.net's past posting by using the keyword. If so, then how can it be > done? Example of keywords. Etc.. Or you could use google groups http://groups.google.com/gro

Re: [PHP] Possible to Google search the news.php.net past post with keywords???

2004-06-09 Thread Scott Fletcher
Thanks.. That does work. I just never did the Google search of a newsgroup or Mailing List before, so I had no idea now to do that exactly. Thanks a million.. FletchSOD... "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Scott Fletcher wrote: > > I'm wondering if it

Re: [PHP] Possible to Google search the news.php.net past post with keywords???

2004-06-09 Thread John Nichel
Scott Fletcher wrote: I'm wondering if it is possible to use Google search to search in hte news.php.net's past posting by using the keyword. If so, then how can it be done? Example of keywords. Etc.. Thanks, FletchSOD You mean like putting your keywords site:news.php.net In the google sear

RE: [PHP] Possible Work in the Los Angeles Area...

2004-05-26 Thread Tyler Replogle
hey, I'm not going to call you, but we can talk over the net with email. I also have msn ([EMAIL PROTECTED]) and aim (catim2005). That goes for anyone that want to talk. O and if see my buddy icon on aim don't be scared. From: Domains4Days <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: [PH

RE: [PHP] Possible to have Array in $_SESSION????

2004-03-18 Thread Clifford W. Hansen
Scott, Yes it is, You can also store objects in $_SESSION Eg. $_SESSION['Config'] = array( "DBName" => "Common", "DBHost" => "localhost" ); Eg. MySQL_Connect( $_SESSION['Config']['DBHost'] ); Till We Meet Again... Clifford W. Hansen Operations Support Developer Aspivia (Pty) Ltd. +27 (0) 11

Re: [PHP] Possible Leap Year bug with strtotime (4.3.4)?

2004-02-28 Thread hitek
I don't think it's so much a bug as it is just some odd behavior. If you use 'this monday' the results are correct. $start = strtotime('this monday'); Keith At 02:44 PM 2/28/2004, Rob Petty wrote: I am getting incorrect results from strtotime: [dali]$ uname -a Linux dali 2.4.24-grsec+w+fhs5+gr1

Re: [PHP] Possible to write CRC/MD5 to the file?

2004-02-23 Thread Sean McCarthy
Hi, At 04:20 23/02/2004, Simon Fredriksson wrote: I wonder if it's possible to write the MD5 or CRC checksum of my scriptfile to the scriptfile. I know that if I change it, the value will change, but is there any way to calculate what it will be? There's no way you can add the CRC after calculat

Re: [PHP] Possible to write CRC/MD5 to the file?

2004-02-23 Thread Adam Bregenzer
On Mon, 2004-02-23 at 00:01, Evan Nemerson wrote: > What you would have to do is find a collision, which is thankfully difficult > to do- if it were easy, MD5 would be useless. Theoretically, you could modify > say John The Ripper and have it brute force something, but you may end up > waiting a

Re: [PHP] Possible to write CRC/MD5 to the file?

2004-02-22 Thread Evan Nemerson
On Sunday 22 February 2004 08:20 pm, Simon Fredriksson wrote: > I wonder if it's possible to write the MD5 or CRC checksum of my > scriptfile to the scriptfile. I know that if I change it, the value will > change, but is there any way to calculate what it will be? What you would have to do is find

Re: [PHP] POSSIBLE TO SETUP PHP USING PROXY AS DEFAULT?

2004-02-03 Thread Jack Bauer
The problem is that i'm using a windows for that, the anomizer i use to connect to different proxys waits on 127.0.0.1/localhost, so i can't redirect the whole outbound traffic on port 80 for that Hi, There is a topic called transparent proxying. Don't have any links in my bookmarks but if you v

Re: [PHP] POSSIBLE TO SETUP PHP USING PROXY AS DEFAULT?

2004-02-03 Thread Raditha Dissanayake
Hi, There is a topic called transparent proxying. Don't have any links in my bookmarks but if you visit either the squid proxy websites or the iptables website you will find it. (this is usually done with this combination but can be done with other proxy/firewall combos as well). Basically wha

Re: [PHP] Possible query problem

2003-10-28 Thread Chris Shiflett
I didn't look into your problem, but I want to mention one thing that stands out to me. --- Frank Tudor <[EMAIL PROTECTED]> wrote: > $query="SELECT payment FROM payment WHERE > dln='".$_POST["dln"]."' = payment.dln='".$_POST["dln"]."' and > users.password='".$_POST["password"]."'"; Never, ever bu

RE: [PHP] Possible query problem

2003-10-28 Thread Jay Blanchard
[snip] $query="SELECT payment FROM payment WHERE dln='".$_POST["dln"]."' = payment.dln='".$_POST["dln"]."' and users.password='".$_POST["password"]."'"; [/snip] Breaking the above apart ... $query=" SELECT payment FROM payment WHERE dln='".$_POST["dln"]."' = payment.dln='".$_POST["dln"]."' and

RE: [PHP] Possible query problem

2003-10-28 Thread Pablo Gosse
On Tuesday, October 28, 2003 8:50 AM Frank Tudor wrote: > $query="SELECT payment FROM payment WHERE dln='".$_POST["dln"]."' = payment.dln='".$_POST["dln"]."' and users.password='".$_POST["password"]."'"; Okay, there seem to be a few problems here. The first issue is: "users.password" Using thi

Re: [PHP] Possible Bug With $_FILES Global

2003-09-18 Thread Raditha Dissanayake
HI, Te first time i switched from $userfile_** to $_FILES i spent hours pulling my hair out trying to figure out why my arrays were not getting populated. I too felt like reporting it but decided against is because someone is sure to say 'this is a feature not a bug' :-)) Nathan Taylor wrot

RE: [PHP] Possible bug w/ open_basedir?

2003-08-14 Thread Ford, Mike [LSS]
On 09 August 2003 18:02, Dan Brown wrote: > There is no open_basedir restriction in my php.ini. > The only place > this restriction is set (with this path) in httpd.conf is in this > block: > > > AddType application/x-httpd-php .php .php3 .phtml > AddType application/x-httpd-php-s

Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Tom Rogers
Hi, Thursday, July 31, 2003, 4:06:12 PM, you wrote: JH> I found this on my server... I have no idea what it is... can someone JH> tell me what it does... if you use apache you can do this to protect against uploaded php scripts php_flag engine off -- regards, Tom -- PHP General

RE: Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Jay Blanchard
[snip] what does trolling mean? Never heard of it before. [/snip] Ever been fishing? It means fishing. It also refers to the nasty troll that lived under the bridge in the classic Grimm's fairy tale. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

Re: Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Chris Sherwood
I have seen this exact same header before in this list, so I am going to assume this is a troll Chris - Original Message - From: "binc2" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, July 31, 2003 8:26 AM Subject: Re: Re: [

Re: [PHP] Possible My Website was hacked... with PHP... please tellme what this is???

2003-07-31 Thread John Manko
trolling! ha binc2 wrote: Hi guys what does trolling mean? Never heard of it before. Angelo -Original Message- From: Joel Rees <[EMAIL PROTECTED]> To: "Joe Harman" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Date: Thu, 31 Jul 2003 16:10:24 +0900 Subject: Re: [

Re: Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Curt Zirzow
* Thus wrote binc2 ([EMAIL PROTECTED]): > Hi guys > > what does trolling mean? Never heard of it before. > http://jargon.net/jargonfile/t/troll.html Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread binc2
Hi guys what does trolling mean? Never heard of it before. Angelo -Original Message- From: Joel Rees <[EMAIL PROTECTED]> To: "Joe Harman" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Date: Thu, 31 Jul 2003 16:10:24 +0900 Subject: Re: [PHP] Possible My We

  1   2   >