php-general Digest 27 Apr 2011 15:52:15 -0000 Issue 7285

2011-04-27 Thread php-general-digest-help
php-general Digest 27 Apr 2011 15:52:15 - Issue 7285 Topics (messages 312490 through 312496): Re: htaccess question 312490 by: David Robley 312491 by: Al Re: Improve server HTTP GET server response - HTTP 1.1 ? 312492 by: Ashley Sheridan 312493 by: Eli Orr

[PHP] Newsgroup status

2011-04-27 Thread Al
Is this group off the air or just no topics being posted? I've not seen it so quiet in years. Al. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newsgroup status

2011-04-27 Thread Joshua Kehn
If this is the PHP list thinking of it's moderately active. I sometimes forget which ones I'm subscribed to. Regards, -Josh___ Joshua Kehn | josh.k...@gmail.com http://joshuakehn.com On Wednesday, April 27, 2011 at 11:52 AM, Al wrote: Is this group off

Re: [PHP] Newsgroup status

2011-04-27 Thread Steve Staples
On Wed, 2011-04-27 at 11:54 -0400, Joshua Kehn wrote: If this is the PHP list thinking of it's moderately active. I sometimes forget which ones I'm subscribed to. Regards, -Josh___ Joshua Kehn | josh.k...@gmail.com http://joshuakehn.com On

Re: [PHP] Newsgroup status

2011-04-27 Thread Joshua Kehn
On Wednesday, April 27, 2011 at 12:20 PM, Steve Staples wrote: On Wed, 2011-04-27 at 11:54 -0400, Joshua Kehn wrote: If this is the PHP list thinking of it's moderately active. I sometimes forget which ones I'm subscribed to. Regards, -Josh___

Re: [PHP] Newsgroup status

2011-04-27 Thread Jason Pruim
It used to be alot busier. But lately it has slowed down... It's up to us though to fix that! It's time for the next generation to start picking up the slack and helping out and asking questions :) Jason Pruim On Apr 27, 2011, at 11:54 AM, Joshua Kehn josh.k...@gmail.com wrote: If this is

[PHP] files outside of the web tree

2011-04-27 Thread Jim Giner
I have managed to build include files and store them above my public folder and the called pages manage to find them from the public folder and properly include them. My problem is with the html src= attribute. I have uploaded photos to be included in my web pages and I didn't want them in

Re: [PHP] files outside of the web tree

2011-04-27 Thread Joshua Kehn
On Wednesday, April 27, 2011 at 1:08 PM, Jim Giner wrote: I have managed to build include files and store them above my public folder and the called pages manage to find them from the public folder and properly include them. My problem is with the html src= attribute. I have uploaded photos

Re: [PHP] files outside of the web tree

2011-04-27 Thread Jason Pruim
Jason Pruim On Apr 27, 2011, at 1:11 PM, Joshua Kehn josh.k...@gmail.com wrote: On Wednesday, April 27, 2011 at 1:08 PM, Jim Giner wrote: I have managed to build include files and store them above my public folder and the called pages manage to find them from the public folder and properly

[PHP] Re: files outside of the web tree

2011-04-27 Thread Shawn McKenzie
On 04/27/2011 12:08 PM, Jim Giner wrote: I have managed to build include files and store them above my public folder and the called pages manage to find them from the public folder and properly include them. My problem is with the html src= attribute. I have uploaded photos to be

[PHP] Flattery will get you nowhere

2011-04-27 Thread Marc Guay
I just googled up php tedd form validation and can't find a single reference. What does this mean, that I respect tedd's skills or that he needs better SEO? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Flattery will get you nowhere

2011-04-27 Thread Joshua Kehn
On Wednesday, April 27, 2011 at 3:54 PM, Marc Guay wrote: I just googled up php tedd form validation and can't find a single reference. What does this mean, that I respect tedd's skills or that he needs better SEO? I wasn't aware Tedd had a form validation lib written. Regards,

Re: [PHP] Flattery will get you nowhere

2011-04-27 Thread Daniel Brown
On Wed, Apr 27, 2011 at 15:54, Marc Guay marc.g...@gmail.com wrote: I just googled up php tedd form validation and can't find a single reference.  What does this mean, that I respect tedd's skills or that he needs better SEO? Your point is valid, Marc, but if you change 'php' to 'php1' in

RE: [PHP] Flattery will get you nowhere

2011-04-27 Thread HallMarc Websites
I just googled up php tedd form validation and can't find a single reference. What does this mean, that I respect tedd's skills or that he needs better SEO? OOH!! I KNOW! I KNOW! PICK ME! PICK ME! Um Both? No wait, maybe Tedd doesn't want his stuff found? -- PHP General Mailing List

Re: [PHP] Re: Newsgroup status

2011-04-27 Thread Ashley Sheridan
On Wed, 2011-04-27 at 18:42 +0100, Geoff Lane wrote: On Wednesday, April 27, 2011, Jason Pruim wrote: It's time for the next generation to start picking up the slack and helping out and asking questions :) To be honest, I've started three or four cries for help in the last few days.

Re: [PHP] Flattery will get you nowhere

2011-04-27 Thread Robert Cummings
On 11-04-27 04:47 PM, HallMarc Websites wrote: I just googled up php tedd form validation and can't find a single reference. What does this mean, that I respect tedd's skills or that he needs better SEO? OOH!! I KNOW! I KNOW! PICK ME! PICK ME! Um Both? No wait, maybe Tedd doesn't want

Re: [PHP] Re: Newsgroup status

2011-04-27 Thread Yico Gaga
well, no question ,may be a big question! 2011/4/28 Geoff Lane ge...@gjctech.co.uk On Wednesday, April 27, 2011, Jason Pruim wrote: It's time for the next generation to start picking up the slack and helping out and asking questions :) To be honest, I've started three or four cries for

[PHP] Detecting Javascript (was Re: Newsgroup status)

2011-04-27 Thread Geoff Lane
On Wednesday, April 27, 2011, Ashley Sheridan wrote: Firstly, please do not hijack a thread, if you have a question, start your own. We won't bite if you create new threads, whereas we might a little if you hijack ;) Ouch! My apologies - Hijacking was not intended and I've changed the

Re: [PHP] Flattery will get you nowhere

2011-04-27 Thread Jason Pruim
On Apr 27, 2011, at 4:58 PM, Robert Cummings wrote: On 11-04-27 04:47 PM, HallMarc Websites wrote: I just googled up php tedd form validation and can't find a single reference. What does this mean, that I respect tedd's skills or that he needs better SEO? OOH!! I KNOW! I KNOW! PICK

[PHP] Destroying cookies... not working

2011-04-27 Thread Rick Dwyer
Hello all. I have a logout page that should be destroying cookies when loaded... but it is not. setcookie(mycookie, False, time() - 3600, /); However, I can still pull values stored in the cookie and I can still see the cookie in my browser's Show Cookies window. So I tried the

Re: [PHP] Destroying cookies... not working

2011-04-27 Thread Andre Polykanine
Hello Rick, Pay attention how you did set the cookie. When I tried to unset the cookie using only three parameters, I got no luck because I had set it using five: setCookie (mycookie, , time()-32557600, '/', '.oire.org'); -- With best regards from Ukraine, Andre Skype: Francophile My blog:

[PHP] Re: files outside of the web tree

2011-04-27 Thread Jim Giner
I think I see what you mean but I guess if that's the way it's meant to be there must not be a great risk to my uploaded files. Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] refreshing pages in the cache

2011-04-27 Thread Jim Giner
Im trying to make my webpages display random photos on a border. Got it all working now but have a question about the IE cache. Seems that once the page has been displayed, no amount of refresh will make the page rebuild and thus show 'different' pics the second time around. Can php do

Re: [PHP] refreshing pages in the cache

2011-04-27 Thread Sean Greenslade
On Wed, Apr 27, 2011 at 4:42 PM, Jim Giner jim.gi...@albanyhandball.comwrote: Im trying to make my webpages display random photos on a border. Got it all working now but have a question about the IE cache. Seems that once the page has been displayed, no amount of refresh will make the page

Re: [PHP] refreshing pages in the cache

2011-04-27 Thread Jim Giner
thanks for the input but your first link is invalid and the second I don't understand why you sent me. Perhaps you could explain? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Destroying cookies... not working

2011-04-27 Thread Rick Dwyer
The following did the trick... is there any reason I should not use it? $name=mysession; setcookie($name); --Rick On Apr 27, 2011, at 7:16 PM, Rick Dwyer wrote: Hello all. I have a logout page that should be destroying cookies when loaded... but it is not. setcookie(mycookie, False,

Re: [PHP] Destroying cookies... not working

2011-04-27 Thread Sean Greenslade
On Wed, Apr 27, 2011 at 8:52 PM, Rick Dwyer rpdw...@earthlink.net wrote: The following did the trick... is there any reason I should not use it? $name=mysession; setcookie($name); --Rick Only if you're OCD, since the cookie is still technically there, just empty. Without setting the

Re: [PHP] refreshing pages in the cache

2011-04-27 Thread Sean Greenslade
On Wed, Apr 27, 2011 at 8:50 PM, Jim Giner jim.gi...@albanyhandball.comwrote: thanks for the input but your first link is invalid and the second I don't understand why you sent me. Perhaps you could explain? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] refreshing pages in the cache

2011-04-27 Thread Jim Giner
ok - I'm lost. What do I do with this knowledge? - Original Message - From: Sean Greenslade zootboys...@gmail.com Sure. In order to tell the browser to not cache a page, you need to set the header Cache-Control: no-cache. This can be done by the PHP command header(Cache-Control:

RE: [PHP] refreshing pages in the cache

2011-04-27 Thread Ross Hansen
You need to still put in the standard PHP tags as you would normally and it is just another line of code. e.g ?php header(Cache-Control: no-cache); ? To: php-general@lists.php.net From: jim.gi...@albanyhandball.com Date: Wed, 27 Apr 2011 21:33:16 -0400 Subject: Re: [PHP] refreshing pages

Re: [PHP] refreshing pages in the cache

2011-04-27 Thread Jim Giner
So - it's not an html attribute - it's a PHP command that precedes ALL my html headers? Ross Hansen hansen.r...@live.com.au wroteYou need to still put in the standard PHP tags as you would normally and it is just another line of code. e.g ?php header(Cache-Control: no-cache); ? -- PHP

RE: [PHP] refreshing pages in the cache

2011-04-27 Thread Ross Hansen
I am not 100% with this so i might not have the full picture however, it is just a command that would have the server tell the client not to cache the page. from something i just read you would want to execute this from the server, as by the time it gets to the client it would be too late as

Re: [PHP] refreshing pages in the cache

2011-04-27 Thread Jim Giner
Must be doing something wrong. Besides not helping my pages to re-build, it actually ruins the presentation of a couple of my pages, even tho they are all using the exact same includes with only some dummy content in one div different than all the other pages. I added this line to my existing

RE: [PHP] refreshing pages in the cache

2011-04-27 Thread Ross Hansen
You don't want to echo it as it isn't something that is going to HTML. it is native PHP. the correct command should be ? header(Cache-Control: no-cache);? See how this goes. To: php-general@lists.php.net From: jim.gi...@albanyhandball.com Date: Wed, 27 Apr 2011 22:12:23 -0400 Subject:

Re: [PHP] Flattery will get you nowhere

2011-04-27 Thread tedd
At 3:54 PM -0400 4/27/11, Marc Guay wrote: I just googled up php tedd form validation and can't find a single reference. What does this mean, that I respect tedd's skills or that he needs better SEO? What are you are looking for? Cheers, tedd -- --- http://sperling.com/ -- PHP

[PHP] Javascript detection

2011-04-27 Thread tedd
At 6:42 PM +0100 4/27/11, Geoff Lane wrote: However, I do have one residual question. I suspect the short answer to this is No, but since the list is quiet I'll ask anyway: Q: Is it possible to check whether Javascript is available on the client without using client-side Javascript to create a

Re: [PHP] Flattery will get you nowhere

2011-04-27 Thread tedd
At 4:58 PM -0400 4/27/11, Robert Cummings wrote: On 11-04-27 04:47 PM, HallMarc Websites wrote: I just googled up php tedd form validation and can't find a single reference. What does this mean, that I respect tedd's skills or that he needs better SEO? OOH!! I KNOW! I KNOW! PICK ME!