Reply to Re: Using Cookies with Local files

Your name:

Reply:


Posted by Andy Dingley on 01/20/43 11:50

mfhiatt@netins.net wrote:
> I'm using a cookie on a site that works fine.
>
> When I run the files from my local hard drive, it doesn't work.

Cookies are a HTTP thing, not a HTML thing. You need a HTTP server, not
just a local filesystem.

Best way for a HTTP server is to find a tired old PC and resurrect it
running a minimal Unix and Apache. Try Ubuntu, or the ready-packaged
"minimal Unix and Apache" bundles. You'll not regret this as a web
developer, it makes deployment out to the live servers much less
troublesome. Many things are now getting more and more sensitive to
HTTP content-type etc. and although filesystems work for the basics,
they're never exactly the same environment.

If you're on a laptop and mobile, then you're probably running Windows
and you can still run a web server on there. IIS / PWS for Windows
native, or even Apache again.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация