Reply to Re: cookie question

Your name:

Reply:


Posted by Eric on 12/23/05 01:19

Mark Parnell wrote:

> Deciding to do something for the good of humanity, Eric
> <nospam@email.com> spouted in alt.html:
>
>> This is what i dont get. Your telling me to generate the index.html page
>> using cgi?
>
> Yes.
>
>> but the cgi cant run till its in a page
>
> Why not? Just call it directly.
>
>> or if i use a cgi to generate index.html then
>> what page causes execution of the cgi in the first place?
>
> When you visit that address. *Instead* of going to index.html, you go to
> e.g. index.cgi. It works the same as any other server-side language.
> E.g. my site uses PHP - the main page is called index.php instead of
> index.html. The end user only sees the resulting HTML, but the HTML
> (along with any headers, cookies, etc.) is generated by PHP.
>
oh, ok, now i see what you mean. I'll write an index.cgi, make it the
default page in httpd.conf and let it set the cookie then it will also echo
out my original index.html
Thanks
Eric

[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

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