Cookies are enabled, even though I hate doing that.
Earl
Tom Scales wrote:
>Shoot. Shouldn't do that. Do you have cookies disabled?
>
>I'll check the code, as it should handle this situation -- without cookies,
>the automatic image resizing won't work. Cookies are the only way I can
>pass the windows size from the client (javascript) to the server (php).
>
>Tom
>----- Original Message -----
>From: "Earl Dunbar" <edunbar@xxxxxxxxxxxxxxxx>
>To: <olympus@xxxxxxxxxx>
>Sent: Tuesday, August 02, 2005 6:49 AM
>Subject: [OM] Re: OT Web Design
>
>
>
>
>>Tom: I get *"Notice*: Undefined index: scalesimages-x in
>>*/home/scalesfamily/www/www/scalesimages/index.php* on line *24"
>>*displayed when I access the site using Firefox 1.06.
>>
>>Earl
>>
>>Tom Scales wrote:
>>
>>
>>
>>>Take a look at my website refresh I am working on:
>>>
>>>www.scalesimages.com
>>>
>>>It is almost entirely done in PHP (with just a touch of javascript where I
>>>need the size of the user's browser window).
>>>
>>>All of the images are dynamically resized and the copyright is
>>>automatically
>>>added if the image is over 200 pixels. In particular, once it loads,
>>>resize
>>>the window. All the images and buttons will automatically resize to fit
>>>the
>>>new window.
>>>
>>>All of the menu buttons are randomize (click the Images link).
>>>
>>>Most importantly, the site dynamically creates itself. All I have to do
>>>is
>>>add a new image to the appropriate directory, and the site updates itself
>>>to
>>>include the image. If I want a new menu item, I just create the
>>>appropriately named directory, add the images, and the site updates
>>>itself.
>>>
>>>The latest feature I added was 'auto-caching', where the site caches the
>>>image with the copyright and shadow, so the next time that image is
>>>requested in that size, it can just load it instead of dynamically
>>>resizing
>>>it and adding the shadow.
>>>
>>>I like PHP.
>>>
>>>Tom
>>>----- Original Message -----
>>>From: "Andrew Dacey" <adacey@xxxxxxxxx>
>>>To: <olympus@xxxxxxxxxx>
>>>Sent: Monday, August 01, 2005 6:39 PM
>>>Subject: [OM] Re: OT Web Design
>>>
>>>
>>>
>>>
>>>
>>>
>>>>On 8/1/05, Jeff Keller <jeff-keller@xxxxxxxxxxxxxxxx> wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>PHP seems to be commonly used but not as widely as the above pair. Are
>>>>>there
>>>>>any obvious reasons to prefer this choice or the above?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>PHP doesn't do style so it won't replace CSS for you. It's a
>>>>programming language particularly designed for web usage. It's
>>>>designed to be embedded with html code (you may be more familiar with
>>>>ASP which works in a similar way) and to generate html code (although
>>>>you can have it output other text so you could dynamically generate a
>>>>style sheet for instance).
>>>>
>>>>PHP is processed server-side so there's no compatibility issues with
>>>>browsers, just need a web host that will support it. Personally, I
>>>>like a mix of php for my programming and css for the style and I tend
>>>>not to use javascript. I tend to prefer keeping my scripting
>>>>server-side for simplicity and compatibility with browsers but you
>>>>don't get the control over the browser like you can get with
>>>>javascript.
>>>>
>>>>
==============================================
List usage info: http://www.zuikoholic.com
List nannies: olympusadmin@xxxxxxxxxx
==============================================
|