From WEBPHP4 at aol.com Thu Aug 1 02:27:56 2002 From: WEBPHP4 at aol.com (WEBPHP4 at aol.com) Date: Thu, 1 Aug 2002 02:27:56 EDT Subject: Warning: Page has expired!! Message-ID: <199.aad8783.2a7a2eec@aol.com> I wrote an app that has a master config file which contains all the session calls. I have writen many php files that have require statements that call this master config file. When ever I hit the back button from any of these pages at any time I get the page that tells me the page has expired. I was wondering how I can get around this. I would like it to display the last page and all the data that was in the text boxes, and so on. I do hope I gave enough info John -------------- next part -------------- An HTML attachment was scrubbed... URL: From dorgan at optonline.net Thu Aug 1 02:58:57 2002 From: dorgan at optonline.net (Donald J. Organ IV) Date: Thu, 01 Aug 2002 02:58:57 -0400 Subject: [nycphp-talk] Warning: Page has expired!! References: <200208010628.g716SDP47100@slipdisc.virul.net> Message-ID: <000501c23928$e807de20$0200020a@workstation01> i dont think you can get around this, basically you are getting that message because the information was posted by a form. ----- Original Message ----- From: To: "NYPHP Talk" Sent: Thursday, August 01, 2002 2:28 AM Subject: [nycphp-talk] Warning: Page has expired!! > I wrote an app that has a master config file which contains all the session > calls. I have writen many php files that have require statements that call > this master config file. > > When ever I hit the back button from any of these pages at any time I get the > page that tells me the page has expired. I was wondering how I can get around > this. I would like it to display the last page and all the data that was in > the text boxes, and so on. > > I do hope I gave enough info > > John > > From nyphp at altunergil.com Thu Aug 1 08:51:02 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 1 Aug 2002 08:51:02 -0400 Subject: [nycphp-talk] Warning: Page has expired!! In-Reply-To: <200208010659.g716x1P47155@slipdisc.virul.net> References: <200208010659.g716x1P47155@slipdisc.virul.net> Message-ID: <20020801085102.61d86471.nyphp@altunergil.com> I'm not too sure about this but normally when you hit back on a posted page, it should ask you whether to post the form again. Might this have something to do with a tag you might have on the page ? Oktay On Thu, 01 Aug 2002 02:59:01 -0400 "Donald J. Organ IV" wrote: > i dont think you can get around this, basically you are getting that message > because the information was posted by a form. > > ----- Original Message ----- > From: > To: "NYPHP Talk" > Sent: Thursday, August 01, 2002 2:28 AM > Subject: [nycphp-talk] Warning: Page has expired!! > > > > I wrote an app that has a master config file which contains all the > session > > calls. I have writen many php files that have require statements that call > > this master config file. > > > > When ever I hit the back button from any of these pages at any time I get > the > > page that tells me the page has expired. I was wondering how I can get > around > > this. I would like it to display the last page and all the data that was > in > > the text boxes, and so on. > > > > I do hope I gave enough info > > > > John > > > > > > From kayraotaner at yahoo.com Thu Aug 1 10:46:02 2002 From: kayraotaner at yahoo.com (Kayra Otaner) Date: Thu, 1 Aug 2002 07:46:02 -0700 (PDT) Subject: [nycphp-talk] Warning: Page has expired!! In-Reply-To: <200208011251.g71CpDP47954@slipdisc.virul.net> Message-ID: <20020801144602.69148.qmail@web10108.mail.yahoo.com> Hi, You can solve most of the 'page has expired messages' using : header("Cache-Control: yes-store, yes-cache"); header("Pragma: yes-cache"); on top of page. Actually this also works for POST method but sometimes I'm getting page expired messages although I used this header all the time. I've checked that it is not because of browser, it happens randomly on all versions of IE and Netscape. I guess this weirdness caused by Isp's proxy servers. Best Kayra Otaner --- Oktay Altunergil wrote: > I'm not too sure about this but normally when you hit back on a posted page, it should ask you > whether to post the form again. > > Might this have something to do with a tag you might > have on the page ? > > Oktay > > On Thu, 01 Aug 2002 02:59:01 -0400 > "Donald J. Organ IV" wrote: > > > i dont think you can get around this, basically you are getting that message > > because the information was posted by a form. > > > > ----- Original Message ----- > > From: > > To: "NYPHP Talk" > > Sent: Thursday, August 01, 2002 2:28 AM > > Subject: [nycphp-talk] Warning: Page has expired!! > > > > > > > I wrote an app that has a master config file which contains all the > > session > > > calls. I have writen many php files that have require statements that call > > > this master config file. > > > > > > When ever I hit the back button from any of these pages at any time I get > > the > > > page that tells me the page has expired. I was wondering how I can get > > around > > > this. I would like it to display the last page and all the data that was > > in > > > the text boxes, and so on. > > > > > > I do hope I gave enough info > > > > > > John > > > > > > > > > > > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From jim at bizcomputinginc.com Thu Aug 1 10:53:41 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Thu, 1 Aug 2002 10:53:41 -0400 Subject: [nycphp-talk] Warning: Page has expired!! References: <200208011446.g71Ek7P48156@slipdisc.virul.net> Message-ID: <00e701c2396b$3b5008e0$6601a8c0@Notebook> One warning, by enabling cacheing to eliminate the browser message you may be allowing the user to see invalid data. The normal reason for disabling all caching is to force the browser to requery the server to ensure that the dynamically created page contains the most up to date data. Use of the back button on the browser or use of history in the browser allows pulling a page out of the browsers cache, no query is sent to the server. If the browser sees that a page in it's cache is expired, you get that warning which indicates it needs to requery the server. Jim ----- Original Message ----- From: "Kayra Otaner" To: "NYPHP Talk" Sent: Thursday, August 01, 2002 10:46 AM Subject: Re: [nycphp-talk] Warning: Page has expired!! > Hi, > > You can solve most of the 'page has expired messages' using : > > header("Cache-Control: yes-store, yes-cache"); > header("Pragma: yes-cache"); > > on top of page. > Actually this also works for POST method but sometimes I'm getting page expired messages although > I used this header all the time. I've checked that it is not because of browser, it happens > randomly on all versions of IE and Netscape. I guess this weirdness caused by Isp's proxy servers. > > Best > > Kayra Otaner > > > --- Oktay Altunergil wrote: > > I'm not too sure about this but normally when you hit back on a posted page, it should ask you > > whether to post the form again. > > > > Might this have something to do with a tag you might > > have on the page ? > > > > Oktay > > > > On Thu, 01 Aug 2002 02:59:01 -0400 > > "Donald J. Organ IV" wrote: > > > > > i dont think you can get around this, basically you are getting that message > > > because the information was posted by a form. > > > > > > ----- Original Message ----- > > > From: > > > To: "NYPHP Talk" > > > Sent: Thursday, August 01, 2002 2:28 AM > > > Subject: [nycphp-talk] Warning: Page has expired!! > > > > > > > > > > I wrote an app that has a master config file which contains all the > > > session > > > > calls. I have writen many php files that have require statements that call > > > > this master config file. > > > > > > > > When ever I hit the back button from any of these pages at any time I get > > > the > > > > page that tells me the page has expired. I was wondering how I can get > > > around > > > > this. I would like it to display the last page and all the data that was > > > in > > > > the text boxes, and so on. > > > > > > > > I do hope I gave enough info > > > > > > > > John > > > > > > > > > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.yahoo.com > > > > From zala007 at hotmail.com Thu Aug 1 12:03:48 2002 From: zala007 at hotmail.com (Anirudh Zala) Date: Thu, 01 Aug 2002 16:03:48 +0000 Subject: [nycphp-talk] Warning: Page has expired!! Message-ID: Hello all.. No solution will work in this problem...As this is POST method of submitting data..so headers opr other tricks will work perfectly as u want. But if you really want that.. while clicking back button of your browser..user would not get "Web page expired" message then do 1 thing.. When page loads..first..generate a random hash key..in very begining of script...and store in db.. now pass that key value as hidden varible when u submit that form.. Now again get that key from db just where your submit even starts..and match that db key value with your hidden variable key.. means that form is submitted properly bcoz u have propr match (hidden var key is in db too) ..Now when submit event ends and u r going to pass header(means direcing page to other page)..just before it delete that key from db..so now your whole page event is over.. when user tries to hit back button of your browser..means submit event..will be called as we know.but there u have written query of that selection key and as u know user will not get..that perfect match between what is still in cache and what is in your hidden var Now bingo u can do whatever when u don't found..this match.means..redirecting to same page or other page..with message like "No dual submission is allowed" This methid is extrmely useful when u r submiting imp data which must not be submitted more than once per page loading.. Thanks Anirudh Zala LAMP+PX INDIA PS: if my lang is lil rough and unclear then sorry :( >From: Kayra Otaner >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: Re: [nycphp-talk] Warning: Page has expired!! >Date: Thu, 1 Aug 2002 10:46:07 -0400 >Received: from mc1-f29.law16.hotmail.com ([65.54.236.36]) by >mc1-s2.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Thu, 1 Aug >2002 07:51:19 -0700 >Received: from slipdisc.virul.net ([66.114.66.188]) by >mc1-f29.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Thu, 1 Aug >2002 07:50:25 -0700 >Received: from nyphp.org (slipdisc.virul.net [66.114.66.188])by >slipdisc.virul.net (8.11.6/8.11.6) with ESMTP id g71Ek7P48156;Thu, 1 Aug >2002 10:46:07 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200208011446.g71Ek7P48156 at slipdisc.virul.net> >X-Paralist-Archived: > >X-List-Software: Paralist 0.6 >List-ID: >List-Owner: >List-Archive: >List-Subscribe: >List-Unsubscribe: >Organization: New York PHP >X-Mailer: Paramail 0.5 >Return-Path: listmaster at nyphp.org >X-OriginalArrivalTime: 01 Aug 2002 14:50:26.0169 (UTC) >FILETIME=[C571EE90:01C2396A] > >Hi, > >You can solve most of the 'page has expired messages' using : > >header("Cache-Control: yes-store, yes-cache"); >header("Pragma: yes-cache"); > >on top of page. >Actually this also works for POST method but sometimes I'm getting page >expired messages although >I used this header all the time. I've checked that it is not because of >browser, it happens >randomly on all versions of IE and Netscape. I guess this weirdness caused >by Isp's proxy servers. > >Best > >Kayra Otaner > > >--- Oktay Altunergil wrote: > > I'm not too sure about this but normally when you hit back on a posted >page, it should ask you > > whether to post the form again. > > > > Might this have something to do with a CONTENT="NO-CACHE"> tag you might > > have on the page ? > > > > Oktay > > > > On Thu, 01 Aug 2002 02:59:01 -0400 > > "Donald J. Organ IV" wrote: > > > > > i dont think you can get around this, basically you are getting that >message > > > because the information was posted by a form. > > > > > > ----- Original Message ----- > > > From: > > > To: "NYPHP Talk" > > > Sent: Thursday, August 01, 2002 2:28 AM > > > Subject: [nycphp-talk] Warning: Page has expired!! > > > > > > > > > > I wrote an app that has a master config file which contains all the > > > session > > > > calls. I have writen many php files that have require statements >that call > > > > this master config file. > > > > > > > > When ever I hit the back button from any of these pages at any time >I get > > > the > > > > page that tells me the page has expired. I was wondering how I can >get > > > around > > > > this. I would like it to display the last page and all the data that >was > > > in > > > > the text boxes, and so on. > > > > > > > > I do hope I gave enough info > > > > > > > > John > > > > > > > > > > > > > > > > > > >__________________________________________________ >Do You Yahoo!? >Yahoo! Health - Feel better, live better >http://health.yahoo.com _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com From jhise at linuxforbusiness.org Thu Aug 1 13:46:34 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 01 Aug 2002 13:46:34 -0400 Subject: [nycphp-talk] Warning: Page has expired!! In-Reply-To: <200208010628.g716SDP47100@slipdisc.virul.net> References: <200208010628.g716SDP47100@slipdisc.virul.net> Message-ID: <1028223997.8059.9.camel@hydrogen> Hi: We just had to deal with this last week. So here is the resource that we used. http://www.faqts.com/knowledge_base/view.phtml/aid/13717/fid/46 Good luck! Hise On Thu, 2002-08-01 at 02:28, WEBPHP4 at aol.com wrote: > I wrote an app that has a master config file which contains all the session > calls. I have writen many php files that have require statements that call > this master config file. > > When ever I hit the back button from any of these pages at any time I get the > page that tells me the page has expired. I was wondering how I can get around > this. I would like it to display the last page and all the data that was in > the text boxes, and so on. > > I do hope I gave enough info > > John > > > > From mogmios at mlug.missouri.edu Thu Aug 1 14:55:37 2002 From: mogmios at mlug.missouri.edu (Michael) Date: Thu, 1 Aug 2002 13:55:37 -0500 (CDT) Subject: [nycphp-talk] Warning: Page has expired!! In-Reply-To: <200208010628.g716SDP47100@slipdisc.virul.net> Message-ID: It's been my experience that usually it is better to not expect the browsers back and forward buttons to work. It's good to try to handle them gracefully but if your app is going to try going back to another page as part of it's design you really should include links to take the user there. :) Don't dream it. Be it. ;):):-):):-):):-)8') Michael McGlothlin http://kavlon.org/projects/ On Thu, 1 Aug 2002 WEBPHP4 at aol.com wrote: > I wrote an app that has a master config file which contains all the session > calls. I have writen many php files that have require statements that call > this master config file. > > When ever I hit the back button from any of these pages at any time I get the > page that tells me the page has expired. I was wondering how I can get around > this. I would like it to display the last page and all the data that was in > the text boxes, and so on. > > I do hope I gave enough info > > John > > From keremtuzemen at hotmail.com Thu Aug 1 15:14:23 2002 From: keremtuzemen at hotmail.com (Kerem Tuzemen) Date: Thu, 1 Aug 2002 15:14:23 -0400 Subject: [nycphp-talk] Warning: Page has expired!! References: <200208011747.g71HlAP48586@slipdisc.virul.net> Message-ID: Hello and ATTENTION!!!!!! As far as I remember, the GET method is limited in terms of total bytes that you may send to the server, or the length of data (I think Query_String was the name of env. var. which returns GET data) that it will send should be configured on the server and script side. But POST method has no such limitation. At least that was the case when I was coding with PERL a couple of years ago. So please make sure that it really works with large amounts of data (like files) before using it. Unfortunately, I really don't have time to test it with PHP (but I think it will be the same thing). Whoever tests it, could you please let me and other people know about your experiments and experience. FYI ----- Original Message ----- From: "Jeremy Hise" To: "NYPHP Talk" Sent: Thursday, August 01, 2002 1:47 PM Subject: Re: [nycphp-talk] Warning: Page has expired!! > Hi: > > We just had to deal with this last week. So here is the resource that we > used. > > http://www.faqts.com/knowledge_base/view.phtml/aid/13717/fid/46 > > > Good luck! > > Hise > > > On Thu, 2002-08-01 at 02:28, WEBPHP4 at aol.com wrote: > > I wrote an app that has a master config file which contains all the session > > calls. I have writen many php files that have require statements that call > > this master config file. > > > > When ever I hit the back button from any of these pages at any time I get the > > page that tells me the page has expired. I was wondering how I can get around > > this. I would like it to display the last page and all the data that was in > > the text boxes, and so on. > > > > I do hope I gave enough info > > > > John > > > > > > > > > From WEBPHP4 at aol.com Fri Aug 2 07:16:28 2002 From: WEBPHP4 at aol.com (WEBPHP4 at aol.com) Date: Fri, 2 Aug 2002 07:16:28 EDT Subject: [nycphp-talk] Warning: Page has expired!! Message-ID: <122.14d78647.2a7bc40c@aol.com> unfortantly, The normal user has been trained to hit the back button to see the previous page. There is nothing I can do to change that. I do not want to put any java script in my app to hide the back button. Even for myself I still hit the back button to get to the previous page. I also placced links to move forward and backwards through out the site. John Trovato > > It's been my experience that usually it is better to not expect the > browsers back and forward buttons to work. It's good to try to handle them > gracefully but if your app is going to try going back to another page as > part of it's design you really should include links to take the user > there. :) > > > Don't dream it. Be it. > > ;):):-):):-):):-)8') > Michael McGlothlin > http://kavlon.org/projects/ > > On Thu, 1 Aug 2002 WEBPHP4 at aol.com wrote: > > >I wrote an app that has a master config file which contains all the > session > >calls. I have writen many php files that have require statements that call > >this master config file. > > > >When ever I hit the back button from any of these pages at any time I get > the > >page that tells me the page has expired. I was wondering how I can get > around > >this. I would like it to display the last page and all the data that was > in > >the text boxes, and so on. > > > >I do hope I gave enough info > > > >John > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From liquidm3 at hotmail.com Fri Aug 2 15:22:20 2002 From: liquidm3 at hotmail.com (Liquid M3) Date: Fri, 02 Aug 2002 15:22:20 -0400 Subject: dice graph URL? Message-ID: Someone posted a message awhile ago that included the URL of a site that shows a graph of job openings from dice.com. Unfortunately, I didn't save the message. Can someone tell me the URL? I remember that the message wondered about why the number of job listing keyword matches for PHP is so much smaller than for other programming languages and included a lament that he was writing poetry instead of code or something like that. Ted LiquidMarkets Financial data and free classifieds http://www.liquidmarkets.com _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From gherson at snet.net Sat Aug 3 15:39:08 2002 From: gherson at snet.net (George Herson) Date: Sat, 03 Aug 2002 15:39:08 -0400 Subject: [nycphp-talk] dice graph URL? References: <200208021922.g72JMTP50833@slipdisc.virul.net> Message-ID: <3D4C315C.5050308@snet.net> Hi Ted, that was me, 7/11. http://mshiltonj.com/sm/categories/languages/ is the not so pretty picture. george Liquid M3 wrote: > Someone posted a message awhile ago that included the URL of a site that > shows a graph of job openings from dice.com. Unfortunately, I didn't save > the message. Can someone tell me the URL? > > I remember that the message wondered about why the number of job listing > keyword matches for PHP is so much smaller than for other programming > languages and included a lament that he was writing poetry instead of code > or something like that. > > Ted > > LiquidMarkets > Financial data and free classifieds > http://www.liquidmarkets.com > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > From jhise at linuxforbusiness.org Sat Aug 3 15:45:36 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 03 Aug 2002 15:45:36 -0400 Subject: Free Stuff Message-ID: <1028403939.10636.21.camel@hydrogen> Hi All: I'm giving away a bunch of stuff...most of you will probably find it useless but I hate throwing stuff away (books, computers, hardware). So if you are interested, please check out http://www.distantworker.com/other/ Thanks, Hise From mogmios at mlug.missouri.edu Sat Aug 3 16:16:26 2002 From: mogmios at mlug.missouri.edu (Michael) Date: Sat, 3 Aug 2002 15:16:26 -0500 (CDT) Subject: [nycphp-talk] dice graph URL? In-Reply-To: <200208021922.g72JMTP50833@slipdisc.virul.net> Message-ID: I'd suspect that PHP gets used a lot in cases where management doesn't care how the problem gets solved and also in a lot of small projects bought outright from consultants etc. Thus a good many sites are done in PHP but not that many PHP jobs are created. > I remember that the message wondered about why the number of job listing > keyword matches for PHP is so much smaller than for other programming > languages and included a lament that he was writing poetry instead of code > or something like that. From mogmios at mlug.missouri.edu Sat Aug 3 16:21:30 2002 From: mogmios at mlug.missouri.edu (Michael) Date: Sat, 3 Aug 2002 15:21:30 -0500 (CDT) Subject: [nycphp-talk] Warning: Page has expired!! In-Reply-To: <200208021116.g72BGhP50206@slipdisc.virul.net> Message-ID: Usually the layout of the site should not emphasis 'forward' and 'back' but instead the steps to getting specific tasks done. You'll still sometimes get people that hit the back button but a little UI design goes a long way. No Java/Javascript required. ;) > unfortantly, > > The normal user has been trained to hit the back button to see the previous > page. There is nothing I can do to change that. I do not want to put any java > script in my app to hide the back button. Even for myself I still hit the > back button to get to the previous page. I also placced links to move forward > and backwards through out the site. > > It's been my experience that usually it is better to not expect the > > browsers back and forward buttons to work. It's good to try to handle them > > gracefully but if your app is going to try going back to another page as > > part of it's design you really should include links to take the user > > there. :) > > > > > > Don't dream it. Be it. > > > > ;):):-):):-):):-)8') > > Michael McGlothlin > > http://kavlon.org/projects/ > > > > On Thu, 1 Aug 2002 WEBPHP4 at aol.com wrote: > > > > >I wrote an app that has a master config file which contains all the > > session > > >calls. I have writen many php files that have require statements that call > > >this master config file. > > > > > >When ever I hit the back button from any of these pages at any time I get > > the > > >page that tells me the page has expired. I was wondering how I can get > > around > > >this. I would like it to display the last page and all the data that was > > in > > >the text boxes, and so on. > > > > > >I do hope I gave enough info > > > > > >John > > > > > > > > > > > > > > > From mxw65 at yahoo.com Sat Aug 3 16:58:24 2002 From: mxw65 at yahoo.com (Mike West) Date: Sat, 3 Aug 2002 13:58:24 -0700 (PDT) Subject: [nycphp-talk] dice graph URL? In-Reply-To: <200208032016.g73KGVP55501@slipdisc.virul.net> Message-ID: <20020803205824.43443.qmail@web13506.mail.yahoo.com> PHP flows so naturally from C++ and PERL that it very well might even be totally forgotten when it comes to writing up the job description. If I find someone who can do C/C++ and/or PERL I wouldn't think twice about throwing php at them. --- Michael wrote: > I'd suspect that PHP gets used a lot in cases where management doesn't > care how the problem gets solved and also in a lot of small projects > bought outright from consultants etc. Thus a good many sites are done in > PHP but not that many PHP jobs are created. > > > > I remember that the message wondered about why the number of job listing > > keyword matches for PHP is so much smaller than for other programming > > languages and included a lament that he was writing poetry instead of code > > or something like that. > > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From WEBPHP4 at aol.com Sat Aug 3 17:38:13 2002 From: WEBPHP4 at aol.com (WEBPHP4 at aol.com) Date: Sat, 3 Aug 2002 17:38:13 EDT Subject: [nycphp-talk] Warning: Page has expired!! Message-ID: <15c.11691526.2a7da745@aol.com> I wish that worked for me. I guess they will have to learn not to hit the back button.... oh well... that will be the way it has to be... until -------------- next part -------------- An HTML attachment was scrubbed... URL: From WEBPHP4 at aol.com Sat Aug 3 17:42:59 2002 From: WEBPHP4 at aol.com (WEBPHP4 at aol.com) Date: Sat, 3 Aug 2002 17:42:59 EDT Subject: Printing............... Message-ID: <14f.11e3d892.2a7da863@aol.com> Ok I know I can str-replace in a word document and have a nice doc for printing with page breaks and formatting without the URL at the bottom and the page numbers on the top. I was wondering if any of you guys know of a way to print using another method. I was thinking dynamic PDF, since some of the documents will vary in size but the speed and crashing of PDF files have me worried.. John -------------- next part -------------- An HTML attachment was scrubbed... URL: From mogmios at mlug.missouri.edu Sat Aug 3 19:35:40 2002 From: mogmios at mlug.missouri.edu (Michael) Date: Sat, 3 Aug 2002 18:35:40 -0500 (CDT) Subject: [nycphp-talk] Warning: Page has expired!! In-Reply-To: <200208032138.g73LcSP55735@slipdisc.virul.net> Message-ID: 99% of the time I can hit the back button in my apps without any problem. Just saying it isn't usually a problem if users just mentally don't expect to hit the back button. ;) Don't dream it. Be it. ;):):-):):-):):-)8') Michael McGlothlin http://kavlon.org/projects/ On Sat, 3 Aug 2002 WEBPHP4 at aol.com wrote: > I wish that worked for me. I guess they will have to learn not to hit the > back button.... > > oh well... that will be the way it has to be... until > > From jim at bizcomputinginc.com Sat Aug 3 19:47:43 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Sat, 3 Aug 2002 19:47:43 -0400 Subject: [nycphp-talk] Printing............... References: <200208032143.g73LhIP55760@slipdisc.virul.net> Message-ID: <019401c23b48$2adfa860$6601a8c0@Notebook> There is an IE specific tag or attribute that allows for an alternate document for printing. The alternate can be any document the user has a plugin for. Jim ----- Original Message ----- From: To: "NYPHP Talk" Sent: Saturday, August 03, 2002 5:43 PM Subject: [nycphp-talk] Printing............... > Ok I know I can str-replace in a word document and have a nice doc for > printing with page breaks and formatting without the URL at the bottom and > the page numbers on the top. I was wondering if any of you guys know of a way > to print using another method. > > I was thinking dynamic PDF, since some of the documents will vary in size but > the speed and crashing of PDF files have me worried.. > > John > > > > > From cahoyos at us.ibm.com Mon Aug 5 12:38:21 2002 From: cahoyos at us.ibm.com (Carlos A Hoyos) Date: Mon, 5 Aug 2002 12:38:21 -0400 Subject: [nycphp-talk] Warning: Page has expired!! Message-ID: I once wrote a task managing application where users would login to see in the home page a queue of incoming tasks and work on them. Many users would hit the refresh button on home page, or hit the back button after reading a task, and because the home page was reached after a login screen (username & password posted), they would get the "page has expired message", very annoying. The way I solved it: 1- I coded an authenticate function: User name & password get validated, and if OK, some important user data gets saved as session variables. 2- On top of each page, I call a validate function that starts the session and checks the session variables in (1). If they're not registered, it will display login page, otherwise continues with validation (acls, initialization, etc....) When user first logins (in index.php), I get their username/password via a POST form. If authentication (2) returns true, I use "header" to forward them to the mainpage (main.php), free of all forms and thus, free of the "expired" problem when refresh/back buttons are hit. Because on top of mainpage validation function gets called, nobody can access it without passing first through authentication. So, you can save your post variables (either in the DB with session as a key, or link them to session variables (as cookies)) and then send a header that forwards to a new php page that will fetch your variables and display the page. Since this new page would not be associated to any post action -- your variables came from the DB, not from post --, reloading or going out and back in with the back button will not give any "expired" problem. Voila!!!! From nyphp at altunergil.com Mon Aug 5 13:24:39 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Mon, 5 Aug 2002 13:24:39 -0400 Subject: [nycphp-talk] Warning: Page has expired!! In-Reply-To: <200208051639.g75GdZP64721@slipdisc.virul.net> References: <200208051639.g75GdZP64721@slipdisc.virul.net> Message-ID: <20020805132439.47707b45.nyphp@altunergil.com> Might you be referring to a 'session expired' issues rather than the 'page expired' issue caused by trying to post a form twice ? If not, please elaborate cause I don't see how this method will fix the latter. Oktay On Mon, 05 Aug 2002 12:39:35 -0400 Carlos A Hoyos wrote: > > > I once wrote a task managing application where users would login to see in > the home page a queue of incoming tasks and work on them. > Many users would hit the refresh button on home page, or hit the back > button after reading a task, and because the home page was reached after a > login screen (username & password posted), they would get the "page has > expired message", very annoying. > > The way I solved it: > 1- I coded an authenticate function: User name & password get validated, > and if OK, some important user data gets saved as session variables. > 2- On top of each page, I call a validate function that starts the session > and checks the session variables in (1). If they're not registered, it will > display login page, otherwise continues with validation (acls, > initialization, etc....) > > When user first logins (in index.php), I get their username/password via a > POST form. If authentication (2) returns true, I use "header" to forward > them to the mainpage (main.php), free of all forms and thus, free of the > "expired" problem when refresh/back buttons are hit. > > Because on top of mainpage validation function gets called, nobody can > access it without passing first through authentication. > > > > So, you can save your post variables (either in the DB with session as a > key, or link them to session variables (as cookies)) and then send a header > that forwards to a new php page that will fetch your variables and display > the page. Since this new page would not be associated to any post action -- > your variables came from the DB, not from post --, reloading or going out > and back in with the back button will not give any "expired" problem. > > Voila!!!! > > > > > > From enunez at tiaa-cref.org Mon Aug 5 15:01:05 2002 From: enunez at tiaa-cref.org (Nunez, Eddy) Date: Mon, 5 Aug 2002 15:01:05 -0400 Subject: Opening windows & such Message-ID: <7CE0EC1FC2D0D411910700508BE38D0F016A34FC@msxnyusr01.msx.ops.tiaa-cref.org> Hiya folks... Need a little help with Javascript... My problem is .... I need to close the current window and change the 'location' of it's parent window. I was trying to do something like this, but obviously it doesn't work: NewWindow('$login_page?ref=$ref','login',300,200,false); "; ?> Within the login.page, after a successful login I want it to close itself and reload the $ref in the parent window: Any JS experts wanna toss me a clue? Thanks. -Eddy ********************************************************************** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF ********************************************************************** From nyphp at websapp.com Mon Aug 5 15:16:25 2002 From: nyphp at websapp.com (Daniel Kushner) Date: Mon, 5 Aug 2002 15:16:25 -0400 Subject: [nycphp-talk] Opening windows & such In-Reply-To: <200208051901.g75J1RP65261@slipdisc.virul.net> Message-ID: In the main window: In the opened window: Regards, Daniel Kushner daniel at websapp.com ______________________________________________ Need hosting? http://www.thehostingcompany.us/ > -----Original Message----- > From: Nunez, Eddy [mailto:enunez at tiaa-cref.org] > Sent: Monday, August 05, 2002 3:01 PM > To: NYPHP Talk > Subject: [nycphp-talk] Opening windows & such > > > > Hiya folks... > Need a little help with Javascript... > > My problem is .... I need to close the current window and change the > 'location' of it's parent window. > I was trying to do something like this, but obviously it doesn't work: > > $ref = getenv('HTTP_REFERER'); > echo ""; > ?> > > Within the login.page, after a successful login I want it to close itself > and reload the $ref > in the parent window: > > > > Any JS experts wanna toss me a clue? Thanks. > > -Eddy > > > ********************************************************************** > This message, including any attachments, contains confidential > information intended for a specific individual and purpose, and > is protected by law. If you are not the intended recipient, > please contact sender immediately by reply e-mail and destroy all > copies. You are hereby notified that any disclosure, copying, or > distribution of this message, or the taking of any action based > on it, is strictly prohibited. > TIAA-CREF > ********************************************************************** > > From cahoyos at us.ibm.com Mon Aug 5 16:22:51 2002 From: cahoyos at us.ibm.com (Carlos A Hoyos) Date: Mon, 5 Aug 2002 16:22:51 -0400 Subject: [nycphp-talk] Warning: Page has expired!! Message-ID: Say you have a php page like this: /* test.php */ "; echo "\ "; echo "\ "; echo "\ "; } ?> The first time you call this page it will execute the 'else' part, thus printing the form. If you hit the submit button, it will execute the if part. Now, if you hit refresh, you will get a 'page expired' error. So one work around: /* test.php */ "; echo "\ "; echo "\ "; echo "\ "; } ?> and then, /* test1.php */ when you hit submit, you will get test1.php on your browser, with the right content from the posted variables. When you hit refresh, no 'page expired' error. Oktay Altunergil .com> cc: Subject: Re: [nycphp-talk] Warning: Page has expired!! 08/05/2002 01:24 PM Please respond to talk Might you be referring to a 'session expired' issues rather than the 'page expired' issue caused by trying to post a form twice ? If not, please elaborate cause I don't see how this method will fix the latter. Oktay On Mon, 05 Aug 2002 12:39:35 -0400 Carlos A Hoyos wrote: > > > I once wrote a task managing application where users would login to see in > the home page a queue of incoming tasks and work on them. > Many users would hit the refresh button on home page, or hit the back > button after reading a task, and because the home page was reached after a > login screen (username & password posted), they would get the "page has > expired message", very annoying. > > The way I solved it: > 1- I coded an authenticate function: User name & password get validated, > and if OK, some important user data gets saved as session variables. > 2- On top of each page, I call a validate function that starts the session > and checks the session variables in (1). If they're not registered, it will > display login page, otherwise continues with validation (acls, > initialization, etc....) > > When user first logins (in index.php), I get their username/password via a > POST form. If authentication (2) returns true, I use "header" to forward > them to the mainpage (main.php), free of all forms and thus, free of the > "expired" problem when refresh/back buttons are hit. > > Because on top of mainpage validation function gets called, nobody can > access it without passing first through authentication. > > > > So, you can save your post variables (either in the DB with session as a > key, or link them to session variables (as cookies)) and then send a header > that forwards to a new php page that will fetch your variables and display > the page. Since this new page would not be associated to any post action -- > your variables came from the DB, not from post --, reloading or going out > and back in with the back button will not give any "expired" problem. > > Voila!!!! > > > > > > From can at andrew.cmu.edu Tue Aug 6 11:16:33 2002 From: can at andrew.cmu.edu (cesar) Date: Tue, 6 Aug 2002 11:16:33 -0400 (EDT) Subject: simple mysql query help Message-ID: i have two tables aaa and bbb aaa has {1 , 2} bbb has {1 , 3 } i want select those values in aaa that don't appear in bbb, and also another query that will delete those values in aaa which don't appear in bbb. if someone can please help me, i'm just a little stuck. i know i figured it out before, but right now i have no clue. A) mysql> select * from aaa; +------+ | a | +------+ | 1 | | 2 | +------+ mysql> select * from bbb; +------+ | a | +------+ | 1 | | 3 | +------+ B)i understand why this does what it does, but how do i correct it? mysql> select aaa.*, bbb.* from aaa, bbb where aaa.a != bbb.a; +------+------+ | a | a | +------+------+ | 2 | 1 | | 1 | 3 | | 2 | 3 | +------+------+ thnka you in advance. From jim at bizcomputinginc.com Tue Aug 6 11:24:28 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Tue, 6 Aug 2002 11:24:28 -0400 Subject: [nycphp-talk] simple mysql query help References: <200208061516.g76FGdP70792@slipdisc.virul.net> Message-ID: <00d501c23d5d$5cbfed10$6601a8c0@Notebook> SELECT * FROM aaa WHERE aaa.ID NOT IN( SELECT ID FROM bbb ) DELETE FROM aaa WHERE aaa.ID NOT IT( SELECT ID FROM bbb ) aaa.ID and ID are the key fields which link aaa to bbb. HTH, Jim ----- Original Message ----- From: "cesar" To: "NYPHP Talk" Sent: Tuesday, August 06, 2002 11:16 AM Subject: [nycphp-talk] simple mysql query help > > i have two tables aaa and bbb > aaa has {1 , 2} > bbb has {1 , 3 } > > i want select those values in aaa that don't appear in bbb, and also > another query that will delete those values in aaa which don't appear in > bbb. if someone can please help me, i'm just a little stuck. i know i > figured it out before, but right now i have no clue. > > A) > mysql> select * from aaa; > +------+ > | a | > +------+ > | 1 | > | 2 | > +------+ > > mysql> select * from bbb; > +------+ > | a | > +------+ > | 1 | > | 3 | > +------+ > > B)i understand why this does what it does, but how do i correct it? > mysql> select aaa.*, bbb.* from aaa, bbb where aaa.a != bbb.a; > +------+------+ > | a | a | > +------+------+ > | 2 | 1 | > | 1 | 3 | > | 2 | 3 | > +------+------+ > > thnka you in advance. > > > > > From southwell at dneba.com Tue Aug 6 11:33:12 2002 From: southwell at dneba.com (Michael Southwell) Date: Tue, 06 Aug 2002 11:33:12 -0400 Subject: [nycphp-talk] simple mysql query help In-Reply-To: <200208061516.g76FGdP70792@slipdisc.virul.net> Message-ID: <5.1.0.14.2.20020806113131.00b52008@mail.optonline.net> how about this (haven't tested it)? select aaa.*,bbb.* from aaa,bbb where aaa.a!=bbb.a and bbb.a!=aaa.a; At 11:16 AM 8/6/2002, you wrote: >i have two tables aaa and bbb >aaa has {1 , 2} >bbb has {1 , 3 } > >i want select those values in aaa that don't appear in bbb, and also >another query that will delete those values in aaa which don't appear in >bbb. if someone can please help me, i'm just a little stuck. i know i >figured it out before, but right now i have no clue. > > A) >mysql> select * from aaa; >+------+ >| a | >+------+ >| 1 | >| 2 | >+------+ > >mysql> select * from bbb; >+------+ >| a | >+------+ >| 1 | >| 3 | >+------+ > >B)i understand why this does what it does, but how do i correct it? >mysql> select aaa.*, bbb.* from aaa, bbb where aaa.a != bbb.a; >+------+------+ >| a | a | >+------+------+ >| 2 | 1 | >| 1 | 3 | >| 2 | 3 | >+------+------+ > >thnka you in advance. Michael G. Southwell ================================= DNEBA Enterprises 81 South Road Bloomingdale, NJ 07403-1419 973/492-7873 (voice and fax) southwell at dneba.com http://www.dneba.com ====================================================== From can at andrew.cmu.edu Tue Aug 6 11:54:16 2002 From: can at andrew.cmu.edu (cesar) Date: Tue, 6 Aug 2002 11:54:16 -0400 (EDT) Subject: [nycphp-talk] simple mysql query help In-Reply-To: <200208061534.g76FYVP70902@slipdisc.virul.net> Message-ID: i've attempted but solutions, neither seem to work. i'm upgrading the mysql from 3.23.44 to 3.23.51... hopefully that will do it. On Tue, 6 Aug 2002, Michael Southwell wrote: > how about this (haven't tested it)? select aaa.*,bbb.* from aaa,bbb where > aaa.a!=bbb.a and bbb.a!=aaa.a; > > At 11:16 AM 8/6/2002, you wrote: > > >i have two tables aaa and bbb > >aaa has {1 , 2} > >bbb has {1 , 3 } > > > >i want select those values in aaa that don't appear in bbb, and also > >another query that will delete those values in aaa which don't appear in > >bbb. if someone can please help me, i'm just a little stuck. i know i > >figured it out before, but right now i have no clue. > > > > A) > >mysql> select * from aaa; > >+------+ > >| a | > >+------+ > >| 1 | > >| 2 | > >+------+ > > > >mysql> select * from bbb; > >+------+ > >| a | > >+------+ > >| 1 | > >| 3 | > >+------+ > > > >B)i understand why this does what it does, but how do i correct it? > >mysql> select aaa.*, bbb.* from aaa, bbb where aaa.a != bbb.a; > >+------+------+ > >| a | a | > >+------+------+ > >| 2 | 1 | > >| 1 | 3 | > >| 2 | 3 | > >+------+------+ > > > >thnka you in advance. > > Michael G. Southwell ================================= > DNEBA Enterprises > 81 South Road > Bloomingdale, NJ 07403-1419 > 973/492-7873 (voice and fax) > southwell at dneba.com > http://www.dneba.com > ====================================================== > > > > > From jim at bizcomputinginc.com Tue Aug 6 12:07:11 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Tue, 6 Aug 2002 12:07:11 -0400 Subject: [nycphp-talk] simple mysql query help References: <200208061554.g76FsJP71002@slipdisc.virul.net> Message-ID: <00ea01c23d63$54825740$6601a8c0@Notebook> The solution I provided may not work with mysql, I'm not sure if mysql supports nested queries. Another way to try it would be: SELECT aaa.* FROM aaa LEFT JOIN bbb ON aaa.ID=bbb.ID WHERE bbb.somefield IS NULL ; somefield would need to be any field from bbb. Item B in your original query is based on your where clause. With the info you provided you get: aaa.1 != bbb.1 ? No aaa.1 != bbb.3 ? Yes aaa.2 != bbb.1 ? Yes aaa.2 != bbb.3 ? Yes This is because you do not provide a Join condition. Under a no join query, you get a join that links all records in aaa with all records in bbb which means without your where clause, your query would result in 4 rows. ----- Original Message ----- From: "cesar" To: "NYPHP Talk" Sent: Tuesday, August 06, 2002 11:54 AM Subject: Re: [nycphp-talk] simple mysql query help > i've attempted but solutions, neither seem to work. > > i'm upgrading the mysql from 3.23.44 to 3.23.51... hopefully that will do > it. > > On Tue, 6 Aug 2002, Michael Southwell wrote: > > > how about this (haven't tested it)? select aaa.*,bbb.* from aaa,bbb where > > aaa.a!=bbb.a and bbb.a!=aaa.a; > > > > At 11:16 AM 8/6/2002, you wrote: > > > > >i have two tables aaa and bbb > > >aaa has {1 , 2} > > >bbb has {1 , 3 } > > > > > >i want select those values in aaa that don't appear in bbb, and also > > >another query that will delete those values in aaa which don't appear in > > >bbb. if someone can please help me, i'm just a little stuck. i know i > > >figured it out before, but right now i have no clue. > > > > > > A) > > >mysql> select * from aaa; > > >+------+ > > >| a | > > >+------+ > > >| 1 | > > >| 2 | > > >+------+ > > > > > >mysql> select * from bbb; > > >+------+ > > >| a | > > >+------+ > > >| 1 | > > >| 3 | > > >+------+ > > > > > >B)i understand why this does what it does, but how do i correct it? > > >mysql> select aaa.*, bbb.* from aaa, bbb where aaa.a != bbb.a; > > >+------+------+ > > >| a | a | > > >+------+------+ > > >| 2 | 1 | > > >| 1 | 3 | > > >| 2 | 3 | > > >+------+------+ > > > > > >thnka you in advance. > > > > Michael G. Southwell ================================= > > DNEBA Enterprises > > 81 South Road > > Bloomingdale, NJ 07403-1419 > > 973/492-7873 (voice and fax) > > southwell at dneba.com > > http://www.dneba.com > > ====================================================== > > > > > > > > > > > > > > > From cahoyos at us.ibm.com Tue Aug 6 12:12:53 2002 From: cahoyos at us.ibm.com (Carlos A Hoyos) Date: Tue, 6 Aug 2002 12:12:53 -0400 Subject: [nycphp-talk] simple mysql query help Message-ID: Nice try, but mysql doesn't support subselects... :( You can use left joins: SELECT aaa.a from aaa LEFT JOIN bbb on bbb.b = aaa.a where bbb.b IS NULL ; this query will return all values in a that are not in b. enjoy! "Jim Hendricks" inc.com> cc: Subject: Re: [nycphp-talk] simple mysql query help 08/06/2002 11:24 AM Please respond to talk SELECT * FROM aaa WHERE aaa.ID NOT IN( SELECT ID FROM bbb ) DELETE FROM aaa WHERE aaa.ID NOT IT( SELECT ID FROM bbb ) aaa.ID and ID are the key fields which link aaa to bbb. HTH, Jim ----- Original Message ----- From: "cesar" To: "NYPHP Talk" Sent: Tuesday, August 06, 2002 11:16 AM Subject: [nycphp-talk] simple mysql query help > > i have two tables aaa and bbb > aaa has {1 , 2} > bbb has {1 , 3 } > > i want select those values in aaa that don't appear in bbb, and also > another query that will delete those values in aaa which don't appear in > bbb. if someone can please help me, i'm just a little stuck. i know i > figured it out before, but right now i have no clue. > > A) > mysql> select * from aaa; > +------+ > | a | > +------+ > | 1 | > | 2 | > +------+ > > mysql> select * from bbb; > +------+ > | a | > +------+ > | 1 | > | 3 | > +------+ > > B)i understand why this does what it does, but how do i correct it? > mysql> select aaa.*, bbb.* from aaa, bbb where aaa.a != bbb.a; > +------+------+ > | a | a | > +------+------+ > | 2 | 1 | > | 1 | 3 | > | 2 | 3 | > +------+------+ > > thnka you in advance. > > > > > From can at andrew.cmu.edu Tue Aug 6 12:51:44 2002 From: can at andrew.cmu.edu (cesar) Date: Tue, 6 Aug 2002 12:51:44 -0400 (EDT) Subject: [nycphp-talk] simple mysql query help In-Reply-To: <200208061613.g76GD7P71120@slipdisc.virul.net> Message-ID: yeap, thats the charm. thank you. On Tue, 6 Aug 2002, Carlos A Hoyos wrote: > > Nice try, but mysql doesn't support subselects... :( > > You can use left joins: > > SELECT aaa.a from aaa LEFT JOIN bbb on bbb.b = aaa.a where bbb.b IS NULL ; > > this query will return all values in a that are not in b. > > enjoy! > > > > > "Jim Hendricks" > > inc.com> cc: > Subject: Re: [nycphp-talk] simple mysql query help > 08/06/2002 11:24 > AM > Please respond to > talk > > > > > > SELECT * FROM aaa WHERE aaa.ID NOT IN( SELECT ID FROM bbb ) > > DELETE FROM aaa WHERE aaa.ID NOT IT( SELECT ID FROM bbb ) > > aaa.ID and ID are the key fields which link aaa to bbb. > > HTH, > Jim > > ----- Original Message ----- > From: "cesar" > To: "NYPHP Talk" > Sent: Tuesday, August 06, 2002 11:16 AM > Subject: [nycphp-talk] simple mysql query help > > > > > > i have two tables aaa and bbb > > aaa has {1 , 2} > > bbb has {1 , 3 } > > > > i want select those values in aaa that don't appear in bbb, and also > > another query that will delete those values in aaa which don't appear in > > bbb. if someone can please help me, i'm just a little stuck. i know i > > figured it out before, but right now i have no clue. > > > > A) > > mysql> select * from aaa; > > +------+ > > | a | > > +------+ > > | 1 | > > | 2 | > > +------+ > > > > mysql> select * from bbb; > > +------+ > > | a | > > +------+ > > | 1 | > > | 3 | > > +------+ > > > > B)i understand why this does what it does, but how do i correct it? > > mysql> select aaa.*, bbb.* from aaa, bbb where aaa.a != bbb.a; > > +------+------+ > > | a | a | > > +------+------+ > > | 2 | 1 | > > | 1 | 3 | > > | 2 | 3 | > > +------+------+ > > > > thnka you in advance. > > > > > > > > > > > > > > > > > > > > > From liquidm3 at hotmail.com Thu Aug 8 05:26:10 2002 From: liquidm3 at hotmail.com (Ted Shieh) Date: Thu, 08 Aug 2002 05:26:10 -0400 Subject: need your help populating a database Message-ID: Hi, I just wrote a PHP program that produces music/movie/book recommendations. It is supposed to produce recommendations in this form: (starting from the fact that the user likes New Order - Bizarre Love Triangle) 90 people who like New Order - Bizarre Love Triangle also like New Order - Ceremony 80 people who like New Order - Bizarre Love Triangle also like New Order - Everything's Gone Green 60 people who like New Order - Bizarre Love Triangle also like Joy Division - Atrocity Exhibition etc. Unfortunately, I don't have enough data in the database to produce meaningful recommendations yet. If each of you could give me a list of your ten (or more) favorite songs, movies, or books in this format: artist/filmmaker/author - title it would help me tremendously. If you'd like to see how it looks so far, take a look at http://www.liquidmarkets.com/?name=youmightlike (click on an artist, then click on a title to get a list of recommendations). The program for entering data is http://www.liquidmarkets.com/?name=ilike (but if you e-mail me your favorites, I'll enter them for you). In return, I can offer a free copy of LiquidClassifiedsXML 0.8.1 to each person who sends me a list of ten or more of his/her favorite songs/movies/books. Thanks, Ted LiquidMarkets Financial data and free classifieds http://www.liquidmarkets.com _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com From ejp at well.com Thu Aug 8 08:01:38 2002 From: ejp at well.com (Edward Potter) Date: Thu, 08 Aug 2002 08:01:38 -0400 Subject: [nycphp-talk] need your help populating a database References: <200208080926.g789QLP85704@slipdisc.virul.net> Message-ID: <3D525DA2.1080808@well.com> You may want to tackle the built in dictionary in Unix. You can come up with some really cool band and book names quite easily using a perl or php script to generate random names. Plus it's a good exercise. You could generate a million names a minute i bet! :-) -- e Ted Shieh wrote: > Hi, I just wrote a PHP program that produces music/movie/book > recommendations. It is supposed to produce recommendations in this form: > > (starting from the fact that the user likes New Order - Bizarre Love > Triangle) > 90 people who like New Order - Bizarre Love Triangle also like New Order - > Ceremony > 80 people who like New Order - Bizarre Love Triangle also like New Order - > Everything's Gone Green > 60 people who like New Order - Bizarre Love Triangle also like Joy Division > - Atrocity Exhibition > etc. > > Unfortunately, I don't have enough data in the database to produce > meaningful recommendations yet. If each of you could give me a list of your > ten (or more) favorite songs, movies, or books in this format: > artist/filmmaker/author - title > it would help me tremendously. > > If you'd like to see how it looks so far, take a look at > http://www.liquidmarkets.com/?name=youmightlike > (click on an artist, then click on a title to get a list of > recommendations). The program for entering data is > http://www.liquidmarkets.com/?name=ilike (but if you e-mail me your > favorites, I'll enter them for you). > > In return, I can offer a free copy of LiquidClassifiedsXML 0.8.1 to each > person who sends me a list of ten or more of his/her favorite > songs/movies/books. > > Thanks, > Ted > > LiquidMarkets > Financial data and free classifieds > http://www.liquidmarkets.com > > _________________________________________________________________ > Join the world's largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > > > From zaunere at yahoo.com Mon Aug 12 21:20:01 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Mon, 12 Aug 2002 18:20:01 -0700 (PDT) Subject: NYPHP.org Downtime -- Forward... Message-ID: <20020813012001.21576.qmail@web12806.mail.yahoo.com> Hello all, NYPHP.org (which has been hosted in my apartment via DSL) is being relocated! I'm moving the box to a professional co-location facility in downtown Manhattan. This is a considerable advancement for NYPHP and will mean greater features and *much* faster access. Although I'm very excited, the move, inevitably, means downtime. While the NYPHP.org front-page will be available and contain updates on our move, functionality will be severely limited. This includes the unavailability of the mailing list, logging in, and nyphp.org domain email addresses. However, in an effort to fill the upcoming communication void, I've setup a web-based forum. It is available at http://nyphp.org/forum (or, depending on the state of DNS: http://dev.nyphp.org/forum). Accounts from NYPHP.org are NOT being migrated, so you'll need to create an account for the forum, but I urge everyone to create their account and use the forum to it?s fullest (one day this will all be integrated!). If you should notice any problems, please contact me at zaunere at yahoo.com to resolve these issues. If you have prior experience with phpBB, feel equally welcome to contact me and I?ll try to accommodate any configuration suggestions and changes. This email will most likely be the last on this list until Friday, or even into the weekend. Progress and updates will be available on the forum and at http://nyphp.org (or http://dev.nyphp.org depending on the state of DNS). I'm looking forward to our new server and what it will offer, and I thank everyone for their continuing support. For any reason, I am always available at zaunere at yahoo.com. Thank you, Hans Z. New York PHP http://nyphp.org __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com From zaunere at yahoo.com Tue Aug 13 18:43:04 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Tue, 13 Aug 2002 15:43:04 -0700 (PDT) Subject: P, as in PHP Message-ID: <20020813224304.30105.qmail@web12805.mail.yahoo.com> OK, so the server isn't quite down yet, but I just had to send this out - very exciting news: http://computerworld.com/hardwaretopics/hardware/desktops/story/0,10801,73442,00.html I've killed the sendmail listener now, however, so this *really* is the last message. HZ http://nyphp.org/forum __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com From zaunere at yahoo.com Wed Aug 28 00:42:24 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Tue, 27 Aug 2002 21:42:24 -0700 (PDT) Subject: NYPHP Mailing Lists Online Message-ID: <20020828044224.32415.qmail@web12804.mail.yahoo.com> Hi all, I'm sorry for the longer than expected delay in getting the mailing lists back online, however it seems that they are once again fully functional. If you do notice any oddities, either with the list or on the website, please contact me immediately at zaunere at yahoo.com. I have the rest of this week off from work, and will be trying to improve http://nyphp.org on an ongoing basis during this time. While this probably means periods of mailing list (and even website) instability, I ask that everyone use the mailing list normally, and even excessively. This will help in development (the more messages, the more debugging info gets generated) and I will try to liason any dropped messages. It is also important to note that the new server does not have reverse DNS at this point; as a result, some mail servers will not accept messages, but I do expect rDNS to be functioning within a couple of days. Lastly, I'd like to thank every for bearing with us while these upgrades are done. While it may seem to be more of an annoyance than anything else now, this new server will be a keystone in NYPHP's progress and development. Thank you, Hans Zaunere New York PHP http://nyphp.org __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From zaunere at yahoo.com Wed Aug 28 02:14:45 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Tue, 27 Aug 2002 23:14:45 -0700 (PDT) Subject: MEETING - Mozilla/Mozdev at NYPHP Message-ID: <20020828061446.22460.qmail@web12802.mail.yahoo.com> Now that the mail server is operational, I'd like to remind everyone about our next monthly meeting; TOMORROW, 8/28! With Mozilla and Mozdev developers presenting, this certainly isn't a meeting you'd want to miss. Starting at our usual time and place (details at http://nyphp.org), be sure to join NYPHP for another exciting meeting and presentation. Details follow and are available at http://nyphp.org. Thank you, Hans Zaunere http://nyphp.org New York PHP Presents: "Mozilla and Mozdev" NYPHP is excited to offer this month's presentation from one of the staunchest Open Source projects: Mozilla/Mozdev. Pete Collins et al of http://mozdev.org will discuss the Mozilla, Mozdev and Hovercraft projects, and how they inter-develop to produce some of the most celebrated Open Source software. And since these projects rely heavily on PHP as an integral part of development and end-user enhancement, PHP's current and future endeavors will certainly be exciting to hear. Please join us August 28th at 6:30pm in Manhattan for what's sure to be a stimulating and informative meeting. Location details and a map are available at http://nyphp.org. __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From sailer at bnl.gov Wed Aug 28 08:42:02 2002 From: sailer at bnl.gov (Tim Sailer) Date: Wed, 28 Aug 2002 08:42:02 -0400 Subject: PHP/LDAP Message-ID: <20020828124202.GA5012@bnl.gov> I need some guidance from the LDAP gurus, I think. I've long been able to get PHP to read from LDAP, but now I have the need to write, and I'm running up against a strange problem. Basic code is as follows: ---- $searchstring
"; $info=ldap_get_entries($ds,$sr); $dn=$info["dn"]; echo $dn; #$info1["objectClass"]="inetLocalMailRecipient"; $bla=ldap_mod_add($ds,"$dn",$info1); ldap_close($ds); ---- Now, this is just test code, but it should work. $uid gets passed from a form, and I just want to add an objectClass, and 2 attributes. What I get is this from PHP: Warning: LDAP: modify operation could not be completed. in /var/www/ldap/mklabmail.php on line 33 And this from LDAP: Aug 28 08:47:58 ldapmachine slapd[243]: conn=84871 op=0 BIND dn="CN=ADMIN,DC=BNL,DC=GOV" method=128 Aug 28 08:47:58 ldapmachine slapd[243]: conn=84871 op=0 RESULT tag=97 err=0 text= Aug 28 08:47:58 ldapmachine slapd[245]: conn=84871 op=1 SRCH base="dc=bnl,dc=gov" scope=2 filter="(uid=krl2)" Aug 28 08:47:58 ldapmachine slapd[245]: conn=84871 op=1 SEARCH RESULT tag=101 err=0 text= Aug 28 08:47:58 ldapmachine slapd[344]: do_modify: root dse! Aug 28 08:47:58 ldapmachine slapd[344]: conn=84871 op=2 RESULT tag=103 err=53 text=modify upon the root DSE not supported Aug 28 08:47:58 ldapmachine slapd[345]: conn=84871 op=3 UNBIND Aug 28 08:47:58 ldapmachine slapd[345]: conn=-1 fd=15 closed I'm *not trying* to change the root dse! What am I stupidly doing wrong? Tim -- Tim Sailer Application Services Information Technology Division Brookhaven National Laboratory (631) 344-3001 From sailer at bnl.gov Wed Aug 28 10:04:57 2002 From: sailer at bnl.gov (Tim Sailer) Date: Wed, 28 Aug 2002 10:04:57 -0400 Subject: PHP/LDAP Message-ID: <20020828140457.GA9432@bnl.gov> Hrrm. Original email was bounced, so trying again. I need some guidance from the LDAP gurus, I think. I've long been able to get PHP to read from LDAP, but now I have the need to write, and I'm running up against a strange problem. Basic code is as follows: ---- $searchstring
"; $info=ldap_get_entries($ds,$sr); $dn=$info["dn"]; echo $dn; #$info1["objectClass"]="inetLocalMailRecipient"; $bla=ldap_mod_add($ds,"$dn",$info1); ldap_close($ds); ---- Now, this is just test code, but it should work. $uid gets passed from a form, and I just want to add an objectClass, and 2 attributes. What I get is this from PHP: Warning: LDAP: modify operation could not be completed. in /var/www/ldap/mklabmail.php on line 33 And this from LDAP: Aug 28 08:47:58 ldapmachine slapd[243]: conn=84871 op=0 BIND dn="CN=ADMIN,DC=BNL,DC=GOV" method=128 Aug 28 08:47:58 ldapmachine slapd[243]: conn=84871 op=0 RESULT tag=97 err=0 text= Aug 28 08:47:58 ldapmachine slapd[245]: conn=84871 op=1 SRCH base="dc=bnl,dc=gov" scope=2 filter="(uid=krl2)" Aug 28 08:47:58 ldapmachine slapd[245]: conn=84871 op=1 SEARCH RESULT tag=101 err=0 text= Aug 28 08:47:58 ldapmachine slapd[344]: do_modify: root dse! Aug 28 08:47:58 ldapmachine slapd[344]: conn=84871 op=2 RESULT tag=103 err=53 text=modify upon the root DSE not supported Aug 28 08:47:58 ldapmachine slapd[345]: conn=84871 op=3 UNBIND Aug 28 08:47:58 ldapmachine slapd[345]: conn=-1 fd=15 closed I'm *not trying* to change the root dse! What am I stupidly doing wrong? Tim -- Tim Sailer Application Services Information Technology Division Brookhaven National Laboratory (631) 344-3001 From yqasim at exostream.com Wed Aug 28 10:53:34 2002 From: yqasim at exostream.com (Yusuf Qasim - eXostream Communications) Date: Wed, 28 Aug 2002 10:53:34 -0400 Subject: [nycphp-talk] PHP/LDAP In-Reply-To: <200208281413.g7SEDBgl001802@parsec.nyphp.org> Message-ID: <000101c24ea2$aef97e10$5c7510ac@quinnipiac.edu> I would like to temporarily unsubscribe while I am at college. Thanks Yusuf Qasim Quinnipiac University Undergraduate Ext. 7018 -----Original Message----- From: Tim Sailer [mailto:sailer at bnl.gov] Sent: Wednesday, August 28, 2002 10:13 AM To: NYPHP Talk Subject: [nycphp-talk] PHP/LDAP Hrrm. Original email was bounced, so trying again. I need some guidance from the LDAP gurus, I think. I've long been able to get PHP to read from LDAP, but now I have the need to write, and I'm running up against a strange problem. Basic code is as follows: ---- $searchstring
"; $info=ldap_get_entries($ds,$sr); $dn=$info["dn"]; echo $dn; #$info1["objectClass"]="inetLocalMailRecipient"; $bla=ldap_mod_add($ds,"$dn",$info1); ldap_close($ds); ---- Now, this is just test code, but it should work. $uid gets passed from a form, and I just want to add an objectClass, and 2 attributes. What I get is this from PHP: Warning: LDAP: modify operation could not be completed. in /var/www/ldap/mklabmail.php on line 33 And this from LDAP: Aug 28 08:47:58 ldapmachine slapd[243]: conn=84871 op=0 BIND dn="CN=ADMIN,DC=BNL,DC=GOV" method=128 Aug 28 08:47:58 ldapmachine slapd[243]: conn=84871 op=0 RESULT tag=97 err=0 text= Aug 28 08:47:58 ldapmachine slapd[245]: conn=84871 op=1 SRCH base="dc=bnl,dc=gov" scope=2 filter="(uid=krl2)" Aug 28 08:47:58 ldapmachine slapd[245]: conn=84871 op=1 SEARCH RESULT tag=101 err=0 text= Aug 28 08:47:58 ldapmachine slapd[344]: do_modify: root dse! Aug 28 08:47:58 ldapmachine slapd[344]: conn=84871 op=2 RESULT tag=103 err=53 text=modify upon the root DSE not supported Aug 28 08:47:58 ldapmachine slapd[345]: conn=84871 op=3 UNBIND Aug 28 08:47:58 ldapmachine slapd[345]: conn=-1 fd=15 closed I'm *not trying* to change the root dse! What am I stupidly doing wrong? Tim -- Tim Sailer Application Services Information Technology Division Brookhaven National Laboratory (631) 344-3001 From wcg at rochester.rr.com Wed Aug 28 13:19:57 2002 From: wcg at rochester.rr.com (Wilmer Wright) Date: Wed, 28 Aug 2002 13:19:57 -0400 Subject: Fw: Install PHP on WinXP Home Message-ID: <000801c24eb7$2240f7e0$bf00a8c0@P1600> I subscribed and sent it to the email window when I clicked on "Contact us". don't see any place that uses the email address talk at nyphp.com. Sorry. Bill ----- Original Message ----- From: "Hans Zaunere" To: "Wilmer Wright" Sent: Wednesday, August 28, 2002 1:12 PM Subject: Re: Install PHP on WinXP Home > > Hi Wilmer, > > You need to subscribe to the mailing list, then send this to > talk at nyphp.org instead of contact at nyphp.org. > > Thanks > > --- Wilmer Wright wrote: > > Am looking to install PHP 2 on an Intel p4 1.6 ghz pc with windows > > XP > > home Ed. Found that Win XP home doesn't support PWS. > > What is the best (i.e. simplist) way to install PHP 2.? Have gone to > > the PHPGeek web site but that didn't help. Just want to get PHP > > running for now. Will worry about installing Apache & MySQL later. > > Could install PHP on an older pc that has PWS installed, but hate to, > > because it's a P166. > > All help appreciated. > > Bill > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com From spliffrd at inch.com Wed Aug 28 13:49:39 2002 From: spliffrd at inch.com (matt) Date: Wed, 28 Aug 2002 13:49:39 -0400 (EDT) Subject: [nycphp-talk] NYPHP Mailing Lists Online In-Reply-To: <200208280442.g7S4gSDB000790@parsec.nyphp.org> Message-ID: is there a meeting tonight at digital pulp? -matt On Wed, 28 Aug 2002, Hans Zaunere wrote: > > Hi all, > > I'm sorry for the longer than expected delay in getting the mailing > lists back online, however it seems that they are once again fully > functional. If you do notice any oddities, either with the list or on > the website, please contact me immediately at zaunere at yahoo.com. > > I have the rest of this week off from work, and will be trying to > improve http://nyphp.org on an ongoing basis during this time. While > this probably means periods of mailing list (and even website) > instability, I ask that everyone use the mailing list normally, and > even excessively. This will help in development (the more messages, > the more debugging info gets generated) and I will try to liason any > dropped messages. It is also important to note that the new server > does not have reverse DNS at this point; as a result, some mail servers > will not accept messages, but I do expect rDNS to be functioning within > a couple of days. > > Lastly, I'd like to thank every for bearing with us while these > upgrades are done. While it may seem to be more of an annoyance than > anything else now, this new server will be a keystone in NYPHP's > progress and development. > > Thank you, > > Hans Zaunere > New York PHP > http://nyphp.org > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > From zaunere at yahoo.com Wed Aug 28 14:10:13 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 28 Aug 2002 11:10:13 -0700 (PDT) Subject: [nycphp-talk] PHP/LDAP In-Reply-To: <200208281413.g7SEDBgl001802@parsec.nyphp.org> Message-ID: <20020828181013.41257.qmail@web12807.mail.yahoo.com> --- Tim Sailer wrote: > I need some guidance from the LDAP gurus, I think. I've long been > able to get PHP to read from LDAP, but now I have the need to write, > and I'm running up against a strange problem. I've been lucky enough to only have to read from LDAP myself, but I did run into the fact that the LDAP functions can be picky about what is pased to them; ie, references, arrays, etc. The code certainly looks reasonable, however, I noticed a stray #, although I'm probably just nit-picking. Sorry I couldn't be more help, though. H > > Basic code is as follows: > > ---- > $ds=ldap_connect("ldapmachine.bnl.gov"); > > if (!$ds) > { > echo "No connect! Result was ".$ds; > exit; > } > > #non-anon bind, since we have to update stuff. > > $nab=ldap_bind($ds,"cn=admin,dc=bnl,dc=gov","password"); > if (!$nab) > { > echo "Bind failed! Exiting..."; > exit; > } > > $searchstring="(uid=".$uid.")"; > $sr=ldap_search($ds,"dc=bnl,dc=gov","$searchstring"); > > echo "Search String: $searchstring
"; > > $info=ldap_get_entries($ds,$sr); > $dn=$info["dn"]; > > echo $dn; > > #$info1["objectClass"]="inetLocalMailRecipient"; > > > > $bla=ldap_mod_add($ds,"$dn",$info1); > > ldap_close($ds); > ---- > > Now, this is just test code, but it should work. $uid gets > passed from a form, and I just want to add an objectClass, > and 2 attributes. What I get is this from PHP: > > Warning: LDAP: modify operation could not be completed. in > /var/www/ldap/mklabmail.php on line 33 > > > And this from LDAP: > > Aug 28 08:47:58 ldapmachine slapd[243]: conn=84871 op=0 BIND > dn="CN=ADMIN,DC=BNL,DC=GOV" method=128 > Aug 28 08:47:58 ldapmachine slapd[243]: conn=84871 op=0 RESULT tag=97 > err=0 text= > Aug 28 08:47:58 ldapmachine slapd[245]: conn=84871 op=1 SRCH > base="dc=bnl,dc=gov" scope=2 filter="(uid=krl2)" > Aug 28 08:47:58 ldapmachine slapd[245]: conn=84871 op=1 SEARCH RESULT > tag=101 err=0 text= > Aug 28 08:47:58 ldapmachine slapd[344]: do_modify: root dse! > Aug 28 08:47:58 ldapmachine slapd[344]: conn=84871 op=2 RESULT > tag=103 err=53 text=modify upon the root DSE not supported > Aug 28 08:47:58 ldapmachine slapd[345]: conn=84871 op=3 UNBIND > Aug 28 08:47:58 ldapmachine slapd[345]: conn=-1 fd=15 closed > > I'm *not trying* to change the root dse! What am I stupidly doing > wrong? > > Tim > > -- > Tim Sailer > Application Services > Information Technology Division > Brookhaven National Laboratory (631) 344-3001 > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From zaunere at yahoo.com Wed Aug 28 14:17:55 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 28 Aug 2002 11:17:55 -0700 (PDT) Subject: [nycphp-talk] Fw: Install PHP on WinXP Home In-Reply-To: <200208281720.g7SHKGgl002125@parsec.nyphp.org> Message-ID: <20020828181755.42979.qmail@web12807.mail.yahoo.com> > > --- Wilmer Wright wrote: > > > Am looking to install PHP 2 on an Intel p4 1.6 ghz pc with > windows XP home Ed. PHP 2? As in, 1.. 2? I don't think this will be possible, especially on something as modern as WinXP. Go with PHP 4.2.2 (or 4.3 coming up soon) and you'll be much happier. Plus, I don't think PWS is supported anymore on XP (http://www.smartwin.com.au/help/install_pws.htm). But I would really try to setup a modern PHP version with Apache/IIS on Windows. Hans Found that Win XP home doesn't support PWS. > > > What is the best (i.e. simplist) way to install PHP 2.? Have > gone to > > > the PHPGeek web site but that didn't help. Just want to get PHP > > > running for now. Will worry about installing Apache & MySQL > later. > > > Could install PHP on an older pc that has PWS installed, but hate > to, > > > because it's a P166. > > > All help appreciated. > > > Bill > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Finance - Get real-time stock quotes > > http://finance.yahoo.com > > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From sailer at bnl.gov Wed Aug 28 14:09:41 2002 From: sailer at bnl.gov (Tim Sailer) Date: Wed, 28 Aug 2002 14:09:41 -0400 Subject: [nycphp-talk] PHP/LDAP In-Reply-To: <200208281810.g7SIAIgl002207@parsec.nyphp.org> References: <200208281810.g7SIAIgl002207@parsec.nyphp.org> Message-ID: <20020828180941.GA12507@bnl.gov> On Wed, Aug 28, 2002 at 02:10:17PM -0400, Hans Zaunere wrote: > > --- Tim Sailer wrote: > > I need some guidance from the LDAP gurus, I think. I've long been > > able to get PHP to read from LDAP, but now I have the need to write, > > and I'm running up against a strange problem. > > I've been lucky enough to only have to read from LDAP myself, but I did > run into the fact that the LDAP functions can be picky about what is > pased to them; ie, references, arrays, etc. The code certainly looks > reasonable, however, I noticed a stray #, although I'm probably just > nit-picking. Huh. I found out how to make it work, but I'm not sure why this kludge... I ran up etheral, and sniffed the packets, since it knows LDAP packets. In the modify request, the DN was blank! So, poking around some more, I got the bright idea to go from: $dn=$info["dn"]; to $dn=$info[0]["dn"]; Since it, really a multi-dim array. Well, it works now. Sorry for the bother. Tim -- Tim Sailer Application Services Information Technology Division Brookhaven National Laboratory (631) 344-3001 From zaunere at yahoo.com Wed Aug 28 14:20:21 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 28 Aug 2002 11:20:21 -0700 (PDT) Subject: [nycphp-talk] NYPHP Mailing Lists Online In-Reply-To: <200208281749.g7SHnggl002167@parsec.nyphp.org> Message-ID: <20020828182021.43406.qmail@web12807.mail.yahoo.com> There sure is. Details at http://nyphp.org H --- matt wrote: > is there a meeting tonight at digital pulp? > > -matt > > > On Wed, 28 Aug 2002, Hans Zaunere wrote: > > > > > Hi all, > > > > I'm sorry for the longer than expected delay in getting the mailing > > lists back online, however it seems that they are once again fully > > functional. If you do notice any oddities, either with the list or > on > > the website, please contact me immediately at zaunere at yahoo.com. > > > > I have the rest of this week off from work, and will be trying to > > improve http://nyphp.org on an ongoing basis during this time. > While > > this probably means periods of mailing list (and even website) > > instability, I ask that everyone use the mailing list normally, and > > even excessively. This will help in development (the more > messages, > > the more debugging info gets generated) and I will try to liason > any > > dropped messages. It is also important to note that the new server > > does not have reverse DNS at this point; as a result, some mail > servers > > will not accept messages, but I do expect rDNS to be functioning > within > > a couple of days. > > > > Lastly, I'd like to thank every for bearing with us while these > > upgrades are done. While it may seem to be more of an annoyance > than > > anything else now, this new server will be a keystone in NYPHP's > > progress and development. > > > > Thank you, > > > > Hans Zaunere > > New York PHP > > http://nyphp.org > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Finance - Get real-time stock quotes > > http://finance.yahoo.com > > > > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From robert.lavallie at thortech.com Wed Aug 28 14:45:28 2002 From: robert.lavallie at thortech.com (Robert La Vallie) Date: Wed, 28 Aug 2002 14:45:28 -0400 Subject: [nycphp-talk] NYPHP Mailing Lists Online In-Reply-To: <200208281820.g7SIKQgl002237@parsec.nyphp.org> Message-ID: PLEASE take me off of this mailing list. Thank you. -----Original Message----- From: Hans Zaunere [mailto:zaunere at yahoo.com] Sent: Wednesday, August 28, 2002 2:20 PM To: NYPHP Talk Subject: Re: [nycphp-talk] NYPHP Mailing Lists Online There sure is. Details at http://nyphp.org H --- matt wrote: > is there a meeting tonight at digital pulp? > > -matt > > > On Wed, 28 Aug 2002, Hans Zaunere wrote: > > > > > Hi all, > > > > I'm sorry for the longer than expected delay in getting the mailing > > lists back online, however it seems that they are once again fully > > functional. If you do notice any oddities, either with the list or > on > > the website, please contact me immediately at zaunere at yahoo.com. > > > > I have the rest of this week off from work, and will be trying to > > improve http://nyphp.org on an ongoing basis during this time. > While > > this probably means periods of mailing list (and even website) > > instability, I ask that everyone use the mailing list normally, and > > even excessively. This will help in development (the more > messages, > > the more debugging info gets generated) and I will try to liason > any > > dropped messages. It is also important to note that the new server > > does not have reverse DNS at this point; as a result, some mail > servers > > will not accept messages, but I do expect rDNS to be functioning > within > > a couple of days. > > > > Lastly, I'd like to thank every for bearing with us while these > > upgrades are done. While it may seem to be more of an annoyance > than > > anything else now, this new server will be a keystone in NYPHP's > > progress and development. > > > > Thank you, > > > > Hans Zaunere > > New York PHP > > http://nyphp.org > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Finance - Get real-time stock quotes > > http://finance.yahoo.com > > > > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From zaunere at yahoo.com Wed Aug 28 15:03:28 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 28 Aug 2002 12:03:28 -0700 (PDT) Subject: [nycphp-talk] PHP/LDAP In-Reply-To: <200208281818.g7SII1gl002224@parsec.nyphp.org> Message-ID: <20020828190328.31596.qmail@web12808.mail.yahoo.com> --- Tim Sailer wrote: > On Wed, Aug 28, 2002 at 02:10:17PM -0400, Hans Zaunere wrote: > > > > --- Tim Sailer wrote: > > > I need some guidance from the LDAP gurus, I think. I've long > been > > > able to get PHP to read from LDAP, but now I have the need to > write, > > > and I'm running up against a strange problem. > > > > I've been lucky enough to only have to read from LDAP myself, but I > did > > run into the fact that the LDAP functions can be picky about what > is > > pased to them; ie, references, arrays, etc. The code certainly > looks > > reasonable, however, I noticed a stray #, although I'm probably > just > > nit-picking. > > Huh. I found out how to make it work, but I'm not sure why this > kludge... I ran up etheral, and sniffed the packets, since it knows > LDAP packets. In the modify request, the DN was blank! So, poking > around > some more, I got the bright idea to go from: > > $dn=$info["dn"]; > > to > > $dn=$info[0]["dn"]; > I run into these types of things all the time, and find print_r() or var_dump() invaluable to assure I know what I'm actually working with. Sometimes they don't fit just right, however, so I wrote a little wrapper which will save some of the output buffering bothers and optionaly put it to a log file instead of the browser. I've included it below. H function trigger_dump( $mixed,$error = 1 ) { if( $error === 0 ) { echo '
';
      print_r($mixed);
      echo '
'; } else { ob_start(); print_r($mixed); trigger_error(ob_get_contents()); ob_end_clean(); } } __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From nyphp at altunergil.com Wed Aug 28 15:07:07 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Wed, 28 Aug 2002 15:07:07 -0400 Subject: [nycphp-talk] NYPHP Mailing Lists Online In-Reply-To: <200208281845.g7SIjfrC002386@parsec.nyphp.org> References: <200208281845.g7SIjfrC002386@parsec.nyphp.org> Message-ID: <20020828150707.2f164831.nyphp@altunergil.com> The nylug-talk mailing list includes directions on how to unsubscribe on each posting. There are still people who send those requests to the list, but they are not the majority. Oktay On Wed, 28 Aug 2002 14:45:40 -0400 Robert La Vallie wrote: > PLEASE take me off of this mailing list. Thank you. > > -----Original Message----- > From: Hans Zaunere [mailto:zaunere at yahoo.com] > Sent: Wednesday, August 28, 2002 2:20 PM > To: NYPHP Talk > Subject: Re: [nycphp-talk] NYPHP Mailing Lists Online > > > > There sure is. Details at http://nyphp.org > > H > > > --- matt wrote: > > is there a meeting tonight at digital pulp? > > > > -matt > > > > > > On Wed, 28 Aug 2002, Hans Zaunere wrote: > > > > > > > > Hi all, > > > > > > I'm sorry for the longer than expected delay in getting the mailing > > > lists back online, however it seems that they are once again fully > > > functional. If you do notice any oddities, either with the list or > > on > > > the website, please contact me immediately at zaunere at yahoo.com. > > > > > > I have the rest of this week off from work, and will be trying to > > > improve http://nyphp.org on an ongoing basis during this time. > > While > > > this probably means periods of mailing list (and even website) > > > instability, I ask that everyone use the mailing list normally, and > > > even excessively. This will help in development (the more > > messages, > > > the more debugging info gets generated) and I will try to liason > > any > > > dropped messages. It is also important to note that the new server > > > does not have reverse DNS at this point; as a result, some mail > > servers > > > will not accept messages, but I do expect rDNS to be functioning > > within > > > a couple of days. > > > > > > Lastly, I'd like to thank every for bearing with us while these > > > upgrades are done. While it may seem to be more of an annoyance > > than > > > anything else now, this new server will be a keystone in NYPHP's > > > progress and development. > > > > > > Thank you, > > > > > > Hans Zaunere > > > New York PHP > > > http://nyphp.org > > > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Finance - Get real-time stock quotes > > > http://finance.yahoo.com > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > From jim at bizcomputinginc.com Wed Aug 28 15:19:36 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Wed, 28 Aug 2002 15:19:36 -0400 Subject: [nycphp-talk] Fw: Install PHP on WinXP Home References: <200208281818.g7SII1gl002223@parsec.nyphp.org> Message-ID: <00a201c24ec7$da8df4f0$6601a8c0@Notebook> *snip * > soon) and you'll be much happier. Plus, I don't think PWS is supported > anymore on XP (http://www.smartwin.com.au/help/install_pws.htm). But I *snip* Correct PWS is not supported on XP. In fact if you try to install it, it tells you that can't be done. I am running XP Home ( forced on me by the notebook I purchased ) but I have instructions how to install the full IIS from NT( forget which version ). This solution works fine for me since I also develop *gasp* asp stuff. Jim From zaunere at yahoo.com Wed Aug 28 15:35:43 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 28 Aug 2002 12:35:43 -0700 (PDT) Subject: [nycphp-talk] NYPHP Mailing Lists Online In-Reply-To: <200208281845.g7SIjfrC002386@parsec.nyphp.org> Message-ID: <20020828193543.36984.qmail@web12808.mail.yahoo.com> Hello Robert, If you wish to unsubscribe from the mailing list, login to http://nyphp.org. If you run into problems, contact listmaster at nyphp.org, but please do not send administrative requests to the list. I'm sorry for posting this to the list, but others should remember that sending "take me off the list" requests to the mailing list itself will get you no where. Thanks, Hans --- Robert La Vallie wrote: > PLEASE take me off of this mailing list. Thank you. > > -----Original Message----- > From: Hans Zaunere [mailto:zaunere at yahoo.com] > Sent: Wednesday, August 28, 2002 2:20 PM > To: NYPHP Talk > Subject: Re: [nycphp-talk] NYPHP Mailing Lists Online > > > > There sure is. Details at http://nyphp.org > > H > > > --- matt wrote: > > is there a meeting tonight at digital pulp? > > > > -matt > > > > > > On Wed, 28 Aug 2002, Hans Zaunere wrote: > > > > > > > > Hi all, > > > > > > I'm sorry for the longer than expected delay in getting the > mailing > > > lists back online, however it seems that they are once again > fully > > > functional. If you do notice any oddities, either with the list > or > > on > > > the website, please contact me immediately at zaunere at yahoo.com. > > > > > > I have the rest of this week off from work, and will be trying to > > > improve http://nyphp.org on an ongoing basis during this time. > > While > > > this probably means periods of mailing list (and even website) > > > instability, I ask that everyone use the mailing list normally, > and > > > even excessively. This will help in development (the more > > messages, > > > the more debugging info gets generated) and I will try to liason > > any > > > dropped messages. It is also important to note that the new > server > > > does not have reverse DNS at this point; as a result, some mail > > servers > > > will not accept messages, but I do expect rDNS to be functioning > > within > > > a couple of days. > > > > > > Lastly, I'd like to thank every for bearing with us while these > > > upgrades are done. While it may seem to be more of an annoyance > > than > > > anything else now, this new server will be a keystone in NYPHP's > > > progress and development. > > > > > > Thank you, > > > > > > Hans Zaunere > > > New York PHP > > > http://nyphp.org > > > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Finance - Get real-time stock quotes > > > http://finance.yahoo.com > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From tommyo at dolemite.org Wed Aug 28 16:02:08 2002 From: tommyo at dolemite.org (Tom O'Neill) Date: Wed, 28 Aug 2002 15:02:08 -0500 Subject: [nycphp-talk] Fw: Install PHP on WinXP Home References: <200208281920.g7SJK1rC002472@parsec.nyphp.org> Message-ID: <00b501c24ecd$ca7a9a90$0a01010a@TOMLINUX> Have you ever heard of phptriad? It installs php/apache/mysql on windows machines. http://sourceforge.net/projects/phptriad/ ----- Original Message ----- From: "Jim Hendricks" To: "NYPHP Talk" Sent: Wednesday, August 28, 2002 2:20 PM Subject: Re: [nycphp-talk] Fw: Install PHP on WinXP Home > *snip * > > soon) and you'll be much happier. Plus, I don't think PWS is supported > > anymore on XP (http://www.smartwin.com.au/help/install_pws.htm). But I > *snip* > > Correct PWS is not supported on XP. In fact if you try to install it, it > tells you that can't be done. I am running XP Home ( forced on me by the > notebook I purchased ) but I have instructions how to install the full IIS > from NT( forget which version ). This solution works fine for me since I > also develop *gasp* asp stuff. > > Jim > > > > From mike at tkosys.com Wed Aug 28 19:03:44 2002 From: mike at tkosys.com (Mike FN) Date: Wed, 28 Aug 2002 16:03:44 -0700 Subject: [nycphp-talk] NYPHP Mailing Lists Online In-Reply-To: <200208281907.g7SJ7BrC002439@parsec.nyphp.org> Message-ID: <000801c24ee7$2bc57d10$cb01a8c0@mike> Remove me from the list please. -----Original Message----- From: Oktay Altunergil [mailto:nyphp at altunergil.com] Sent: Wednesday, August 28, 2002 12:07 PM To: NYPHP Talk Subject: Re: [nycphp-talk] NYPHP Mailing Lists Online The nylug-talk mailing list includes directions on how to unsubscribe on each posting. There are still people who send those requests to the list, but they are not the majority. Oktay On Wed, 28 Aug 2002 14:45:40 -0400 Robert La Vallie wrote: > PLEASE take me off of this mailing list. Thank you. > > -----Original Message----- > From: Hans Zaunere [mailto:zaunere at yahoo.com] > Sent: Wednesday, August 28, 2002 2:20 PM > To: NYPHP Talk > Subject: Re: [nycphp-talk] NYPHP Mailing Lists Online > > > > There sure is. Details at http://nyphp.org > > H > > > --- matt wrote: > > is there a meeting tonight at digital pulp? > > > > -matt > > > > > > On Wed, 28 Aug 2002, Hans Zaunere wrote: > > > > > > > > Hi all, > > > > > > I'm sorry for the longer than expected delay in getting the > > > mailing lists back online, however it seems that they are once > > > again fully functional. If you do notice any oddities, either > > > with the list or > > on > > > the website, please contact me immediately at zaunere at yahoo.com. > > > > > > I have the rest of this week off from work, and will be trying to > > > improve http://nyphp.org on an ongoing basis during this time. > > While > > > this probably means periods of mailing list (and even website) > > > instability, I ask that everyone use the mailing list normally, > > > and even excessively. This will help in development (the more > > messages, > > > the more debugging info gets generated) and I will try to liason > > any > > > dropped messages. It is also important to note that the new > > > server does not have reverse DNS at this point; as a result, some > > > mail > > servers > > > will not accept messages, but I do expect rDNS to be functioning > > within > > > a couple of days. > > > > > > Lastly, I'd like to thank every for bearing with us while these > > > upgrades are done. While it may seem to be more of an annoyance > > than > > > anything else now, this new server will be a keystone in NYPHP's > > > progress and development. > > > > > > Thank you, > > > > > > Hans Zaunere > > > New York PHP > > > http://nyphp.org > > > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Finance - Get real-time stock quotes > > > http://finance.yahoo.com > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com > > > From tommyo at dolemite.org Wed Aug 28 16:29:54 2002 From: tommyo at dolemite.org (Tom O'Neill) Date: Wed, 28 Aug 2002 15:29:54 -0500 Subject: [nycphp-talk] Fw: Install PHP on WinXP Home References: <200208281920.g7SJK1rC002472@parsec.nyphp.org> Message-ID: <00e401c24ed1$ab30d1f0$0a01010a@TOMLINUX> Have you ever heard of phptriad? It installs php/apache/mysql on windows machines. http://sourceforge.net/projects/phptriad/ ----- Original Message ----- From: "Jim Hendricks" To: "NYPHP Talk" Sent: Wednesday, August 28, 2002 2:20 PM Subject: Re: [nycphp-talk] Fw: Install PHP on WinXP Home > *snip * > > soon) and you'll be much happier. Plus, I don't think PWS is supported > > anymore on XP (http://www.smartwin.com.au/help/install_pws.htm). But I > *snip* > > Correct PWS is not supported on XP. In fact if you try to install it, it > tells you that can't be done. I am running XP Home ( forced on me by the > notebook I purchased ) but I have instructions how to install the full IIS > from NT( forget which version ). This solution works fine for me since I > also develop *gasp* asp stuff. > > Jim > > > > From ivan at tumanov.com Wed Aug 28 16:41:28 2002 From: ivan at tumanov.com (Ivan Tumanov) Date: Wed, 28 Aug 2002 16:41:28 -0400 Subject: Application state solutions In-Reply-To: <200208051639.g75GdZP64721@slipdisc.virul.net> Message-ID: Hi - I do a lot of development in ASP and some in ColdFusion, but my preferred web development language is PHP. However, I've been quite dismayed at my inability to cleanly port some functionality from my ASP apps into PHP. The biggest hurdle by far is that I cannot cache data in "Application scope". In ASP, I can have "Page scope" - which is just regular variables, "Session scope" by using the Session object and also "Application scope" which is accessible to all sessions that are using this web application. So far, I haven't found any clean way to do this in PHP except using shared memory, and I understand that there are limitations on the size of shared memory I can get my hands on through PHP. So my question to the list is: Have you found any clean and simple way to store data in Application scope in PHP? I could live with a php class that handles shared memory well and provides an elegant way to access and manage objects stored there, but haven't been able to find a good implementation of this yet. -Ivan From ben at tanjero.com Wed Aug 28 16:49:37 2002 From: ben at tanjero.com (Benjamin Stiglitz) Date: Wed, 28 Aug 2002 16:49:37 -0400 Subject: [nycphp-talk] NYPHP Mailing Lists Online In-Reply-To: <200208282006.g7SK6jrC002593@parsec.nyphp.org> Message-ID: Interestingly, unsubscribing on the web site doesn't work; I unsubscribed about a half hour ago, and I keep getting these e-mails. Perhaps some new code needs work, or the e-mail list is being served off an old database? Thank you, Benjamin Stiglitz Tanjero ben at tanjero.com On Wednesday, Aug 28, 2002, at 16:06 America/New_York, Mike FN wrote: > Remove me from the list please. > > -----Original Message----- > From: Oktay Altunergil [mailto:nyphp at altunergil.com] > Sent: Wednesday, August 28, 2002 12:07 PM > To: NYPHP Talk > Subject: Re: [nycphp-talk] NYPHP Mailing Lists Online > > > The nylug-talk mailing list includes directions on how to unsubscribe > on > each posting. There are still people who send those requests to the > list, but they are not the majority. > > Oktay > > On Wed, 28 Aug 2002 14:45:40 -0400 > Robert La Vallie wrote: > >> PLEASE take me off of this mailing list. Thank you. >> >> -----Original Message----- >> From: Hans Zaunere [mailto:zaunere at yahoo.com] >> Sent: Wednesday, August 28, 2002 2:20 PM >> To: NYPHP Talk >> Subject: Re: [nycphp-talk] NYPHP Mailing Lists Online >> >> >> >> There sure is. Details at http://nyphp.org >> >> H >> >> >> --- matt wrote: >>> is there a meeting tonight at digital pulp? >>> >>> -matt >>> >>> >>> On Wed, 28 Aug 2002, Hans Zaunere wrote: >>> >>>> >>>> Hi all, >>>> >>>> I'm sorry for the longer than expected delay in getting the >>>> mailing lists back online, however it seems that they are once >>>> again fully functional. If you do notice any oddities, either >>>> with the list or >>> on >>>> the website, please contact me immediately at zaunere at yahoo.com. >>>> >>>> I have the rest of this week off from work, and will be trying to >>>> improve http://nyphp.org on an ongoing basis during this time. >>> While >>>> this probably means periods of mailing list (and even website) >>>> instability, I ask that everyone use the mailing list normally, >>>> and even excessively. This will help in development (the more >>> messages, >>>> the more debugging info gets generated) and I will try to liason >>> any >>>> dropped messages. It is also important to note that the new >>>> server does not have reverse DNS at this point; as a result, some >>>> mail >>> servers >>>> will not accept messages, but I do expect rDNS to be functioning >>> within >>>> a couple of days. >>>> >>>> Lastly, I'd like to thank every for bearing with us while these >>>> upgrades are done. While it may seem to be more of an annoyance >>> than >>>> anything else now, this new server will be a keystone in NYPHP's >>>> progress and development. >>>> >>>> Thank you, >>>> >>>> Hans Zaunere >>>> New York PHP >>>> http://nyphp.org >>>> >>>> >>>> >>>> >>>> __________________________________________________ >>>> Do You Yahoo!? >>>> Yahoo! Finance - Get real-time stock quotes >>>> http://finance.yahoo.com >>>> >>> >>> >> >> >> __________________________________________________ >> Do You Yahoo!? >> Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com >> >> >> > > > > From ivan at kiwibox.net Wed Aug 28 17:05:10 2002 From: ivan at kiwibox.net (Ivan Tumanov) Date: Wed, 28 Aug 2002 17:05:10 -0400 Subject: Application state solutions In-Reply-To: <200208051639.g75GdZP64721@slipdisc.virul.net> Message-ID: Hi - I do a lot of development in ASP and some in ColdFusion, but my preferred web development language is PHP. However, I've been quite dismayed at my inability to cleanly port some functionality from my ASP apps into PHP. The biggest hurdle by far is that I cannot cache data in "Application scope". In ASP, I can have "Page scope" - which is just regular variables, "Session scope" by using the Session object and also "Application scope" which is accessible to all sessions that are using this web application. So far, I haven't found any clean way to do this in PHP except using shared memory, and I understand that there are limitations on the size of shared memory I can get my hands on through PHP. So my question to the list is: Have you found any clean and simple way to store data in Application scope in PHP? I could live with a php class that handles shared memory well and provides an elegant way to access and manage objects stored there, but haven't been able to find a good implementation of this yet. -Ivan From tommyo at dolemite.org Wed Aug 28 17:09:49 2002 From: tommyo at dolemite.org (Tom O'Neill) Date: Wed, 28 Aug 2002 16:09:49 -0500 Subject: [nycphp-talk] Fw: Install PHP on WinXP Home References: <200208281920.g7SJK1rC002472@parsec.nyphp.org> Message-ID: <014201c24ed7$3ef08340$0a01010a@TOMLINUX> Have you ever heard of phptriad? It installs php/apache/mysql on windows machines. http://sourceforge.net/projects/phptriad/ ----- Original Message ----- From: "Jim Hendricks" To: "NYPHP Talk" Sent: Wednesday, August 28, 2002 2:20 PM Subject: Re: [nycphp-talk] Fw: Install PHP on WinXP Home > *snip * > > soon) and you'll be much happier. Plus, I don't think PWS is supported > > anymore on XP (http://www.smartwin.com.au/help/install_pws.htm). But I > *snip* > > Correct PWS is not supported on XP. In fact if you try to install it, it > tells you that can't be done. I am running XP Home ( forced on me by the > notebook I purchased ) but I have instructions how to install the full IIS > from NT( forget which version ). This solution works fine for me since I > also develop *gasp* asp stuff. > > Jim > > > > From ivan.nyphp at tumanov.com Wed Aug 28 17:44:42 2002 From: ivan.nyphp at tumanov.com (Ivan Tumanov) Date: Wed, 28 Aug 2002 17:44:42 -0400 Subject: Application state solutions In-Reply-To: <200208051639.g75GdZP64721@slipdisc.virul.net> Message-ID: Hi - I do a lot of development in ASP and some in ColdFusion, but my preferred web development language is PHP. However, I've been quite dismayed at my inability to cleanly port some functionality from my ASP apps into PHP. The biggest hurdle by far is that I cannot cache data in "Application scope". In ASP, I can have "Page scope" - which is just regular variables, "Session scope" by using the Session object and also "Application scope" which is accessible to all sessions that are using this web application. So far, I haven't found any clean way to do this in PHP except using shared memory, and I understand that there are limitations on the size of shared memory I can get my hands on through PHP. So my question to the list is: Have you found any clean and simple way to store data in Application scope in PHP? I could live with a php class that handles shared memory well and provides an elegant way to access and manage objects stored there, but haven't been able to find a good implementation of this yet. -Ivan From patrick.fee at baesystems.com Thu Aug 29 08:49:20 2002 From: patrick.fee at baesystems.com (Fee, Patrick J) Date: Thu, 29 Aug 2002 08:49:20 -0400 Subject: [nycphp-talk] NYPHP Mailing Lists Online Message-ID: Here's a thought: What about placing a footer on all list messages that tells users how to unsubscribe themselves. We all know it won't stop all the "remove me" messages, but it might help somewhat..... Just my .02 EUROs ;) Patrick J. Fee Web & Database Manager BAE SYSTEMS 600 Maryland Ave. SW Suite 600 Washington D.C. 20024 Patrick.Fee at BAESYSTEMS.com Tel: (202) 548-3759 Fax: (202) 608-5970 -----Original Message----- From: Mike FN [mailto:mike at tkosys.com] Sent: Wednesday, August 28, 2002 4:07 PM To: NYPHP Talk Subject: RE: [nycphp-talk] NYPHP Mailing Lists Online Remove me from the list please. -----Original Message----- From: Oktay Altunergil [mailto:nyphp at altunergil.com] Sent: Wednesday, August 28, 2002 12:07 PM To: NYPHP Talk Subject: Re: [nycphp-talk] NYPHP Mailing Lists Online The nylug-talk mailing list includes directions on how to unsubscribe on each posting. There are still people who send those requests to the list, but they are not the majority. Oktay On Wed, 28 Aug 2002 14:45:40 -0400 Robert La Vallie wrote: > PLEASE take me off of this mailing list. Thank you. > > -----Original Message----- > From: Hans Zaunere [mailto:zaunere at yahoo.com] > Sent: Wednesday, August 28, 2002 2:20 PM > To: NYPHP Talk > Subject: Re: [nycphp-talk] NYPHP Mailing Lists Online > > > > There sure is. Details at http://nyphp.org > > H > > > --- matt wrote: > > is there a meeting tonight at digital pulp? > > > > -matt > > > > > > On Wed, 28 Aug 2002, Hans Zaunere wrote: > > > > > > > > Hi all, > > > > > > I'm sorry for the longer than expected delay in getting the > > > mailing lists back online, however it seems that they are once > > > again fully functional. If you do notice any oddities, either > > > with the list or > > on > > > the website, please contact me immediately at zaunere at yahoo.com. > > > > > > I have the rest of this week off from work, and will be trying to > > > improve http://nyphp.org on an ongoing basis during this time. > > While > > > this probably means periods of mailing list (and even website) > > > instability, I ask that everyone use the mailing list normally, > > > and even excessively. This will help in development (the more > > messages, > > > the more debugging info gets generated) and I will try to liason > > any > > > dropped messages. It is also important to note that the new > > > server does not have reverse DNS at this point; as a result, some > > > mail > > servers > > > will not accept messages, but I do expect rDNS to be functioning > > within > > > a couple of days. > > > > > > Lastly, I'd like to thank every for bearing with us while these > > > upgrades are done. While it may seem to be more of an annoyance > > than > > > anything else now, this new server will be a keystone in NYPHP's > > > progress and development. > > > > > > Thank you, > > > > > > Hans Zaunere > > > New York PHP > > > http://nyphp.org > > > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Finance - Get real-time stock quotes > > > http://finance.yahoo.com > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com > > > From rainman at deroo.net Thu Aug 29 09:41:35 2002 From: rainman at deroo.net (The RainMan) Date: Thu, 29 Aug 2002 09:41:35 -0400 Subject: [nycphp-talk] NYPHP Mailing Lists Online In-Reply-To: <200208291248.g7TCmWE7000734@parsec.nyphp.org> Message-ID: <5.1.0.14.0.20020829093821.009fa8e0@mail.deroo.net> >What about placing a footer on all list messages that tells users how to >unsubscribe themselves. We all know it won't stop all the "remove me" >messages, but it might help somewhat..... > >Just my .02 EUROs If people bothered to read that far down AND list participants took the time to trim the crap/fat from their messages I might agree to that. But most list members seem to be youngin's or are so indoctrinated with the Jeopardy style of replying (and yes, I really *do* feel that comments belong at the bottom of the message, not the top); this would only lead to more clutter on the list. .r From myersm at optonline.net Thu Aug 29 10:03:34 2002 From: myersm at optonline.net (Mike Myers) Date: Thu, 29 Aug 2002 10:03:34 -0400 Subject: Paging through large result sets Message-ID: First: I am a newcomer to MySQL and PHP. So I will be asking many newbie questions, which I hope is not a drag! Environ: Macintosh G4 running OSX, MySQL and PHP installations provided by the inimitable Marc Liyanage. Webserver is Apache. Experience: Proficient with UserLand Frontier scripting and webserving; moderate experience with perl and javascript. PHP looks pretty straightforward. I have already built a few MySQL databases from scratch, so I have some experience with the mysql client, mysqladmin, and mysqlimport. Lately I have also been using the web-based frontend phpMyAdmin. ---- What are the implementation strategies for allowing a user to page through a result set that is too large to view in its entirety? I see that for simple queries (eg. 1 table or 1 join), the LIMIT statement is the easy solution, which entails re-running the SQL query as the user browses. But what if the query has multiple joins? It seems inefficient to re-run the query each time. If I want to cache the original result in a new MySQL table, then I have to manage that on a per-user basis. This implies using cookies or session ID to track the user. This also suggests I need to code a separate process that periodically drops these temporary result tables after a defined time has passed. Thus, I need to continually track the time of last access to each temp table. That data could go in another MySQL table, or a file of my own convention. Whew! There are probably other aspects of this arrangement that require management code. Am I on the right track here, or am I making it harder than it needs to be? -- mike myers From myersm at optonline.net Thu Aug 29 10:21:29 2002 From: myersm at optonline.net (Mike Myers) Date: Thu, 29 Aug 2002 10:21:29 -0400 Subject: mysql_pconnect() Message-ID: I think I need more real-world examples of mysql_pconnect() than my PHP reference provides. In the context of a web-environment, where a user can issue a query and then walk away for hours or days, how does mysql_pconnect() work? After a connection is first established in this manner, does it ever close on its own if it is not explicitly told to? With multiple users accessing the database, what prevents an ever increasing number of persistent connections? -- Mike Myers From prutwo at onebox.com Thu Aug 29 10:47:30 2002 From: prutwo at onebox.com (ophir prusak) Date: Thu, 29 Aug 2002 07:47:30 -0700 Subject: [nycphp-talk] Paging through large result sets Message-ID: <20020829144730.WCQI23887.mta10.onebox.com@onebox.com> Hi Mike, You're on the right track, but it really depends on many different variables. Can you tell us the specifics of the application in mind ? If the site doesn't get to much traffic, and the original query is fast enough for your needs, then who cares if it's not efficient :) I'd only go with a different solution if the query takes a "long time". The solution you propose would work, but is it worth the comlexity ? I have an idea that would work if : 1. Using MySQL 4.X is an option (yes I know it's beta, but it's really quite stable) 2. You can pump the MySQL and PHP machines with memory 3. You can limit the max number of results (to like a few hundred) What you could do is: 1. Do the complicated query with a limit of the max number of results 2. read the whole thing into an array 3. just display array entires x to y. MySQL 4.x has result caching, so re-doing the query will be FAST. Basically it's more or less the same idea as you had, but instead of trying to cache the results yourself, you're letting MySQL 4.X do it for you. Of course there are plenty of other MySQL result cache solutions out there if MySQL 4.x is not an option, or you need finer control of the cache. Hope that helped. Ophir p.s. We've actually done exactly what you describe on one of the projects where I work (Community Connect Inc). ---- Ophir Prusak Internet developer prutwo at onebox.com | http://www.prusak.com/ ---- Mike Myers wrote: > > First: I am a newcomer to MySQL and PHP. So I will be asking many newbie > questions, which I hope is not a drag! > > Environ: Macintosh G4 running OSX, MySQL and PHP installations provided > by > the inimitable Marc Liyanage. Webserver is Apache. > > Experience: Proficient with UserLand Frontier scripting and webserving; > moderate experience with perl and javascript. PHP looks pretty > straightforward. > > I have already built a few MySQL databases from scratch, so I have > some > experience with the mysql client, mysqladmin, and mysqlimport. Lately > I have > also been using the web-based frontend phpMyAdmin. > > ---- > > What are the implementation strategies for allowing a user to page > through a > result set that is too large to view in its entirety? > > I see that for simple queries (eg. 1 table or 1 join), the LIMIT statement > is the easy solution, which entails re-running the SQL query as the > user > browses. > > But what if the query has multiple joins? It seems inefficient to re-run > the > query each time. If I want to cache the original result in a new MySQL > table, then I have to manage that on a per-user basis. This implies > using > cookies or session ID to track the user. > > This also suggests I need to code a separate process that periodically > drops > these temporary result tables after a defined time has passed. Thus, > I need > to continually track the time of last access to each temp table. That > data > could go in another MySQL table, or a file of my own convention. > > Whew! There are probably other aspects of this arrangement that require > management code. > > Am I on the right track here, or am I making it harder than it needs > to be? > > -- mike myers > > > > From nyphp at altunergil.com Thu Aug 29 10:49:36 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 29 Aug 2002 10:49:36 -0400 Subject: [nycphp-talk] mysql_pconnect In-Reply-To: <200208291423.g7TENAE7000861@parsec.nyphp.org> References: <200208291423.g7TENAE7000861@parsec.nyphp.org> Message-ID: <20020829104936.04080399.nyphp@altunergil.com> Apparently there's a wait_timeout parameter that sets the amount of time the link will stay open. But in general you need not worry about these.. they will stay open for a while and get used if some other connection request is made during that period. It has nothing to do with a visitor issuing a query and walking away. The connection -even though it's persistent- will not stay active forever. Oktay On Thu, 29 Aug 2002 10:23:10 -0400 Mike Myers wrote: > > I think I need more real-world examples of mysql_pconnect() than my PHP > reference provides. > > In the context of a web-environment, where a user can issue a query and then > walk away for hours or days, how does mysql_pconnect() work? > > After a connection is first established in this manner, does it ever close > on its own if it is not explicitly told to? With multiple users accessing > the database, what prevents an ever increasing number of persistent > connections? > > -- Mike Myers > > From dkrook at hotmail.com Thu Aug 29 11:04:28 2002 From: dkrook at hotmail.com (D C Krook) Date: Thu, 29 Aug 2002 11:04:28 -0400 Subject: [nycphp-talk] mysql_pconnect Message-ID: The connection to the db is implicitly closed after the script is run. Rasmus Lerdorf did a presentation on PHP/MySQL at OSCON last month where he discussed that: http://pres.lerdorf.com/show/osconmysql/ _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From nyphp at altunergil.com Thu Aug 29 11:10:02 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 29 Aug 2002 11:10:02 -0400 Subject: [nycphp-talk] mysql_pconnect In-Reply-To: <200208291504.g7TF4eE7000934@parsec.nyphp.org> References: <200208291504.g7TF4eE7000934@parsec.nyphp.org> Message-ID: <20020829111002.500d7a98.nyphp@altunergil.com> this might be misunderstanding.. are you sure this is for pconnect ? php.net says: " First, when connecting, the function would first try to find a (persistent) link that's already open with the same host, username and password. If one is found, an identifier for it will be returned instead of opening a new connection. Second, the connection to the SQL server will not be closed when the execution of the script ends. Instead, the link will remain open for future use (mysql_close() will not close links established by mysql_pconnect()). " oktay On Thu, 29 Aug 2002 11:04:40 -0400 D C Krook wrote: > The connection to the db is implicitly closed after the script is run. > > Rasmus Lerdorf did a presentation on PHP/MySQL at OSCON last month where he > discussed that: > > http://pres.lerdorf.com/show/osconmysql/ > > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > > From tfreedma at ubspw.com Thu Aug 29 11:30:32 2002 From: tfreedma at ubspw.com (Freedman, Tom S.) Date: Thu, 29 Aug 2002 11:30:32 -0400 Subject: [nycphp-talk] mysql_pconnect Message-ID: Note that that's the wait_timeout parameter on MySQL, not PHP. The default is somewhere around 28800 seconds (8 hours)... You could set that to be fairly low (around a half-hour (1800 secs), perhaps) to be sure you're cleaning up your idle connections. -----Original Message----- From: Oktay Altunergil [mailto:nyphp at altunergil.com] Sent: Thursday, August 29, 2002 10:50 AM To: NYPHP Talk Subject: Re: [nycphp-talk] mysql_pconnect Apparently there's a wait_timeout parameter that sets the amount of time the link will stay open. But in general you need not worry about these.. they will stay open for a while and get used if some other connection request is made during that period. It has nothing to do with a visitor issuing a query and walking away. The connection -even though it's persistent- will not stay active forever. Oktay On Thu, 29 Aug 2002 10:23:10 -0400 Mike Myers wrote: > > I think I need more real-world examples of mysql_pconnect() than my PHP > reference provides. > > In the context of a web-environment, where a user can issue a query and then > walk away for hours or days, how does mysql_pconnect() work? > > After a connection is first established in this manner, does it ever close > on its own if it is not explicitly told to? With multiple users accessing > the database, what prevents an ever increasing number of persistent > connections? > > -- Mike Myers > > From dkrook at hotmail.com Thu Aug 29 11:55:34 2002 From: dkrook at hotmail.com (D C Krook) Date: Thu, 29 Aug 2002 11:55:34 -0400 Subject: [nycphp-talk] mysql_pconnect Message-ID: Oktay, It could be, I recall that Rasmus answered someone's similar question about mysql_pconnect with a pretty simple answer. I wish I had taken notes. In any case, your connection pool will be limited by Apache & and MySQL's max_connections and MaxClients settings, so you won't have an ever increasing number of connections: http://pres.lerdorf.com/show/osconmysql/4 >From: Oktay Altunergil >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: Re: [nycphp-talk] mysql_pconnect >Date: Thu, 29 Aug 2002 11:10:07 -0400 >Received: from mc1-f19.law16.hotmail.com ([65.54.236.26]) by >mc1-s15.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Thu, 29 >Aug 2002 08:29:08 -0700 >Received: from parsec.nyphp.org ([66.250.54.138]) by >mc1-f19.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Thu, 29 >Aug 2002 08:22:42 -0700 >Received: from nyphp.org (parsec.nyphp.org [66.250.54.138])by >parsec.nyphp.org (8.12.3/8.12.3) with ESMTP id g7TFA7E7000954;Thu, 29 Aug >2002 11:10:07 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200208291510.g7TFA7E7000954 at parsec.nyphp.org> >X-Paralist-Archived: >X-List-Software: Paralist 0.6 >List-ID: >List-Owner: >List-Archive: >List-Subscribe: >List-Unsubscribe: >Organization: New York PHP >X-Mailer: Paramail 0.5 >Return-Path: listmaster at nyphp.org >X-OriginalArrivalTime: 29 Aug 2002 15:22:43.0381 (UTC) >FILETIME=[EBAE0650:01C24F6F] > >this might be misunderstanding.. are you sure this is for pconnect ? > >php.net says: > >" > First, when connecting, the function would first try to find a >(persistent) link that's already open with the same host, username and >password. If one is found, an identifier for it will be returned instead of >opening a new connection. > >Second, the connection to the SQL server will not be closed when the >execution of the script ends. Instead, the link will remain open for future >use (mysql_close() will not close links established by mysql_pconnect()). " > >oktay > >On Thu, 29 Aug 2002 11:04:40 -0400 >D C Krook wrote: > > > The connection to the db is implicitly closed after the script is run. > > > > Rasmus Lerdorf did a presentation on PHP/MySQL at OSCON last month where >he > > discussed that: > > > > http://pres.lerdorf.com/show/osconmysql/ > > > > > > _________________________________________________________________ > > MSN Photos is the easiest way to share and print your photos: > > http://photos.msn.com/support/worldwide.aspx > > > > ======================================= D C Krook http://krook.net/ || http://krook.info/ _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com From myersm at optonline.net Thu Aug 29 12:12:11 2002 From: myersm at optonline.net (Mike Myers) Date: Thu, 29 Aug 2002 12:12:11 -0400 Subject: [nycphp-talk] mysql_pconnect In-Reply-To: <200208291510.g7TFA7E7000954@parsec.nyphp.org> Message-ID: On 8/29/02 11:10 AM, "Oktay Altunergil" wrote: > First, when connecting, the function would first try to find a (persistent) > link that's already open with the same host, username and password. If one is > found, an identifier for it will be returned instead of opening a new > connection. Ahh, that piece clarifies things for me! From myersm at optonline.net Thu Aug 29 12:21:07 2002 From: myersm at optonline.net (Mike Myers) Date: Thu, 29 Aug 2002 12:21:07 -0400 Subject: [nycphp-talk] Paging through large result sets In-Reply-To: <200208291447.g7TElmE7000898@parsec.nyphp.org> Message-ID: On 8/29/02 10:47 AM, "ophir prusak" wrote: > If the site doesn't get to much traffic, and the original query is fast > enough for your needs, then who cares if it's not efficient :) > I'd only go with a different solution if the query takes a "long time". > The solution you propose would work, but is it worth the comlexity ? Yes, I'm all for keeping it simple! > I have an idea that would work if : > 1. Using MySQL 4.X is an option (yes I know it's beta, but it's really > quite stable) The server and the hosted apps are all up to me, so I could certainly install MySQL 4.X. > 2. You can pump the MySQL and PHP machines with memory The machine is at its max: 1GB of RAM (It's a 1999 Mac). These days, I don't know if that qualifies as a lot of memory. > MySQL 4.x has result caching, so re-doing the query will be FAST. Nice. Does MySQL 4.X support sub-selects yet? Thanks for the suggestions. From sharpwit at hotmail.com Thu Aug 29 12:41:57 2002 From: sharpwit at hotmail.com ((kris)janis p gale) Date: Thu, 29 Aug 2002 12:41:57 -0400 Subject: [nycphp-talk] Paging through large result sets References: <200208291405.g7TE5RE7000837@parsec.nyphp.org> Message-ID: > But what if the query has multiple joins? It seems inefficient to re-run the > query each time. If I want to cache the original result in a new MySQL > table, then I have to manage that on a per-user basis. This implies using > cookies or session ID to track the user. not sure, but a strategy i used to use in coldfusion/ms-sql (before you all gag, be happy to know i've migrated myself to learning php/mysql during this period of unemployment) involved performing the query, then redirecting the user to a view-results page which used an URL variable set by the query/redirect script containing the id's of the items in the result set. so let's say the user searched for products - one script would perform the rather complex set of queries for the search, build an id list, redirect to an URL looking like /?id_list=0.2.5.7.8.9.24.78, and the results page would re-query the db for the product details based on a subset of the dot-delimited id_list. said query would look something like: q = mysql_query("SELECT id, name, desc FROM product WHERE id IN (" . replace(".",",",HTTP_GET_VARS["id_list"])) . ")") or die("!mysql_query"); this Might seem problematic for large result sets, but actually you'd be surprised how much data you can stuff into an URL with no worries whatsoever. From kayraotaner at yahoo.com Thu Aug 29 12:46:44 2002 From: kayraotaner at yahoo.com (Kayra Otaner) Date: Thu, 29 Aug 2002 09:46:44 -0700 (PDT) Subject: [nycphp-talk] mysql_pconnect In-Reply-To: <200208291530.g7TFUdE7000986@parsec.nyphp.org> Message-ID: <20020829164644.4203.qmail@web10105.mail.yahoo.com> Hi, For one of my domains I was doing search on 'Persistent Database Connections' with Php and MySQL. There are several aspects of persistent connection, you can't just directly use mysql_pconnect to have persistent connection. Even in php.net and related sites don't give enough explanation on this topic. I guess they keep this kind of performance related information to themselves. Here are my notes on this topic : 1- You need to have Apache (or web server) waiting on the memory if you want to have persistent connection. Otherwise Php and MySQL may loses traces of connection ID's so MySQL opens new connection each time. To have this you need to modfiy 'Keep Alive', 'KeepAliveTimeOut' and 'MaxKeepALiveReqeusts' line in httpd.conf (also if you have really high loaded site like mine you may need to make changes on Apache header files and recompile it) Latest Apache sources by default enables KeepAlive to ON, but older versions were shipped with OFF value, so this is the first thing you should check to enable Persistent database connections. 2- You are supposed to use 'mysqlpconnect' on every Php script, 'mysqlconnect' may not be able to find same connection ID that was created by mysql_pconnect 3- To check whether you have peristent conn or not your 'show processlist' request get should produce an output like this one (sleep lines indicate that that conenction is waiting for request and time is waiting time in seconds) : mysql> show processlist; +-------+---------+-----------+---------+---------+------+-------+------------------+ | Id | User | Host | db | Command | Time | State | Info | +-------+---------+-----------+---------+---------+------+-------+------------------+ | 61303 | central | localhost | central | Sleep | 122 | | NULL | | 61304 | central | localhost | central | Sleep | 2392 | | NULL | | 61305 | central | localhost | central | Sleep | 146 | | NULL | | 61306 | central | localhost | central | Sleep | 2163 | | NULL | | 61307 | central | localhost | central | Sleep | 170 | | NULL | | 61309 | central | localhost | central | Sleep | 89 | | NULL | | 61310 | central | localhost | central | Sleep | 159 | | NULL | | 61311 | central | localhost | central | Sleep | 89 | | NULL | | 61312 | central | localhost | central | Sleep | 121 | | NULL | | 61327 | central | localhost | central | Sleep | 3 | | NULL | | 61508 | cmt | localhost | cmt | Sleep | 669 | | NULL | | 61509 | cmt | localhost | cmt | Sleep | 659 | | NULL | | 61580 | root | localhost | NULL | Query | 0 | NULL | show processlist | +-------+---------+-----------+---------+---------+------+-------+------------------+ 13 rows in set (0.00 sec) Best Kayra Otaner __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From kayraotaner at yahoo.com Thu Aug 29 13:03:47 2002 From: kayraotaner at yahoo.com (Kayra Otaner) Date: Thu, 29 Aug 2002 10:03:47 -0700 (PDT) Subject: [nycphp-talk] Paging through large result sets In-Reply-To: <200208291447.g7TElmE7000898@parsec.nyphp.org> Message-ID: <20020829170347.92382.qmail@web10106.mail.yahoo.com> I suggest to use 'mysql_unbuffered_query' for large result sets. It really effects performance. >From the manual : mysql_unbuffered_query (PHP 4 >= 4.0.6) mysql_unbuffered_query -- Send an SQL query to MySQL, without fetching and buffering the result rows Description resource mysql_unbuffered_query ( string query [, resource link_identifier [, int result_mode]]) mysql_unbuffered_query() sends a SQL query query to MySQL, without fetching and buffering the result rows automatically, as mysql_query() does. On the one hand, this saves a considerable amount of memory with SQL queries that produce large result sets. On the other hand, you can start working on the result set immediately after the first row has been retrieved: you don't have to wait until the complete SQL query has been performed. When using multiple DB-connects, you have to specify the optional parameter link_identifier. The optional result_mode parameter can be MYSQL_USE_RESULT and MYSQL_STORE_RESULT. It defaults to MYSQL_USE_RESULT, so the result is not buffered. See also mysql_query() for the counterpart of this behaviour. Note: The benefits of mysql_unbuffered_query() come at a cost: You cannot use mysql_num_rows() on a result set returned from mysql_unbuffered_query(). You also have to fetch all result rows from an unbuffered SQL query, before you can send a new SQL query to MySQL. Best, Kayra Otaner __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From jannino at jannino.com Thu Aug 29 13:29:11 2002 From: jannino at jannino.com (Joseph Annino) Date: Thu, 29 Aug 2002 13:29:11 -0400 Subject: [nycphp-talk] Paging through large result sets In-Reply-To: <200208291642.g7TGgrE7001124@parsec.nyphp.org> Message-ID: I am working on a project with a similar problem of large result sets, and a relatively slow query due to many table joins and fulltext indexes. While I don't expect the site to get huge traffic, queries take about a second or two on my Dual 500MHz Apple G4, and this site will be hosted on a shared server at an ISP, where I would think it would just get slower. So I was thinking as a way of extending your idea of passing keys through a URL redirect, I'll put the IDs from my result set into a session variable. This poses two problems. First users need to get a cookie (or I need to go through hoops) to store the session id. Second, users may want to open multiple windows with multiple searches, so there needs to be a way of associating more than one search with a session. I'm thinking a way to kill two birds with one stone is to create a unique 'search session id' and place it in hidden fields and urls of the pages that are part of browsing a particular result. A new ID is created whenever the user hits the search button. On 8/29/02 12:42 PM, "janis p gale" wrote: >> But what if the query has multiple joins? It seems inefficient to re-run > the >> query each time. If I want to cache the original result in a new MySQL >> table, then I have to manage that on a per-user basis. This implies using >> cookies or session ID to track the user. > > not sure, but a strategy i used to use in coldfusion/ms-sql (before you all > gag, be happy to know i've migrated myself to learning php/mysql during this > period of unemployment) involved performing the query, then redirecting the > user to a view-results page which used an URL variable set by the > query/redirect script containing the id's of the items in the result set. > > so let's say the user searched for products - one script would perform the > rather complex set of queries for the search, build an id list, redirect to > an URL looking like /?id_list=0.2.5.7.8.9.24.78, and the results page would > re-query the db for the product details based on a subset of the > dot-delimited id_list. > > said query would look something like: > q = mysql_query("SELECT id, name, desc FROM product WHERE id IN (" . > replace(".",",",HTTP_GET_VARS["id_list"])) . ")") or die("!mysql_query"); > > this Might seem problematic for large result sets, but actually you'd be > surprised how much data you can stuff into an URL with no worries > whatsoever. > > From spliffrd at inch.com Thu Aug 29 14:33:16 2002 From: spliffrd at inch.com (matt) Date: Thu, 29 Aug 2002 14:33:16 -0400 (EDT) Subject: [nycphp-talk] NYPHP Mailing Lists Online In-Reply-To: <200208281820.g7SIKQgl002237@parsec.nyphp.org> Message-ID: please remove me from this list thanks On Wed, 28 Aug 2002, Hans Zaunere wrote: > > There sure is. Details at http://nyphp.org > > H > > > --- matt wrote: > > is there a meeting tonight at digital pulp? > > > > -matt > > > > > > On Wed, 28 Aug 2002, Hans Zaunere wrote: > > > > > > > > Hi all, > > > > > > I'm sorry for the longer than expected delay in getting the mailing > > > lists back online, however it seems that they are once again fully > > > functional. If you do notice any oddities, either with the list or > > on > > > the website, please contact me immediately at zaunere at yahoo.com. > > > > > > I have the rest of this week off from work, and will be trying to > > > improve http://nyphp.org on an ongoing basis during this time. > > While > > > this probably means periods of mailing list (and even website) > > > instability, I ask that everyone use the mailing list normally, and > > > even excessively. This will help in development (the more > > messages, > > > the more debugging info gets generated) and I will try to liason > > any > > > dropped messages. It is also important to note that the new server > > > does not have reverse DNS at this point; as a result, some mail > > servers > > > will not accept messages, but I do expect rDNS to be functioning > > within > > > a couple of days. > > > > > > Lastly, I'd like to thank every for bearing with us while these > > > upgrades are done. While it may seem to be more of an annoyance > > than > > > anything else now, this new server will be a keystone in NYPHP's > > > progress and development. > > > > > > Thank you, > > > > > > Hans Zaunere > > > New York PHP > > > http://nyphp.org > > > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Finance - Get real-time stock quotes > > > http://finance.yahoo.com > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > From spliffrd at inch.com Thu Aug 29 14:35:08 2002 From: spliffrd at inch.com (matt) Date: Thu, 29 Aug 2002 14:35:08 -0400 (EDT) Subject: [nycphp-talk] NYPHP Mailing Lists Online In-Reply-To: <200208281935.g7SJZlrC002508@parsec.nyphp.org> Message-ID: i forgot my login how do i unsubscribe On Wed, 28 Aug 2002, Hans Zaunere wrote: > > Hello Robert, > > If you wish to unsubscribe from the mailing list, login to > http://nyphp.org. If you run into problems, contact > listmaster at nyphp.org, but please do not send administrative requests to > the list. > > I'm sorry for posting this to the list, but others should remember that > sending "take me off the list" requests to the mailing list itself will > get you no where. > > Thanks, > > Hans > > > --- Robert La Vallie wrote: > > PLEASE take me off of this mailing list. Thank you. > > > > -----Original Message----- > > From: Hans Zaunere [mailto:zaunere at yahoo.com] > > Sent: Wednesday, August 28, 2002 2:20 PM > > To: NYPHP Talk > > Subject: Re: [nycphp-talk] NYPHP Mailing Lists Online > > > > > > > > There sure is. Details at http://nyphp.org > > > > H > > > > > > --- matt wrote: > > > is there a meeting tonight at digital pulp? > > > > > > -matt > > > > > > > > > On Wed, 28 Aug 2002, Hans Zaunere wrote: > > > > > > > > > > > Hi all, > > > > > > > > I'm sorry for the longer than expected delay in getting the > > mailing > > > > lists back online, however it seems that they are once again > > fully > > > > functional. If you do notice any oddities, either with the list > > or > > > on > > > > the website, please contact me immediately at zaunere at yahoo.com. > > > > > > > > I have the rest of this week off from work, and will be trying to > > > > improve http://nyphp.org on an ongoing basis during this time. > > > While > > > > this probably means periods of mailing list (and even website) > > > > instability, I ask that everyone use the mailing list normally, > > and > > > > even excessively. This will help in development (the more > > > messages, > > > > the more debugging info gets generated) and I will try to liason > > > any > > > > dropped messages. It is also important to note that the new > > server > > > > does not have reverse DNS at this point; as a result, some mail > > > servers > > > > will not accept messages, but I do expect rDNS to be functioning > > > within > > > > a couple of days. > > > > > > > > Lastly, I'd like to thank every for bearing with us while these > > > > upgrades are done. While it may seem to be more of an annoyance > > > than > > > > anything else now, this new server will be a keystone in NYPHP's > > > > progress and development. > > > > > > > > Thank you, > > > > > > > > Hans Zaunere > > > > New York PHP > > > > http://nyphp.org > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Yahoo! Finance - Get real-time stock quotes > > > > http://finance.yahoo.com > > > > > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Finance - Get real-time stock quotes > > http://finance.yahoo.com > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > From markjia at yahoo.com Thu Aug 29 15:56:41 2002 From: markjia at yahoo.com (Mark Jia) Date: Thu, 29 Aug 2002 12:56:41 -0700 (PDT) Subject: submit my site to search engines In-Reply-To: <200208281903.g7SJ3WrC002418@parsec.nyphp.org> Message-ID: <20020829195641.49244.qmail@web20417.mail.yahoo.com> Hi guys: How can I submit my site to search engines? I know there are some paid services, says "you pay $29.99, we submit your url to 1000+ search engines...", but I want to kown how can they do that? Is it possible for me to write a program in PHP to submit my site by myself? Do I need to sign some contracts with search engines, or do I have to get permission to do it? where to find search engines' search links? How the search engines work? sorry too much questions. Thanks Mark --------------------------------- Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -------------- next part -------------- An HTML attachment was scrubbed... URL: From gderoover at hvc.rr.com Thu Aug 29 18:58:19 2002 From: gderoover at hvc.rr.com (Giro De Roover) Date: Thu, 29 Aug 2002 18:58:19 -0400 Subject: Form and Email In-Reply-To: <200208291343.g7TDhqE7000804@parsec.nyphp.org> Message-ID: Hello there, This is my problem, I got to rewrite a script php/mysql for a simple online database recollecting information line a contact thing, everything fill up in the form get to a mysql data. Now I'd like to have this information sent as well to an email address the the same time. What should I do? Thanks Giro From bruce at mtiglobal.com Fri Aug 30 13:50:25 2002 From: bruce at mtiglobal.com (bruce at mtiglobal.com) Date: Fri, 30 Aug 2002 09:50:25 -0800 (CST) Subject: [nycphp-talk] submit my site to search engines In-Reply-To: <200208292229.g7TMTIGb001679@parsec.nyphp.org> References: <200208292229.g7TMTIGb001679@parsec.nyphp.org> Message-ID: <1947.208.229.253.66.1030672225.squirrel@taipei.mtiglobal.com> for starters, check out: www.searchenginewatch.com will give you lots of background. Also, when you go to search engines, there's often a submit link somewhere. Often it's at the very bottom or hidden on the side. just look through the whole page at all the links. Also, make your site available to bots/spiders, and have good meta tags. hope this is a good starting point. - bruce > > Hi guys: > How can I submit my site to search engines? I know there are some paid > services, says "you pay $29.99, we submit your url to 1000+ search > engines...", but I want to kown how can they do that? Is it possible > for me to write a program in PHP to submit my site by myself? Do I need > to sign some contracts with search engines, or do I have to get > permission to do it? where to find search engines' search links? How the > search engines work? sorry too much questions. Thanks > Mark > > > > > > --------------------------------- > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes From markjia at yahoo.com Thu Aug 29 23:27:42 2002 From: markjia at yahoo.com (Mark Jia) Date: Thu, 29 Aug 2002 20:27:42 -0700 (PDT) Subject: [nycphp-talk] submit my site to search engines In-Reply-To: <200208300150.g7U1oaGb001930@parsec.nyphp.org> Message-ID: <20020830032742.59030.qmail@web20418.mail.yahoo.com> thanks bruce! That is really really helpful! Mark bruce at mtiglobal.com wrote:for starters, check out: www.searchenginewatch.com will give you lots of background. Also, when you go to search engines, there's often a submit link somewhere. Often it's at the very bottom or hidden on the side. just look through the whole page at all the links. Also, make your site available to bots/spiders, and have good meta tags. hope this is a good starting point. - bruce > > Hi guys: > How can I submit my site to search engines? I know there are some paid > services, says "you pay $29.99, we submit your url to 1000+ search > engines...", but I want to kown how can they do that? Is it possible > for me to write a program in PHP to submit my site by myself? Do I need > to sign some contracts with search engines, or do I have to get > permission to do it? where to find search engines' search links? How the > search engines work? sorry too much questions. Thanks > Mark > > > > > > --------------------------------- > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes --------------------------------- Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -------------- next part -------------- An HTML attachment was scrubbed... URL: From danielc at analysisandsolutions.com Fri Aug 30 10:36:11 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Fri, 30 Aug 2002 10:36:11 -0400 Subject: [nycphp-talk] Application state solutions In-Reply-To: <200208282145.g7SLj0rC002897@parsec.nyphp.org> References: <200208282145.g7SLj0rC002897@parsec.nyphp.org> Message-ID: <20020830143611.GA25739@panix.com> Hi Ivan: On Wed, Aug 28, 2002 at 05:45:00PM -0400, Ivan Tumanov wrote: > > "Application scope" which is > accessible to all sessions that are using this web application. So far, I > haven't found any clean way to do this in PHP except using shared memory, > and I understand that there are limitations on the size of shared memory I > can get my hands on through PHP. If the application data doesn't change often, you can store it in an included file. If it changes in a more dynamic way, you can store it in a database which can be queried as needed. No? --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 From jim at bizcomputinginc.com Fri Aug 30 11:07:32 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Fri, 30 Aug 2002 11:07:32 -0400 Subject: [nycphp-talk] Application state solutions References: <200208301436.g7UEaFGb003148@parsec.nyphp.org> Message-ID: <025601c25036$f8c52180$6601a8c0@Notebook> > If the application data doesn't change often, you can store it in an > included file. If it changes in a more dynamic way, you can store it in a > database which can be queried as needed. > > No? > > --Dan Dan, I would agree that what you say can be done, but it does not necessarily fit the bill of an application scoped variable in ASP. With an application scoped variable I can change it's value from one session & that change is available in other sessions. This is especially useful for things like failover or site maint. I use it myself for site maint so that when I am ready to do site maint, I go into the app and into a section reserved for developers(me) and set the maint flag. I then wait on my developer screen to watch the count of connected users ( also via an application scoped variable ). Once the count is at zero, I can then rollout my changes and reactivate the application. Basically through out the application are checks for the maint flag. If the maint flag is found to be set, it forces the user to complete what they are on & logs them out of the app. In PHP you would need to use shared memory to get this same behavior, unless you used a table in your database to hold onto application level variables. BTW, the other major advantage of application scoped variables is that they use less memory since all sessions go to the same variable rather than each session taking memory for these shared variables. Jim From southwell at dneba.com Fri Aug 30 14:42:08 2002 From: southwell at dneba.com (Michael Southwell) Date: Fri, 30 Aug 2002 14:42:08 -0400 Subject: can't get one field out of mysql Message-ID: <5.1.0.14.2.20020830142427.00b1af98@mail.optonline.net> There is no doubt a simple explanation here, but I'm still relatively inexperienced and so I'm missing it. I'm running this off localhost right now so I can't give you a URI. I'm using MySQL 3.23.51-nt and PHP 4.2.1. I can't retrieve a text field even though I can retrieve all other fields from the record. But I *can* get it using MySQL Monitor, so I know it's there. ============== Here is the table definition: create table names( nameid int not null, key(nameid), lname varchar(15), fname varchar(25), note text); ============= Here is the relevant segment from the retrieval code (with a lot of debugging thrown in): $result=mysql_query($query) or die("Query #1 failed"); $numresults=mysql_num_rows($result); $numnames=$numresults; for ($i=0;$i<$numnames;$i++){ $row_array=mysql_fetch_row($result); // debugging $numfields=mysql_num_fields($result); echo "number of fields is $numfields
"; for ($j=0;$j<$numfields;$j++) { $field=mysql_field_name($result,$j)." | "; echo $field;} echo "
"; $lname[$i]=$row_array[0]; $fname[$i]=$row_array[1]; $note[i]=$row_array[2]; $date[$i]=$row_array[3]; $unitid[$i]=$row_array[4]; $address[$i]=$row_array[5]; //debugging echo "###$lname[$i]|$fname[$i]|$note[$i]|$date[$i]|$unitid[$i]|$address[$i]###
";} ==================== Here is the output from this: lname | fname | note | dates | unitid | address | ###Southwell|Michael G||Jan 1983 -|106|81 South Road### ================= So you can see that the fieldname has been retrieved but the contents of the field haven't. The contents themselves are simply this (it's test data): "He is creating the Historical Archives website database." Anybody have any ideas about what could be wrong here? Michael G. Southwell ================================= DNEBA Enterprises 81 South Road Bloomingdale, NJ 07403-1419 973/492-7873 (voice and fax) southwell at dneba.com http://www.dneba.com ====================================================== From nyphp at altunergil.com Fri Aug 30 14:48:00 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Fri, 30 Aug 2002 14:48:00 -0400 Subject: [nycphp-talk] can't get one field out of mysql In-Reply-To: <200208301842.g7UIg9Gb003389@parsec.nyphp.org> References: <200208301842.g7UIg9Gb003389@parsec.nyphp.org> Message-ID: <20020830144800.0cc7243a.nyphp@altunergil.com> you're missing the $ in note[i] up above oktay On Fri, 30 Aug 2002 14:42:09 -0400 Michael Southwell wrote: > There is no doubt a simple explanation here, but I'm still relatively > inexperienced and so I'm missing it. I'm running this off localhost right > now so I can't give you a URI. I'm using MySQL 3.23.51-nt and PHP 4.2.1. > > I can't retrieve a text field even though I can retrieve all other fields > from the record. But I *can* get it using MySQL Monitor, so I know it's there. > ============== > Here is the table definition: > create table names( > nameid int not null, > key(nameid), > lname varchar(15), > fname varchar(25), > note text); > ============= > Here is the relevant segment from the retrieval code (with a lot of > debugging thrown in): > $result=mysql_query($query) or die("Query #1 failed"); > > $numresults=mysql_num_rows($result); > > $numnames=$numresults; > > for ($i=0;$i<$numnames;$i++){ > $row_array=mysql_fetch_row($result); > > // debugging > $numfields=mysql_num_fields($result); > echo "number of fields is $numfields
"; > for ($j=0;$j<$numfields;$j++) { > $field=mysql_field_name($result,$j)." | "; > echo $field;} > echo "
"; > > $lname[$i]=$row_array[0]; > $fname[$i]=$row_array[1]; > $note[i]=$row_array[2]; > $date[$i]=$row_array[3]; > $unitid[$i]=$row_array[4]; > $address[$i]=$row_array[5]; > > //debugging > echo > "###$lname[$i]|$fname[$i]|$note[$i]|$date[$i]|$unitid[$i]|$address[$i]###
/>";} > ==================== > Here is the output from this: > lname | fname | note | dates | unitid | address | > ###Southwell|Michael G||Jan 1983 -|106|81 South Road### > ================= > So you can see that the fieldname has been retrieved but the contents of > the field haven't. The contents themselves are simply this (it's test > data): "He is creating the Historical Archives website database." Anybody > have any ideas about what could be wrong here? > > > Michael G. Southwell ================================= > DNEBA Enterprises > 81 South Road > Bloomingdale, NJ 07403-1419 > 973/492-7873 (voice and fax) > southwell at dneba.com > http://www.dneba.com > ====================================================== > > > From MSouthwell at bigfoot.com Fri Aug 30 15:09:33 2002 From: MSouthwell at bigfoot.com (Michael Southwell) Date: Fri, 30 Aug 2002 15:09:33 -0400 Subject: [nycphp-talk] can't get one field out of mysql In-Reply-To: <200208301848.g7UIm4Gb003401@parsec.nyphp.org> Message-ID: <5.1.0.14.2.20020830150624.00b23498@mail.optonline.net> where? I've marked <<<< the only two occurrences of note[$i] below in the php code, and they are all ok as far as I can see At 02:48 PM 8/30/2002, you wrote: >you're missing the $ in note[i] up above > >oktay > >On Fri, 30 Aug 2002 14:42:09 -0400 >Michael Southwell wrote: > > > There is no doubt a simple explanation here, but I'm still relatively > > inexperienced and so I'm missing it. I'm running this off localhost right > > now so I can't give you a URI. I'm using MySQL 3.23.51-nt and PHP 4.2.1. > > > > I can't retrieve a text field even though I can retrieve all other fields > > from the record. But I *can* get it using MySQL Monitor, so I know > it's there. > > ============== > > Here is the table definition: > > create table names( > > nameid int not null, > > key(nameid), > > lname varchar(15), > > fname varchar(25), > > note text); > > ============= > > Here is the relevant segment from the retrieval code (with a lot of > > debugging thrown in): > > $result=mysql_query($query) or die("Query #1 failed"); > > > > $numresults=mysql_num_rows($result); > > > > $numnames=$numresults; > > > > for ($i=0;$i<$numnames;$i++){ > > $row_array=mysql_fetch_row($result); > > > > // debugging > > $numfields=mysql_num_fields($result); > > echo "number of fields is $numfields
"; > > for ($j=0;$j<$numfields;$j++) { > > $field=mysql_field_name($result,$j)." | "; > > echo $field;} > > echo "
"; > > > > $lname[$i]=$row_array[0]; > > $fname[$i]=$row_array[1]; > > $note[i]=$row_array[2]; <<<< > > $date[$i]=$row_array[3]; > > $unitid[$i]=$row_array[4]; > > $address[$i]=$row_array[5]; > > > > //debugging > > echo > > > "###$lname[$i]|$fname[$i]|$note[$i]|$date[$i]|$unitid[$i]|$address[$i]###
/>";} <<<< > > ==================== > > Here is the output from this: > > lname | fname | note | dates | unitid | address | > > ###Southwell|Michael G||Jan 1983 -|106|81 South Road### > > ================= > > So you can see that the fieldname has been retrieved but the contents of > > the field haven't. The contents themselves are simply this (it's test > > data): "He is creating the Historical Archives website > database." Anybody > > have any ideas about what could be wrong here? > > > > > > Michael G. Southwell ================================= > > DNEBA Enterprises > > 81 South Road > > Bloomingdale, NJ 07403-1419 > > 973/492-7873 (voice and fax) > > southwell at dneba.com > > http://www.dneba.com > > ====================================================== > > > > > > Michael G. Southwell ================================= 81 South Road Bloomingdale, NJ 07403-1419 973-838-1022 (voice) 973-492-7873 (fax) mailto:MSouthwell at bigfoot.com http://www.dneba.com ====================================================== From nyphp at altunergil.com Fri Aug 30 15:16:18 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Fri, 30 Aug 2002 15:16:18 -0400 Subject: [nycphp-talk] can't get one field out of mysql In-Reply-To: <200208301911.g7UJBqGb003442@parsec.nyphp.org> References: <200208301911.g7UJBqGb003442@parsec.nyphp.org> Message-ID: <20020830151618.69405e41.nyphp@altunergil.com> you can't see a missing $ there ? :P oktay On Fri, 30 Aug 2002 15:11:52 -0400 Michael Southwell wrote: > > > $note[i]=$row_array[2]; From southwell at dneba.com Fri Aug 30 15:49:44 2002 From: southwell at dneba.com (Michael Southwell) Date: Fri, 30 Aug 2002 15:49:44 -0400 Subject: [nycphp-talk] can't get one field out of mysql In-Reply-To: <200208301916.g7UJGcGb003453@parsec.nyphp.org> Message-ID: <5.1.0.14.2.20020830154822.00b32768@mail.optonline.net> aaargh! I was looking at the "note" not the "i". Thanks for the eyes, Oktay. I knew it had to be something stupid; sorry, everybody. At 03:16 PM 8/30/2002, you wrote: >you can't see a missing $ there ? :P > >oktay > > >On Fri, 30 Aug 2002 15:11:52 -0400 >Michael Southwell wrote: > > > > > $note[i]=$row_array[2]; Michael G. Southwell ================================= DNEBA Enterprises 81 South Road Bloomingdale, NJ 07403-1419 973/492-7873 (voice and fax) southwell at dneba.com http://www.dneba.com ====================================================== From wcg at rochester.rr.com Sat Aug 31 11:00:49 2002 From: wcg at rochester.rr.com (Wilmer Wright) Date: Sat, 31 Aug 2002 11:00:49 -0400 Subject: [nycphp-talk] Fw: Install PHP on WinXP Home References: <200208281920.g7SJK1rC002472@parsec.nyphp.org> Message-ID: <000701c250ff$319cfe10$bf00a8c0@P1600> Hi Jim Where are these "install IIS instructions" located? Can anyone download IIS from MS web site? I work mainly in Visual FoxPro. What language(s) to you work in? I went to your web-site so I have a handle on your company. Bill Wright ----- Original Message ----- From: "Jim Hendricks" To: "NYPHP Talk" Sent: Wednesday, August 28, 2002 3:20 PM Subject: Re: [nycphp-talk] Fw: Install PHP on WinXP Home > *snip * > > soon) and you'll be much happier. Plus, I don't think PWS is supported > > anymore on XP (http://www.smartwin.com.au/help/install_pws.htm). But I > *snip* > > Correct PWS is not supported on XP. In fact if you try to install it, it > tells you that can't be done. I am running XP Home ( forced on me by the > notebook I purchased ) but I have instructions how to install the full IIS > from NT( forget which version ). This solution works fine for me since I > also develop *gasp* asp stuff. > > Jim > > > > From jonbaer at digitalanywhere.com Sat Aug 31 13:06:35 2002 From: jonbaer at digitalanywhere.com (Jon Baer) Date: Sat, 31 Aug 2002 13:06:35 -0400 Subject: Installing a PHP application (distributables) References: <200208301507.g7UF7pGb003193@parsec.nyphp.org> Message-ID: <3D70F79B.7030301@digitalanywhere.com> Im interested in doing a CD auto-start which could include as options: My Application (must include PHP path, MySQL info, etc) My Application + PHP (must include MySQL info, etc) My Application + PHP + MySQL Basically Id like to present a whole package to a novice user and an advance installation procedure but I would think that setting this up would be a little different than just a normal application in some sense. Anyone have a good idea? Thanks. - Jon From adam at ecamp.net Sat Aug 31 14:22:19 2002 From: adam at ecamp.net (Adam) Date: Sat, 31 Aug 2002 14:22:19 -0400 (EDT) Subject: [nycphp-talk] Installing a PHP application In-Reply-To: <200208311712.g7VHCfGb007249@parsec.nyphp.org> Message-ID: Have you looked at www.apchetoolbox.com ... Makes setting up apache/php/whatever very fast and easy. On Sat, 31 Aug 2002, Jon Baer wrote: |Im interested in doing a CD auto-start which could include as options: | |My Application (must include PHP path, MySQL info, etc) |My Application + PHP (must include MySQL info, etc) |My Application + PHP + MySQL | |Basically Id like to present a whole package to a novice user and an |advance installation procedure but I would think that setting this up |would be a little different than just a normal application in some sense. | |Anyone have a good idea? | |Thanks. | |- Jon | | | | | |