Re: [PHP] $POST and $_SESSION

2012-03-17 Thread sono-io
On Mar 15, 2012, at 11:52 AM, Stuart Dallas wrote: > Change your php.ini settings to log to a file and set display_errors to off. Sometimes when you ask a stupid question you end up getting a brilliant answer. I had no idea about any of this until I received your response, which got me

[PHP] Re: $POST and $_SESSION

2012-03-17 Thread Al
On 3/17/2012 12:52 PM, Al wrote: On 3/15/2012 11:04 AM, Tedd Sperling wrote: $first_name = $_SESSION['first_name'] ? $_SESSION['first_name'] : null; $first_name = isset($_POST['first_name']) ? $_POST['first_name'] : $first_name; $_SESSION['first_name'] = $first_name; $_SESSION['first_name

Re: [PHP] Re: $POST and $_SESSION

2012-03-17 Thread Ashley Sheridan
On Sat, 2012-03-17 at 12:52 -0400, Al wrote: > > On 3/15/2012 11:04 AM, Tedd Sperling wrote: > > $first_name = $_SESSION['first_name'] ? $_SESSION['first_name'] : null; > > $first_name = isset($_POST['first_name']) ? $_POST['first_name'] : > > $first_name; > > $_SESSION['first_name'] = $first_na

[PHP] Re: $POST and $_SESSION

2012-03-17 Thread Al
On 3/15/2012 11:04 AM, Tedd Sperling wrote: $first_name = $_SESSION['first_name'] ? $_SESSION['first_name'] : null; $first_name = isset($_POST['first_name']) ? $_POST['first_name'] : $first_name; $_SESSION['first_name'] = $first_name; $_SESSION['first_name'] = (isset($_POST['first_name']))?

Re: [PHP] Got HTML5 History API + caching LICKED, I think,

2012-03-17 Thread Stuart Dallas
On 17 Mar 2012, at 15:02, rene7705 wrote: > The relatively crappy code in /code/sitewide_rv/lib_fileSystem.php is > certainly not indicative of the quality of the rest of the library, I'll > guarantee you. Just take a look at the output of > get_animatedJavascriptWidgets_javascript.php in the so

Re: [PHP] Got HTML5 History API + caching LICKED, I think,

2012-03-17 Thread Jay Blanchard
[snip] > As for minifying the javascripts, it would take me another day, maybe 2, to > build a script for that. > And I don't think it would matter much, all the animatedJavascriptWidgets > JS is gzipped 25kb and if I shave 5kb off that (upper estimate) then I > don't consider that worth the effort

Re: [PHP] Got HTML5 History API + caching LICKED, I think,

2012-03-17 Thread rene7705
On Sat, Mar 17, 2012 at 2:07 PM, Stuart Dallas wrote: > On 17 Mar 2012, at 10:54, rene7705 wrote: > > On Fri, Mar 16, 2012 at 11:13 PM, Stuart Dallas wrote: > >> Why do you think other libraries such as jquery recommend minifying their >> code before deployment, and then serving it via gzip? Eve

Re: [PHP] Got HTML5 History API + caching LICKED, I think,

2012-03-17 Thread Stuart Dallas
On 17 Mar 2012, at 10:54, rene7705 wrote: > On Fri, Mar 16, 2012 at 11:13 PM, Stuart Dallas wrote: > Why do you think other libraries such as jquery recommend minifying their > code before deployment, and then serving it via gzip? Every bit and byte > counts, especially as you scale up. > > The

Re: [PHP] Got HTML5 History API + caching LICKED, I think,

2012-03-17 Thread rene7705
In response to critiques about my download size, I've removed scenejs and the artwork for my own site-logos from the zip. The size is now 38mb, down from 54mb. I'm also using 7-zip now, I hope it opens better on non-windows OSes.

Re: [PHP] Got HTML5 History API + caching LICKED, I think,

2012-03-17 Thread rene7705
On Sat, Mar 17, 2012 at 10:55 AM, Ashley Sheridan wrote: > ** > On Fri, 2012-03-16 at 22:11 +0100, rene7705 wrote: > > On Fri, Mar 16, 2012 at 10:08 PM, Tommy Pham wrote: > > > On Fri, Mar 16, 2012 at 1:45 PM, Stuart Dallas wrote: > > > > > >> As for my files and homepage being Huge, yep, it's m

Re: [PHP] Got HTML5 History API + caching LICKED, I think,

2012-03-17 Thread rene7705
On Fri, Mar 16, 2012 at 11:13 PM, Stuart Dallas wrote: > On 16 Mar 2012, at 20:53, rene7705 wrote: > > On Fri, Mar 16, 2012 at 9:45 PM, Stuart Dallas wrote: > >> On 16 Mar 2012, at 20:36, rene7705 wrote: > >> > >> > On Fri, Mar 16, 2012 at 9:29 PM, Stuart Dallas > wrote: > >> >> On 16 Mar 2012,

Re: [PHP] Got HTML5 History API + caching LICKED, I think,

2012-03-17 Thread rene7705
On Fri, Mar 16, 2012 at 10:17 PM, Govinda wrote: > Everyone makes valid points.. and depending on ones perspective, certain > of those points are more important than others... but, because of my nature > anyway, I want to just say thanks to rene7705 for bothering. He is not > trying to take anyt

Re: [PHP] Got HTML5 History API + caching LICKED, I think,

2012-03-17 Thread Ashley Sheridan
On Fri, 2012-03-16 at 22:11 +0100, rene7705 wrote: > On Fri, Mar 16, 2012 at 10:08 PM, Tommy Pham wrote: > > > On Fri, Mar 16, 2012 at 1:45 PM, Stuart Dallas wrote: > > > > > >> As for my files and homepage being Huge, yep, it's made for the future > > or current fast internet connections. > >