[PHP] RE: [PHP-DB] [PHP] PHP Database Problems -- Code Snippets - Any more Ideas?

2012-05-04 Thread Gavin Chalkley
Ethan, You have been given advise and break down on your code. Have you taken the advise given? Which part of the code isn't working? Not which chunk, but break it down and show which part BR, Gav -Original Message- From: Ethan Rosenberg [mailto:eth...@earthlink.net] Sent: 04 May

[PHP] RE: [PHP-DB] PHP Database Problems

2012-05-02 Thread Gavin Chalkley
Ethan, Some coding you are using would be helpful (as far as i am aware attachments are not support on the mailing list's) Gav -Original Message- From: Ethan Rosenberg [mailto:eth...@earthlink.net] Sent: 02 May 2012 19:54 To: php-db-lists.php.net; php-general@lists.php.net Subject:

Re: [PHP] Boolean Assignment Operator

2009-02-02 Thread Gavin Hodge
Wow, thanks for the quick replies! I hadn't realised that was purely a bitwise operator. In the strongly-typed Java world, works as a non-lazy (exhaustive?) boolean operator so it has to return a boolean for boolean inputs. Thats the difference here, and Robert got it in one. Gavin. PS

[PHP] Boolean Assignment Operator

2009-02-02 Thread Gavin Hodge
=== true; // no output * The 'or' assignment operator |= causes no errors but doesn't work. Can any PHP gurus explain why the = operator works at all, and why === seems to fail afterwards? Cheers, Gavin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Boolean Assignment Operator

2009-02-02 Thread Gavin Hodge
In Java / C# / C, $bool = $anotherBool; is shorthand for $bool = $bool $anotherBool; So = forces a reference assignment? On Tue, Feb 3, 2009 at 12:03 AM, Edmund Hertle edmund.her...@student.kit.edu wrote: 2009/2/2 Gavin Hodge gavin.ho...@gmail.com Hi, I'm fairly new to PHP, having migrated

Re: [PHP] page suck attack

2008-05-21 Thread Gavin M. Roy
Search engines indexing your site? On Wed, May 21, 2008 at 11:54 AM, robert [EMAIL PROTECTED] wrote: Hi Every so often my site is attacked in which all URLS on my site are retrieved in the span of minutes. What is this called?? I mean what do I google for? I don't know where to begin. I'm

Re: [PHP] Parsing Poor XML into to PHP

2007-09-17 Thread Gavin M. Roy
I'm not sure, but perhaps tidy can fix the broken elements of the xml file... I don't remember if it will close your quotes or just drop the element from the tag. On 9/17/07, John Taylor-Johnston [EMAIL PROTECTED] wrote: Pour examples of xml, but this is what I want to do. I have a quiz.

Re: [PHP] About MYSQL/PHP Shopping Cart's Product Quantity Change Input Forms

2007-09-14 Thread Gavin M. Roy
Name all your input boxes the same thing, and include a similar level hidden input: input type=hidden name=sku[] value=abc123 / input type=text name=qty[] value=1 / input type=hidden name=sku[] value=abc321 / input type=text name=qty[] value=2 / on your POST $_POST['sku'] $_POST['qty'] will be

Re: [PHP] Public Announcement

2007-09-10 Thread Gavin M. Roy
you mention not using mod_rewrite. If you're using Apache and mod_php, are you using Error Documents? Auto-generating html pages (or yuck - php pages) ? Methodology is worth more to the technical than concepts or bragging rights. Regards, Gavin -- PHP General Mailing List (http://www.php.net

Re: [PHP] mail() takes too much time

2007-09-02 Thread Gavin M. Roy
. Gavin On 9/2/07, shiplu [EMAIL PROTECTED] wrote: Hello everybody, I am maintaining a social network site. there each user can send other mail. these mails are not real mail rather message entry to database. I added a new feature so that every message is sent to me (admin/webmaster) via email

[PHP] [Job] Developer Position [50-100k] (New Hope, PA)

2007-08-27 Thread Gavin M. Roy
Are you tired of working on the same types of web apps? Are you looking for more of a challenge where you can put your code-fu to its test working in a high-traffic, open-source friendly environment? Can you tackle any problem put in front of you, hacking your way through problems you've not

Re: [PHP] Re: PHP 5.1 CVS Interface Question

2005-03-02 Thread Gavin Roy
want to use an interface is to define a preset definition of what my classes should implement when they are designed using specific design patterns. Gavin On Wed, 02 Mar 2005 03:17:59 +0100, Jochem Maas [EMAIL PROTECTED] wrote: Jason Barnett wrote: Gavin Roy wrote: ... Is this a bug, or a new

[PHP] PHP5 Static Object Function Issue

2005-03-01 Thread Gavin Roy
to internally create an object instance and use that instance for all processing. As of right now it doesn't seem that it is possible. Is there a reason why it's not supported? Will it be supported in the future? Gavin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] PHP 5.1 CVS Interface Question

2005-03-01 Thread Gavin Roy
match the classes that implement it. Is this a bug, or a new intended behavior? Gavin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP5 Static Object Function Issue

2005-03-01 Thread Gavin Roy
Well yes and no, conceivably, the system has no idea what singletons are out there other than what is specified in a configuration file. You are in essence hard coding the class name in the switch. Gavin On Tue, 01 Mar 2005 17:47:24 -0500, Jason Barnett [EMAIL PROTECTED] wrote: A switch

[PHP] [php] php.dat

2003-03-24 Thread Gavin Jackson
I had a look in the cgi-bin in the site that's hosting my files and it contains a binary file called php.dat. Can anyone tell me what the file is used for? Regards Gavin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Missing session vars when doing var_dump()

2003-03-20 Thread Gavin Jackson
running is 4.2.3 Regards Gavin Auckland, New Zealand -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Missing session vars when doing var_dump()

2003-03-20 Thread Gavin Jackson
Thanks for your input Bobby I was using mysql_fetch_array() but changed to mysql_fetch_assoc() The funny thing is, I have a page that does the var_dump() and all I'm doing is refreshing the page and sometimes I get 18 other times 16 variables Gavin Auckland, New Zealand -Original Message

[PHP] [php]: Loading from array

2003-03-20 Thread Gavin Jackson
and simplicity a lot but these two problems have me tearing my hair out. Gavin Auckland, New Zealand -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Missing session vars when doing var_dump()

2003-03-20 Thread Gavin Jackson
Gavin Jackson, RD Software Engineer, Tru-Test Ltd. Phone: +64-9-9788757, Fax: +64-9-979, [EMAIL PROTECTED] Tru-Test Ltd, P.O. Box 51-078, Pakuranga, Auckland, New Zealand -Original Message- From: Bobby Patel [SMTP:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 3:28 PM

[PHP] Line breaks

2003-03-06 Thread Gavin Amm
Hi, Please help me before I go insane... I have a basic feedback form with: your name your e-mail address E-Mail Subject Message The problem is the line breaks... For example, they might type in the following (between the dashed lines) into the Message textarea:

[PHP] session_start() causes Connection to Close.

2002-02-21 Thread Gavin McCullagh
Hi, I'm using php-4.1.1 with Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-dbase' '-- with-mysql=/usr/local/mysql' '--with-mm' '--with-openssl' '--enable-sockets' '- -with-zlib' '--with-curl' '--enable-discard-path' apache (w modssl): gavin@myhost apache

[PHP] Re: redirect to php problem

2001-09-15 Thread Gavin
Yes, this HTML line will redirect the browser to the php page.. META http-equiv=refresh content=0;url=file.php Gavin Nikola Veber [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi ! I'm having a problem with following : I'd like to activate a

[PHP] Passing arrays to other php routines in popup window

2001-09-14 Thread Gavin
I am using Apache with php version 4.0.4pl1. I am trying to display data in a popup window. I want to pass there variables, one string and two normal arrays. Both the $name and $data variables contain valid data in the dispData routine, however the $data2 array is always blank. **