Re: [PHP] APC expunge notices

2012-08-17 Thread Robert Cummings
On 12-08-17 05:22 PM, Nathan Nobbe wrote: Hi everyone, I'd like to see what other folks think about the idea of having APC provide a E_WARNING or E_NOTICE when it has to expunge the cache. Ideally, this would include the amount of memory allocated in the error message. The idea here is to prov

Re: [PHP] Cost of redirect and site domain switch? Good Practice/ Bad Practice / Terrible Practice

2012-08-17 Thread Jim Giner
On 8/17/2012 7:16 PM, Jim Lucas wrote: On 08/17/2012 01:09 PM, Tristan wrote: Sebastian, I'll check into 307 I haven't used that before but, this really is a permanent redirect. They are going to a shorter domain. About the SEO part of it though. Would it be good to find replace all internal l

Re: [PHP] Cost of redirect and site domain switch? Good Practice / Bad Practice / Terrible Practice

2012-08-17 Thread Jim Lucas
On 08/17/2012 01:09 PM, Tristan wrote: Sebastian, I'll check into 307 I haven't used that before but, this really is a permanent redirect. They are going to a shorter domain. About the SEO part of it though. Would it be good to find replace all internal links from somedomain.com to somenewdomai

[PHP] APC expunge notices

2012-08-17 Thread Nathan Nobbe
Hi everyone, I'd like to see what other folks think about the idea of having APC provide a E_WARNING or E_NOTICE when it has to expunge the cache. Ideally, this would include the amount of memory allocated in the error message. The idea here is to provide system admins with information that A.

Re: [PHP] Cost of redirect and site domain switch? Good Practice / Bad Practice / Terrible Practice

2012-08-17 Thread Daniel Brown
On Fri, Aug 17, 2012 at 4:30 PM, Tristan wrote: > > My colleague is saying > > "but I still think we should change all the references to someolddomain.com > to some newdomain, especially in the code base, database etc..." > > I don't want to introduce more problems if a find/replace doesn't go rig

Re: [PHP] Cost of redirect and site domain switch? Good Practice / Bad Practice / Terrible Practice

2012-08-17 Thread Tristan
Daniel, Why thank you for your mercy. That is precisely why I belong to this list. Happy Friday! My colleague is saying "but I still think we should change all the references to someolddomain.com to some newdomain, especially in the code base, database etc..." I d

Re: [PHP] Cost of redirect and site domain switch? Good Practice / Bad Practice / Terrible Practice

2012-08-17 Thread Tristan
Sebastian, I'll check into 307 I haven't used that before but, this really is a permanent redirect. They are going to a shorter domain. About the SEO part of it though. Would it be good to find replace all internal links from somedomain.com to somenewdomain.com or will it follow the 301 with no p

Re: [PHP] Cost of redirect and site domain switch? Good Practice / Bad Practice / Terrible Practice

2012-08-17 Thread Daniel Brown
On Fri, Aug 17, 2012 at 3:35 PM, Tristan wrote: > So, I need to change from somedomain.com to somenewdomain.com > > I was thinking of doing this > > 1) create an alias to the site somenewdomain.com to point to current server > 2) run permanent 301 redirect from somedomain.com to somenewdomain.com

Re: [PHP] Cost of redirect and site domain switch? Good Practice / Bad Practice / Terrible Practice

2012-08-17 Thread Tristan
Jonathan, Yeah that was my intention but, I think search engines will hit you for duped content if you're running two domains same content. So, the idea was to redirect 301 style and have an alias. -T On Fri, Aug 17, 2012 at 1:36 PM, Jonathan Sundquist wrote: > Depending on how long you have wh

Re: [PHP] Cost of redirect and site domain switch? Good Practice / Bad Practice / Terrible Practice

2012-08-17 Thread Sebastian Krebs
If you need to change the domain completely, choose "301". - Crawler will recognize it and will update their indexes quite soon. Especially you avoid "duplicate content"-punishments, because you say yourself, that the content originally comes from another domain, that isn't anymore (Like "It's

Re: [PHP] Cost of redirect and site domain switch? Good Practice / Bad Practice / Terrible Practice

2012-08-17 Thread Jonathan Sundquist
Depending on how long you have why not just do an alias? No redirect required. On Fri, Aug 17, 2012 at 2:35 PM, Tristan wrote: > So, I need to change from somedomain.com to somenewdomain.com > > I was thinking of doing this > > 1) create an alias to the site somenewdomain.com to point to current

[PHP] Cost of redirect and site domain switch? Good Practice / Bad Practice / Terrible Practice

2012-08-17 Thread Tristan
So, I need to change from somedomain.com to somenewdomain.com I was thinking of doing this 1) create an alias to the site somenewdomain.com to point to current server 2) run permanent 301 redirect from somedomain.com to somenewdomain.com I was thinking this was a clean safe way to do it so we d

[PHP] Instance inheritance

2012-08-17 Thread Aaron Holmes
Hello, I would like some input on the best way to do something that I can only think to call "instance inheritance." I want to return, from a class method, an object that has the same methods as $this, with some additional data, and without altering $this. The way I'm doing this now is with clo

Re: [PHP] Need to have form protection techniques

2012-08-17 Thread Robert Cummings
On 12-08-17 10:59 AM, Al wrote: On 8/17/2012 10:42 AM, Robert Cummings wrote: On 12-08-17 10:15 AM, Tedd Sperling wrote: On Aug 17, 2012, at 10:09 AM, Daniel Brown wrote: On Fri, Aug 17, 2012 at 12:05 AM, Ansry User 01 wrote: I need to know the forms validity techniques for Php. T

Re: [PHP] Need to have form protection techniques

2012-08-17 Thread Robert Cummings
On 12-08-17 11:14 AM, Tedd Sperling wrote: On Aug 17, 2012, at 10:42 AM, Robert Cummings wrote: On Fri, Aug 17, 2012 at 12:05 AM, Ansry User 01 wrote: I need to know the forms validity techniques for Php. This will probably take a while to absorb, so you may need to revisit this page se

Re: [PHP] Need to have form protection techniques

2012-08-17 Thread Tedd Sperling
On Aug 17, 2012, at 10:42 AM, Robert Cummings wrote: >>> On Fri, Aug 17, 2012 at 12:05 AM, Ansry User 01 >>> wrote: I need to know the forms validity techniques for Php. >>> >>>This will probably take a while to absorb, so you may need to >>> revisit this page several times: >>> >>>

Re: [PHP] Need to have form protection techniques

2012-08-17 Thread Al
On 8/17/2012 10:42 AM, Robert Cummings wrote: On 12-08-17 10:15 AM, Tedd Sperling wrote: On Aug 17, 2012, at 10:09 AM, Daniel Brown wrote: On Fri, Aug 17, 2012 at 12:05 AM, Ansry User 01 wrote: I need to know the forms validity techniques for Php. This will probably take a while to

Re: [PHP] Need to have form protection techniques

2012-08-17 Thread Robert Cummings
On 12-08-17 10:15 AM, Tedd Sperling wrote: On Aug 17, 2012, at 10:09 AM, Daniel Brown wrote: On Fri, Aug 17, 2012 at 12:05 AM, Ansry User 01 wrote: I need to know the forms validity techniques for Php. This will probably take a while to absorb, so you may need to revisit this page seve

Re: [PHP] Need to have form protection techniques

2012-08-17 Thread Tedd Sperling
On Aug 17, 2012, at 10:09 AM, Daniel Brown wrote: > On Fri, Aug 17, 2012 at 12:05 AM, Ansry User 01 > wrote: >> I need to know the forms validity techniques for Php. > >This will probably take a while to absorb, so you may need to > revisit this page several times: > >http://oidk.

Re: [PHP] Need to have form protection techniques

2012-08-17 Thread Daniel Brown
On Fri, Aug 17, 2012 at 12:05 AM, Ansry User 01 wrote: > I need to know the forms validity techniques for Php. This will probably take a while to absorb, so you may need to revisit this page several times: http://oidk.net/php/know-the-forms-validity-techniques-for.php -- Network I

[PHP] Re: Need to have form protection techniques

2012-08-17 Thread Jim Giner
On 8/17/2012 12:05 AM, Ansry User 01 wrote: I need to know the forms validity techniques for Php. Really? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php