Re: [PHP] Query regarding temporarily-uploaded files

2013-07-10 Thread Anthony Wlodarski
). That way it is unique to that client. -Anthony On Wed, Jul 10, 2013 at 2:15 PM, Ajay Garg ajaygargn...@gmail.com wrote: Thanks Jim and Matijn for the quick replies. I will try to have a workaround. On Wed, Jul 10, 2013 at 11:09 PM, Matijn Woudt tijn...@gmail.com wrote: On Wed, Jul 10

[PHP] SimpleXML - parsing attributes with a namespace

2011-06-03 Thread Anthony Gladdish
/profileDesc /teiHeader /TEI XML; $xml = simplexml_load_string($string); foreach($xml-teiHeader-profileDesc-particDesc-person[0]-attributes() as $a = $b) { echo p$a = $b \n/p; } Is this a bug? And how do I get this to work? Many thanks, Anthony -- PHP General Mailing List (http://www.php.net

[PHP] SimpleXML - parsing attributes with a namespace

2011-06-03 Thread Anthony Gladdish
/profileDesc /teiHeader /TEI XML; $xml = simplexml_load_string($string); foreach($xml-teiHeader-profileDesc-particDesc-person[0]-attributes() as $a = $b) { echo p$a = $b \n/p; } Is this a bug? And how do I get this to work? Many thanks, Anthony -- PHP General Mailing List (http://www.php.net

[PHP] Question about using JSON_ENCODE()

2010-01-08 Thread Anthony Papillion
status good_request Right now, I'm thinking I should put this in an array and encode/return that. But is that the right way of thinking? Is there a more correct or better way to do this? Thanks! Anthony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Question about using JSON_ENCODE()

2010-01-08 Thread Anthony Papillion
Thank you Ruan! This is just what I was looking for! Anthony Ryan Sun ryansu...@gmail.com wrote in message news:f7f19ac21001081308r4b202d45vedaf3561536ad...@mail.gmail.com... Yup, you put result in an array $result = array('status' = 'good'); and return encoded string return Json_Encode

Re: [PHP] eof bof in php

2008-12-22 Thread Anthony Gentile
I would argue it is better practice as: h1?php echo 'Hello World'; ?/h1 than ?php echo h1Hello World/h1; ? Anthony Gentile On Mon, Dec 22, 2008 at 9:18 AM, tedd tedd.sperl...@gmail.com wrote: At 1:21 PM -0500 12/21/08, Anthony Gentile wrote: -snip exampe- is probably going to give you

Re: [PHP] eof bof in php

2008-12-22 Thread Anthony Gentile
dealing with the presentation...I personally don't think its a problem. However when you start writing html out with php in your business logic...to me that's a no no. Anthony Gentile On Mon, Dec 22, 2008 at 2:47 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Mon, 2008-12-22 at 14:21

Re: [PHP] eof bof in php

2008-12-21 Thread Anthony Gentile
if (0 == $totalRows_rsSearch) { echo Sorry no products were found; } else Anthony Gentile On Sun, Dec 21, 2008 at 11:22 AM, Gary Maddock-Greene g...@maddock-greene.co.uk wrote: I have tried that but to no avail :) ?php if ($totalRows_rsSearch=0) echo Sorry no products were found; else

Re: [PHP] eof bof in php

2008-12-21 Thread Anthony Gentile
with further syntax problems. Anthony Gentile On Sun, Dec 21, 2008 at 12:33 PM, Gary Maddock-Greene g...@maddock-greene.co.uk wrote: Thanks guys .. I can get this part working great .. ?php if (0 == $totalRows_rsSearch) { echo h3Sorry no products were found/h3; } else echo h3Please

Re: [PHP] eof bof in php

2008-12-21 Thread Anthony Gentile
/div; } } ? is probably going to give you the result you want. However you should know it is bad practice to mix PHP and HTML as horridly as I just showed you. AKA you don't want your PHP writing your HTML. Anthony Gentile On Sun, Dec 21, 2008 at 1:07 PM, Gary Maddock-Greene g...@maddock

Re: [PHP] eof bof in php

2008-12-21 Thread Anthony Gentile
err forgot the closing in img src=\products\. should look like img src=\products\. Anthony Gentile Cell: 704.657.8550 Diese E-Mail ist vertraulich. Wenn Sie nicht der rechtmaessige Empfaenger sind, duerfen Sie den Inhalt weder kopieren noch verbreiten oder benutzen. Sollten Sie diese E-Mail

Re: [PHP] Variable as an index

2008-12-21 Thread Anthony Gentile
, a concatenate and an echo. Interpolation. Anthony Gentile On Sun, Dec 21, 2008 at 5:47 PM, German Geek geek...@gmail.com wrote: OK. I would think it uses more memory then, but doubt it would be slower. Isnt the output buffered in memory anyway though in PHP? Surely the buffer is bigger than

Re: [PHP] Variable as an index

2008-12-21 Thread Anthony Gentile
confusing to future maintainers of the code. Anthony Gentile On Sun, Dec 21, 2008 at 6:20 PM, Chris dmag...@gmail.com wrote: Anthony Gentile wrote: for e.g. $var = 'world'; echo hello $var; vs echo 'hello '.$var; The first uses twice as many opcodes as compared to the second. The first

[PHP] Extract specific div element from page

2007-06-15 Thread Anthony Hiscox
would have to count divs inside of that div, otherwise I would end too early on. Any advice would be greatly appreciated. Peace and Love, distatica. -- - Anthony Hiscox Video Watch Group Public Site Currently Under Development Group Members Site Fully Operational -

Re: [PHP] Re: Extract specific div element from page

2007-06-15 Thread Anthony Hiscox
. It should be relatively easy if you look up the exact syntax of the javascript. - Daniel Anthony Hiscox [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey folks, I need to pull the contents inside of a specific div out of a page, and write it to a separate file. In this instance

[PHP] Developer / Client Documents

2007-05-24 Thread Anthony Hiscox
/ Client documents) especially if the responder is, or was, a stay at home parent. However advice from anyone would be greatly welcomed, regardless of prior experiences. -- - Anthony Hiscox Video Watch Group Public Site Currently Under Development Group Members Site

[PHP] Reading Writing XML Documents...

2007-05-14 Thread Anthony J. Maske
Can anyone point me to some good online reference/examples of reading/writing XML documents? Thanks, Anthony

[PHP] Retrieving parameters passed from .html...?

2007-04-10 Thread Anthony J. Maske
the value showtopic and the value of 9? I know this is simple but I'm pulling my hair out here... Thanks! Anthony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Retrieving parameters passed from .html...?

2007-04-10 Thread Anthony J. Maske
See... the second I sent this I took a sip of red-bull and my brain cleared up... $topicID = $_GET['showtopic']; Right? Anthony J. Maske [EMAIL PROTECTED] http://home.comcast.net/~ajmaske -Original Message- From: Anthony J. Maske [mailto:[EMAIL PROTECTED] Sent: Tuesday, April

[PHP] Evaluating strings...

2007-04-10 Thread Anthony J. Maske
= true; } elseif ($Tag = '/body') { $InBody = false; } Why won't the later work? What am I missing in the first snip... Thanks again...! Anthony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Evaluating strings...

2007-04-10 Thread Anthony J. Maske
Got it... Thanks mucho! Anthony J. Maske [EMAIL PROTECTED] http://home.comcast.net/~ajmaske -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 9:03 PM To: Anthony J. Maske Cc: PHP General Subject: Re: [PHP] Evaluating strings... Anthony J

[PHP] PHP Sockets - How to detect client disconnection?

2007-01-06 Thread Anthony Rasmussen
How do I detect a disconnected client from a socket resource? In an infinite loop, I socket_read() every open resource that passes a socket_select(). As far as I know, the only way to detect if the client disconnected unexpectedly from their socket resource is when socket_read() returns

[PHP] Need help with RegEx

2006-12-11 Thread Anthony Papillion
the following regular expression on the retreived text: $trans_text = preg_match(\/div id=result_box dir=ltr(.+?)\/div/); The problem is that when I echo the value of $trans_text variable, I end up with the entire HTML of the page. Can anyone clue me in to what I am doing wrong? Thanks, Anthony -- PHP

Re: [PHP] GET, POST, REQUEST

2006-06-17 Thread Anthony Ettinger
) always check that the input received is input expected (filter the input). -- Ben Ramsey http://benramsey.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General

Re: [PHP] GET, POST, REQUEST

2006-06-17 Thread Anthony Ettinger
by no means a security or PHP expert, though working towards both :D) On Saturday 17 June 2006 14:51, Anthony Ettinger wrote: simply using $_POST is by no means more secure than $_REQUEST. On 6/17/06, Ben Ramsey [EMAIL PROTECTED] wrote: On 6/17/06 9:30 AM, David Tulloh wrote: Martin Marques

Re: [PHP] Simple blog software... Simple but clean code... suggestions?

2006-06-15 Thread Anthony Ettinger
, M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] transform RDF to HTML via XSL and PHP

2006-06-11 Thread Anthony Ettinger
the above. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Tables vs. databases

2006-06-10 Thread Anthony Ettinger
with pros and cons of each. you might want to consider storing the files outside of the database as well, and just a pointer to it's path in the table. with respect to table vs. databases per user, neither. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing

Re: [PHP] php sessions and Google

2006-06-08 Thread Anthony Ettinger
On 6/7/06, tedd [EMAIL PROTECTED] wrote: Can someone shed some light on this for me? How can one do sessions and make Google bots happy? I think what they're getting at is don't use session id's unless they're logged in. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html

Re: [PHP] Can a script run twice?

2006-05-23 Thread Anthony Ettinger
to the database. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file permission error

2006-05-22 Thread Anthony Ettinger
-- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Wikimedia - cookies

2006-05-19 Thread Anthony Ettinger
Cookies and see what Cookies you get. HTH mediawiki.org #mediawiki on irc.freenode.net -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Quotation marks considered harmful

2006-05-05 Thread Anthony Ettinger
possible delimiters are already taken for Arrays, code blocks, tag start/end, and order of operations. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http

Re: [PHP] secure upload file

2006-05-03 Thread Anthony Ettinger
your server is trashed. Sorry. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net

Re: [PHP] mod_rewrite help

2006-05-03 Thread Anthony Ettinger
://www.organicseo.org/URL_Rewriting.html -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] converting REST result to SOAP object

2006-04-29 Thread Anthony Ettinger
really what I want. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] simplexml and serialize error

2006-04-29 Thread Anthony Ettinger
a dump, I get this error. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] converting nested hash to xml

2006-04-28 Thread Anthony Ettinger
(...), ); would want the output to be something like: foo bar1 baz1 titleSome Title/title textSome Text/text /baz1 baz2 titleSome Title2/title textSome Text2/text /baz2 /bar1 barN.../barN /foo -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General

Re: [PHP] Need help with an if statement

2006-04-24 Thread Anthony Ettinger
{/if}/TD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Instalation Nightmares For Word Press Please Help

2006-04-13 Thread Anthony Ettinger
to. or b, I can bill you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html

Re: [PHP] SQL result

2006-04-13 Thread Anthony Ettinger
(http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] interview

2006-04-13 Thread Anthony Ettinger
/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php varible in Javascript alert()

2006-04-11 Thread Anthony Ettinger
('$errorMessage');/script; } I am capturing all the errors from a form and then output them all at once Thanks for any help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html

Re: [PHP] php varible in Javascript alert()

2006-04-11 Thread Anthony Ettinger
actually... alert('? echo $errorMessage; ?'); On 4/11/06, Anthony Ettinger [EMAIL PROTECTED] wrote: alert('echo $errorMessage'); On 4/11/06, Mace Eliason [EMAIL PROTECTED] wrote: Hi, I am not sure why this won't work I am pretty sure I have done it before; if($error) { echo

Re: [PHP] php varible in Javascript alert()

2006-04-11 Thread Anthony Ettinger
://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php varible in Javascript alert()

2006-04-11 Thread Anthony Ettinger
://chrome.me.uk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Ettinger Sent: 12 April 2006 00:58 To: Chrome Cc: Mace Eliason; php-general@lists.php.net Subject: Re: [PHP] php varible in Javascript alert() ?php alert('echo addslashes

Re: [PHP] xsl / xslt in php 4+

2006-04-07 Thread Anthony Ettinger
that both amazon uses a REST interface with the client transforming on the browser. What would be alternatives that could be achieved in a shared hosting environment? -j -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony

Re: [PHP] Problem with require_once

2006-04-07 Thread Anthony Ettinger
the problem, please sende a answer... Thank you, Pablo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html

Re: [PHP] Zend Certification

2006-04-07 Thread Anthony Ettinger
-- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html

Re: [PHP] session_start

2006-04-06 Thread Anthony Ettinger
://www.destinia.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] microsoft PHP ?

2006-04-01 Thread Anthony Ettinger
scripting language at a high entreprise level is now bought by Micrsoft ? Where did you hear this? Have you considered the date? Have you considered how unlikely it is? Have you ever sought professional help? -Stut -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html

Re: [PHP] microsoft PHP ?

2006-04-01 Thread Anthony Ettinger
General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Going loopy with arrays.....

2006-03-31 Thread Anthony Ettinger
! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Going loopy with arrays.....

2006-03-31 Thread Anthony Ettinger
, returns ArrayArray=ArrayArrayArray=ArrayArray=Array -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: setting the same value to multiple variables

2006-03-31 Thread Anthony Ettinger
://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Going loopy with arrays.....

2006-03-31 Thread Anthony Ettinger
( [lon] = -99.0876 [lat] = 29.216 ) [1] = Array ( [lon] = -99.0618 [lat] = 29.179 ) } } -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP

Re: [PHP] Re: setting the same value to multiple variables

2006-03-31 Thread Anthony Ettinger
nevermind, that doesn't work...after testing it :*( i've seen it in perlregex. On 3/31/06, Eduardo Raúl Galván Sánchez [EMAIL PROTECTED] wrote: Anthony Ettinger wrote: ($a, $b) = $c; ^^ I don't get the meaning of this... On 3/31/06, Eduardo Raúl Galván Sánchez [EMAIL PROTECTED] wrote

Re: [PHP] MySQL close connection, what's the purpose?

2006-03-31 Thread Anthony Ettinger
simultaneous connections). -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL close connection, what's the purpose?

2006-03-31 Thread Anthony Ettinger
it open until you're done with the database. If you pee and poo in one sitting, you don't get up and flush between occurrences. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTTP status code

2006-03-30 Thread Anthony Ettinger
Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTTP status code

2006-03-30 Thread Anthony Ettinger
Then it's workingFireFox, et. al. show you the server 404, IE on the otherhand has it's own 404 error page (for those newbies who don't know what a 404 is). You can disable it under IE options. On 3/30/06, Bronislav Klucka [EMAIL PROTECTED] wrote: Yes, I do... B. Anthony Ettinger wrote

Re: [PHP] HTTP status code

2006-03-30 Thread Anthony Ettinger
. Apache Server at foo.org Port 80 On 3/30/06, Jasper Bryant-Greene [EMAIL PROTECTED] wrote: In other words, if you want Firefox/Opera/etc to display something, you have to output something. Strange, that. :P Jasper Anthony Ettinger wrote: Then it's workingFireFox, et. al. show you

Re: [PHP] XML-RPC or SOAP

2006-03-30 Thread Anthony Ettinger
: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html

Re: [PHP] Database connections

2006-03-30 Thread Anthony Ettinger
tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html

Re: [PHP] private $foo [HISTORY - TOTALLY THREAD JACKED]

2006-03-29 Thread Anthony Ettinger
our first hard-drive in the lab...a 10Mb dishwasher sized behemoth with its own AC unit -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html

Re: [PHP] Can't get XSLT on PHP

2006-03-29 Thread Anthony Ettinger
, but i get no XSLT support (confirmed via phpinfo()). Any ideas ? Any help would be apreciated. Warm Regards, MA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html

[PHP] private $foo

2006-03-28 Thread Anthony Ettinger
I see this all over the place, but I don't think it stores the variable in = $foo: class Foo { private $foo; public function __setFoo($arg) { $this-foo = $arg; } -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] private $foo

2006-03-28 Thread Anthony Ettinger
-__getFoo(); Yields: foo bar -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] private $foo

2006-03-28 Thread Anthony Ettinger
On 3/28/06, Jochem Maas [EMAIL PROTECTED] wrote: Anthony Ettinger wrote: On 3/28/06, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] I see this all over the place, but I don't think it stores the variable in = $foo: class Foo { private $foo; public function __setFoo($arg

Re: [PHP] private $foo

2006-03-28 Thread Anthony Ettinger
'); --- foo bar If you want to validate input, you then have to have a block of nested conditionals if your validation expressions vary. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] private $foo

2006-03-28 Thread Anthony Ettinger
On 3/28/06, M. Sokolewicz [EMAIL PROTECTED] wrote: Anthony Ettinger wrote: On 3/28/06, Joe Henry [EMAIL PROTECTED] wrote: On Tuesday 28 March 2006 1:12 pm, Jochem Maas wrote: ?php class Foo { private $foo = 'foo'; function __get($k) { if (isset

Re: [PHP] About wrapping a forum into your own design.

2006-03-28 Thread Anthony Ettinger
) Any help is appreciated. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] where php at?

2006-03-27 Thread Anthony Ettinger
I'm sober. tedd -- In a related question, I have php5 installed on my box (works fine with Apache2)...but I can't seem to find php5 on the command line. Is there a separate package I need (fyi: I'm using Gentoo). -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP

Re: [PHP] where php at?

2006-03-27 Thread Anthony Ettinger
exists on my system. The only php* binary matches I have are: $ php php-config phpize I think cli-php4 is the command-line-interface php.ini file for php4, but the binary is no longer on my system. If anyone knows...otherwise, I'll redirect to #gentoo -- Anthony Ettinger Signature: http

Re: [PHP] where php at?

2006-03-27 Thread Anthony Ettinger
On 3/27/06, Anthony Ettinger [EMAIL PROTECTED] wrote: On 3/27/06, Ryan A [EMAIL PROTECTED] wrote: Ooops, and lets not forget this one: curl http://www.yoursite.com/path/to/script/yourscript.php you can put that in your cron job by going to cpanel its a long way round but sometimes

Re: [PHP] security risk by using remote files with include(); ?

2006-03-24 Thread Anthony Ettinger
anything he likes into the content you send users, so your passing your risk onto your users. Chris If you don't trust him enough to give him access to your server, why are you letting him dynamically include code? -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP

Re: [PHP] using DOM functions with embedded html / encoding

2006-03-21 Thread Anthony Ettinger
/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] is there a guide for pda friendly web pages

2006-03-21 Thread Anthony Ettinger
-- http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General

Re: [PHP] using DOM functions with embedded html / encoding

2006-03-21 Thread Anthony Ettinger
...or you may have to decode the html entities first. On 3/21/06, Anthony Ettinger [EMAIL PROTECTED] wrote: saveHTML();? instead of saveXML(); On 3/21/06, jonathan [EMAIL PROTECTED] wrote: I'm interested in creating an xml doc from my php5/mysql 4.1 app. I'm using PHP's DOM functions

Re: [PHP] yahoo webshosting

2006-03-16 Thread Anthony Ettinger
(http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] help with setting menu styles with PHP

2006-03-16 Thread Anthony Ettinger
: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php 5 installation problem

2006-03-16 Thread Anthony Ettinger
(http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php 5 installation problem

2006-03-16 Thread Anthony Ettinger
On 3/16/06, Miles Thompson [EMAIL PROTECTED] wrote: At 05:40 PM 3/16/2006, Anthony Ettinger wrote: dreamhost let's you choose php4 or 5, as I'm sure others do as well. snipped all 'dat stuff A little more on dreamhost. PHP5 is installed as CGI, not Apache module. Is there a drawback

Re: [PHP] Is this password protection script secure?

2006-03-14 Thread Anthony Ettinger
should encrypt the password in the database, with a one-way hash, then you simply compare what's in your db to what the login form submits. That way if you get hacked, or your admin goes postal, you won't have people's unencrypted passwords in the database. -- Anthony Ettinger Signature: http

Re: [PHP] Phone number validation

2006-03-12 Thread Anthony Ettinger
-- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html

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

2006-03-11 Thread Anthony Ettinger
from that script?! Can anybody help? Regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html

Re: [PHP] preg_replace problem (or possibly bug)

2006-03-08 Thread Anthony Ettinger
, Michael Mulqueen michael-m.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Is the last / interferring? Might want to try \[\/url\], in most regex engines / is used as the separater between the s/search/replace/si; -- Anthony

Re: [PHP] Classes and OOP

2006-03-07 Thread Anthony Ettinger
(publisher apress) http://tinyurl.com/ohybj I just finished reading this book, it's an excellent source for OOP with php5. Also includes common patterns, complete with UML diagrams, something you rarely see in programming books, at least the ones I've read. -- Anthony Ettinger Signature: http

Re: [PHP] Mysql Rows

2006-03-06 Thread Anthony Ettinger
layer and handled in the source code, rather than relying on re-factoring the database everytime you want a count. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mysql Rows

2006-03-06 Thread Anthony Ettinger
of flexibility, and it so happens this method seems inflexible from what I gather. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Prepared statements

2006-03-05 Thread Anthony Ettinger
want to read up on bind_param. I'ts been awhile since I did this in Perl. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Prepared statements

2006-03-04 Thread Anthony Ettinger
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Can you dump the error string reported back from the mysql database connection? Could provide some insight as to why your INSERT fails, and the UPDATE works. -- Anthony Ettinger Signature

Re: [PHP] Mysql Rows

2006-03-03 Thread Anthony Ettinger
users); while ($d = mysql_fetch_array($gun)) { while($d[username] != $user) { $i = $i + 1; } } } but it always returns 1. can sombody tell me what i am doing wrong or point me in the right direction in the manual? plase and thank you -- Anthony Ettinger Signature: http://chovy.dyndns.org

Re: [PHP] Prepared statements

2006-03-03 Thread Anthony Ettinger
: 0x4B4A486E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mysql Rows

2006-03-03 Thread Anthony Ettinger
. thank you for you help. simple fix. i should have caught it. - Original Message - From: Anthony Ettinger [EMAIL PROTECTED] To: benifactor [EMAIL PROTECTED] Cc: php php-general@lists.php.net Sent: Friday, March 03, 2006 3:52 PM Subject: Re: [PHP] Mysql Rows define $1 = 0

Re: [PHP] Mysql Rows

2006-03-03 Thread Anthony Ettinger
On 3/3/06, Murray @ PlanetThoughtful [EMAIL PROTECTED] wrote: I have to agree with Anthony - why are you using row order to determine something relating to users? I couldn't follow your brief explanation above, and the fact that you're doing it sets off some soft alarm bells about

[PHP] How do I ...

2006-03-02 Thread Anthony Rodriguez
Hi! How do I un-subscribe to this list? Thank you! Anthony (Tony) Rodriguez ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How do I ...

2006-03-02 Thread Anthony Rodriguez
Hi! How do I un-subscribe to this list? Thank you! Anthony (Tony) Rodriguez ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Displaying Form Errors

2006-03-02 Thread Anthony Ettinger
-- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_replace - I don't have a clue

2006-01-13 Thread Anthony Best
On 1/12/06, Frank Bax [EMAIL PROTECTED] wrote: reg_replace( ' (\d+\$)', '+$0', $prop ); /* results in dollar-alpha-space-space-plus-digits-dollar */ $Fencing +11$Lumber +17$Weight: 317 Stones$Energy Resist 2%$ Try: preg_replace( '/ (\d+\$)/', '+$1', $prop ); -- Anthony Best

  1   2   3   4   >