From jim at nettmedia.com Mon Jul 1 10:35:12 2002 From: jim at nettmedia.com (Jim Musil) Date: Mon, 01 Jul 2002 10:35:12 -0400 Subject: Open source Web Calendar System Message-ID: Hi, I'm trying to sift through the numerous offerings for an open source or third party web calendar system. I'm looking to you for recommendation if you have experience with a good one. Thanks! Jim M. From jim at alliedtours.com Mon Jul 1 11:19:43 2002 From: jim at alliedtours.com (Jim Suto) Date: Mon, 1 Jul 2002 11:19:43 -0400 Subject: [nycphp-talk] Open source Web Calendar System In-Reply-To: <200207011435.g61EZKP90167@slipdisc.virul.net> Message-ID: A program that I found quite interesting is phpprojekt although that one goes quite a bit beyond being just a calendar. It allows you to view other people's schedules also to make meetings easier to plan, etc. regards, Jim -----Original Message----- From: Jim Musil [mailto:jim at nettmedia.com] Sent: Monday, July 01, 2002 10:35 AM To: NYPHP Talk Subject: [nycphp-talk] Open source Web Calendar System Hi, I'm trying to sift through the numerous offerings for an open source or third party web calendar system. I'm looking to you for recommendation if you have experience with a good one. Thanks! Jim M. From mogmios at mlug.missouri.edu Mon Jul 1 15:01:31 2002 From: mogmios at mlug.missouri.edu (Michael) Date: Mon, 1 Jul 2002 14:01:31 -0500 (CDT) Subject: jobs? Message-ID: I'm an experienced systems admin and web programmer (PHP, SQL, XML/XSL, etc). Does anyone know of anyone hiring or who might need contract work done? Thanks. ;):):-):):-):):-)8') Michael McGlothlin http://kavlon.org/projects/ From mike at tkosys.com Mon Jul 1 18:13:17 2002 From: mike at tkosys.com (Mike FN) Date: Mon, 1 Jul 2002 15:13:17 -0700 Subject: [nycphp-talk] jobs? In-Reply-To: <200207011901.g61J1aP91501@slipdisc.virul.net> Message-ID: <011701c2214c$80baebc0$cb01a8c0@mike> Try elance.com while there are a lot of unemployment these days ... -----Original Message----- From: Michael [mailto:mogmios at mlug.missouri.edu] Sent: Monday, July 01, 2002 12:02 PM To: NYPHP Talk Subject: [nycphp-talk] jobs? I'm an experienced systems admin and web programmer (PHP, SQL, XML/XSL, etc). Does anyone know of anyone hiring or who might need contract work done? Thanks. ;):):-):):-):):-)8') Michael McGlothlin http://kavlon.org/projects/ From brent at landover.com Mon Jul 1 15:40:58 2002 From: brent at landover.com (Brent Baisley) Date: Mon, 01 Jul 2002 15:40:58 -0400 Subject: [nycphp-talk] jobs? In-Reply-To: <200207011901.g61J1aP91501@slipdisc.virul.net> Message-ID: I work for a technical recruiting company in NYC, if you would like to send me your resume I could pass it on to the recruiters and see if they could come up with something. We deal mostly with the big financial companies. We currently have 197 jobs, but you wouldn't be qualified for all of them of course. Unless you know MUMPS? :) > I'm an experienced systems admin and web programmer (PHP, SQL, XML/XSL, > etc). Does anyone know of anyone hiring or who might need contract work > done? Thanks. > > ;):):-):):-):):-)8') > Michael McGlothlin > http://kavlon.org/projects/ > -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577 From ken_11223 at yahoo.com Tue Jul 2 00:07:15 2002 From: ken_11223 at yahoo.com (ken wu) Date: Mon, 1 Jul 2002 21:07:15 -0700 (PDT) Subject: [nycphp-talk] Open source Web Calendar System In-Reply-To: <200207011435.g61EZKP90167@slipdisc.virul.net> Message-ID: <20020702040715.69691.qmail@web12806.mail.yahoo.com> I have intergated one webcalender to my website and modified it to meet my custom needs. don't know if you like it or not. if you like, i can send the zip to you (i forgot its author and its orginal sites....) http://www.kenfile.com/community/login.php demo login name :jenny demo login password:wwwww --- Jim Musil wrote: > > Hi, > > I'm trying to sift through the numerous offerings > for an open source or > third party web calendar system. I'm looking to you > for recommendation if > you have experience with a good one. > > > Thanks! > > Jim M. > > ===== Ken Wu 718-788-0661 168 35 Street Apt 2 Broooklyn, NY 11232-2320 http://www.kenfile.com __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From radiox at go.ro Tue Jul 2 18:05:45 2002 From: radiox at go.ro (RADIO X) Date: Wed, 3 Jul 2002 01:05:45 +0300 Subject: I'm a newbee In-Reply-To: <200207011914.g61JEZP91570@slipdisc.virul.net> Message-ID: <000001c22214$9e8d35e0$cd01a8c0@xenon> Hy I want to replace this page with a flash movie. Do u know how? I don't want to see when the page refreshes.... ============================ Nicu Opris www.radiox.go.ro Radio X- FM-ing the Bucharest ============================= From evan.heller at alum.rpi.edu Wed Jul 3 23:35:39 2002 From: evan.heller at alum.rpi.edu (evan heller) Date: Wed, 03 Jul 2002 23:35:39 -0400 Subject: Linux Help Message-ID: <3D23C28B.416B9EAB@alum.rpi.edu> Ok, I got a good question for you anyone that can answer: I'd like to setup linux on my new laptop but I haven't used linux seriously since the days of slackware from about 4 years ago. Which linux distribution would be best for a Dell Inspiron in the sense of good drivers and power management. Also, would anyone be willing to volunteer some time perhaps at the next meeting or before the next meeting to give me a hand? Right now I'm using windows xp home (bleh) so I'd like to use dual boot since my games won't run in linux. -Evan -- Evan Heller evan.heller at alum.rpi.edu From lancemercado at yahoo.com Thu Jul 4 03:42:56 2002 From: lancemercado at yahoo.com (Lance Mercado) Date: Thu, 4 Jul 2002 00:42:56 -0700 (PDT) Subject: [nycphp-talk] Linux Help In-Reply-To: <200207040336.g643abP98948@slipdisc.virul.net> Message-ID: <20020704074256.60033.qmail@web14609.mail.yahoo.com> Well i've set up a dual boot sony vaio super slim with windows xp pro and redhat 7.2 The red hat distro reconizes practicly everything automaticly super easy to use with a laptop if you don't want to spend a few days finding drivers to feed the laptop. i used partition magic to shrink my win xp partition to half the drive then during the install let linux use the unused space the only driver i needed to do myself was firewire but maybe they have that in 7.3, or maybe you don't need it. the distro is easy to download from redhat's site as ISO's so you just burn them and install,and there is ton's of doc's if you need them. so good luck. Lance Mercado #^ --- evan heller wrote: > Ok, I got a good question for you anyone that can > answer: > > I'd like to setup linux on my new laptop but I > haven't used linux seriously since the days of > slackware from about 4 years ago. Which linux > distribution would be best for a Dell Inspiron in > the sense of good drivers and power management. > Also, would anyone be willing to volunteer some > time perhaps at the next meeting or before the > next meeting to give me a hand? > Right now I'm using windows xp home (bleh) so I'd > like to use dual boot since my games won't run in > linux. > > -Evan > -- > > Evan Heller > evan.heller at alum.rpi.edu > __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From jahmon at jahmon.com Thu Jul 4 07:50:38 2002 From: jahmon at jahmon.com (jahmon :-)) Date: Thu, 4 Jul 2002 07:50:38 -0400 Subject: [nycphp-talk] Linux Help In-Reply-To: <200207040336.g643abP98948@slipdisc.virul.net> References: <200207040336.g643abP98948@slipdisc.virul.net> Message-ID: <20020704115038.GA15491@jahmon.com> Evan, Almost any distribution will work on an Inspiron, they tend to be easy to work with. I would suggest Debian. The install is tricky, but once it's installed, it's easier to work with. I wish I could help you do the install, but I'm in FL. On Wed, Jul 03, 2002 at 11:36:37PM -0400, evan heller wrote: > Ok, I got a good question for you anyone that can > answer: > > I'd like to setup linux on my new laptop but I > haven't used linux seriously since the days of > slackware from about 4 years ago. Which linux > distribution would be best for a Dell Inspiron in > the sense of good drivers and power management. > Also, would anyone be willing to volunteer some > time perhaps at the next meeting or before the > next meeting to give me a hand? > Right now I'm using windows xp home (bleh) so I'd > like to use dual boot since my games won't run in > linux. > > -Evan > -- > > Evan Heller > evan.heller at alum.rpi.edu > jahmon ;-) From dev at thebinarylab.com Thu Jul 4 09:23:56 2002 From: dev at thebinarylab.com (John Ensign) Date: Thu, 4 Jul 2002 07:23:56 -0600 Subject: [nycphp-talk] Linux Help In-Reply-To: <200207040336.g643abP98948@slipdisc.virul.net> Message-ID: Hi, My Brother has an Inspiron, and has been running RH 7.3 for a bit with no hang ups. Hes not very skilled with Linux, so I was surprised to find out that it installed without a hitch. ( no funky drivers etc... ). Everything works on his unit. John Ensign Programmer t: 303.839.5292 The Binary Lab inc. _ _ _ _ _ /_///| //_//_|\\/_ / /_/ /_/ Denver, CO /_/// |// // | / /_ / / /_/ www.thebinarylab.com -----Original Message----- From: evan heller [mailto:evan.heller at alum.rpi.edu] Sent: Wednesday, July 03, 2002 9:37 PM To: NYPHP Talk Subject: [nycphp-talk] Linux Help Ok, I got a good question for you anyone that can answer: I'd like to setup linux on my new laptop but I haven't used linux seriously since the days of slackware from about 4 years ago. Which linux distribution would be best for a Dell Inspiron in the sense of good drivers and power management. Also, would anyone be willing to volunteer some time perhaps at the next meeting or before the next meeting to give me a hand? Right now I'm using windows xp home (bleh) so I'd like to use dual boot since my games won't run in linux. -Evan -- Evan Heller evan.heller at alum.rpi.edu From nyphp at altunergil.com Thu Jul 4 12:35:29 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 4 Jul 2002 12:35:29 -0400 Subject: [nycphp-talk] Linux Help In-Reply-To: <200207041318.g64DIlP99964@slipdisc.virul.net> References: <200207041318.g64DIlP99964@slipdisc.virul.net> Message-ID: <20020704123529.61c8f466.nyphp@altunergil.com> If you go with Mandrake 8.2 on an Inspiron (mine is inspiron 8100 with the nvidia chip) everything will be probed and configured properly except for the modem (for which I am told there's a lucent driver) and XFree. You need nvidia's own kernel module and driver from their site. It is pretty easy to install and use a readily available XFree configuration file to get the display going at full resolution. linux-laptops.net has around 10 pages that relate to installing on the inspiron 8100 (other models too but they are all similar). All in all inspiron is a perfect linux laptop and if you're a newbie, you can't go wrong with Mandrake. Oktay Altunergil On Thu, 04 Jul 2002 09:18:47 -0400 John Ensign wrote: > Hi, > > My Brother has an Inspiron, and has been running RH 7.3 for a bit with no > hang ups. > Hes not very skilled with Linux, so I was surprised to find out that it > installed > without a hitch. ( no funky drivers etc... ). Everything works on his unit. > > > John Ensign > Programmer > t: 303.839.5292 > The Binary Lab inc. > > _ _ _ _ _ > /_///| //_//_|\\/_ / /_/ /_/ Denver, CO > /_/// |// // | / /_ / / /_/ www.thebinarylab.com > > -----Original Message----- > From: evan heller [mailto:evan.heller at alum.rpi.edu] > Sent: Wednesday, July 03, 2002 9:37 PM > To: NYPHP Talk > Subject: [nycphp-talk] Linux Help > > > Ok, I got a good question for you anyone that can > answer: > > I'd like to setup linux on my new laptop but I > haven't used linux seriously since the days of > slackware from about 4 years ago. Which linux > distribution would be best for a Dell Inspiron in > the sense of good drivers and power management. > Also, would anyone be willing to volunteer some > time perhaps at the next meeting or before the > next meeting to give me a hand? > Right now I'm using windows xp home (bleh) so I'd > like to use dual boot since my games won't run in > linux. > > -Evan > -- > > Evan Heller > evan.heller at alum.rpi.edu > > > From jon at corporatelords.org Thu Jul 4 13:25:17 2002 From: jon at corporatelords.org (Jon Britton) Date: Thu, 4 Jul 2002 13:25:17 -0400 Subject: [nycphp-talk] Linux Help In-Reply-To: <200207040336.g643abP98948@slipdisc.virul.net> References: <200207040336.g643abP98948@slipdisc.virul.net> Message-ID: <20020704172516.GA27465@breakwindows.com> On Wed, Jul 03, 2002 at 11:36:37PM -0400, evan heller wrote: > Ok, I got a good question for you anyone that can > answer: > I'd like to setup linux on my new laptop but I > haven't used linux seriously since the days of > slackware from about 4 years ago. Which linux > distribution would be best for a Dell Inspiron in > the sense of good drivers and power management. The drivers and PM are a part of the kernel, so all GNU/Linux distributions are exactly the same in that sense. They differ mainly in the philosophy of how things are done, types of software installed as part of the base distro and to which crowd they'd like to cater. Red Hat seems to be the favorite for desktop users, though Debian lends itself more to the freedom in Free Software, and easier updating. It's all about preference. linux-laptop.net should give some idea of what will or might-not work. Take it with a grain of salt, I've gotten some laptops unlisted/listed-as-flawed running beautifully. > Also, would anyone be willing to volunteer some > time perhaps at the next meeting or before the > next meeting to give me a hand? I think I'm going to be at the next meeting...if I am, I'll get it running. > Right now I'm using windows xp home (bleh) so I'd > like to use dual boot since my games won't run in > linux. Bah. AMP is all the game you need ;) - Jon -- Apple Computers promote Godless Darwinism and Communism. From zaunere at yahoo.com Sat Jul 6 16:09:56 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Sat, 6 Jul 2002 13:09:56 -0700 (PDT) Subject: Anyone with a CVS install? Message-ID: <20020706200956.17854.qmail@web12805.mail.yahoo.com> Hello folks, I hope everyone is having a good [long] weekend. I reported a bug some time ago about .phps files crashing PHP with output buffer enabled. The bug details are available at http://bugs.php.net/bug.php?id=15943. As is evident from the notes, Derick wants the latest snapshot tested. Does anyone have this (or a fairly recent) snapshot installed? If so, with output_buffering set to 4096, do .phps files dump PHP? I'm not sure what platform/module/cgi configurations would make a difference, but if anyone happens to have a CVS snapshot installed, this would be a great help. Thanks, HZ __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From soltek at mac.com Sat Jul 6 22:34:01 2002 From: soltek at mac.com (SolTek) Date: Sat, 6 Jul 2002 22:34:01 -0400 Subject: HTML form preview then INSERT using PHP & MySQL In-Reply-To: <200207040336.g643abP98948@slipdisc.virul.net> Message-ID: Hello everyone! This is regarding HTML forms, PHP & MySQL. I'm just learning PHP & MySQL. I do know HTML though (big deal lol). My Question: How do you create an html form that goes to a preview screen and then allows the user to move back to the form if they made any errors and corrections are needed or click the send button to submit the form? The form's contents are then inserted into a database table. The actions I want the user to take are as follows: 1) Fill out form. 2) Press Preview Button (the only button on that page). 3) Look over preview of text entered. (this should be on a new page and appear as text, not text in form fields.) 4a) If user finds mistake in text of Preview, click Edit button (or link or Browser back button) to go back to form and make changes. Then user repeats steps 1 (editing not re-entering data) through 4. 4b) If user does not find mistakes in text of Preview, clicks submit button that INSERTS form data into MySQL table. 5) User gets a new page thats says "thank you. form submitted." I already know how to INSERT form data into a table and ECHO the data onto a page after the data was inserted, but I can't figure out how to add the Preview in the middle before inserting the data. Many thanks to anyone who can help me with this! - Steve Just incase you need to know.. my current setup is: Solaris 2.7 Apache 1.3.3 MySQL Version 3.23.43 PHP 4.1.0 Apache Module From zala007 at hotmail.com Sun Jul 7 02:28:05 2002 From: zala007 at hotmail.com (Anirudhsinh Zala) Date: Sun, 07 Jul 2002 06:28:05 +0000 Subject: [nycphp-talk] HTML form preview then INSERT using PHP & MySQL Message-ID: Hi steve.. Just found your problem.. let's just quickely sort out solution..u have 3 options.. 1=> you can use hidden vars which will contain..those form field data which user fills in ..and action of your form would be that preview page..so that u can get..all those vars in preview form.. u can print those vars in text forms in preview page..and again..if user wants to edit those data then action of that preview page could be that filling in form so again u will pass those hidden data in editing mode... Now if in preview form user wants to submit..form then u can chnage action of from by javascipt...when user clicks submit button...i.e. that page which will insert data into tables.. This is hiden var method..but not useful when there r lots of field.. 2=> Instead..u can use..temporarly table in mysql which can hold those data...and when final submission is made by user then it will be deleted from database.. 3=> also u can create a temp file..which can store all form filed vars in in text fromat .and can be used..to add edit data.. and when final submission is made then that temp file can be deleted safely.. hope this can help you Thanks Anirudh... Z. >From: SolTek >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: [nycphp-talk] HTML form preview then INSERT using PHP & MySQL >Date: Sat, 6 Jul 2002 22:34:14 -0400 >Received: from mc2-f41.law16.hotmail.com ([65.54.237.48]) by >mc2-s2.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, 6 Jul >2002 19:37:07 -0700 >Received: from slipdisc.virul.net ([66.114.66.188]) by >mc2-f41.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, 6 Jul >2002 19:36:57 -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 g672YEP07361;Sat, 6 Jul >2002 22:34:14 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200207070234.g672YEP07361 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: 07 Jul 2002 02:36:57.0306 (UTC) >FILETIME=[29CA9BA0:01C2255F] > >Hello everyone! This is regarding HTML forms, PHP & MySQL. > >I'm just learning PHP & MySQL. I do know HTML though (big deal lol). > >My Question: > >How do you create an html form that goes to a preview screen and then >allows the user to move back to the form if they made any errors and >corrections are needed or click the send button to submit the form? The >form's contents are then inserted into a database table. > >The actions I want the user to take are as follows: >1) Fill out form. >2) Press Preview Button (the only button on that page). >3) Look over preview of text entered. (this should be on a new page and >appear as text, not text in form fields.) >4a) If user finds mistake in text of Preview, click Edit button (or link >or Browser back button) to go back to form and make changes. Then user >repeats steps 1 (editing not re-entering data) through 4. >4b) If user does not find mistakes in text of Preview, clicks submit >button that INSERTS form data into MySQL table. >5) User gets a new page thats says "thank you. form submitted." > >I already know how to INSERT form data into a table and ECHO the data >onto a page after the data was inserted, but I can't figure out how to >add the Preview in the middle before inserting the data. > > >Many thanks to anyone who can help me with this! >- Steve > >Just incase you need to know.. my current setup is: >Solaris 2.7 >Apache 1.3.3 >MySQL Version 3.23.43 >PHP 4.1.0 Apache Module _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From soltek at mac.com Sun Jul 7 02:44:04 2002 From: soltek at mac.com (SolTek) Date: Sun, 7 Jul 2002 02:44:04 -0400 Subject: [nycphp-talk] HTML form preview then INSERT using PHP & MySQL In-Reply-To: <200207070628.g676SGP07659@slipdisc.virul.net> Message-ID: Hello, I would really like to go with option 1 that Anirudhsinh suggested. I tried using hidded fields to a preview.php page but I get a Parse error on line 30. Here are lines 28 through 33:
"; echo?""; echo?""; ?> Does anyone have any idea what could be causing the error? On Sunday, July 7, 2002, at 02:28 AM, Anirudhsinh Zala wrote: > Hi steve.. > > Just found your problem.. > > let's just quickely sort out solution..u have 3 options.. > > 1=> you can use hidden vars which will contain..those form field data > which > user fills in ..and action of your form would be that preview page..so > that > u can get..all those vars in preview form.. > > u can print those vars in text forms in preview page..and again..if user > wants to edit those data then action of that preview page could be that > filling in form so again u will pass those hidden data in editing > mode... > > Now if in preview form user wants to submit..form then u can chnage > action > of from by javascipt...when user clicks submit button...i.e. that page > which > will insert data into tables.. > > This is hiden var method..but not useful when there r lots of field.. > > 2=> > Instead..u can use..temporarly table in mysql which can hold those > data...and when final submission is made by user then it will be deleted > from database.. > > 3=> > also u can create a temp file..which can store all form filed vars in in > text fromat .and can be used..to add edit data.. > > and when final submission is made then that temp file can be deleted > safely.. > > hope this can help you > > Thanks > Anirudh... Z. > > >> From: SolTek >> Reply-To: talk at nyphp.org >> To: NYPHP Talk >> Subject: [nycphp-talk] HTML form preview then INSERT using PHP & MySQL >> Date: Sat, 6 Jul 2002 22:34:14 -0400 >> Received: from mc2-f41.law16.hotmail.com ([65.54.237.48]) by >> mc2-s2.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, 6 >> Jul >> 2002 19:37:07 -0700 >> Received: from slipdisc.virul.net ([66.114.66.188]) by >> mc2-f41.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, >> 6 Jul >> 2002 19:36:57 -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 g672YEP07361;Sat, 6 >> Jul >> 2002 22:34:14 -0400 (EDT)(envelope-from listmaster at nyphp.org) >> Message-Id: <200207070234.g672YEP07361 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: 07 Jul 2002 02:36:57.0306 (UTC) >> FILETIME=[29CA9BA0:01C2255F] >> >> Hello everyone! This is regarding HTML forms, PHP & MySQL. >> >> I'm just learning PHP & MySQL. I do know HTML though (big deal lol). >> >> My Question: >> >> How do you create an html form that goes to a preview screen and then >> allows the user to move back to the form if they made any errors and >> corrections are needed or click the send button to submit the form? >> The >> form's contents are then inserted into a database table. >> >> The actions I want the user to take are as follows: >> 1) Fill out form. >> 2) Press Preview Button (the only button on that page). >> 3) Look over preview of text entered. (this should be on a new page and >> appear as text, not text in form fields.) >> 4a) If user finds mistake in text of Preview, click Edit button (or >> link >> or Browser back button) to go back to form and make changes. Then user >> repeats steps 1 (editing not re-entering data) through 4. >> 4b) If user does not find mistakes in text of Preview, clicks submit >> button that INSERTS form data into MySQL table. >> 5) User gets a new page thats says "thank you. form submitted." >> >> I already know how to INSERT form data into a table and ECHO the data >> onto a page after the data was inserted, but I can't figure out how to >> add the Preview in the middle before inserting the data. >> >> >> Many thanks to anyone who can help me with this! >> - Steve >> >> Just incase you need to know.. my current setup is: >> Solaris 2.7 >> Apache 1.3.3 >> MySQL Version 3.23.43 >> PHP 4.1.0 Apache Module > > > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > From soltek at mac.com Sun Jul 7 03:09:08 2002 From: soltek at mac.com (SolTek) Date: Sun, 7 Jul 2002 03:09:08 -0400 Subject: [nycphp-talk] HTML form preview then INSERT using PHP & MySQL In-Reply-To: <200207070644.g676iGP07691@slipdisc.virul.net> Message-ID: <6E08108D-9178-11D6-A5B0-003065481BD8@mac.com> Thank Goodness for this list!!!!!! If it wasn't for me pasting my code into my last email reply to this list, I never would have noticed those strange cross "?" looking characters in my code next to each echo. They are invisible to the eye when I see my code through my editor (BBEdit for OS X). But since I saw them in the email copy of my code, I turned on the "Show Invisibles" feature in BBEdit and there they were! Only in BBEdit they looked like grey colored bullets. So I got rid if them and then my code worked!!!! A whole day waisted because if them darn invisible characters. I figured out how they got there. From copying and pasting code from a forum webpage straight into my text editor. That's what I get for trying to save myself from a little extra typing. LoL Well, I hope no one ever has to ever go through that ordeal. Thanks for listening. - Steve ;-) On Sunday, July 7, 2002, at 02:44 AM, SolTek wrote: > Hello, > > I would really like to go with option 1 that Anirudhsinh suggested. > I tried using hidded fields to a preview.php page but I get a Parse > error on line 30. > Here are lines 28 through 33: > > > echo?""; > echo?""; > echo?""; > ?> > > Does anyone have any idea what could be causing the error? > > On Sunday, July 7, 2002, at 02:28 AM, Anirudhsinh Zala wrote: > >> Hi steve.. >> >> Just found your problem.. >> >> let's just quickely sort out solution..u have 3 options.. >> >> 1=> you can use hidden vars which will contain..those form field data >> which >> user fills in ..and action of your form would be that preview page..so >> that >> u can get..all those vars in preview form.. >> >> u can print those vars in text forms in preview page..and again..if >> user >> wants to edit those data then action of that preview page could be that >> filling in form so again u will pass those hidden data in editing >> mode... >> >> Now if in preview form user wants to submit..form then u can chnage >> action >> of from by javascipt...when user clicks submit button...i.e. that page >> which >> will insert data into tables.. >> >> This is hiden var method..but not useful when there r lots of field.. >> >> 2=> >> Instead..u can use..temporarly table in mysql which can hold those >> data...and when final submission is made by user then it will be >> deleted >> from database.. >> >> 3=> >> also u can create a temp file..which can store all form filed vars in >> in >> text fromat .and can be used..to add edit data.. >> >> and when final submission is made then that temp file can be deleted >> safely.. >> >> hope this can help you >> >> Thanks >> Anirudh... Z. >> >> >>> From: SolTek >>> Reply-To: talk at nyphp.org >>> To: NYPHP Talk >>> Subject: [nycphp-talk] HTML form preview then INSERT using PHP & MySQL >>> Date: Sat, 6 Jul 2002 22:34:14 -0400 >>> Received: from mc2-f41.law16.hotmail.com ([65.54.237.48]) by >>> mc2-s2.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, 6 >>> Jul >>> 2002 19:37:07 -0700 >>> Received: from slipdisc.virul.net ([66.114.66.188]) by >>> mc2-f41.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, >>> 6 Jul >>> 2002 19:36:57 -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 g672YEP07361;Sat, 6 >>> Jul >>> 2002 22:34:14 -0400 (EDT)(envelope-from listmaster at nyphp.org) >>> Message-Id: <200207070234.g672YEP07361 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: 07 Jul 2002 02:36:57.0306 (UTC) >>> FILETIME=[29CA9BA0:01C2255F] >>> >>> Hello everyone! This is regarding HTML forms, PHP & MySQL. >>> >>> I'm just learning PHP & MySQL. I do know HTML though (big deal lol). >>> >>> My Question: >>> >>> How do you create an html form that goes to a preview screen and then >>> allows the user to move back to the form if they made any errors and >>> corrections are needed or click the send button to submit the form? >>> The >>> form's contents are then inserted into a database table. >>> >>> The actions I want the user to take are as follows: >>> 1) Fill out form. >>> 2) Press Preview Button (the only button on that page). >>> 3) Look over preview of text entered. (this should be on a new page >>> and >>> appear as text, not text in form fields.) >>> 4a) If user finds mistake in text of Preview, click Edit button (or >>> link >>> or Browser back button) to go back to form and make changes. Then user >>> repeats steps 1 (editing not re-entering data) through 4. >>> 4b) If user does not find mistakes in text of Preview, clicks submit >>> button that INSERTS form data into MySQL table. >>> 5) User gets a new page thats says "thank you. form submitted." >>> >>> I already know how to INSERT form data into a table and ECHO the data >>> onto a page after the data was inserted, but I can't figure out how to >>> add the Preview in the middle before inserting the data. >>> >>> >>> Many thanks to anyone who can help me with this! >>> - Steve >>> >>> Just incase you need to know.. my current setup is: >>> Solaris 2.7 >>> Apache 1.3.3 >>> MySQL Version 3.23.43 >>> PHP 4.1.0 Apache Module >> >> >> >> >> _________________________________________________________________ >> Chat with friends online, try MSN Messenger: http://messenger.msn.com >> >> > > From zala007 at hotmail.com Sun Jul 7 03:28:41 2002 From: zala007 at hotmail.com (Anirudhsinh Zala) Date: Sun, 07 Jul 2002 07:28:41 +0000 Subject: [nycphp-talk] HTML form preview then INSERT using PHP & MySQL Message-ID: Well steve I suggest that u don't use..embedded HTML-pHp file system.. it will cause lot of problem.. insetad u use classes..download "rFastemplate.php" from php.net..and use seperate html and php files...so that u will not get this kind of parse errors.. in your file..it doesn't seem that you have error in codes..but check whether is there any invisible charcters or not..which u may not be able to see but..may cause error.. Also check first line... where u placed 2 "" after word submit.php which is also wrong remove extra one. Thanks Airudh Zala >From: SolTek >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: Re: [nycphp-talk] HTML form preview then INSERT using PHP & MySQL >Date: Sun, 7 Jul 2002 02:44:16 -0400 >Received: from mc1-f10.law16.hotmail.com ([65.54.236.17]) by >mc1-s15.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, 6 Jul >2002 23:47:43 -0700 >Received: from slipdisc.virul.net ([66.114.66.188]) by >mc1-f10.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, 6 Jul >2002 23:47:30 -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 g676iGP07691;Sun, 7 Jul >2002 02:44:16 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200207070644.g676iGP07691 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: 07 Jul 2002 06:47:31.0128 (UTC) >FILETIME=[2AA5CB80:01C22582] > >Hello, > >I would really like to go with option 1 that Anirudhsinh suggested. >I tried using hidded fields to a preview.php page but I get a Parse >error on line 30. >Here are lines 28 through 33: > > >echo?""; >echo?""; >echo?""; >?> > >Does anyone have any idea what could be causing the error? > >On Sunday, July 7, 2002, at 02:28 AM, Anirudhsinh Zala wrote: > > > Hi steve.. > > > > Just found your problem.. > > > > let's just quickely sort out solution..u have 3 options.. > > > > 1=> you can use hidden vars which will contain..those form field data > > which > > user fills in ..and action of your form would be that preview page..so > > that > > u can get..all those vars in preview form.. > > > > u can print those vars in text forms in preview page..and again..if user > > wants to edit those data then action of that preview page could be that > > filling in form so again u will pass those hidden data in editing > > mode... > > > > Now if in preview form user wants to submit..form then u can chnage > > action > > of from by javascipt...when user clicks submit button...i.e. that page > > which > > will insert data into tables.. > > > > This is hiden var method..but not useful when there r lots of field.. > > > > 2=> > > Instead..u can use..temporarly table in mysql which can hold those > > data...and when final submission is made by user then it will be deleted > > from database.. > > > > 3=> > > also u can create a temp file..which can store all form filed vars in in > > text fromat .and can be used..to add edit data.. > > > > and when final submission is made then that temp file can be deleted > > safely.. > > > > hope this can help you > > > > Thanks > > Anirudh... Z. > > > > > >> From: SolTek > >> Reply-To: talk at nyphp.org > >> To: NYPHP Talk > >> Subject: [nycphp-talk] HTML form preview then INSERT using PHP & MySQL > >> Date: Sat, 6 Jul 2002 22:34:14 -0400 > >> Received: from mc2-f41.law16.hotmail.com ([65.54.237.48]) by > >> mc2-s2.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, 6 > >> Jul > >> 2002 19:37:07 -0700 > >> Received: from slipdisc.virul.net ([66.114.66.188]) by > >> mc2-f41.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sat, > >> 6 Jul > >> 2002 19:36:57 -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 g672YEP07361;Sat, 6 > >> Jul > >> 2002 22:34:14 -0400 (EDT)(envelope-from listmaster at nyphp.org) > >> Message-Id: <200207070234.g672YEP07361 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: 07 Jul 2002 02:36:57.0306 (UTC) > >> FILETIME=[29CA9BA0:01C2255F] > >> > >> Hello everyone! This is regarding HTML forms, PHP & MySQL. > >> > >> I'm just learning PHP & MySQL. I do know HTML though (big deal lol). > >> > >> My Question: > >> > >> How do you create an html form that goes to a preview screen and then > >> allows the user to move back to the form if they made any errors and > >> corrections are needed or click the send button to submit the form? > >> The > >> form's contents are then inserted into a database table. > >> > >> The actions I want the user to take are as follows: > >> 1) Fill out form. > >> 2) Press Preview Button (the only button on that page). > >> 3) Look over preview of text entered. (this should be on a new page and > >> appear as text, not text in form fields.) > >> 4a) If user finds mistake in text of Preview, click Edit button (or > >> link > >> or Browser back button) to go back to form and make changes. Then user > >> repeats steps 1 (editing not re-entering data) through 4. > >> 4b) If user does not find mistakes in text of Preview, clicks submit > >> button that INSERTS form data into MySQL table. > >> 5) User gets a new page thats says "thank you. form submitted." > >> > >> I already know how to INSERT form data into a table and ECHO the data > >> onto a page after the data was inserted, but I can't figure out how to > >> add the Preview in the middle before inserting the data. > >> > >> > >> Many thanks to anyone who can help me with this! > >> - Steve > >> > >> Just incase you need to know.. my current setup is: > >> Solaris 2.7 > >> Apache 1.3.3 > >> MySQL Version 3.23.43 > >> PHP 4.1.0 Apache Module > > > > > > > > > > _________________________________________________________________ > > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > > _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From dorgan at optonline.net Sun Jul 7 04:14:09 2002 From: dorgan at optonline.net (Donald J. Organ IV) Date: Sun, 07 Jul 2002 04:14:09 -0400 Subject: [nycphp-talk] text to link function References: <200207062010.g66KA0P06892@slipdisc.virul.net> Message-ID: <001201c2258e$472cb050$0200020a@111weeks.fyeddrsubculture.org> Does anyone know of any text to link functions out there?? to clerify what i need is i have a variable $foo and i need to display any urls, if anythat are in that variable to be displayed as a link. Any help would be appreciated. --Donald From bcoleman at bcmedia-online.com Sun Jul 7 08:13:40 2002 From: bcoleman at bcmedia-online.com (Brad Coleman) Date: Sun, 07 Jul 2002 08:13:40 -0400 Subject: [nycphp-talk] HTML form preview then INSERT using PHP & MySQL References: <200207070728.g677SpP07972@slipdisc.virul.net> Message-ID: <3D283074.7060002@bcmedia-online.com> Just joined the list and am new to SQL and PHP. >From the last thread... ' download "rFastemplate.php" from php.net ' I was unable to search and find this file on the site. Anyone have a direct URL? Thanks - BC From zala007 at hotmail.com Sun Jul 7 09:54:56 2002 From: zala007 at hotmail.com (Anirudhsinh Zala) Date: Sun, 07 Jul 2002 13:54:56 +0000 Subject: [nycphp-talk] HTML form preview then INSERT using PHP & MySQL Message-ID: Hi all anyone who is interestd in fasttemplate can go..to http://www.osdn.com/osdnsearch.pl?query=fasttemplate&site=all or http://freshmeat.net/projects/fasttemplate.php3/?topic_id=809 Rest u can understand what i am suggesting.. Thanks...best luck Anirudhsinh >From: Brad Coleman >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: Re: [nycphp-talk] HTML form preview then INSERT using PHP & MySQL >Date: Sun, 7 Jul 2002 08:14:10 -0400 >Received: from mc2-f27.law16.hotmail.com ([65.54.237.34]) by >mc2-s12.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sun, 7 Jul >2002 05:18:04 -0700 >Received: from slipdisc.virul.net ([66.114.66.188]) by >mc2-f27.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sun, 7 Jul >2002 05:15:55 -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 g67CEAP08348;Sun, 7 Jul >2002 08:14:10 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200207071214.g67CEAP08348 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: 07 Jul 2002 12:15:55.0913 (UTC) >FILETIME=[0B9D5F90:01C225B0] > >Just joined the list and am new to SQL and PHP. > >From the last thread... > >' download "rFastemplate.php" from php.net ' > >I was unable to search and find this file on the site. Anyone have a >direct URL? > >Thanks - BC _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From ejp at well.com Sun Jul 7 10:55:00 2002 From: ejp at well.com (Edward Potter) Date: Sun, 07 Jul 2002 10:55:00 -0400 Subject: [nycphp-talk] text to link function References: <200207070810.g678AjP08049@slipdisc.virul.net> Message-ID: <3D285644.4060803@well.com> hmmm, a bit confused. You want to pull out a url from a variable, then display it to the screen? I would just use a regex on that, find your relevant link, then just spit it to the screen. -- e Donald J. Organ IV wrote: > Does anyone know of any text to link functions out there?? > > to clerify what i need is i have a variable $foo and i need to display any > urls, if anythat are in that variable to be displayed as a link. > > Any help would be appreciated. > > --Donald > > > > > From jhise at linuxforbusiness.org Sun Jul 7 11:25:43 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 07 Jul 2002 11:25:43 -0400 Subject: [nycphp-talk] text to link function In-Reply-To: <200207070810.g678AjP08049@slipdisc.virul.net> References: <200207070810.g678AjP08049@slipdisc.virul.net> Message-ID: <1026055547.2689.14.camel@localhost.localdomain> Hey dude: The following code looks for stuff in the format of: www.---- and replaces it with www.----- You can tweak it for your purposes. Good luck, Hise --------------------------------- [:space:]]+[[:alnum:]/]", "\\\\0", $test_text); ?> --------------------------------- On Sun, 2002-07-07 at 04:10, Donald J. Organ IV wrote: > Does anyone know of any text to link functions out there?? > > to clerify what i need is i have a variable $foo and i need to display any > urls, if anythat are in that variable to be displayed as a link. > > Any help would be appreciated. > > --Donald > > > > > From ken_11223 at yahoo.com Sun Jul 7 21:21:39 2002 From: ken_11223 at yahoo.com (ken wu) Date: Sun, 7 Jul 2002 18:21:39 -0700 (PDT) Subject: [nycphp-talk] text to link function In-Reply-To: <200207071525.g67FPhP08628@slipdisc.virul.net> Message-ID: <20020708012139.20494.qmail@web12804.mail.yahoo.com> WEll, Jeremy, though your code is good, but I think mine is much better. since it can as well look for stuff like : http://, and not XXwww.abc.com here u are : function scanText($text) { // this function is to scan out any URL link and return it with the ahref link $before = $text; //print "before = $before
"; $search = array ("/(\\bhttp*:\\/\\/(\\S+)\\b)/ie", "/((\\s+)www(\\S+)\\b)/ie"); $replace = array("' '.trim('\\\\1').' '", "' http://'.substr(trim('\\\\1'), 0, strlen(trim('\\\\1'))).' '"); $result = preg_replace ($search, $replace, $before); return "$result "; } just pass your variables through this function and get the link return. --- Jeremy Hise wrote: > Hey dude: > > The following code looks for stuff in the format of: > > www.---- > > and replaces it with > > www.----- > > You can tweak it for your purposes. > > Good luck, > > Hise > > --------------------------------- > $test_text = > ereg_replace("www.[^<>[:space:]]+[[:alnum:]/]", " href = > http://\\\\0>\\\\0", $test_text); > > ?> > --------------------------------- > > > > > > > On Sun, 2002-07-07 at 04:10, Donald J. Organ IV > wrote: > > Does anyone know of any text to link functions out > there?? > > > > to clerify what i need is i have a variable $foo > and i need to display any > > urls, if anythat are in that variable to be > displayed as a link. > > > > Any help would be appreciated. > > > > --Donald > > > > > > > > > > > > > ===== Ken Wu 718-788-0661 168 35 Street Apt 2 Broooklyn, NY 11232-2320 http://www.kenfile.com __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From jhise at linuxforbusiness.org Mon Jul 8 08:41:18 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 08 Jul 2002 08:41:18 -0400 Subject: [nycphp-talk] text to link function In-Reply-To: <200207080121.g681LhP09766@slipdisc.virul.net> References: <200207080121.g681LhP09766@slipdisc.virul.net> Message-ID: <1026132081.2698.0.camel@localhost.localdomain> Cool. I'll add it to my toolbox. Thanks, hise On Sun, 2002-07-07 at 21:21, ken wu wrote: > WEll, Jeremy, though your code is good, but I think > mine is much better. since it can as well look for > stuff like : http://, and not XXwww.abc.com > > here u are : > > function scanText($text) { // this function is to scan > out any URL link and return it with the ahref link > > $before = $text; > //print "before = $before
"; > $search = array ("/(\\bhttp*:\\/\\/(\\S+)\\b)/ie", > "/((\\s+)www(\\S+)\\b)/ie"); > $replace = array("' target=\\"_blank\\" > class=\\"indexMenu\\">'.trim('\\\\1').' '", "' href=\\"http://'.substr(trim('\\\\1'), 0, > strlen(trim('\\\\1'))).'\\" target=\\"_blank\\" > class=\\"indexMenu\\">http://'.substr(trim('\\\\1'), 0, > strlen(trim('\\\\1'))).' '"); > $result = preg_replace ($search, $replace, > $before); > > return "$result "; > > } > > just pass your variables through this function and get > the link return. > > > > --- Jeremy Hise wrote: > > Hey dude: > > > > The following code looks for stuff in the format of: > > > > www.---- > > > > and replaces it with > > > > www.----- > > > > You can tweak it for your purposes. > > > > Good luck, > > > > Hise > > > > --------------------------------- > > > $test_text = > > ereg_replace("www.[^<>[:space:]]+[[:alnum:]/]", " > href = > > http://\\\\0>\\\\0", $test_text); > > > > ?> > > --------------------------------- > > > > > > > > > > > > > > On Sun, 2002-07-07 at 04:10, Donald J. Organ IV > > wrote: > > > Does anyone know of any text to link functions out > > there?? > > > > > > to clerify what i need is i have a variable $foo > > and i need to display any > > > urls, if anythat are in that variable to be > > displayed as a link. > > > > > > Any help would be appreciated. > > > > > > --Donald > > > > > > > > > > > > > > > > > > > > > > > > ===== > Ken Wu > > 718-788-0661 > 168 35 Street Apt 2 > Broooklyn, NY 11232-2320 > > http://www.kenfile.com > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com > > > From zala007 at hotmail.com Mon Jul 8 09:44:13 2002 From: zala007 at hotmail.com (Anirudhsinh Zala) Date: Mon, 08 Jul 2002 13:44:13 +0000 Subject: [nycphp-talk] text to link function Message-ID: well .. some one can try this function too :) function gwwLinks ($data='') { if(empty($data)) { return $data; } $lines = split("\ ",$data); while ( list ($key,$line) = each ($lines)) { $line = eregi_replace("([ \ ]|^)www\\."," http://www.",$line); $line = eregi_replace("([ \ ]|^)ftp\\."," ftp://ftp.",$line); $line = eregi_replace("(http://[^ )\\r\ ]+)","\\\\1",$line); $line = eregi_replace("(https://[^ )\\r\ ]+)","\\\\1",$line); $line = eregi_replace("(ftp://[^ )\\r\ ]+)","\\\\1",$line); $line = eregi_replace("([-a-z0-9_]+(\\.[_a-z0-9-]+)*@([a-z0-9-]+(\\.[a-z0-9-]+)+))","\\\\1",$line); $newText .= $line . "\ "; } return $newText; } Thanks Anirudhsinh >From: ken wu >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: Re: [nycphp-talk] text to link function >Date: Sun, 7 Jul 2002 21:21:43 -0400 >Received: from mc1-f26.law16.hotmail.com ([65.54.236.33]) by >mc1-s15.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sun, 7 Jul >2002 18:24:55 -0700 >Received: from slipdisc.virul.net ([66.114.66.188]) by >mc1-f26.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Sun, 7 Jul >2002 18:24: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 g681LhP09766;Sun, 7 Jul >2002 21:21:43 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200207080121.g681LhP09766 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: 08 Jul 2002 01:24:25.0337 (UTC) >FILETIME=[323A9690:01C2261E] > >WEll, Jeremy, though your code is good, but I think >mine is much better. since it can as well look for >stuff like : http://, and not XXwww.abc.com > >here u are : > >function scanText($text) { // this function is to scan >out any URL link and return it with the ahref link > > $before = $text; > //print "before = $before
"; > $search = array ("/(\\bhttp*:\\/\\/(\\S+)\\b)/ie", >"/((\\s+)www(\\S+)\\b)/ie"); > $replace = array("' target=\\"_blank\\" >class=\\"indexMenu\\">'.trim('\\\\1').' '", "' href=\\"http://'.substr(trim('\\\\1'), 0, >strlen(trim('\\\\1'))).'\\" target=\\"_blank\\" >class=\\"indexMenu\\">http://'.substr(trim('\\\\1'), 0, >strlen(trim('\\\\1'))).' '"); > $result = preg_replace ($search, $replace, >$before); > > return "$result "; > >} > >just pass your variables through this function and get >the link return. > > > >--- Jeremy Hise wrote: > > Hey dude: > > > > The following code looks for stuff in the format of: > > > > www.---- > > > > and replaces it with > > > > www.----- > > > > You can tweak it for your purposes. > > > > Good luck, > > > > Hise > > > > --------------------------------- > > > $test_text = > > ereg_replace("www.[^<>[:space:]]+[[:alnum:]/]", " > href = > > http://\\\\0>\\\\0", $test_text); > > > > ?> > > --------------------------------- > > > > > > > > > > > > > > On Sun, 2002-07-07 at 04:10, Donald J. Organ IV > > wrote: > > > Does anyone know of any text to link functions out > > there?? > > > > > > to clerify what i need is i have a variable $foo > > and i need to display any > > > urls, if anythat are in that variable to be > > displayed as a link. > > > > > > Any help would be appreciated. > > > > > > --Donald > > > > > > > > > > > > > > > > > > > > > > > >===== >Ken Wu > >718-788-0661 >168 35 Street Apt 2 >Broooklyn, NY 11232-2320 > >http://www.kenfile.com > >__________________________________________________ >Do You Yahoo!? >Sign up for SBC Yahoo! Dial - First Month Free >http://sbc.yahoo.com _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From joe_m at circlepressroom.com Mon Jul 8 10:15:59 2002 From: joe_m at circlepressroom.com (Joe M) Date: Mon, 08 Jul 2002 10:15:59 -0400 Subject: [nycphp-talk] Linux Help In-Reply-To: <200207040336.g643abP98948@slipdisc.virul.net> Message-ID: Hello, I am running Red Hat 7.3 on my Toshiba laptop which came with Win XP pre-installed (bleh--rather have w2k).I understand that the new Mandrake distro (8?) will also do fine with minimal config problems--just do a search on their web sites or google. I found my info at: http://www.xdiv.com/laptop/toshiba-linux.html ( if I remember correctly, they had a rather large list of laptops there.....)good luck, joe marabotto ps--I like slackware also, but needed a quick fix on this one..) On Wed, 3 Jul 2002 23:36:37 -0400 evan heller wrote: >Ok, I got a good question for you anyone that can >answer: > >I'd like to setup linux on my new laptop but I >haven't used linux seriously since the days of >slackware from about 4 years ago. Which linux >distribution would be best for a Dell Inspiron in >the sense of good drivers and power management. >Also, would anyone be willing to volunteer some >time perhaps at the next meeting or before the >next meeting to give me a hand? >Right now I'm using windows xp home (bleh) so I'd >like to use dual boot since my games won't run in >linux. > >-Evan >-- > >Evan Heller >evan.heller at alum.rpi.edu > From zaunere at yahoo.com Mon Jul 8 19:21:20 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Mon, 8 Jul 2002 16:21:20 -0700 (PDT) Subject: Fwd: Open Enterprise Trends_July 8 Message-ID: <20020708232120.30398.qmail@web12807.mail.yahoo.com> A couple interesting stories, especially the Apache "worm" and PHPortal. HZ > ==================================================== > Top Stories > o An Interview with JBoss Creator Marc Fleury > o Open Source Confronts Denial of Service Attacks > o The O'Reilly Factor -- Java and SOAP > o Download -- Open Source PHPortal Beta 0.2 Available > o Rotor's Shared Source .NET Code Now Available for Linux > o Security Guru Schneier Says Insurers May Influence IT Security > ==================================================== > > An Interview with JBoss Creator Marc Fleury > OET talked with Fleury about JBoss 3.0, about his plans for JBoss 4.0 > and how JBoss will lead -- not follow --the industry to the next > standards. > [FULL STORY] http://www.oetrends.com/cgi-bin/page_display.cgi?62 > > Open Source Confronts Denial of Service Attacks > Recent worm attacks against Apache will surely raise concerns over > Open Source and denial of service. See OET's Best of the Web on DoS. > [FULL STORY] http://www.oetrends.com/cgi-bin/page_display.cgi?61 > > The O'Reilly Factor -- Java and SOAP > O'Reilly's new book looks at how Java developers can best use the > Simple Object Access Protocol. OET talks with the author and supplies > code samples. > [FULL STORY] http://www.oetrends.com/cgi-bin/page_display.cgi?60 > > Download -- Open Source PHPortal Beta 0.2 Available > This summer, there is an Open Source alternative to commercial portal > servers from IBM, BEA and Sun. Check out features and code for > PHPortal, now in beta. > [FULL STORY] http://www.oetrends.com/cgi-bin/page_display.cgi?59 > > Rotor's Shared Source .NET Code Now Available for Linux > See how one Open Source developer pushed the shared source version of > Microsoft's .NET's CLI to run on Linux, and get a copy of the code. > [FULL STORY] http://www.oetrends.com/cgi-bin/page_display.cgi?57 > > Security Guru Schneier Says Insurers May Influence IT Security > Noted security expert Bruce Schneier believes insurance firms will > have more say over IT security policies. What might that mean to Open > Source projects? > [FULL STORY] http://www.oetrends.com/cgi-bin/page_display.cgi?56 > __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From zaunere at yahoo.com Tue Jul 9 15:49:24 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Tue, 9 Jul 2002 12:49:24 -0700 (PDT) Subject: TEST - Please Ignore Message-ID: <20020709194924.30231.qmail@web12806.mail.yahoo.com> Please Ignore This Test Message __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From hans at zaunere.com Tue Jul 9 16:03:44 2002 From: hans at zaunere.com (Hans Zaunere) Date: Tue, 9 Jul 2002 13:03:44 -0700 (PDT) Subject: FWD: Buggin' Message-ID: <20020709200344.32767.qmail@web12806.mail.yahoo.com> I had sent this out this morning, but sent it to nyphp.com. When I didn't see it come out on the list, I got nervous and sent a test message. Sorry folks. Blah, HZ > -------- Original Message -------- > Subject: Buggin' > From: Hans Zaunere > Date: Tue, July 9, 2002 9:27 am > To: talk at nyphp.com > > > This morning the weekly Zend newsletter came out, available at: > > http://www.zend.com/zend/week/week93.php > > Of most interest, is the last heading, PHP Bughunt. Good software is > "bug free"; excellent software is bug aware, and PHP is no different. > These bug packs are very handy, not only for the obvious reason [of > bug zapping] but also for providing a way to learn a *TON* about the > intricacies and details of PHP and Zend; and possibly uncover some > problems you've been having in your own code. > > The bug packs make it easy to focus on particular issues. I urge > people to take a look at them, and help PHP by trying to squash some > of the bugs! > > And if anyone has a CVS install let me know! (I might actually > compile one tonight for bug zapping purposes, but having diverse > platforms is always good). > > Thanks, > > HZ __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From brent at landover.com Thu Jul 11 09:05:39 2002 From: brent at landover.com (Brent Baisley) Date: Thu, 11 Jul 2002 09:05:39 -0400 Subject: Cycling through posted variables Message-ID: I'm trying to cycle through the "fields" posted through a form submit. I need to cycle through the "fields" because I won't know the names of the fields since the field name actually represents a value. I tried going through the $HTTP_POST_VARS route and $_POST. Since this is suppose to be an array, I thought I could cycle through using something like $_POST[0][1], but this doesn't seem to work. For testing, if I do $_POST["Game1"], then it works. Any ideas what I'm doing wrong or a better approach? Why do I need to do something like this? Well, I'm designing a system to handle a football pool I manage every year. This piece is for submitting a users picks for the week. I want the field name to be the Game ID and the value would be the Team ID. The picks screen uses radio buttons and the user picks the winner for each game. All games for the week (~12) are displayed at once for convenience. I'm using PHP 4.1.2 (on OSX), but can upgrade if need be. I probably should anyway. Thanks -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577 From nyphp at websapp.com Thu Jul 11 09:29:17 2002 From: nyphp at websapp.com (Daniel Kushner) Date: Thu, 11 Jul 2002 09:29:17 -0400 Subject: [nycphp-talk] Cycling through posted variables In-Reply-To: <200207111305.g6BD5MP19139@slipdisc.virul.net> Message-ID: foreach($_POST as $var => $val) { echo "The field named $var has the value $val
\ "; } -----Original Message----- From: Brent Baisley [mailto:brent at landover.com] Sent: Thursday, July 11, 2002 9:05 AM To: NYPHP Talk Subject: [nycphp-talk] Cycling through posted variables I'm trying to cycle through the "fields" posted through a form submit. I need to cycle through the "fields" because I won't know the names of the fields since the field name actually represents a value. I tried going through the $HTTP_POST_VARS route and $_POST. Since this is suppose to be an array, I thought I could cycle through using something like $_POST[0][1], but this doesn't seem to work. For testing, if I do $_POST["Game1"], then it works. Any ideas what I'm doing wrong or a better approach? Why do I need to do something like this? Well, I'm designing a system to handle a football pool I manage every year. This piece is for submitting a users picks for the week. I want the field name to be the Game ID and the value would be the Team ID. The picks screen uses radio buttons and the user picks the winner for each game. All games for the week (~12) are displayed at once for convenience. I'm using PHP 4.1.2 (on OSX), but can upgrade if need be. I probably should anyway. Thanks -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577 From tom at supertom.com Thu Jul 11 12:25:37 2002 From: tom at supertom.com (SuperTom) Date: Thu, 11 Jul 2002 09:25:37 -0700 Subject: [nycphp-talk] Cycling through posted variables In-Reply-To: <200207111305.g6BD5MP19139@slipdisc.virul.net> Message-ID: Try this: while (list($k,$v) = each($_POST)) { echo "$k: $v
"; } In your example, $k will be "Game1" and $v will be $_POST["Game1"] Good Luck, Tom -----Original Message----- From: Brent Baisley [mailto:brent at landover.com] Sent: Thursday, July 11, 2002 6:05 AM To: NYPHP Talk Subject: [nycphp-talk] Cycling through posted variables I'm trying to cycle through the "fields" posted through a form submit. I need to cycle through the "fields" because I won't know the names of the fields since the field name actually represents a value. I tried going through the $HTTP_POST_VARS route and $_POST. Since this is suppose to be an array, I thought I could cycle through using something like $_POST[0][1], but this doesn't seem to work. For testing, if I do $_POST["Game1"], then it works. Any ideas what I'm doing wrong or a better approach? Why do I need to do something like this? Well, I'm designing a system to handle a football pool I manage every year. This piece is for submitting a users picks for the week. I want the field name to be the Game ID and the value would be the Team ID. The picks screen uses radio buttons and the user picks the winner for each game. All games for the week (~12) are displayed at once for convenience. I'm using PHP 4.1.2 (on OSX), but can upgrade if need be. I probably should anyway. Thanks -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577 From zala007 at hotmail.com Thu Jul 11 09:47:50 2002 From: zala007 at hotmail.com (Anirudh Zala) Date: Thu, 11 Jul 2002 19:17:50 +0530 Subject: [nycphp-talk] Cycling through posted variables References: <200207111331.g6BDVdP19181@slipdisc.virul.net> Message-ID: Hi. This seems nice example.. but before using this function..first do check that that var is an array. i.e. if u know that sometimes this vars will not have any key-value sometimes.. then...before using foreach..check whether this is array ot not..else it will giv error of "invalid arguments in for each loop" or similar... Thanks Anirudh Zala ----- Original Message ----- From: "Daniel Kushner" To: "NYPHP Talk" Sent: Thursday, July 11, 2002 7:01 PM Subject: RE: [nycphp-talk] Cycling through posted variables > foreach($_POST as $var => $val) { > echo "The field named $var has the value $val
\ "; > } > > -----Original Message----- > From: Brent Baisley [mailto:brent at landover.com] > Sent: Thursday, July 11, 2002 9:05 AM > To: NYPHP Talk > Subject: [nycphp-talk] Cycling through posted variables > > > I'm trying to cycle through the "fields" posted through a form submit. I > need to cycle through the "fields" because I won't know the names of the > fields since the field name actually represents a value. I tried going > through the $HTTP_POST_VARS route and $_POST. Since this is suppose to be an > array, I thought I could cycle through using something like $_POST[0][1], > but this doesn't seem to work. > For testing, if I do $_POST["Game1"], then it works. Any ideas what I'm > doing wrong or a better approach? > > Why do I need to do something like this? Well, I'm designing a system to > handle a football pool I manage every year. This piece is for submitting a > users picks for the week. I want the field name to be the Game ID and the > value would be the Team ID. The picks screen uses radio buttons and the user > picks the winner for each game. All games for the week (~12) are displayed > at once for convenience. > > I'm using PHP 4.1.2 (on OSX), but can upgrade if need be. I probably should > anyway. > > Thanks > -- > Brent Baisley > Systems Architect > Landover Associates, Inc. > Search & Advisory Services for Advanced Technology Environments > p: 212.759.6400/800.759.0577 > From beef at interport.net Thu Jul 11 10:04:57 2002 From: beef at interport.net (Wellington Fan) Date: Thu, 11 Jul 2002 10:04:57 -0400 Subject: [nycphp-talk] Cycling through posted variables In-Reply-To: <200207111348.g6BDmoP19230@slipdisc.virul.net> Message-ID: Howdy, This is quick-and-dirty code that I've used: /*********************************************************/ foreach( $_POST as $k => $v ) { if( is_array($v) ) { echo '
'.$k.' [Array]:
'; foreach($v as $t1 => $t2 ) { echo sprintf("%40s : %s\ ",'['.$t1.']',$t2); } } else { echo sprintf("%20s : %s\ ",$k,$v); } } /*********************************************************/ It would be better & more elegant if it called a funtion that would recurse, spitting out arrays of arrays of arrays .... etc. Something like: function printVals( thing ) global indent if thing is scalar { print indent thing return } else if thing is array { print "ARRAY" indent++ foreach( thing as subthing ) printVals( subthing ) indent-- } return } -- Wellington >> I'm trying to cycle through the "fields" posted through a form submit. I From nyphp at websapp.com Thu Jul 11 10:06:29 2002 From: nyphp at websapp.com (Daniel Kushner) Date: Thu, 11 Jul 2002 10:06:29 -0400 Subject: [nycphp-talk] Cycling through posted variables In-Reply-To: <200207111348.g6BDmoP19230@slipdisc.virul.net> Message-ID: $_POST should be an array - not $var ! -----Original Message----- From: Anirudh Zala [mailto:zala007 at hotmail.com] Sent: Thursday, July 11, 2002 9:49 AM To: NYPHP Talk Subject: Re: [nycphp-talk] Cycling through posted variables Hi. This seems nice example.. but before using this function..first do check that that var is an array. i.e. if u know that sometimes this vars will not have any key-value sometimes.. then...before using foreach..check whether this is array ot not..else it will giv error of "invalid arguments in for each loop" or similar... Thanks Anirudh Zala ----- Original Message ----- From: "Daniel Kushner" To: "NYPHP Talk" Sent: Thursday, July 11, 2002 7:01 PM Subject: RE: [nycphp-talk] Cycling through posted variables > foreach($_POST as $var => $val) { > echo "The field named $var has the value $val
\ "; > } > > -----Original Message----- > From: Brent Baisley [mailto:brent at landover.com] > Sent: Thursday, July 11, 2002 9:05 AM > To: NYPHP Talk > Subject: [nycphp-talk] Cycling through posted variables > > > I'm trying to cycle through the "fields" posted through a form submit. I > need to cycle through the "fields" because I won't know the names of the > fields since the field name actually represents a value. I tried going > through the $HTTP_POST_VARS route and $_POST. Since this is suppose to be an > array, I thought I could cycle through using something like $_POST[0][1], > but this doesn't seem to work. > For testing, if I do $_POST["Game1"], then it works. Any ideas what I'm > doing wrong or a better approach? > > Why do I need to do something like this? Well, I'm designing a system to > handle a football pool I manage every year. This piece is for submitting a > users picks for the week. I want the field name to be the Game ID and the > value would be the Team ID. The picks screen uses radio buttons and the user > picks the winner for each game. All games for the week (~12) are displayed > at once for convenience. > > I'm using PHP 4.1.2 (on OSX), but can upgrade if need be. I probably should > anyway. > > Thanks > -- > Brent Baisley > Systems Architect > Landover Associates, Inc. > Search & Advisory Services for Advanced Technology Environments > p: 212.759.6400/800.759.0577 > From zala007 at hotmail.com Thu Jul 11 10:12:09 2002 From: zala007 at hotmail.com (Anirudh Zala) Date: Thu, 11 Jul 2002 19:42:09 +0530 Subject: [nycphp-talk] Cycling through posted variables References: <200207111331.g6BDVdP19181@slipdisc.virul.net> Message-ID: Hi all.. A am Anirudh Zala..just joined, your NYpHp group. A am working in a software export company in INDIA called Globalwebwise..We provide ..various type of web based solutions using LAMP+ tech.. AMP all u know..so "L" stands for Linux and "+" means we also use XML and Perl to enhance power of this tech.. We r in this field since last 2 years..and we export softwares across Europe..specially Finland and UK..and other countries.. I know all of you are familiar with above tech.. I have found that this group is working nice and there r lots of developers and beginners have joined this group.. This tech..is growing at fastest rate..and been very popular among developers...though this tech... is new but very efficient and porvides flexible solutions to..all customers..according to their requirement. But latest developing in LAMP is WAP pHp which going to be popular soon.. Also best luck to all...developer..If u have any query or problems do ask me..i will surely answer or help if possible.. Well ending up here..do remember 1 thing that in this field "Only those who see the invisible can do the impossible" Thanks, Your sincerely, Anirudh Zala India From brent at landover.com Thu Jul 11 10:39:47 2002 From: brent at landover.com (Brent Baisley) Date: Thu, 11 Jul 2002 10:39:47 -0400 Subject: [nycphp-talk] Cycling through posted variables In-Reply-To: <200207111331.g6BDVdP19181@slipdisc.virul.net> Message-ID: Thanks, I know that works. I should have been clearer. I actually only want to cycle through some of the fields, not all. For instance, other fields that are posted are the player ID, Week ID, and number of Games. So I really want to just grab a subset of all the posted fields, the subset being the first (or last) x fields, x being the number of games. I know I could use the loop below with an incrementing variable and an exit, but I just feel that I'm missing something more elegant. > foreach($_POST as $var => $val) { > echo "The field named $var has the value $val
\ "; > } > > -----Original Message----- > From: Brent Baisley [mailto:brent at landover.com] > Sent: Thursday, July 11, 2002 9:05 AM > To: NYPHP Talk > Subject: [nycphp-talk] Cycling through posted variables > > I'm trying to cycle through the "fields" posted through a form submit. I > need to cycle through the "fields" because I won't know the names of the > fields since the field name actually represents a value. I tried going > through the $HTTP_POST_VARS route and $_POST. Since this is suppose to be an > array, I thought I could cycle through using something like $_POST[0][1], > but this doesn't seem to work. > For testing, if I do $_POST["Game1"], then it works. Any ideas what I'm > doing wrong or a better approach? > > Why do I need to do something like this? Well, I'm designing a system to > handle a football pool I manage every year. This piece is for submitting a > users picks for the week. I want the field name to be the Game ID and the > value would be the Team ID. The picks screen uses radio buttons and the user > picks the winner for each game. All games for the week (~12) are displayed > at once for convenience. > > I'm using PHP 4.1.2 (on OSX), but can upgrade if need be. I probably should > anyway. > > Thanks > -- > Brent Baisley > Systems Architect > Landover Associates, Inc. > Search & Advisory Services for Advanced Technology Environments > p: 212.759.6400/800.759.0577 > -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577 From oktay at optonline.net Thu Jul 11 10:52:12 2002 From: oktay at optonline.net (Oktay Altunergil) Date: Thu, 11 Jul 2002 10:52:12 -0400 Subject: [nycphp-talk] Cycling through posted variables In-Reply-To: <200207111439.g6BEdTP19347@slipdisc.virul.net> References: <200207111439.g6BEdTP19347@slipdisc.virul.net> Message-ID: <20020711105212.35bbabd8.oktay@optonline.net> Are you generating those variable names on the fly while drawing the form ? You might be able to get the variables in an array.. Try the following.. let's say you're working on game 13 and 45.. name your radio buttons (each set of them I per game) as name=game[13] ... ... name=game[45] WHen this is submitted, you can just traverse the 'game' array which will have game id as the index and the value being the user's pick for that particular game. Obviously you can automate the creation of the form by using a variable as the index.. (name=game[$current_id]) Good luck. Oktay Altunergil PS: completely untested (not that there's code in the message.. but anyway :P ) On Thu, 11 Jul 2002 10:39:29 -0400 Brent Baisley wrote: > Thanks, I know that works. I should have been clearer. I actually only want > to cycle through some of the fields, not all. For instance, other fields > that are posted are the player ID, Week ID, and number of Games. > > So I really want to just grab a subset of all the posted fields, the subset > being the first (or last) x fields, x being the number of games. I know I > could use the loop below with an incrementing variable and an exit, but I > just feel that I'm missing something more elegant. > > > foreach($_POST as $var => $val) { > > echo "The field named $var has the value $val
\ "; > > } > > > > -----Original Message----- > > From: Brent Baisley [mailto:brent at landover.com] > > Sent: Thursday, July 11, 2002 9:05 AM > > To: NYPHP Talk > > Subject: [nycphp-talk] Cycling through posted variables > > > > I'm trying to cycle through the "fields" posted through a form submit. I > > need to cycle through the "fields" because I won't know the names of the > > fields since the field name actually represents a value. I tried going > > through the $HTTP_POST_VARS route and $_POST. Since this is suppose to be an > > array, I thought I could cycle through using something like $_POST[0][1], > > but this doesn't seem to work. > > For testing, if I do $_POST["Game1"], then it works. Any ideas what I'm > > doing wrong or a better approach? > > > > Why do I need to do something like this? Well, I'm designing a system to > > handle a football pool I manage every year. This piece is for submitting a > > users picks for the week. I want the field name to be the Game ID and the > > value would be the Team ID. The picks screen uses radio buttons and the user > > picks the winner for each game. All games for the week (~12) are displayed > > at once for convenience. > > > > I'm using PHP 4.1.2 (on OSX), but can upgrade if need be. I probably should > > anyway. > > > > Thanks > > -- > > Brent Baisley > > Systems Architect > > Landover Associates, Inc. > > Search & Advisory Services for Advanced Technology Environments > > p: 212.759.6400/800.759.0577 > > > > -- > Brent Baisley > Systems Architect > Landover Associates, Inc. > Search & Advisory Services for Advanced Technology Environments > p: 212.759.6400/800.759.0577 > > From nyphp at altunergil.com Thu Jul 11 11:03:39 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 11 Jul 2002 11:03:39 -0400 Subject: [nycphp-talk] Cycling through posted variables In-Reply-To: <200207111439.g6BEdTP19347@slipdisc.virul.net> References: <200207111439.g6BEdTP19347@slipdisc.virul.net> Message-ID: <20020711110339.05fdc9d6.nyphp@altunergil.com> Are you generating those variable names on the fly while drawing the form ? You might be able to get the variables in an array.. Try the following.. let's say you're working on game 13 and 45.. name your radio buttons (each set of them I per game) as name=game[13] ... ... name=game[45] WHen this is submitted, you can just traverse the 'game' array which will have game id as the index and the value being the user's pick for that particular game. Obviously you can automate the creation of the form by using a variable as the index.. (name=game[$current_id]) Good luck. Oktay Altunergil PS: completely untested (not that there's code in the message.. but anyway :P ) On Thu, 11 Jul 2002 10:39:29 -0400 Brent Baisley wrote: > Thanks, I know that works. I should have been clearer. I actually only want > to cycle through some of the fields, not all. For instance, other fields > that are posted are the player ID, Week ID, and number of Games. > > So I really want to just grab a subset of all the posted fields, the subset > being the first (or last) x fields, x being the number of games. I know I > could use the loop below with an incrementing variable and an exit, but I > just feel that I'm missing something more elegant. > > > foreach($_POST as $var => $val) { > > echo "The field named $var has the value $val
\ "; > > } > > > > -----Original Message----- > > From: Brent Baisley [mailto:brent at landover.com] > > Sent: Thursday, July 11, 2002 9:05 AM > > To: NYPHP Talk > > Subject: [nycphp-talk] Cycling through posted variables > > > > I'm trying to cycle through the "fields" posted through a form submit. I > > need to cycle through the "fields" because I won't know the names of the > > fields since the field name actually represents a value. I tried going > > through the $HTTP_POST_VARS route and $_POST. Since this is suppose to be an > > array, I thought I could cycle through using something like $_POST[0][1], > > but this doesn't seem to work. > > For testing, if I do $_POST["Game1"], then it works. Any ideas what I'm > > doing wrong or a better approach? > > > > Why do I need to do something like this? Well, I'm designing a system to > > handle a football pool I manage every year. This piece is for submitting a > > users picks for the week. I want the field name to be the Game ID and the > > value would be the Team ID. The picks screen uses radio buttons and the user > > picks the winner for each game. All games for the week (~12) are displayed > > at once for convenience. > > > > I'm using PHP 4.1.2 (on OSX), but can upgrade if need be. I probably should > > anyway. > > > > Thanks > > -- > > Brent Baisley > > Systems Architect > > Landover Associates, Inc. > > Search & Advisory Services for Advanced Technology Environments > > p: 212.759.6400/800.759.0577 > > > > -- > Brent Baisley > Systems Architect > Landover Associates, Inc. > Search & Advisory Services for Advanced Technology Environments > p: 212.759.6400/800.759.0577 > > From brent at landover.com Thu Jul 11 11:35:56 2002 From: brent at landover.com (Brent Baisley) Date: Thu, 11 Jul 2002 11:35:56 -0400 Subject: [nycphp-talk] Cycling through posted variables In-Reply-To: <200207111503.g6BF3iP19401@slipdisc.virul.net> Message-ID: Thanks. Actually I was just about to go on that train of thought based on some reading I was doing. The variable names are generated on the fly. I think your suggestion may work. ...and I just tried it and it does. Thanks! > Are you generating those variable names on the fly while drawing the form ? > > You might be able to get the variables in an array.. Try the following.. > > let's say you're working on game 13 and 45.. name your radio buttons (each set > of them I per game) as > > name=game[13] > .. > .. > name=game[45] > > WHen this is submitted, you can just traverse the 'game' array which will have > game id as the index and the value being the user's pick for that particular > game. Obviously you can automate the creation of the form by using a variable > as the index.. (name=game[$current_id]) > > Good luck. > > Oktay Altunergil > > PS: completely untested (not that there's code in the message.. but anyway :P > ) > > On Thu, 11 Jul 2002 10:39:29 -0400 > Brent Baisley wrote: > >> Thanks, I know that works. I should have been clearer. I actually only want >> to cycle through some of the fields, not all. For instance, other fields >> that are posted are the player ID, Week ID, and number of Games. >> >> So I really want to just grab a subset of all the posted fields, the subset >> being the first (or last) x fields, x being the number of games. I know I >> could use the loop below with an incrementing variable and an exit, but I >> just feel that I'm missing something more elegant. >> >>> foreach($_POST as $var => $val) { >>> echo "The field named $var has the value $val
\ "; >>> } >>> >>> -----Original Message----- >>> From: Brent Baisley [mailto:brent at landover.com] >>> Sent: Thursday, July 11, 2002 9:05 AM >>> To: NYPHP Talk >>> Subject: [nycphp-talk] Cycling through posted variables >>> >>> I'm trying to cycle through the "fields" posted through a form submit. I >>> need to cycle through the "fields" because I won't know the names of the >>> fields since the field name actually represents a value. I tried going >>> through the $HTTP_POST_VARS route and $_POST. Since this is suppose to be an >>> array, I thought I could cycle through using something like $_POST[0][1], >>> but this doesn't seem to work. >>> For testing, if I do $_POST["Game1"], then it works. Any ideas what I'm >>> doing wrong or a better approach? >>> >>> Why do I need to do something like this? Well, I'm designing a system to >>> handle a football pool I manage every year. This piece is for submitting a >>> users picks for the week. I want the field name to be the Game ID and the >>> value would be the Team ID. The picks screen uses radio buttons and the user >>> picks the winner for each game. All games for the week (~12) are displayed >>> at once for convenience. >>> >>> I'm using PHP 4.1.2 (on OSX), but can upgrade if need be. I probably should >>> anyway. >>> >>> Thanks >>> -- >>> Brent Baisley >>> Systems Architect >>> Landover Associates, Inc. >>> Search & Advisory Services for Advanced Technology Environments >>> p: 212.759.6400/800.759.0577 >>> >> >> -- >> Brent Baisley >> Systems Architect >> Landover Associates, Inc. >> Search & Advisory Services for Advanced Technology Environments >> p: 212.759.6400/800.759.0577 >> >> > -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577 From zaunere at yahoo.com Thu Jul 11 11:49:27 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 11 Jul 2002 08:49:27 -0700 (PDT) Subject: Lame HTML Question Message-ID: <20020711154927.82967.qmail@web12805.mail.yahoo.com> Is it possible to specify a color for a table's border? If so, could someone give a quick example. OK, shoot me, HZ __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From nyphp at altunergil.com Thu Jul 11 11:55:08 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 11 Jul 2002 11:55:08 -0400 Subject: [nycphp-talk] Lame HTML Question In-Reply-To: <200207111549.g6BFnWP19540@slipdisc.virul.net> References: <200207111549.g6BFnWP19540@slipdisc.virul.net> Message-ID: <20020711115508.586f031c.nyphp@altunergil.com> http://www.w3schools.com/css/pr_border-color.asp I don't believe all browsers support this. Oktay On Thu, 11 Jul 2002 11:49:32 -0400 Hans Zaunere wrote: > > Is it possible to specify a color for a table's border? If so, could > someone give a quick example. > > OK, shoot me, > > HZ > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com > From Arno.Vanmosel at wwecorp.com Thu Jul 11 12:01:19 2002 From: Arno.Vanmosel at wwecorp.com (Arno Vanmosel) Date: Thu, 11 Jul 2002 12:01:19 -0400 Subject: [nycphp-talk] Lame HTML Question Message-ID: <7101D732D17CD311AEFF00508B55857203F72870@NT-EXCH-TOWER2> only in Internet Explorer bordercolor="#000000" <-- black border more advanced method: bordercolorlight="#000000" bordercolordark="#000000" bordercolor="#000000" laters, Arno -----Original Message----- From: Hans Zaunere [mailto:zaunere at yahoo.com] Sent: Thursday, July 11, 2002 11:50 AM To: NYPHP Talk Subject: [nycphp-talk] Lame HTML Question Is it possible to specify a color for a table's border? If so, could someone give a quick example. OK, shoot me, HZ __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kayraotaner at yahoo.com Thu Jul 11 11:56:53 2002 From: kayraotaner at yahoo.com (Kayra Otaner) Date: Thu, 11 Jul 2002 08:56:53 -0700 (PDT) Subject: [nycphp-talk] Lame HTML Question In-Reply-To: <200207111549.g6BFnWP19540@slipdisc.virul.net> Message-ID: <20020711155653.582.qmail@web10106.mail.yahoo.com> --- Hans Zaunere wrote: > > Is it possible to specify a color for a table's border? If so, could > someone give a quick example. > > OK, shoot me, > > HZ > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com > __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From zala007 at hotmail.com Thu Jul 11 11:56:30 2002 From: zala007 at hotmail.com (Anirudh Zala) Date: Thu, 11 Jul 2002 21:26:30 +0530 Subject: [nycphp-talk] Lame HTML Question References: <200207111549.g6BFnWP19540@slipdisc.virul.net> Message-ID: Lol
here #000000 is RGB value of colors.. u can pick anyone very simple..hans.. Thanks Anirudh Zala ----- Original Message ----- From: Hans Zaunere To: NYPHP Talk Sent: Thursday, July 11, 2002 9:19 PM Subject: [nycphp-talk] Lame HTML Question > > Is it possible to specify a color for a table's border? If so, could > someone give a quick example. > > OK, shoot me, > > HZ > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com > > From jim at alliedtours.com Thu Jul 11 12:01:08 2002 From: jim at alliedtours.com (Jim Suto) Date: Thu, 11 Jul 2002 12:01:08 -0400 Subject: 802.11a and linux In-Reply-To: <200207111535.g6BFZeP19503@slipdisc.virul.net> Message-ID: Does anyone have experience with 802.11a wireless products with Linux, as to which brands are most compatible and offer best performance? Is the Linksys WAP54A access point and the corresponding PCMCIA card a good choice? thanks, Jim From mgold1 at gc.cuny.edu Thu Jul 11 11:55:57 2002 From: mgold1 at gc.cuny.edu (Matthew K. Gold) Date: Thu, 11 Jul 2002 11:55:57 -0400 Subject: [nycphp-talk] Lame HTML Question References: <200207111549.g6BFnWP19540@slipdisc.virul.net> Message-ID: <011f01c228f3$7953e360$c4c1d63f@oemcomputer>
(or whatever color) --however, read this for issues of compatability: http://www.idocs.com/tags/tables/_TABLE_BORDERCOLOR.html Matt ----- Original Message ----- From: Hans Zaunere To: NYPHP Talk Sent: Thursday, July 11, 2002 11:49 AM Subject: [nycphp-talk] Lame HTML Question > > Is it possible to specify a color for a table's border? If so, could > someone give a quick example. > > OK, shoot me, > > HZ > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com From nyphp at altunergil.com Thu Jul 11 12:00:34 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 11 Jul 2002 12:00:34 -0400 Subject: [nycphp-talk] 802.11a and linux In-Reply-To: <200207111557.g6BFvjP19609@slipdisc.virul.net> References: <200207111557.g6BFvjP19609@slipdisc.virul.net> Message-ID: <20020711120034.6ba61077.nyphp@altunergil.com> I'd try the nycwireless list (nycwireless.net) oktay On Thu, 11 Jul 2002 11:57:45 -0400 Jim Suto wrote: > Does anyone have experience with 802.11a wireless products with Linux, as to > which brands are most compatible and offer best performance? Is the Linksys > WAP54A access point and the corresponding PCMCIA card a good choice? > > thanks, > Jim > > > From eliot.shepard at the451.com Thu Jul 11 12:01:07 2002 From: eliot.shepard at the451.com (Eliot Shepard) Date: Thu, 11 Jul 2002 12:01:07 -0400 Subject: [nycphp-talk] Lame HTML Question References: <200207111549.g6BFnWP19540@slipdisc.virul.net> Message-ID: <007501c228f4$2b6907b0$2201a8c0@nyc.the451.com> According to the MSDN IE DOM reference: http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/bor dercolor_1.asp The attribute is BORDERCOLOR.
General URL for this reference: http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml /reference/dhtmlrefs.asp?frame=true Incidentally, a good trick for a colored border is to use a cellspacing > 0 and a tablewide bgcolor. Then set the rows to white (or whatever.)
...
I use this effect a lot in my apps. Eliot ----- Original Message ----- From: "Hans Zaunere" To: "NYPHP Talk" Sent: Thursday, July 11, 2002 11:49 AM Subject: [nycphp-talk] Lame HTML Question > > Is it possible to specify a color for a table's border? If so, could > someone give a quick example. > > OK, shoot me, > > HZ > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com From zala007 at hotmail.com Thu Jul 11 12:10:55 2002 From: zala007 at hotmail.com (Anirudh Zala) Date: Thu, 11 Jul 2002 21:40:55 +0530 Subject: [nycphp-talk] Lame HTML Question References: <200207111601.g6BG1AP19655@slipdisc.virul.net> Message-ID: Hey all Don't worry hans is just testing us.. :) Thanks Airudh Zala ----- Original Message ----- From: Eliot Shepard To: NYPHP Talk Sent: Thursday, July 11, 2002 9:31 PM Subject: Re: [nycphp-talk] Lame HTML Question > According to the MSDN IE DOM reference: > > http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/bor > dercolor_1.asp > > The attribute is BORDERCOLOR. > > > > General URL for this reference: > > http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml > /reference/dhtmlrefs.asp?frame=true > > Incidentally, a good trick for a colored border is to use a cellspacing > > 0 and a tablewide bgcolor. Then set the rows to white (or whatever.) > >
> > ... > >
> > I use this effect a lot in my apps. > > Eliot > > ----- Original Message ----- > From: "Hans Zaunere" > To: "NYPHP Talk" > Sent: Thursday, July 11, 2002 11:49 AM > Subject: [nycphp-talk] Lame HTML Question > > > > > > Is it possible to specify a color for a table's border? If so, could > > someone give a quick example. > > > > OK, shoot me, > > > > HZ > > > > __________________________________________________ > > Do You Yahoo!? > > Sign up for SBC Yahoo! Dial - First Month Free > > http://sbc.yahoo.com > From zaunere at yahoo.com Thu Jul 11 12:16:37 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 11 Jul 2002 09:16:37 -0700 (PDT) Subject: [nycphp-talk] 802.11a and linux In-Reply-To: <200207111557.g6BFvjP19609@slipdisc.virul.net> Message-ID: <20020711161637.84408.qmail@web12804.mail.yahoo.com> --- Jim Suto wrote: > Does anyone have experience with 802.11a wireless products with > Linux, as to > which brands are most compatible and offer best performance? About two years ago I did. I've worked mostly with Lucent and D-Link cards. Lucent (at that time anyway) was the best - D-Link worked, was a little fineky, but you couldn't beat the price. > Is the Linksys WAP54A access point and the corresponding PCMCIA > card a good choice? Can't tell you from direct expierence, but I've always liked Linksys. However, I think I would stay away from Cisco (if they even have a card for Linux). http://www.tldp.org/HOWTO/Wireless-HOWTO.html <-- howto (duh) http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/ (writes the drivers) http://nycwireless.net <-- very in the know By the way, thanks for the HTML help - working well! HZ __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From thegeek at thecolorgeek.com Thu Jul 11 12:24:48 2002 From: thegeek at thecolorgeek.com (The Geek) Date: Thu, 11 Jul 2002 12:24:48 -0400 Subject: [nycphp-talk] 802.11a and linux In-Reply-To: <200207111557.g6BFvjP19609@slipdisc.virul.net> Message-ID: Only used Mac airport and there base on YDL. Works fine set up probably similar since I think all the hardware is basically the same Lucent cards if I remember correctly. On Thursday, July 11, 2002, at 11:57 AM, Jim Suto wrote: > Does anyone have experience with 802.11a wireless products with Linux, > as to > which brands are most compatible and offer best performance? Is the > Linksys > WAP54A access point and the corresponding PCMCIA card a good choice? > > thanks, > Jim > > From nyphp at altunergil.com Thu Jul 11 12:31:33 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 11 Jul 2002 12:31:33 -0400 Subject: [nycphp-talk] 802.11a and linux In-Reply-To: <200207111624.g6BGOuP19760@slipdisc.virul.net> References: <200207111624.g6BGOuP19760@slipdisc.virul.net> Message-ID: <20020711123133.2ec9a871.nyphp@altunergil.com> You guys talking about 802.11a or 802.11b ? oktay On Thu, 11 Jul 2002 12:24:56 -0400 The Geek wrote: > Only used Mac airport and there base on YDL. Works fine set up probably > similar since I think all the hardware is basically the same Lucent > cards if I remember correctly. > > On Thursday, July 11, 2002, at 11:57 AM, Jim Suto wrote: > > > Does anyone have experience with 802.11a wireless products with Linux, > > as to > > which brands are most compatible and offer best performance? Is the > > Linksys > > WAP54A access point and the corresponding PCMCIA card a good choice? > > > > thanks, > > Jim > > > > > > From tomatdolemite at hotmail.com Thu Jul 11 12:36:36 2002 From: tomatdolemite at hotmail.com (Tom O'Neill) Date: Thu, 11 Jul 2002 11:36:36 -0500 Subject: [nycphp-talk] Lame HTML Question References: <200207111549.g6BFnWP19540@slipdisc.virul.net> Message-ID: I find the information at this site very helpful.... http://www.htmlhelp.com/ ----- Original Message ----- From: "Hans Zaunere" To: "NYPHP Talk" Sent: Thursday, July 11, 2002 10:49 AM Subject: [nycphp-talk] Lame HTML Question > > Is it possible to specify a color for a table's border? If so, could > someone give a quick example. > > OK, shoot me, > > HZ > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com > From jim at alliedtours.com Thu Jul 11 12:38:41 2002 From: jim at alliedtours.com (Jim Suto) Date: Thu, 11 Jul 2002 12:38:41 -0400 Subject: [nycphp-talk] 802.11a and linux In-Reply-To: <200207111631.g6BGVjP19793@slipdisc.virul.net> Message-ID: Oktay, You are correct, I was asking about .11a but I think most answers were about .11b. The .11a is the faster 54Mbps protocol that works in the 5Ghz range. regards, Jim > -----Original Message----- > From: Oktay Altunergil [mailto:nyphp at altunergil.com] > Sent: Thursday, July 11, 2002 12:32 PM > To: NYPHP Talk > Subject: Re: [nycphp-talk] 802.11a and linux > > > > You guys talking about 802.11a or 802.11b ? > > oktay > > On Thu, 11 Jul 2002 12:24:56 -0400 > The Geek wrote: > > > Only used Mac airport and there base on YDL. Works fine set up > probably > > similar since I think all the hardware is basically the same Lucent > > cards if I remember correctly. > > > > On Thursday, July 11, 2002, at 11:57 AM, Jim Suto wrote: > > > > > Does anyone have experience with 802.11a wireless products > with Linux, > > > as to > > > which brands are most compatible and offer best performance? Is the > > > Linksys > > > WAP54A access point and the corresponding PCMCIA card a good choice? > > > > > > thanks, > > > Jim > > > > > > > > > > > From dkrook at hotmail.com Thu Jul 11 15:23:22 2002 From: dkrook at hotmail.com (D C Krook) Date: Thu, 11 Jul 2002 15:23:22 -0400 Subject: [nycphp-talk] Lame HTML Question Message-ID: Hans, Just one more comment on the colored table question. Here is a sample of some nice effects for calendars I got from the 1px cellspacing and bg color idea that was mentioned. Feel free to gank the source: http://civet.net/rdh/calendar.asp http://www.megacitiesproject.org/calendar.asp -Dan _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From jhise at linuxforbusiness.org Thu Jul 11 15:47:03 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 11 Jul 2002 15:47:03 -0400 Subject: PHP Executing Twice Message-ID: <1026416825.3205.6.camel@localhost.localdomain> Hi: I've got a PHP script that seems to be executing twice. The page basically does the following: 1) Accept FORM vars from posting page 2) Checks to see if a any records already contain the value posted 3) If not, send that value to a stored procedure that inserts it 4) If so, alert the user and bail However, when I call this page, I get the results from #4. Even though the value doesn't exist in the database. If I exit after #2 and before # 3, it tells me that #3 should fire. But #4 does...which would indicate that the code is executing twice...which just seems ridiculous to me. As a side note, the machine that is running this has a history of odd behavior including: 1) PHP randomly stops rendering HTML 2) Random/garbage Oracle output If any of you have any ideas about the weird double execution, please let me know. Thanks, Jeremy From ssmith at tomega.com Thu Jul 11 16:11:37 2002 From: ssmith at tomega.com (Sean Smith) Date: Thu, 11 Jul 2002 16:11:37 -0400 Subject: [nycphp-talk] Lame HTML Question References: <200207111923.g6BJNWP20254@slipdisc.virul.net> Message-ID: <3D2DE679.9C35E8CE@tomega.com> There's a word I haven't seen since middle school. Gank. It is a very good word in that context though. LOL -------------- next part -------------- A non-text attachment was scrubbed... Name: ssmith.vcf Type: text/x-vcard Size: 316 bytes Desc: Card for Sean Smith URL: From ssmith at tomega.com Thu Jul 11 16:14:36 2002 From: ssmith at tomega.com (Sean Smith) Date: Thu, 11 Jul 2002 16:14:36 -0400 Subject: [nycphp-talk] PHP Executing Twice References: <200207111947.g6BJl8P20310@slipdisc.virul.net> Message-ID: <3D2DE72C.2BC49D8@tomega.com> About the double execution. I've done this several times in the past. If after #3 executes and you want it to stop you must specify "exit;" in order to stop further execution. Without seeing the code you are using it can't be determined whether you are using it or not. If you are sorry, if not give it a try. -------------- next part -------------- A non-text attachment was scrubbed... Name: ssmith.vcf Type: text/x-vcard Size: 316 bytes Desc: Card for Sean Smith URL: From jhise at linuxforbusiness.org Thu Jul 11 16:32:52 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 11 Jul 2002 16:32:52 -0400 Subject: [nycphp-talk] PHP Executing Twice In-Reply-To: <200207112014.g6BKEfP20381@slipdisc.virul.net> References: <200207112014.g6BKEfP20381@slipdisc.virul.net> Message-ID: <1026419574.3203.16.camel@localhost.localdomain> Actually, I have my 3 and 4 reversed. I know it's not that. I was just wondering if any of you have seen such sporadic behavior. Thanks, Jeremy On Thu, 2002-07-11 at 16:14, Sean Smith wrote: > This message contained 1 file(s) and is available at http://nyphp.org/list/paralist_archive.html?L_mid=627 > > About the double execution. I've done this several times in the past. If > after #3 executes and you want it to stop you must specify "exit;" in > order to stop further execution. Without seeing the code you are using > it can't be determined whether you are using it or not. If you are > sorry, if not give it a try. > > > > From beef at interport.net Thu Jul 11 17:13:10 2002 From: beef at interport.net (Wellington Fan) Date: Thu, 11 Jul 2002 17:13:10 -0400 Subject: Gank? In-Reply-To: <200207111923.g6BJNWP20254@slipdisc.virul.net> Message-ID: Maybe off-topic, but I hafta know: What is "gank"? >Here is a sample of some nice effects for calendars I got from the 1px >cellspacing and bg color idea that was mentioned. Feel free to gank the >source: > From dev at thebinarylab.com Thu Jul 11 17:23:53 2002 From: dev at thebinarylab.com (John Ensign) Date: Thu, 11 Jul 2002 15:23:53 -0600 Subject: OT: php easter egg.... In-Reply-To: <200207112032.g6BKWvP20456@slipdisc.virul.net> Message-ID: Appending the following url parameter to any .php file processed by php 4.01 and later gives you a ns little easter egg.. very attractive i must say! ?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 enjoy! John Ensign Programmer t: 303.839.5292 The Binary Lab inc. _ _ _ _ _ /_///| //_//_|\\/_ / /_/ /_/ Denver, CO /_/// |// // | / /_ / / /_/ www.thebinarylab.com From nyphp at altunergil.com Thu Jul 11 17:37:24 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 11 Jul 2002 17:37:24 -0400 Subject: [nycphp-talk] OT: php easter egg.... In-Reply-To: <200207112118.g6BLIBP20582@slipdisc.virul.net> References: <200207112118.g6BLIBP20582@slipdisc.virul.net> Message-ID: <20020711173724.66719dd9.nyphp@altunergil.com> That's what the php logo on phpinfo() changes to on April Fool's day. Oktay On Thu, 11 Jul 2002 17:18:11 -0400 John Ensign wrote: > Appending the following url parameter to any .php file processed by php 4.01 > and later gives you a ns little easter egg.. > very attractive i must say! > > ?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 > > enjoy! > > John Ensign > Programmer > t: 303.839.5292 > The Binary Lab inc. > > _ _ _ _ _ > /_///| //_//_|\\/_ / /_/ /_/ Denver, CO > /_/// |// // | / /_ / / /_/ www.thebinarylab.com > > From ssmith at tomega.com Thu Jul 11 17:43:39 2002 From: ssmith at tomega.com (Sean Smith) Date: Thu, 11 Jul 2002 17:43:39 -0400 Subject: [nycphp-talk] Gank? References: <200207112115.g6BLFLP20568@slipdisc.virul.net> Message-ID: <3D2DFC0B.D7EF0C09@tomega.com> Gank : to take, acquire, use, or obtain. It in no way means or is intended to mean steal. LOL. -------------- next part -------------- A non-text attachment was scrubbed... Name: ssmith.vcf Type: text/x-vcard Size: 316 bytes Desc: Card for Sean Smith URL: From zaunere at yahoo.com Thu Jul 11 19:04:03 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 11 Jul 2002 16:04:03 -0700 (PDT) Subject: [nycphp-talk] PHP Executing Twice In-Reply-To: <200207111947.g6BJl8P20310@slipdisc.virul.net> Message-ID: <20020711230403.4867.qmail@web12803.mail.yahoo.com> --- Jeremy Hise wrote: > Hi: > > I've got a PHP script that seems to be executing twice. > > The page basically does the following: > > 1) Accept FORM vars from posting page > 2) Checks to see if a any records already contain the value posted > 3) If not, send that value to a stored procedure that inserts it > 4) If so, alert the user and bail > > However, when I call this page, I get the results from #4. Even > though > the value doesn't exist in the database. If I exit after #2 and > before # > 3, it tells me that #3 should fire. But #4 does...which would > indicate > that the code is executing twice...which just seems ridiculous to me. Check that you're breaking out of nested loops properly and have explicit elses/breaks where needed extra - watch for the waterfall/fall-through effect. > > As a side note, the machine that is running this has a history of odd > behavior including: > > 1) PHP randomly stops rendering HTML > 2) Random/garbage Oracle output Versions/platform? I've seen wierd behavior with OCI, mostly with persistent connections, so that might be something to play around with. Also I've seen PHP get confused with recursive includes/requires (mostly on 4.0.6). Hans Z. __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From zaunere at yahoo.com Thu Jul 11 19:07:04 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 11 Jul 2002 16:07:04 -0700 (PDT) Subject: [nycphp-talk] Lame HTML Question In-Reply-To: <200207111923.g6BJNWP20254@slipdisc.virul.net> Message-ID: <20020711230704.5203.qmail@web12803.mail.yahoo.com> --- D C Krook wrote: > cellspacing and bg color idea that was mentioned. Feel free to gank > the source: > > http://civet.net/rdh/calendar.asp > http://www.megacitiesproject.org/calendar.asp Exxxxxcellent... Some very nice HTML - and gankable, too :) HZ > > -Dan > __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From zaunere at yahoo.com Thu Jul 11 19:33:38 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 11 Jul 2002 16:33:38 -0700 (PDT) Subject: Fwd: Re: [Zend Engine 2] protected Message-ID: <20020711233338.7334.qmail@web12803.mail.yahoo.com> It seems I've been forwarding more than making real posts lately (aside from an incisive HTML question :). But this seems like some valuable info right from the "source": --- Zeev Suraski wrote: > > Since when does PHP have garbage collection? > > Depends on what you mean by garbage collection. PHP uses an > aggressive > garbage collection since forever (that is, v3.0). That means that > anything > that is no longer used, it gets deallocated. This model became > stronger in > v4.0, which also supported automatic destruction of resources as soon > > as they are no longer referenced. > > The only problem with that model is that due to the dynamic nature of > PHP, > there are situations when a certain object may have a longer lifetime > than > necessary. It works in most cases: > - Local variables (which may point to scalar/array/object/resource > values) > get destroyed/deallocated as soon as you return from their > encapsulating > function > - Overwriting the last reference of a variable will immediately > destroy/deallocate the value it points to. So, for instance, if you > have a > main loop in a program that has $obj = new foo(...); in the beginning > of > the loop body, every time $obj gets overwritten with a new object - > the old > one gets destroyed. > > > All based on the assumption there's no garbage collection > > like Java has it. > > In many ways it's much better than Java's garbage collection. In > PHP, if > you do unset($foo) or $foo = null, you can know for sure that $foo > got > destroyed (assuming the value it pointed to isn't referenced anywhere > else > in the program). In Java, you're at the mercy of the garbage > collector. > __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From gherson at snet.net Thu Jul 11 20:28:50 2002 From: gherson at snet.net (George Herson) Date: Thu, 11 Jul 2002 20:28:50 -0400 Subject: [nycphp-talk] Gank? References: <200207112143.g6BLhlP20673@slipdisc.virul.net> Message-ID: <3D2E22C2.7080603@snet.net> No, wankers, "gank" is "yank" spanked tanked. Now riddle me something a little more tricky: if PHP has surpassed ASP (http://newsforge.com/newsforge/02/06/11/011243.shtml) and mod_perl (http://www.securityspace.com/s_survey/data/man.200206/apachemods.html) in usage, how come Perl and VB jobs dwarf PHP's (http://mshiltonj.com/sm/) and i've nothing better to do than post rhymes and riddles? :) george Sean Smith wrote: > This message contained 1 file(s) and is available at http://nyphp.org/list/paralist_archive.html?L_mid=632 > > Gank : to take, acquire, use, or obtain. It in no way means or is > intended to mean steal. LOL. > > > From yqasim at exostream.com Thu Jul 11 20:59:39 2002 From: yqasim at exostream.com (Yusuf Qasim) Date: Thu, 11 Jul 2002 20:59:39 -0400 Subject: [nycphp-talk] Lame HTML Question References: <200207111549.g6BFnWP19540@slipdisc.virul.net> Message-ID: <005f01c2293f$66a60530$f7115043@digitaleffex> If for some reason bordercolor doesn't work in a specific browser I might suggest adding another table behind it with a background color and create a cellpadding.
YOUR TABLE
Yusef ----- Original Message ----- From: "Hans Zaunere" To: "NYPHP Talk" Sent: Thursday, July 11, 2002 11:49 AM Subject: [nycphp-talk] Lame HTML Question > > Is it possible to specify a color for a table's border? If so, could > someone give a quick example. > > OK, shoot me, > > HZ > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com > > From brian at preston-campbell.com Thu Jul 11 21:24:18 2002 From: brian at preston-campbell.com (Preston-Campbell) Date: Thu, 11 Jul 2002 21:24:18 -0400 Subject: [nycphp-talk] OT: php easter egg.... References: <200207112118.g6BLIBP20582@slipdisc.virul.net> Message-ID: <003a01c22942$d8d7d900$a77cfea9@p1n1w5> Where in the source is THAT and how was it discovered? Sick, bored geeks. ----- Original Message ----- From: "John Ensign" To: "NYPHP Talk" Sent: Thursday, July 11, 2002 5:18 PM Subject: [nycphp-talk] OT: php easter egg.... > Appending the following url parameter to any .php file processed by php 4.01 > and later gives you a ns little easter egg.. > very attractive i must say! > > ?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 > > enjoy! > > John Ensign > Programmer > t: 303.839.5292 > The Binary Lab inc. > > _ _ _ _ _ > /_///| //_//_|\\/_ / /_/ /_/ Denver, CO > /_/// |// // | / /_ / / /_/ www.thebinarylab.com > > > From jonbaer at digitalanywhere.com Thu Jul 11 21:33:45 2002 From: jonbaer at digitalanywhere.com (Jon Baer) Date: Thu, 11 Jul 2002 21:33:45 -0400 Subject: [nycphp-talk] OT: php easter egg.... References: <200207120124.g6C1OgP21521@slipdisc.virul.net> Message-ID: <3D2E31F9.9080402@digitalanywhere.com> http://lxr.php.net/ident?i=PHP_EGG_LOGO_GUID - Jon Preston-Campbell wrote: >Where in the source is THAT and how was it discovered? > >Sick, bored geeks. > > > > >----- Original Message ----- >From: "John Ensign" >To: "NYPHP Talk" >Sent: Thursday, July 11, 2002 5:18 PM >Subject: [nycphp-talk] OT: php easter egg.... > > > > >>Appending the following url parameter to any .php file processed by php >> >> >4.01 > > >>and later gives you a ns little easter egg.. >>very attractive i must say! >> >>?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 >> >>enjoy! >> >>John Ensign >>Programmer >>t: 303.839.5292 >>The Binary Lab inc. >> >> _ _ _ _ _ >> /_///| //_//_|\\/_ / /_/ /_/ Denver, CO >>/_/// |// // | / /_ / / /_/ www.thebinarylab.com >> >> >> >> >> > > > > > From ejp at well.com Fri Jul 12 08:51:03 2002 From: ejp at well.com (Edward Potter) Date: Fri, 12 Jul 2002 08:51:03 -0400 Subject: 2600 Show in town this week... References: <200207120029.g6C0TNP21297@slipdisc.virul.net> Message-ID: <3D2ED0B7.9080205@well.com> It's JUST TOO COOL! If you can make it... July 12-14 http://www.h2k2.net/ -- e :-) NEW YORK -- This weekend, a few thousand systems-obsessed individuals will be able to fuel their paranoia in workshops that promise to reveal in hellish detail the wicked machinations of governments and big corporations. They will also scoff at the misguided attempts of the "amateur" security workers who are charged with keeping them out of computer systems. They will openly share information on how to subvert those computer systems. They will privately worry whether their obsessive need to dissect data could lead to jail time. From jkapron at NewAgeWeb.com Mon Jul 15 05:00:13 2002 From: jkapron at NewAgeWeb.com (Jerry Kapron) Date: Mon, 15 Jul 2002 05:00:13 -0400 Subject: using shared memory References: <200206290045.g5T0jqP62421@slipdisc.virul.net> Message-ID: <3D328F1D.85C2E3B0@NewAgeWeb.com> any tips or disadvantages of using shm_* functions? From nyphp at websapp.com Mon Jul 15 09:55:39 2002 From: nyphp at websapp.com (Daniel Kushner) Date: Mon, 15 Jul 2002 09:55:39 -0400 Subject: FW: FW: Free (older) computer equipment: monitors, mice, keyboards, (cannibalized) desktops Message-ID: FYI: > I helped out with the cleanup a little bit at the H2K2 Conference > over the > weekend. At the Hotel Pennsylvania, there's a pile of about 30 > monitors > (most > 15" and 14"), a few Macs (Classics and SEs), 75 keyboards, 50 mice, > and many > cannibalized desktops (486's mostly, some 386's, too). People were > after > the > hard drives and the memory in the desktops. > > They're all *free* to anyone who can pick them up, and they need to > get out > of > the hotel by close-of-business, Monday, July 15. Can someone give > some of the equipment a good home? Call the hotel (PE6-5000) for > more info, > but at press time, there wasn't a very structured plan on moving the > equipment. The staffers were beginning to make arrangements to > move the stuff, but they only identified potentially interested > parties to > contact (like Goodwill). > > All the equipment is on the Mezzanine Level (in the Pavillion area), > where > the > Sports Authority used to reside. > From LarryC at indexstock.com Mon Jul 15 10:24:09 2002 From: LarryC at indexstock.com (Larry Chuon) Date: Mon, 15 Jul 2002 10:24:09 -0400 Subject: [nycphp-talk] FW: FW: Free computer equipment: monitors, mice , keyboards, desktops Message-ID: <86713EAB93BD5F40B94A0C8E604C7C91AEB423@index-exchange.indexstock.com> On the same subject, I used to teach network, security, and basic programming classes to youths in the Bronx. I have over two dozens of 486 CPUs (IBM and Compaq) not in use at the moment. They are great for Linux. If you are interested, please give me a buzz. -----Original Message----- From: Daniel Kushner [mailto:nyphp at websapp.com] Sent: Monday, July 15, 2002 9:58 AM To: NYPHP Talk Subject: [nycphp-talk] FW: FW: Free computer equipment: monitors, mice, keyboards, desktops FYI: > I helped out with the cleanup a little bit at the H2K2 Conference > over the > weekend. At the Hotel Pennsylvania, there's a pile of about 30 > monitors > (most > 15" and 14"), a few Macs (Classics and SEs), 75 keyboards, 50 mice, > and many > cannibalized desktops (486's mostly, some 386's, too). People were > after > the > hard drives and the memory in the desktops. > > They're all *free* to anyone who can pick them up, and they need to > get out > of > the hotel by close-of-business, Monday, July 15. Can someone give > some of the equipment a good home? Call the hotel (PE6-5000) for > more info, > but at press time, there wasn't a very structured plan on moving the > equipment. The staffers were beginning to make arrangements to > move the stuff, but they only identified potentially interested > parties to > contact (like Goodwill). > > All the equipment is on the Mezzanine Level (in the Pavillion area), > where > the > Sports Authority used to reside. > From can at andrew.cmu.edu Mon Jul 15 11:06:59 2002 From: can at andrew.cmu.edu (cesar) Date: Mon, 15 Jul 2002 11:06:59 -0400 (EDT) Subject: Question: mysql and large results Message-ID: my currently working on a c++ program that takes a large set of position data (300,000 floats) and calculates using a statistical criteria selects a certain set. my program works fine when i filter out some data before my final selection (eg: selecting a certain date range in the query), but when i select the whole table (which i have to do often) mysql_store_result(mysql); seems not to able to give me everything i want since the first entry in the first row is null. i can access some data after that but its a little strange, possibly its not all there. Can anyone suggest a good way to get all the data? i'm using the LIMIT word in mysql to break it into parts, i need to make it fast and to select the whole table right now, takes a few seconds (4 or so, keep in mind its still doesn't give me everything right) so i don't want to make to many queries, since the result get feed back to a webpage and user don't want to wait, since they need to run the program often. From zaunere at yahoo.com Mon Jul 15 11:40:45 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Mon, 15 Jul 2002 08:40:45 -0700 (PDT) Subject: International PHP Meeting Message-ID: <20020715154045.56816.qmail@web12808.mail.yahoo.com> I've been made aware of a new site, http://php.meetup.com. The meetings are all over the world, and there are some right here in NY and the surrounding areas. Unfortunately I will be out of town when the meeting takes place (8/1) but I hope many of you will be able to attend, as it looks like it'll be a lot of fun. There are also many other meeting topics, with Slashdot looking to be the most popular so far. Take a look at http://meetup.com for all the other topics and cities. HZ __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From pasimard at verizon.net Mon Jul 15 11:59:29 2002 From: pasimard at verizon.net (Peter Simard) Date: Mon, 15 Jul 2002 11:59:29 -0400 Subject: [nycphp-talk] International PHP Meeting In-Reply-To: <200207151540.g6FFenP35389@slipdisc.virul.net> References: <200207151540.g6FFenP35389@slipdisc.virul.net> Message-ID: <13598694046.20020715115929@verizon.net> That's a nifty idea. I'm NJ and the nearest Meetup is in the Edison area, about an hour from me...I'd love a Somerset County area Meetup. Cheers -- Peter mailto:pasimard at verizon.net From zaunere at yahoo.com Mon Jul 15 15:08:59 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Mon, 15 Jul 2002 12:08:59 -0700 (PDT) Subject: Fwd: Apple Enthusiasts Message-ID: <20020715190859.5945.qmail@web12802.mail.yahoo.com> The weekly Zend newsletter is out, and although kind of quiet this week, I thought this would be of interest to Apple/Mac users: http://www.zend.com/zend/week/week94.php Notably the last two headings. HZ __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From zaunere at yahoo.com Mon Jul 15 15:24:57 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Mon, 15 Jul 2002 12:24:57 -0700 (PDT) Subject: [nycphp-talk] Question: mysql and large results In-Reply-To: <200207151507.g6FF73P35319@slipdisc.virul.net> Message-ID: <20020715192457.88737.qmail@web12804.mail.yahoo.com> --- cesar wrote: > my currently working on a c++ program that takes a large set of > position > data (300,000 floats) and calculates using a statistical criteria > selects > a certain set. I've only done MySQL in C, so this might not be much help. > > my program works fine when i filter out some data before my final > selection (eg: selecting a certain date range in the query), but when > i > select the whole table (which i have to do often) > mysql_store_result(mysql); seems not to able to give me everything i > want > since the first entry in the first row is null. i can access some > data > after that but its a little strange, possibly its not all there. Can > anyone suggest a good way to get all the data? Take a look at http://www.mysql.com/doc/C/_/C_API_problems.html, specifically the first one. You could be running out of memory, but use some of the diag functions (like mysql_field_count(), mysql_error(), etc) and some system utils. to see if your result set is what you're expecting and weather you're running out of memory. I suppose there could be a bug in the API, but doubtful, especially if you're using a modern version. Also use the mysql client and run the same query - does that work? > > i'm using the LIMIT word in mysql to break it into parts, i need to > make For testing purposes, uses a LIMIT, increasing it everytime... where does it start to fail? > it fast and to select the whole table right now, takes a few seconds > (4 > or so, keep in mind its still doesn't give me everything right) so i > don't > want to make to many queries, since the result get feed back to a > webpage > and user don't want to wait, since they need to run the program > often. Webpage? Shouldn't you be doing this in PHP? :) Regardless, if you have a large number of records, you really should do some kind of caching. MySQL's heap tables can be great for this. HZ __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From zaunere at yahoo.com Mon Jul 15 15:30:02 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Mon, 15 Jul 2002 12:30:02 -0700 (PDT) Subject: [nycphp-talk] using shared memory In-Reply-To: <200207150856.g6F8uQP34784@slipdisc.virul.net> Message-ID: <20020715193002.88123.qmail@web12808.mail.yahoo.com> --- Jerry Kapron wrote: > any tips or disadvantages of using shm_* functions? I was going to say they are still experimental, but I just looked at the manual and apparently they're not anymore :) (I would obviously use the latest stable (or even CVS) PHP version). If possible, I'd like to see some of your code, once completed, as this is always an interesting topic. HZ __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From matthew.zimmerman at nyu.edu Mon Jul 15 16:51:51 2002 From: matthew.zimmerman at nyu.edu (Matthew Zimmerman) Date: Mon, 15 Jul 2002 16:51:51 -0400 Subject: php.ini Message-ID: <4084894070cb.4070cb408489@homemail.nyu.edu> Hello All, I am trying to find the php.ini file. I am running PHP 4.2.1 on Mac OS X. When I look at at the results of it does say the file is located in /usr/local/lib but when I go to that directory I do not see the file. Any help from someone else using Mac OS X? Thanks, Matt Zimmerman From tbollino at weevinwebs.com Mon Jul 15 18:13:24 2002 From: tbollino at weevinwebs.com (Tony Bollino) Date: Mon, 15 Jul 2002 18:13:24 -0400 Subject: [nycphp-talk] FW: FW: Free computer equipment: monitors, mice , keyboards, desktops In-Reply-To: <200207151424.g6FEOMP35227@slipdisc.virul.net> Message-ID: Hello! I am a middle school technology teacher in Frederick, MD. I saw your message on NYPHP and was hoping that we could get a couple of those computers. I would arrange for transportation (shipping) of the computers if you can give me a cost? I am trying to run a LUG at my school and teach basic PHP/MySQL to the students. I am a beginner and I enjoy reading the "tips" I find on this use group. Please let me know if we can work something out. Tony Bollino Technology Coordinator Governor Thomas Johnson Middle School Frederick, MD anthony.bollino at fcps.org abollino at weevinwebs.com http://www.tjmiddle.org/ -----Original Message----- From: Larry Chuon [mailto:LarryC at indexstock.com] Sent: Monday, July 15, 2002 10:24 AM To: NYPHP Talk Subject: RE: [nycphp-talk] FW: FW: Free computer equipment: monitors, mice , keyboards, desktops On the same subject, I used to teach network, security, and basic programming classes to youths in the Bronx. I have over two dozens of 486 CPUs (IBM and Compaq) not in use at the moment. They are great for Linux. If you are interested, please give me a buzz. -----Original Message----- From: Daniel Kushner [mailto:nyphp at websapp.com] Sent: Monday, July 15, 2002 9:58 AM To: NYPHP Talk Subject: [nycphp-talk] FW: FW: Free computer equipment: monitors, mice, keyboards, desktops FYI: > I helped out with the cleanup a little bit at the H2K2 Conference > over the > weekend. At the Hotel Pennsylvania, there's a pile of about 30 > monitors > (most > 15" and 14"), a few Macs (Classics and SEs), 75 keyboards, 50 mice, > and many > cannibalized desktops (486's mostly, some 386's, too). People were > after > the > hard drives and the memory in the desktops. > > They're all *free* to anyone who can pick them up, and they need to > get out > of > the hotel by close-of-business, Monday, July 15. Can someone give > some of the equipment a good home? Call the hotel (PE6-5000) for > more info, > but at press time, there wasn't a very structured plan on moving the > equipment. The staffers were beginning to make arrangements to > move the stuff, but they only identified potentially interested > parties to > contact (like Goodwill). > > All the equipment is on the Mezzanine Level (in the Pavillion area), > where > the > Sports Authority used to reside. > From evan.heller at alum.rpi.edu Mon Jul 15 23:31:55 2002 From: evan.heller at alum.rpi.edu (evan heller) Date: Mon, 15 Jul 2002 23:31:55 -0400 Subject: linux installations again Message-ID: <3D3393AB.1F6C7196@alum.rpi.edu> Ok, I attempted to install linux on my dell laptop and though it installed fine, getting x to work is pretty sad. I threw on redhat 7.3 on my 8200 and have been struggling to get it to work right. Anyone up on giving me a hand next meeting? I would be very appreciative. Thanks -Evan -- Evan Heller evan.heller at alum.rpi.edu From nyphp at altunergil.com Mon Jul 15 23:44:03 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Mon, 15 Jul 2002 23:44:03 -0400 Subject: [nycphp-talk] linux installations again In-Reply-To: <200207160332.g6G3WxP37471@slipdisc.virul.net> References: <200207160332.g6G3WxP37471@slipdisc.virul.net> Message-ID: <20020715234403.165bbab9.nyphp@altunergil.com> Do you have the Nvidia chip ? If yes, did you download the kernel module and the GLX from Nvidia's website ? Oktay Altunergil On Mon, 15 Jul 2002 23:32:59 -0400 evan heller wrote: > Ok, I attempted to install linux on my dell laptop > and though it installed fine, getting x to work is > pretty sad. I threw on redhat 7.3 on my 8200 and > have been struggling to get it to work right. > Anyone up on giving me a hand next meeting? I > would be very appreciative. Thanks > > -Evan > -- > > Evan Heller > evan.heller at alum.rpi.edu > From jkapron at NewAgeWeb.com Tue Jul 16 01:45:24 2002 From: jkapron at NewAgeWeb.com (Jerry Kapron) Date: Tue, 16 Jul 2002 01:45:24 -0400 Subject: [nycphp-talk] using shared memory References: <200207151930.g6FJU7P36011@slipdisc.virul.net> Message-ID: <3D33B2F4.893D0265@NewAgeWeb.com> Well, I do not have any code yet, but I can explain what I'm trying to do. I want to load the most accessed (read from) db tables as arrays into a shared memory segment at startup. Has anyone done or heard of anything like that done? I'm not talking about heap tables but using php's shared memory functions (shm_*) instead. I realize that querying those arrays will not be as easy as quering a sql database but i'll come up with some kind of interface function(s). I should probably mention I'm talking about a *very* busy site with thousands of select queries/sec. Also, I heard that it's a good idea to rebuild the shm segment often (cron job) due to memory leaks in PHP when using shm_* functions. Was that ever fixed? Is there anything I should consider before starting to implement this approach. cheers, -jerry Hans Zaunere wrote: > --- Jerry Kapron wrote: > > any tips or disadvantages of using shm_* functions? > > I was going to say they are still experimental, but I just looked at > the manual and apparently they're not anymore :) (I would obviously use > the latest stable (or even CVS) PHP version). > > If possible, I'd like to see some of your code, once completed, as this > is always an interesting topic. > From liquidm3 at hotmail.com Tue Jul 16 02:03:23 2002 From: liquidm3 at hotmail.com (Liquid M3) Date: Tue, 16 Jul 2002 02:03:23 -0400 Subject: MySQL on Cygwin Message-ID: I just succeeded in getting MySQL to build on Cygwin, but it only partially works - the server starts up, but then I can't connect to it with a client. If this is of interest to you (in particular, if you can help fix the remaining issues and/or would find MySQL on Cygwin useful), visit http://www.liquidmarkets.com/?name=XForum&file=viewthread&tid=56 and http://sourceforge.net/project/showfiles.php?group_id=55865&release_id=99928 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 bruce at mtiglobal.com Wed Jul 17 01:24:14 2002 From: bruce at mtiglobal.com (bruce at mtiglobal.com) Date: Tue, 16 Jul 2002 21:24:14 -0800 (CST) Subject: Database (e.g. MySQL) vs. XML Message-ID: <39990.141.129.1.112.1026825854.squirrel@postman.mtiglobal.com> Hi! I've been asking a number of people this question but haven't received a satisfactory answer, so was wondering if anyone here can help. Both a database (such as MySQL) and XML can be used for storing, manipulating (XML w/ XSLT), rendering data. How does one decide between the two? One scenario I might be dealing with soon is taking product information from a DOS system and throwing it out to either MySQL or XML for posting on a web site. Thanks. - Bruce From nyphp at altunergil.com Tue Jul 16 09:50:39 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Tue, 16 Jul 2002 09:50:39 -0400 Subject: [nycphp-talk] Database vs. XML In-Reply-To: <200207161324.g6GDOfP39333@slipdisc.virul.net> References: <200207161324.g6GDOfP39333@slipdisc.virul.net> Message-ID: <20020716095039.1caf76de.nyphp@altunergil.com> A database is designed for optimum storage and fast retrieval of data. XML deals more with the representation of existing data. I believe you have to use the right tool for the job. Obviously you can still use XML with the data you have gathered from a database. Oktay Altunergil On Tue, 16 Jul 2002 09:24:41 -0400 bruce at mtiglobal.com wrote: > Hi! > > I've been asking a number of people this question but haven't received a > satisfactory answer, so was wondering if anyone here can help. > > Both a database (such as MySQL) and XML can be used for storing, > manipulating (XML w/ XSLT), rendering data. > > How does one decide between the two? > > One scenario I might be dealing with soon is taking product information > from a DOS system and throwing it out to either MySQL or XML for posting on > a web site. > > Thanks. > > - Bruce > > > From eliot.shepard at the451.com Tue Jul 16 09:52:45 2002 From: eliot.shepard at the451.com (Eliot Shepard) Date: Tue, 16 Jul 2002 09:52:45 -0400 Subject: [nycphp-talk] Database vs. XML References: <200207161324.g6GDOfP39333@slipdisc.virul.net> Message-ID: <002701c22cd0$108952d0$2201a8c0@nyc.the451.com> How would you store the XML? Flat files? In that case I think you're going to find that approach a little slow. Relational databases have a lot of advantages. There's nothing mutually exclusive about using a database AND XML. You ideally could store your data in a properly normalized database, write object-oriented PHP to query it, generate well-formed XML from the query results, and fold in XSLT to emit HTML. There are even databases out there that claim to store data natively in XML (some of which support query languages with better grammar than SQL). Searching for "Open-source XML database" on Google: http://www.rpbourret.com/xml/XMLDatabaseProds.htm http://exist.sourceforge.net/ http://www.xmlhack.com/read.php?item=1345 Eliot ----- Original Message ----- From: To: "NYPHP Talk" Sent: Tuesday, July 16, 2002 9:24 AM Subject: [nycphp-talk] Database vs. XML > Hi! > > I've been asking a number of people this question but haven't received a > satisfactory answer, so was wondering if anyone here can help. > > Both a database (such as MySQL) and XML can be used for storing, > manipulating (XML w/ XSLT), rendering data. > > How does one decide between the two? > > One scenario I might be dealing with soon is taking product information > from a DOS system and throwing it out to either MySQL or XML for posting on > a web site. > > Thanks. > > - Bruce > > From matthew.zimmerman at nyu.edu Tue Jul 16 09:56:32 2002 From: matthew.zimmerman at nyu.edu (Matthew Zimmerman) Date: Tue, 16 Jul 2002 09:56:32 -0400 Subject: php.ini Message-ID: <586dcc589217.589217586dcc@homemail.nyu.edu> Hey folks, Trying to find the php.ini file on my system. I am running Mac OS X and PHP 4.2.1 Someone else installed and set up PHP on this machine, but I do have admin access. The PHP info function shows me that it is located in /usr/local/lib but when I open a terminal and go to that directory the file is not there. Anyone else using Mac OSX who could help me? Matt Zimmerman NYU From nyphp at altunergil.com Tue Jul 16 10:02:30 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Tue, 16 Jul 2002 10:02:30 -0400 Subject: [nycphp-talk] php.ini In-Reply-To: <200207161356.g6GDubP39472@slipdisc.virul.net> References: <200207161356.g6GDubP39472@slipdisc.virul.net> Message-ID: <20020716100230.7f8f0355.nyphp@altunergil.com> I'm pretty sure MacOS X has the 'find' command. Maybe even 'locate'. Try 'locate php.ini' first. If that doesn't work try the following as root. find / | grep php.ini (there's a regexp issue there that you can ignore--for simplicity) On another note, not seeing the file where phpinfo.php claims it is might mean that you don't have a copy on your system. Try dropping the file there yourself (it doesn't need to be complete.. a one line option will do fine) set an option and test if it makes a difference after restarting your web server. Oktay Altunergil On Tue, 16 Jul 2002 09:56:37 -0400 Matthew Zimmerman wrote: > Hey folks, > > Trying to find the php.ini file on my system. > > I am running Mac OS X and PHP 4.2.1 > > Someone else installed and set up PHP on this machine, but I do have > admin access. > > The PHP info function shows me that it is located in /usr/local/lib but > when I open a terminal and go to that directory the file is not there. > > Anyone else using Mac OSX who could help me? > > Matt Zimmerman > NYU > > From LarryC at indexstock.com Tue Jul 16 10:04:37 2002 From: LarryC at indexstock.com (Larry Chuon) Date: Tue, 16 Jul 2002 10:04:37 -0400 Subject: [nycphp-talk] php.ini Message-ID: <86713EAB93BD5F40B94A0C8E604C7C91AEB430@index-exchange.indexstock.com> You can try several things. 1. grep for php.ini 2. cp another php.ini to the /usr/local/lib (if you have write access) - something people forget for copy the file there during installation (manual) 3. get into single mode if you have full possession on the box - this will give you root access -----Original Message----- From: Matthew Zimmerman [mailto:matthew.zimmerman at nyu.edu] Sent: Tuesday, July 16, 2002 9:57 AM To: NYPHP Talk Subject: [nycphp-talk] php.ini Hey folks, Trying to find the php.ini file on my system. I am running Mac OS X and PHP 4.2.1 Someone else installed and set up PHP on this machine, but I do have admin access. The PHP info function shows me that it is located in /usr/local/lib but when I open a terminal and go to that directory the file is not there. Anyone else using Mac OSX who could help me? Matt Zimmerman NYU From prutwo at onebox.com Tue Jul 16 10:37:46 2002 From: prutwo at onebox.com (ophir prusak) Date: Tue, 16 Jul 2002 07:37:46 -0700 Subject: [nycphp-talk] using shared memory Message-ID: <20020716143746.SZFM17999.mta06.onebox.com@onebox.com> 0. Don't try to re-invent the wheel. You're not the first person to deal with such problems and I'm pretty sure you'll be able to find something that already exsists to solve your problem. 1. I don't know enough about your requirements, but a full page caching solution might do the trick. I use jpcache on my site with great results. (http://sourceforge.net/projects/jpcache/) 2. PEAR has a DB caching package you might want to look into. http://pear.php.net/package-info.php?pacid=40 4. You might want to look into MySQL 4. Even tough it's still "devel", it seems to be quite stable. It has built in RESULT caching ;) This allows it to be EXTREMELY fast for your common querries. Feel free to contact me directly if you want. Ophir ---- Ophir Prusak Internet developer prutwo at onebox.com | http://www.prusak.com/ ---- Jerry Kapron wrote: > Well, I do not have any code yet, but I can explain what I'm trying > to do. > I want to load the most accessed (read from) db tables as arrays into > a > shared memory segment at startup. Has anyone done or heard of anything > like > that done? I'm not talking about heap tables but using php's shared > memory > functions (shm_*) instead. I realize that querying those arrays will > not > be as easy as quering a sql database but i'll come up with some kind > of > interface function(s). I should probably mention I'm talking about > a > *very* busy site with thousands of select queries/sec. Also, I heard > that > it's a good idea to rebuild the shm segment often (cron job) due to > memory > leaks in PHP when using shm_* functions. Was that ever fixed? Is there > anything I should consider before starting to implement this approach. > cheers, > -jerry > > > Hans Zaunere wrote: > > > --- Jerry Kapron wrote: > > > any tips or disadvantages of using shm_* functions? > > > > I was going to say they are still experimental, but I just looked > at > > the manual and apparently they're not anymore :) (I would obviously > use > > the latest stable (or even CVS) PHP version). > > > > If possible, I'd like to see some of your code, once completed, as > this > > is always an interesting topic. > > > > > From matthew.zimmerman at nyu.edu Tue Jul 16 10:41:48 2002 From: matthew.zimmerman at nyu.edu (Matthew Zimmerman) Date: Tue, 16 Jul 2002 10:41:48 -0400 Subject: [nycphp-talk] php.ini Message-ID: <5c10155c2c28.5c2c285c1015@homemail.nyu.edu> Thanks Larry and Oktay! I did not occur to me that the file might not exist. I created one containing the one variable I wanted to change and dropped it in that directory, restarted Apache, and bingo, it worked! Thanks so much! Matt ----- Original Message ----- From: Oktay Altunergil Date: Tuesday, July 16, 2002 10:02 am Subject: Re: [nycphp-talk] php.ini > I'm pretty sure MacOS X has the 'find' command. Maybe even 'locate'. > > Try 'locate php.ini' first. If that doesn't work try the following > as root. > > find / | grep php.ini > > (there's a regexp issue there that you can ignore--for simplicity) > > On another note, not seeing the file where phpinfo.php claims it > is might mean that you don't have a copy on your system. Try > dropping the file there yourself (it doesn't need to be complete.. > a one line option will do fine) set an option and test if it makes > a difference after restarting your web server. > > Oktay Altunergil > > > On Tue, 16 Jul 2002 09:56:37 -0400 > Matthew Zimmerman wrote: > > > Hey folks, > > > > Trying to find the php.ini file on my system. > > > > I am running Mac OS X and PHP 4.2.1 > > > > Someone else installed and set up PHP on this machine, but I do > have > > admin access. > > > > The PHP info function shows me that it is located in > /usr/local/lib but > > when I open a terminal and go to that directory the file is not > there.> > > Anyone else using Mac OSX who could help me? > > > > Matt Zimmerman > > NYU > > > > > > From bruce at mtiglobal.com Wed Jul 17 03:03:08 2002 From: bruce at mtiglobal.com (bruce at mtiglobal.com) Date: Tue, 16 Jul 2002 23:03:08 -0800 (CST) Subject: [nycphp-talk] Database vs. XML In-Reply-To: <200207161352.g6GDqbP39449@slipdisc.virul.net> References: <200207161352.g6GDqbP39449@slipdisc.virul.net> Message-ID: <42401.141.129.1.112.1026831788.squirrel@postman.mtiglobal.com> Thanks for the responses. But if I'm storing data in a database then why not skip xml and output the data to a text file and save as html where I'm outputting the recordset one by one using something like: x = "

" + productID + "
" where productId is the record from the recordset I'm looping through and any transformation is done in the sql statement used to open the recordset? > How would you store the XML? Flat files? In that case I think you're > going to find that approach a little slow. Relational databases have a > lot of advantages. > > There's nothing mutually exclusive about using a database AND XML. You > ideally could store your data in a properly normalized database, write > object-oriented PHP to query it, generate well-formed XML from the > query results, and fold in XSLT to emit HTML. > > There are even databases out there that claim to store data natively in > XML (some of which support query languages with better grammar than > SQL). Searching for "Open-source XML database" on Google: > > http://www.rpbourret.com/xml/XMLDatabaseProds.htm > > http://exist.sourceforge.net/ > > http://www.xmlhack.com/read.php?item=1345 > > Eliot > > ----- Original Message ----- > From: > To: "NYPHP Talk" > Sent: Tuesday, July 16, 2002 9:24 AM > Subject: [nycphp-talk] Database vs. XML > > >> Hi! >> >> I've been asking a number of people this question but haven't received > a >> satisfactory answer, so was wondering if anyone here can help. >> >> Both a database (such as MySQL) and XML can be used for storing, >> manipulating (XML w/ XSLT), rendering data. >> >> How does one decide between the two? >> >> One scenario I might be dealing with soon is taking product > information >> from a DOS system and throwing it out to either MySQL or XML for > posting on >> a web site. >> >> Thanks. >> >> - Bruce From nyphp at altunergil.com Tue Jul 16 11:15:11 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Tue, 16 Jul 2002 11:15:11 -0400 Subject: [nycphp-talk] Database vs. XML In-Reply-To: <200207161503.g6GF3cP39829@slipdisc.virul.net> References: <200207161503.g6GF3cP39829@slipdisc.virul.net> Message-ID: <20020716111511.302d83ab.nyphp@altunergil.com> Sure.. You can either display the data dynamically on the fly..(this is pretty much what everybody else is doing) Or save it as html to display later. I said you could *still* use XML because you mentioned it. Oktay On Tue, 16 Jul 2002 11:03:38 -0400 bruce at mtiglobal.com wrote: > Thanks for the responses. > > But if I'm storing data in a database then why not skip xml and output the > data to a text file and save as html where I'm outputting the recordset one > by one using something like: > > x = "

" + productID + "
" > > where productId is the record from the recordset I'm looping through and > any transformation is done in the sql statement used to open the recordset? > > > How would you store the XML? Flat files? In that case I think you're > > going to find that approach a little slow. Relational databases have a > > lot of advantages. > > > > There's nothing mutually exclusive about using a database AND XML. You > > ideally could store your data in a properly normalized database, write > > object-oriented PHP to query it, generate well-formed XML from the > > query results, and fold in XSLT to emit HTML. > > > > There are even databases out there that claim to store data natively in > > XML (some of which support query languages with better grammar than > > SQL). Searching for "Open-source XML database" on Google: > > > > http://www.rpbourret.com/xml/XMLDatabaseProds.htm > > > > http://exist.sourceforge.net/ > > > > http://www.xmlhack.com/read.php?item=1345 > > > > Eliot > > > > ----- Original Message ----- > > From: > > To: "NYPHP Talk" > > Sent: Tuesday, July 16, 2002 9:24 AM > > Subject: [nycphp-talk] Database vs. XML > > > > > >> Hi! > >> > >> I've been asking a number of people this question but haven't received > > a > >> satisfactory answer, so was wondering if anyone here can help. > >> > >> Both a database (such as MySQL) and XML can be used for storing, > >> manipulating (XML w/ XSLT), rendering data. > >> > >> How does one decide between the two? > >> > >> One scenario I might be dealing with soon is taking product > > information > >> from a DOS system and throwing it out to either MySQL or XML for > > posting on > >> a web site. > >> > >> Thanks. > >> > >> - Bruce > > > > From zala007 at hotmail.com Tue Jul 16 11:26:43 2002 From: zala007 at hotmail.com (Anirudhsinh Zala) Date: Tue, 16 Jul 2002 15:26:43 +0000 Subject: [nycphp-talk] linux installations again Message-ID: hi evan not only u have face this typ problem, actually there r lots of ppl face..bcoz..often linux fails to identify proper grpahics card to run x window proeprly... so just find proper moniter graphic card and reinstall monitor driver.. this is very imp for linux to run x windows properly.. Thanks Anirudh Zala >From: evan heller >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: [nycphp-talk] linux installations again >Date: Mon, 15 Jul 2002 23:32:59 -0400 >Received: from mc1-f28.law16.hotmail.com ([65.54.236.35]) by >mc1-s14.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Mon, 15 >Jul 2002 20:40:49 -0700 >Received: from slipdisc.virul.net ([66.114.66.188]) by >mc1-f28.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Mon, 15 >Jul 2002 20:36:40 -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 g6G3WxP37471;Mon, 15 Jul >2002 23:32:59 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200207160332.g6G3WxP37471 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: 16 Jul 2002 03:36:41.0088 (UTC) >FILETIME=[FF9C1800:01C22C79] > >Ok, I attempted to install linux on my dell laptop >and though it installed fine, getting x to work is >pretty sad. I threw on redhat 7.3 on my 8200 and >have been struggling to get it to work right. >Anyone up on giving me a hand next meeting? I >would be very appreciative. Thanks > >-Evan >-- > >Evan Heller >evan.heller at alum.rpi.edu _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From jim at bizcomputinginc.com Tue Jul 16 11:32:04 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Tue, 16 Jul 2002 11:32:04 -0400 Subject: [nycphp-talk] Database vs. XML References: <200207161515.g6GFFHP39895@slipdisc.virul.net> Message-ID: <05c801c22cdd$f1c7c170$6601a8c0@Notebook> The advantage of using XML between the database and the presentation ( HTML etc. ) is that you have your data from your query in an organized fashion that can be used and manipulated beyond just the web page. For example, I don't bother buying a TV guide anymore, I just check www.tvguide.com and get my local listings. I really want to get my local listings on my Palm, but I don't like the options available. So I being a programmer decided to rip what's on the tvguide site, format it the way I want then put it on my Palm. Well, their site is a complex combo of HTML and javascript. Parsing will be complicated. And then, what if they change the page slightly which breaks my parser? Here XML comes to the rescue. If they delivered the data portion of the page as XML, I can forget about parsing the HTML looking for what I want, I can go directly to the XML & parse it. And if they change the XML, I have a good chance my parser will still work so long as the fields I am looking for are still there. There are also those who claim that use of XML and XSLT lead to more consistent pages with better organized code and quicker development time. I being a long time HTML coder feel comfortable enough with what I can do in HTML that I don't care to learn the XSLT. I can code quickly enough, consistent enough, and organized enough for me! Jim ----- Original Message ----- From: "Oktay Altunergil" To: "NYPHP Talk" Sent: Tuesday, July 16, 2002 11:15 AM Subject: Re: [nycphp-talk] Database vs. XML > Sure.. You can either display the data dynamically on the fly..(this is pretty much what everybody else is doing) Or save it as html to display later. I said you could *still* use XML because you mentioned it. > > Oktay > > On Tue, 16 Jul 2002 11:03:38 -0400 > bruce at mtiglobal.com wrote: > > > Thanks for the responses. > > > > But if I'm storing data in a database then why not skip xml and output the > > data to a text file and save as html where I'm outputting the recordset one > > by one using something like: > > > > x = "

" + productID + "
" > > > > where productId is the record from the recordset I'm looping through and > > any transformation is done in the sql statement used to open the recordset? > > > > > How would you store the XML? Flat files? In that case I think you're > > > going to find that approach a little slow. Relational databases have a > > > lot of advantages. > > > > > > There's nothing mutually exclusive about using a database AND XML. You > > > ideally could store your data in a properly normalized database, write > > > object-oriented PHP to query it, generate well-formed XML from the > > > query results, and fold in XSLT to emit HTML. > > > > > > There are even databases out there that claim to store data natively in > > > XML (some of which support query languages with better grammar than > > > SQL). Searching for "Open-source XML database" on Google: > > > > > > http://www.rpbourret.com/xml/XMLDatabaseProds.htm > > > > > > http://exist.sourceforge.net/ > > > > > > http://www.xmlhack.com/read.php?item=1345 > > > > > > Eliot > > > > > > ----- Original Message ----- > > > From: > > > To: "NYPHP Talk" > > > Sent: Tuesday, July 16, 2002 9:24 AM > > > Subject: [nycphp-talk] Database vs. XML > > > > > > > > >> Hi! > > >> > > >> I've been asking a number of people this question but haven't received > > > a > > >> satisfactory answer, so was wondering if anyone here can help. > > >> > > >> Both a database (such as MySQL) and XML can be used for storing, > > >> manipulating (XML w/ XSLT), rendering data. > > >> > > >> How does one decide between the two? > > >> > > >> One scenario I might be dealing with soon is taking product > > > information > > >> from a DOS system and throwing it out to either MySQL or XML for > > > posting on > > >> a web site. > > >> > > >> Thanks. > > >> > > >> - Bruce > > > > > > > > > > > > From eliot.shepard at the451.com Tue Jul 16 11:48:05 2002 From: eliot.shepard at the451.com (Eliot Shepard) Date: Tue, 16 Jul 2002 11:48:05 -0400 Subject: [nycphp-talk] Database vs. XML References: <200207161503.g6GF3cP39829@slipdisc.virul.net> Message-ID: <00c701c22ce0$2d30bb20$2201a8c0@nyc.the451.com> That's the central trade-off of using abstraction. On one hand it's usually simpler and faster (in both development time and execution) to use domain-specific solutions like the one below. Quick and dirty, gets the job done. On the other hand, abstraction brings flexibility and generality. Decoupling of data from presentation has been a holy grail for web programming for many years. You could completely change the appearance of your site, or present your data in a different context, by editing only your stylesheets. This is typically more of a long-term requirement. The one irreducible truth under any scenario is that you should design your data schema with care. Eliot > Thanks for the responses. > > But if I'm storing data in a database then why not skip xml and output the > data to a text file and save as html where I'm outputting the recordset one > by one using something like: > > x = "

" + productID + "
" From jonbaer at digitalanywhere.com Tue Jul 16 11:47:08 2002 From: jonbaer at digitalanywhere.com (Jon Baer) Date: Tue, 16 Jul 2002 11:47:08 -0400 Subject: [nycphp-talk] Database vs. XML References: <200207161324.g6GDOfP39333@slipdisc.virul.net> Message-ID: <3D343FFC.40401@digitalanywhere.com> I think it breaks down to using a DB for large data that might be static and not have to reside im memory all the time vs. quick XML/XPath in memory configuration for ur application ... @ least this is the way I see it in my applications (mostly AI based) ... The one big drawback is not having the ability to make use of both very easily for example XML<->DB where changes in the XML reflect the changes to the DB, it is quite possibly to do but not practicle with large rows of data, however you can write small tidbits of XML that might reflect a single row or something ... it should also be noted that the notion of XML is the point of readibility for humans anyway ;-) XML as I see it is best for configuration files (filename based), maybe object modeling, and p2p, but for large amounts of data (unless you even out ur tables to small column counts), you will save a headache by just using a DB. - Jon From zala007 at hotmail.com Tue Jul 16 12:11:02 2002 From: zala007 at hotmail.com (Anirudhsinh Zala) Date: Tue, 16 Jul 2002 16:11:02 +0000 Subject: [nycphp-talk] Database vs. XML Message-ID: Hi Bruce.. what's xml file ? a kind of db to store data.. but as other said.it's slow to access data..bcoz it's not well formatted...query will take longer time than retrieving data from db..bcoz db is well normalized and data is stored in proper way.. also u can't store well fornmatted data..into xslt or xml... ya u can use them to store..less data compare to db..specially or common or global data for which frequent access is needed.in those cases xml is useful bcoz we don't need to access db frequently.. but this tech is new..and doesn't work as fast as db.. however we also use xml files to store data...which r used repetetively..but not for storing larger data.. Sometimes xml r very useful for transferring data..perhaps this is the excellent use of xml when u need to transfer data from one db to other db or server then xml can be very useful as it can also store..data with field values so while storing data into other db, we can easily select db fields...from xml and store data in exact manner as it was in previous db.. Thanks Anirudh Zala >From: >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: [nycphp-talk] Database vs. XML >Date: Tue, 16 Jul 2002 09:24:41 -0400 >Received: from mc1-f6.law16.hotmail.com ([65.54.236.13]) by >mc1-s21.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Tue, 16 >Jul 2002 06:32:39 -0700 >Received: from slipdisc.virul.net ([66.114.66.188]) by >mc1-f6.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Tue, 16 Jul >2002 06:29:32 -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 g6GDOfP39333;Tue, 16 Jul >2002 09:24:41 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200207161324.g6GDOfP39333 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: 16 Jul 2002 13:29:32.0570 (UTC) >FILETIME=[D1DD7FA0:01C22CCC] > >Hi! > >I've been asking a number of people this question but haven't received a >satisfactory answer, so was wondering if anyone here can help. > >Both a database (such as MySQL) and XML can be used for storing, >manipulating (XML w/ XSLT), rendering data. > >How does one decide between the two? > >One scenario I might be dealing with soon is taking product information >from a DOS system and throwing it out to either MySQL or XML for posting on >a web site. > >Thanks. > >- Bruce _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com From zala007 at hotmail.com Tue Jul 16 12:13:35 2002 From: zala007 at hotmail.com (Anirudhsinh Zala) Date: Tue, 16 Jul 2002 16:13:35 +0000 Subject: [nycphp-talk] php.ini Message-ID: Larry if nothing works then find out whether php has been installed as an apache module or not..if so then u can't find php.ini as it is not needed for that installation.. Thanks Anirudh Zala >From: Larry Chuon >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: RE: [nycphp-talk] php.ini >Date: Tue, 16 Jul 2002 10:04:48 -0400 >Received: from mc1-f30.law16.hotmail.com ([65.54.236.37]) by >mc1-s1.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Tue, 16 Jul >2002 07:07:01 -0700 >Received: from slipdisc.virul.net ([66.114.66.188]) by >mc1-f30.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Tue, 16 >Jul 2002 07:06:14 -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 g6GE4mP39540;Tue, 16 Jul >2002 10:04:48 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200207161404.g6GE4mP39540 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: 16 Jul 2002 14:06:15.0158 (UTC) >FILETIME=[F2B5C160:01C22CD1] > >You can try several things. >1. grep for php.ini >2. cp another php.ini to the /usr/local/lib (if you have write access) - >something people forget for copy the file there during installation >(manual) >3. get into single mode if you have full possession on the box - this will >give you root access > >-----Original Message----- >From: Matthew Zimmerman [mailto:matthew.zimmerman at nyu.edu] >Sent: Tuesday, July 16, 2002 9:57 AM >To: NYPHP Talk >Subject: [nycphp-talk] php.ini > >Hey folks, > >Trying to find the php.ini file on my system. > >I am running Mac OS X and PHP 4.2.1 > >Someone else installed and set up PHP on this machine, but I do have >admin access. > >The PHP info function shows me that it is located in /usr/local/lib but >when I open a terminal and go to that directory the file is not there. > >Anyone else using Mac OSX who could help me? > >Matt Zimmerman >NYU _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com From steven at sohh.com Tue Jul 16 16:53:21 2002 From: steven at sohh.com (Steven Samuel) Date: Tue, 16 Jul 2002 13:53:21 -0700 Subject: [nycphp-talk] Database vs. XML In-Reply-To: <200207161324.g6GDOfP39333@slipdisc.virul.net> Message-ID: Well on my site we use XML and a database. When I first launched my site, I did everything in PHP and noticed that in peak times my site would slow down considerably. I realized that my content didn't have to be dynamic; meaning, it doesn't really need to change everytime the user hits refresh. So I set up my site to run through all of my articles in the database and create HTML files for them. Later, I switched to XML so that outside site could pull the files and use it on thier site. Steven -----Original Message----- From: bruce at mtiglobal.com [mailto:bruce at mtiglobal.com] Sent: Tuesday, July 16, 2002 6:25 AM To: NYPHP Talk Subject: [nycphp-talk] Database vs. XML Hi! I've been asking a number of people this question but haven't received a satisfactory answer, so was wondering if anyone here can help. Both a database (such as MySQL) and XML can be used for storing, manipulating (XML w/ XSLT), rendering data. How does one decide between the two? One scenario I might be dealing with soon is taking product information from a DOS system and throwing it out to either MySQL or XML for posting on a web site. Thanks. - Bruce From cjtotheg at artisanquest.com Tue Jul 16 14:18:19 2002 From: cjtotheg at artisanquest.com (Clay Givens) Date: Wed, 17 Jul 2002 02:18:19 +0800 (MYT) Subject: PHP on Windows... Message-ID: Hello, I'm trying to figure out a way to utilize the power of PHP on my Win NT box at work because I can't afford the time to install Linux right now. Has anyone tried to run Windows PHP binaries? If so, is it necessary to install IIS? I'd like to serve webpages over the corporate network via IIS using some PHP logic. Anyone try such a thing? Thanks for helping out! Clay Givens From brian at preston-campbell.com Tue Jul 16 14:31:49 2002 From: brian at preston-campbell.com (Preston-Campbell) Date: Tue, 16 Jul 2002 14:31:49 -0400 Subject: [nycphp-talk] PHP on Windows... References: <200207161818.g6GIILP40990@slipdisc.virul.net> Message-ID: <001701c22cf7$0faf82e0$a77cfea9@p1n1w5> http://www.badblue.com -- simple web server, no need to go with Apache or IIS right now and allows you to test PHP and Perl on your local machine. Also helps to install MySQL and go the whole 9 yards. Brian ----- Original Message ----- From: "Clay Givens" To: "NYPHP Talk" Sent: Tuesday, July 16, 2002 2:18 PM Subject: [nycphp-talk] PHP on Windows... > Hello, > I'm trying to figure out a way to utilize the power of PHP on my Win NT > box at work because I can't afford the time to install Linux right now. > Has anyone tried to run Windows PHP binaries? If so, is it necessary to > install IIS? I'd like to serve webpages over the corporate network via IIS > using some PHP logic. Anyone try such a thing? Thanks for helping out! > Clay Givens > > > > From jkelly at sussex.cc.nj.us Tue Jul 16 14:39:51 2002 From: jkelly at sussex.cc.nj.us (jessica kelly) Date: Tue, 16 Jul 2002 14:39:51 -0400 Subject: [nycphp-talk] PHP on Windows... Message-ID: Clay, How about trying Apache/PHP/MySQL for windows. I have a older version of PHP-triad which installed Apache, PHP, MySQL on my windows machines. I currently use it on a Win 2000 Advanced Server for my website but am working on getting newer versions up due to the Apache security hole. There is a FAQ on how to do it at: http://www.adslworld.net/. You need to be a member (free) but the FAQ (in the forum section) should walk you through installation. I am testing it out now so I can't guarantee the FAQ. I haven't run in to any problems with the win binaries. Hope this helps Jessica PS: Make sure that you get the version of PHP that the FAQ wants. 4.2.1 wont work on Apache 2.0.39 you need 4.2.2 >>> cjtotheg at artisanquest.com 7/16/02 2:18:21 PM >>> Hello, I'm trying to figure out a way to utilize the power of PHP on my Win NT box at work because I can't afford the time to install Linux right now. Has anyone tried to run Windows PHP binaries? If so, is it necessary to install IIS? I'd like to serve webpages over the corporate network via IIS using some PHP logic. Anyone try such a thing? Thanks for helping out! Clay Givens From Arno.Vanmosel at wwecorp.com Tue Jul 16 14:43:51 2002 From: Arno.Vanmosel at wwecorp.com (Arno Vanmosel) Date: Tue, 16 Jul 2002 14:43:51 -0400 Subject: [nycphp-talk] PHP on Windows... Message-ID: <7101D732D17CD311AEFF00508B55857203F7287E@NT-EXCH-TOWER2> Not enough time to install PHP? Full install kist for PHP and MySql for Windows.... http://www.hotscripts.com/PHP/Software_and_Servers/Installation_Kits/ Arno -----Original Message----- From: Clay Givens [mailto:cjtotheg at artisanquest.com] Sent: Tuesday, July 16, 2002 2:18 PM To: NYPHP Talk Subject: [nycphp-talk] PHP on Windows... Hello, I'm trying to figure out a way to utilize the power of PHP on my Win NT box at work because I can't afford the time to install Linux right now. Has anyone tried to run Windows PHP binaries? If so, is it necessary to install IIS? I'd like to serve webpages over the corporate network via IIS using some PHP logic. Anyone try such a thing? Thanks for helping out! Clay Givens -------------- next part -------------- An HTML attachment was scrubbed... URL: From prutwo at onebox.com Tue Jul 16 14:48:58 2002 From: prutwo at onebox.com (ophir prusak) Date: Tue, 16 Jul 2002 11:48:58 -0700 Subject: [nycphp-talk] PHP on Windows... Message-ID: <20020716184858.VIRD16740.mta04.onebox.com@onebox.com> Your best bet is probable apache + PHP binaries for windows. It took be about 2 hours to get Apache + PHP + MySQL setup and running on my win2k box (including download time ;) ---- Ophir Prusak Internet developer prutwo at onebox.com | http://www.prusak.com/ ---- Clay Givens wrote: > Hello, > I'm trying to figure out a way to utilize the power of PHP on my Win > NT > box at work because I can't afford the time to install Linux right > now. > Has anyone tried to run Windows PHP binaries? If so, is it necessary > to > install IIS? I'd like to serve webpages over the corporate network > via IIS > using some PHP logic. Anyone try such a thing? Thanks for helping out! > Clay Givens > > > From jonbaer at digitalanywhere.com Tue Jul 16 15:10:05 2002 From: jonbaer at digitalanywhere.com (Jon Baer) Date: Tue, 16 Jul 2002 15:10:05 -0400 Subject: [nycphp-talk] PHP on Windows... References: <200207161818.g6GIILP40990@slipdisc.virul.net> Message-ID: <3D346F8D.6020409@digitalanywhere.com> Clay Givens wrote: >Hello, >I'm trying to figure out a way to utilize the power of PHP on my Win NT >box at work because I can't afford the time to install Linux right now. >Has anyone tried to run Windows PHP binaries? If so, is it necessary to >install IIS? I'd like to serve webpages over the corporate network via IIS >using some PHP logic. Anyone try such a thing? Thanks for helping out! >Clay Givens > > > > Not sure if this was mentioned, but by far best out-of-the-box PHP Win32 package here: http://sourceforge.net/projects/phptriad No fuss, no muss ... Im in the middle of trying to figure out IIS/PHP, will post/email about what I find ... - Jon From nyphp at altunergil.com Tue Jul 16 15:27:59 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Tue, 16 Jul 2002 15:27:59 -0400 Subject: [nycphp-talk] PHP on Windows... In-Reply-To: <200207161914.g6GJEOP41323@slipdisc.virul.net> References: <200207161914.g6GJEOP41323@slipdisc.virul.net> Message-ID: <20020716152759.51b4c143.nyphp@altunergil.com> I was just gonna recommend that too, but it seems like it's not supported anymore and the developer is trying to 'make it worth his while' or he won't release version 3.0. He wants something like $25,000 in donations or he wants to charge for the software. :) Oktay On Tue, 16 Jul 2002 15:14:24 -0400 Jon Baer wrote: > Clay Givens wrote: > > >Hello, > >I'm trying to figure out a way to utilize the power of PHP on my Win NT > >box at work because I can't afford the time to install Linux right now. > >Has anyone tried to run Windows PHP binaries? If so, is it necessary to > >install IIS? I'd like to serve webpages over the corporate network via IIS > >using some PHP logic. Anyone try such a thing? Thanks for helping out! > >Clay Givens > > > > > > > > > Not sure if this was mentioned, but by far best out-of-the-box PHP Win32 > package here: > > http://sourceforge.net/projects/phptriad > > No fuss, no muss ... > > Im in the middle of trying to figure out IIS/PHP, will post/email about > what I find ... > > - Jon > > > > > From keremtuzemen at hotmail.com Tue Jul 16 15:34:50 2002 From: keremtuzemen at hotmail.com (Kerem Tuzemen) Date: Tue, 16 Jul 2002 15:34:50 -0400 Subject: Session problem on Win2K box... References: <200207161752.g6GHq4P40824@slipdisc.virul.net> Message-ID: Hi all, I have a quick question: I'm using PHP v 4.2.1 on a Win2K Server Box Build 2195 My problem is that, when I set cookie lifetime to zero (for session handling), everything works as it should (session does not expire unless browser window is closed) but when I put a value other than 0 (60 for example), it seems that php always starts a new session at each call of session_start() no matter what the life of the cookie is. Any suggestions? From dg_francisco at hotmail.com Tue Jul 16 15:47:35 2002 From: dg_francisco at hotmail.com (Francisco Marin) Date: Tue, 16 Jul 2002 15:47:35 -0400 Subject: [nycphp-talk] PHP on Windows... References: <200207161818.g6GIILP40990@slipdisc.virul.net> Message-ID: We have our production and testing servers running on Linux but I do all my developments locally on my W2K professional. It took me maybe one hour to get it to run. I shut down IIS on my machine and I'm running only Apache. Key issues to make it run faster: After installing Apache and PHP edit the follwing files: Edit php.ini and put it in c:\\winnt (or whatever your system root is) Edit httpd.conf in the conf folder of apache If you feel that this is a lot of hassle then just install badblue that has web server and php running already. Francisco ----- Original Message ----- From: "Clay Givens" To: "NYPHP Talk" Sent: Tuesday, July 16, 2002 2:18 PM Subject: [nycphp-talk] PHP on Windows... > Hello, > I'm trying to figure out a way to utilize the power of PHP on my Win NT > box at work because I can't afford the time to install Linux right now. > Has anyone tried to run Windows PHP binaries? If so, is it necessary to > install IIS? I'd like to serve webpages over the corporate network via IIS > using some PHP logic. Anyone try such a thing? Thanks for helping out! > Clay Givens > From dorgan at optonline.net Tue Jul 16 15:51:26 2002 From: dorgan at optonline.net (Donald J. Organ IV) Date: Tue, 16 Jul 2002 15:51:26 -0400 Subject: [nycphp-talk] Session problem on Win2K box... References: <200207161931.g6GJVHP41488@slipdisc.virul.net> Message-ID: <003f01c22d02$2c10acb0$0200020a@111weeks.fyeddrsubculture.org> either pass the sessid in the url or turn on trans-id in php.ini ----- Original Message ----- From: "Kerem Tuzemen" To: "NYPHP Talk" Sent: Tuesday, July 16, 2002 3:31 PM Subject: [nycphp-talk] Session problem on Win2K box... > Hi all, > I have a quick question: I'm using PHP v 4.2.1 on a Win2K Server Box Build > 2195 > My problem is that, when I set cookie lifetime to zero (for session > handling), everything works as it should (session does not expire unless > browser window is closed) but when I put a value other than 0 (60 for > example), it seems that php always starts a new session at each call of > session_start() no matter what the life of the cookie is. Any suggestions? > > > From keremtuzemen at hotmail.com Tue Jul 16 16:30:51 2002 From: keremtuzemen at hotmail.com (Kerem Tuzemen) Date: Tue, 16 Jul 2002 16:30:51 -0400 Subject: [nycphp-talk] Session problem on Win2K box... References: <200207162010.g6GKABP41711@slipdisc.virul.net> Message-ID: It's already turned on. ----- Original Message ----- From: "Donald J. Organ IV" To: "NYPHP Talk" Sent: Tuesday, July 16, 2002 4:10 PM Subject: Re: [nycphp-talk] Session problem on Win2K box... > either pass the sessid in the url or turn on trans-id in php.ini > > ----- Original Message ----- > From: "Kerem Tuzemen" > To: "NYPHP Talk" > Sent: Tuesday, July 16, 2002 3:31 PM > Subject: [nycphp-talk] Session problem on Win2K box... > > > > Hi all, > > I have a quick question: I'm using PHP v 4.2.1 on a Win2K Server Box Build > > 2195 > > My problem is that, when I set cookie lifetime to zero (for session > > handling), everything works as it should (session does not expire unless > > browser window is closed) but when I put a value other than 0 (60 for > > example), it seems that php always starts a new session at each call of > > session_start() no matter what the life of the cookie is. Any suggestions? > > > > > > > From zaunere at yahoo.com Tue Jul 16 18:23:40 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Tue, 16 Jul 2002 15:23:40 -0700 (PDT) Subject: Programming Work Message-ID: <20020716222340.70574.qmail@web12808.mail.yahoo.com> Hi folks, Please contact Kayla Connin (kconnin at noguska.com) directly if you're interested in this. Also note that this work is offsite. HZ > --- Kayla Connin wrote: > > > --- Kayla Connin wrote: > > > > Tuesday July 9, 2002 > > > > > > > > FOR: Mr. Hans Zaunere > > > > FROM: Norman Gibat with NOGUSKA > > > > ===================================================== > > > > > > > > Would you be interested in joining a programming team being put > > > > together by Noguska in Fostoria Ohio? > > > > > > > > Most of our programming is done for large and medium sized > > > > businesses. > > > > The projects usually last a matter of a few months to a year. > If > > a > > > > programmer is reasonably proficient the work would almost > > certainly > > > > be > > > > ongoing. > > > > > > > > Our current rates for CONTRACT work are in the $20 to $40 > range. > > We > > > > have a bonus program for difficult projects and for projects > that > > > > come > > > > in under budget. > > > > > > > > Occasionally you would have to attend workshops in Ohio and > there > > > > might be some travel to work sites which could be anywhere in > the > > > > U.S. > > > > or Canada. > > > > > > > > With few exceptions, travel, lodging and local transportion are > > > > either provided or paid for > > > > > > > > We do mostly WEB programming. Our primary skill needs are for > > PHP, > > > > MYSQL, ORACLE, PERL, JAVA and JAVA Script etc. But these > needs, > > too, > > > > > > > > change from time to time. > > > > > > > > It's assumed that most people have at least some skills with a > > few > > > > variations of Windows. However we have a real need for skills > in > > > > UNIX/LINUX and in many of its variations, such as RED HAT, > > FREEBSD, > > > > NETBSD, SUSE, MANDRAKE etc. and such software as APACHE, SAMBA > > and > > > > various Mail Servers. > > > > > > > > If you think you have at least a few of the skills required > > please > > > > respond to this EMAIL and I'll keep you informed as our search > > > > continues. We have some interesting projects which will be > > starting > > > > VERY soon! > > > > > > > > > > > > Cordially, > > > > > > > > > > > > Norman Gibat > > > > > > > > NOGUSKA > > > > 741 N. Countyline > > > > Fostoria OH 44830 > > > > FON 419-435-0404 > > > > FAX 419-435-1844 > > > > 1-800-NOGUSKA > > > > ================= > > > > WWW.NOGUSKA.COM > > > > WWW.NOGUSKA.NET > > > > WWW.FOSTORIA.ORG > > > > ================= > > > > ngibat at noguska.com > > > > khoward at noguska.com > > > > dlee at noguska.com > > > > jflechtner at noguska.com > > > > kconnin at noguska.com > > > > __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From zaunere at yahoo.com Tue Jul 16 18:33:07 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Tue, 16 Jul 2002 15:33:07 -0700 (PDT) Subject: [nycphp-talk] FW: FW: Free computer equipment: monitors, mice , keyboards, desktops In-Reply-To: <200207152211.g6FMBGP36491@slipdisc.virul.net> Message-ID: <20020716223307.85510.qmail@web12801.mail.yahoo.com> --- Tony Bollino wrote: > Hello! > I am a middle school technology teacher in Frederick, MD. I saw your > message on NYPHP and was hoping that we could get a couple of those > computers. I would arrange for transportation (shipping) of the > computers > if you can give me a cost? I took a look at ups.com and it seems like $20 per box... does that seem right, and does anyone know if there are still boxes available? > I am trying to run a LUG at my school and > teach > basic PHP/MySQL to the students. That's great - I hope we can help out in some way. HZ > I am a beginner and I enjoy reading > the > "tips" I find on this use group. Please let me know if we can work > something out. > > Tony Bollino > Technology Coordinator > Governor Thomas Johnson Middle School > Frederick, MD > anthony.bollino at fcps.org > abollino at weevinwebs.com > http://www.tjmiddle.org/ > > -----Original Message----- > From: Larry Chuon [mailto:LarryC at indexstock.com] > Sent: Monday, July 15, 2002 10:24 AM > To: NYPHP Talk > Subject: RE: [nycphp-talk] FW: FW: Free computer equipment: monitors, > mice , > keyboards, desktops > > On the same subject, I used to teach network, security, and basic > programming classes to youths in the Bronx. I have over two dozens > of 486 > CPUs (IBM and Compaq) not in use at the moment. They are great for > Linux. > If you are interested, please give me a buzz. > > -----Original Message----- > From: Daniel Kushner [mailto:nyphp at websapp.com] > Sent: Monday, July 15, 2002 9:58 AM > To: NYPHP Talk > Subject: [nycphp-talk] FW: FW: Free computer equipment: monitors, > mice, > keyboards, desktops > > FYI: > > > I helped out with the cleanup a little bit at the H2K2 Conference > > over the > > weekend. At the Hotel Pennsylvania, there's a pile of about 30 > > monitors > > (most > > 15" and 14"), a few Macs (Classics and SEs), 75 keyboards, 50 mice, > > and many > > cannibalized desktops (486's mostly, some 386's, too). People were > > after > > the > > hard drives and the memory in the desktops. > > > > They're all *free* to anyone who can pick them up, and they need to > > get out > > of > > the hotel by close-of-business, Monday, July 15. Can someone give > > some of the equipment a good home? Call the hotel (PE6-5000) for > > more info, > > but at press time, there wasn't a very structured plan on moving > the > > equipment. The staffers were beginning to make arrangements to > > move the stuff, but they only identified potentially interested > > parties to > > contact (like Goodwill). > > > > All the equipment is on the Mezzanine Level (in the Pavillion > area), > > where > > the > > Sports Authority used to reside. > > > > __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From charles at softwareprototypes.com Tue Jul 16 21:20:32 2002 From: charles at softwareprototypes.com (charles at softwareprototypes.com) Date: Tue, 16 Jul 2002 21:20:32 -0400 Subject: DB <-> XML <-> DB/TLL/BLL/IL(GUI/CUA) Message-ID: <244640-22002731712032781@softwareprototypes.com> XML (eXtensible Markup Language) is a way of tagging a stream of data. DTDs (Document Tag Definitions, usually in a seperate document,) are required to that system A and system B can agree on the semiotics (the semantics and c0ontextual dependencies,) of the tags and thus exchange information. XML is a format for expressing data contained in a file or data base. It is NOT a database. As for rendering, use XSLT (eXtensible Stylesheet Language Transformation) because that what it does. Expresses XML streams into something renderable by transforming these into HTML. There si no decision to be made. They are used in entirely seperate areas. A database (MySQL, PostGreSQL, DB2, Oracle, etc,) stores data (with varying success and apply varying degrees of validation and relational integrity checking.) It can also receive data and transmit data as an XML stream. (You don't want to deal with a database engine that doesn't.) XML is a human readable means of transmitting the data to/from a database engine, a busines logic layer, a transation procesing layer or a interaction layer (GUI or merely CUA compliant inter-system interface.) Think of XML as applying meaning to TCP/IP by wrappering it just as HTML does to web page content and you'd be closer to its intent. -Charles-A. From dorgan at optonline.net Tue Jul 16 21:59:39 2002 From: dorgan at optonline.net (Donald J. Organ IV) Date: Tue, 16 Jul 2002 21:59:39 -0400 Subject: Directions Message-ID: <002701c22d35$9c430630$0200020a@111weeks.fyeddrsubculture.org> I was hoping to attend the July 24th meeting but wasnt sure on the trains. If i could get some type of directions using the trains from the babylon branch on longisland that would be great. -------------- next part -------------- An HTML attachment was scrubbed... URL: From LarryC at indexstock.com Wed Jul 17 09:45:12 2002 From: LarryC at indexstock.com (Larry Chuon) Date: Wed, 17 Jul 2002 09:45:12 -0400 Subject: [nycphp-talk] Programming Work Message-ID: <86713EAB93BD5F40B94A0C8E604C7C91AEB433@index-exchange.indexstock.com> Thanks Hans. My company LECHUON does a lot of work on NOLA and osCommerce integration. Hopefully, we can release fully functional software to the OS community with NOLA, osC and CRM soon. We don't know if we can provide the documentation because most of us done speak English well enough to do technical writing. Everything is written in PHP and utilized MySQL dB. We can also use some strong developers, but we cannot afford to pay right now. If anybody interested to join us at a principle level, please email me directly at "lchuon at lechuon.com". Sorry guys, only EXPERIENCE and serious candidate please. We also want can use some help on the front-end level. We will try to customize NOLA UI. Right now, it is very user-unfriendly besides all the bugs that we uncovered. -----Original Message----- From: Hans Zaunere [mailto:zaunere at yahoo.com] Sent: Tuesday, July 16, 2002 6:24 PM To: NYPHP Talk Subject: [nycphp-talk] Programming Work Hi folks, Please contact Kayla Connin (kconnin at noguska.com) directly if you're interested in this. Also note that this work is offsite. HZ > --- Kayla Connin wrote: > > > --- Kayla Connin wrote: > > > > Tuesday July 9, 2002 > > > > > > > > FOR: Mr. Hans Zaunere > > > > FROM: Norman Gibat with NOGUSKA > > > > ===================================================== > > > > > > > > Would you be interested in joining a programming team being put > > > > together by Noguska in Fostoria Ohio? > > > > > > > > Most of our programming is done for large and medium sized > > > > businesses. > > > > The projects usually last a matter of a few months to a year. > If > > a > > > > programmer is reasonably proficient the work would almost > > certainly > > > > be > > > > ongoing. > > > > > > > > Our current rates for CONTRACT work are in the $20 to $40 > range. > > We > > > > have a bonus program for difficult projects and for projects > that > > > > come > > > > in under budget. > > > > > > > > Occasionally you would have to attend workshops in Ohio and > there > > > > might be some travel to work sites which could be anywhere in > the > > > > U.S. > > > > or Canada. > > > > > > > > With few exceptions, travel, lodging and local transportion are > > > > either provided or paid for > > > > > > > > We do mostly WEB programming. Our primary skill needs are for > > PHP, > > > > MYSQL, ORACLE, PERL, JAVA and JAVA Script etc. But these > needs, > > too, > > > > > > > > change from time to time. > > > > > > > > It's assumed that most people have at least some skills with a > > few > > > > variations of Windows. However we have a real need for skills > in > > > > UNIX/LINUX and in many of its variations, such as RED HAT, > > FREEBSD, > > > > NETBSD, SUSE, MANDRAKE etc. and such software as APACHE, SAMBA > > and > > > > various Mail Servers. > > > > > > > > If you think you have at least a few of the skills required > > please > > > > respond to this EMAIL and I'll keep you informed as our search > > > > continues. We have some interesting projects which will be > > starting > > > > VERY soon! > > > > > > > > > > > > Cordially, > > > > > > > > > > > > Norman Gibat > > > > > > > > NOGUSKA > > > > 741 N. Countyline > > > > Fostoria OH 44830 > > > > FON 419-435-0404 > > > > FAX 419-435-1844 > > > > 1-800-NOGUSKA > > > > ================= > > > > WWW.NOGUSKA.COM > > > > WWW.NOGUSKA.NET > > > > WWW.FOSTORIA.ORG > > > > ================= > > > > ngibat at noguska.com > > > > khoward at noguska.com > > > > dlee at noguska.com > > > > jflechtner at noguska.com > > > > kconnin at noguska.com > > > > __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From zaunere at yahoo.com Wed Jul 17 11:27:46 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 17 Jul 2002 08:27:46 -0700 (PDT) Subject: MEETING - Object-based Web Frameworks - NYPHP.org - 7/24 Message-ID: <20020717152746.74454.qmail@web12808.mail.yahoo.com> New York PHP Presents: "Implementing an Object-based Web Framework in PHP" NYPHP's monthly meeting is a week away (7/24), and after an informal networking event last month, we're excited to offer what certainly will be a highly valuable presentation to many. Web frameworks and object-orientated programming are forging the way for increasingly functional Internet applications, and PHP is continuing to be an integral part of the progress. Two top developers from Tanjero (http://tanjero.com) will be showing us how they've leveraged the AMP Technology suite to quickly provide powerful, yet reusable and cost-effective web applications for their clients. NYPHP meetings are the 4th Wednesday of every month at 6:30pm, with this meeting slated for 7/24. Please visit http://nyphp.org for location details, a map, and further information. Thank you, Hans Zaunere New York PHP http://nyphp.org __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From zaunere at yahoo.com Wed Jul 17 11:52:37 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 17 Jul 2002 08:52:37 -0700 (PDT) Subject: [nycphp-talk] Directions In-Reply-To: <200207170214.g6H2EeP44317@slipdisc.virul.net> Message-ID: <20020717155238.62804.qmail@web12803.mail.yahoo.com> --- "Donald J. Organ IV" wrote: > I was hoping to attend the July 24th meeting but wasnt sure on the > trains. If i could get some type of directions using the trains from > the babylon branch on longisland that would be great. I don't know the LI trains very well, but from looking at: http://mta.info/lirr/html/lirrmap.htm maybe something like this would work: Babylon Branch -> Hicksville -> Port Jefferson Branch -> Jamaica -> NYC Transit (E/J/Z)? (http://mta.info/nyct/maps/submap.htm) -> Penn Station Once at Penn Station, take the C or E to 23rd street, then either a bus or walk east to Digital Pulp (map available at http://nyphp.org). I think there's a subway that's more direct from Jamaica to 23rd Street, but I'm not sure - maybe someone else knows better about this. HZ > > __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From kenrbnsn at rbnsn.com Wed Jul 17 12:10:54 2002 From: kenrbnsn at rbnsn.com (Ken Robinson) Date: Wed, 17 Jul 2002 10:10:54 -0600 Subject: [nycphp-talk] Directions Message-ID: > > Once at Penn Station, take the C or E to 23rd street, then either a bus > or walk east to Digital Pulp (map available at http://nyphp.org). >From Penn Station: Take the 1,2 or 3 to Uptown to 42nd street (1 stop), transfer to the shuttle to Grand Central Station, then take the 6 downtown to 23rd street. Walk east about 3 blocks (If I remember correctly). Ken From jeffrey.konikowski at ams.com Wed Jul 17 12:12:45 2002 From: jeffrey.konikowski at ams.com (Jeffrey Konikowski) Date: Wed, 17 Jul 2002 12:12:45 -0400 Subject: [nycphp-talk] Directions Message-ID: I would recommend taking the LIRR straight into Penn Station (you should be able to pick a time that will avoid transferring at Jamaica), taking the E or C, and walking/cabbing/bussing east. Hans Zaunere 07/17/2002 11:52 AM Please respond to talk To: NYPHP Talk cc: Subject: Re: [nycphp-talk] Directions --- "Donald J. Organ IV" wrote: > I was hoping to attend the July 24th meeting but wasnt sure on the > trains. If i could get some type of directions using the trains from > the babylon branch on longisland that would be great. I don't know the LI trains very well, but from looking at: http://mta.info/lirr/html/lirrmap.htm maybe something like this would work: Babylon Branch -> Hicksville -> Port Jefferson Branch -> Jamaica -> NYC Transit (E/J/Z)? (http://mta.info/nyct/maps/submap.htm) -> Penn Station Once at Penn Station, take the C or E to 23rd street, then either a bus or walk east to Digital Pulp (map available at http://nyphp.org). I think there's a subway that's more direct from Jamaica to 23rd Street, but I'm not sure - maybe someone else knows better about this. HZ > > __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From zala007 at hotmail.com Wed Jul 17 12:54:23 2002 From: zala007 at hotmail.com (Anirudhsinh Zala) Date: Wed, 17 Jul 2002 16:54:23 +0000 Subject: [nycphp-talk] Programming Work Message-ID: hi.. i just have come to know...about these interesting tasks... i am interested in joing all of you..in your projects and tasks.. but as u didn't mentions that those...."who r outside US can also join or not"..so just asking that whether u allow..programmer to work on these projects who r outside US and can do work from there.. pls provide proper info about this.. well..my name is Anirudh Zala...working in a software export company called Globalebwise at india....company is finland-india based..so all business applications are deveoped there and technical applciations are prepared at india.. we use LAMP plus Dhtml, XML, Perl in deeloping web-based applications..i have been working there since last 1.5 years.. well...waiitng for your kind reply.. your sincerely.. Anirudh Zala "Only those who see the invisible can do the impossible..." >From: Larry Chuon >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: RE: [nycphp-talk] Programming Work >Date: Wed, 17 Jul 2002 09:45:20 -0400 >Received: from mc1-f42.law16.hotmail.com ([65.54.236.49]) by >mc1-s17.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Wed, 17 >Jul 2002 06:51:30 -0700 >Received: from slipdisc.virul.net ([66.114.66.188]) by >mc1-f42.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Wed, 17 >Jul 2002 06:49:54 -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 g6HDjKP46924;Wed, 17 Jul >2002 09:45:20 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200207171345.g6HDjKP46924 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: 17 Jul 2002 13:49:55.0205 (UTC) >FILETIME=[D5068B50:01C22D98] > >Thanks Hans. My company LECHUON does a lot of work on NOLA and osCommerce >integration. Hopefully, we can release fully functional software to the OS >community with NOLA, osC and CRM soon. We don't know if we can provide the >documentation because most of us done speak English well enough to do >technical writing. Everything is written in PHP and utilized MySQL dB. We >can also use some strong developers, but we cannot afford to pay right now. >If anybody interested to join us at a principle level, please email me >directly at "lchuon at lechuon.com". Sorry guys, only EXPERIENCE and serious >candidate please. We also want can use some help on the front-end level. >We will try to customize NOLA UI. Right now, it is very user-unfriendly >besides all the bugs that we uncovered. > >-----Original Message----- >From: Hans Zaunere [mailto:zaunere at yahoo.com] >Sent: Tuesday, July 16, 2002 6:24 PM >To: NYPHP Talk >Subject: [nycphp-talk] Programming Work > > >Hi folks, > >Please contact Kayla Connin (kconnin at noguska.com) directly if you're >interested in this. Also note that this work is offsite. > >HZ > > > > --- Kayla Connin wrote: > > > > --- Kayla Connin wrote: > > > > > Tuesday July 9, 2002 > > > > > > > > > > FOR: Mr. Hans Zaunere > > > > > FROM: Norman Gibat with NOGUSKA > > > > > ===================================================== > > > > > > > > > > Would you be interested in joining a programming team being put > > > > > together by Noguska in Fostoria Ohio? > > > > > > > > > > Most of our programming is done for large and medium sized > > > > > businesses. > > > > > The projects usually last a matter of a few months to a year. > > If > > > a > > > > > programmer is reasonably proficient the work would almost > > > certainly > > > > > be > > > > > ongoing. > > > > > > > > > > Our current rates for CONTRACT work are in the $20 to $40 > > range. > > > We > > > > > have a bonus program for difficult projects and for projects > > that > > > > > come > > > > > in under budget. > > > > > > > > > > Occasionally you would have to attend workshops in Ohio and > > there > > > > > might be some travel to work sites which could be anywhere in > > the > > > > > U.S. > > > > > or Canada. > > > > > > > > > > With few exceptions, travel, lodging and local transportion are > > > > > either provided or paid for > > > > > > > > > > We do mostly WEB programming. Our primary skill needs are for > > > PHP, > > > > > MYSQL, ORACLE, PERL, JAVA and JAVA Script etc. But these > > needs, > > > too, > > > > > > > > > > change from time to time. > > > > > > > > > > It's assumed that most people have at least some skills with a > > > few > > > > > variations of Windows. However we have a real need for skills > > in > > > > > UNIX/LINUX and in many of its variations, such as RED HAT, > > > FREEBSD, > > > > > NETBSD, SUSE, MANDRAKE etc. and such software as APACHE, SAMBA > > > and > > > > > various Mail Servers. > > > > > > > > > > If you think you have at least a few of the skills required > > > please > > > > > respond to this EMAIL and I'll keep you informed as our search > > > > > continues. We have some interesting projects which will be > > > starting > > > > > VERY soon! > > > > > > > > > > > > > > > Cordially, > > > > > > > > > > > > > > > Norman Gibat > > > > > > > > > > NOGUSKA > > > > > 741 N. Countyline > > > > > Fostoria OH 44830 > > > > > FON 419-435-0404 > > > > > FAX 419-435-1844 > > > > > 1-800-NOGUSKA > > > > > ================= > > > > > WWW.NOGUSKA.COM > > > > > WWW.NOGUSKA.NET > > > > > WWW.FOSTORIA.ORG > > > > > ================= > > > > > ngibat at noguska.com > > > > > khoward at noguska.com > > > > > dlee at noguska.com > > > > > jflechtner at noguska.com > > > > > kconnin at noguska.com > > > > > > > >__________________________________________________ >Do You Yahoo!? >Yahoo! Autos - Get free new car price quotes >http://autos.yahoo.com _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com From zaunere at yahoo.com Wed Jul 17 12:55:07 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 17 Jul 2002 09:55:07 -0700 (PDT) Subject: Amazon SOAP API Message-ID: <20020717165507.71662.qmail@web12803.mail.yahoo.com> I caught this on another list (http://tcphp.org). Some great examples in PHP and other general info, including Google's API. [watch for a lot of wrap] http://associates.amazon.com/exec/panama/aid-KDLZTADQA8NC4/cck/_p_/associates/join/developer/resources.html/103-3243322-2791810 __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From jonbaer at digitalanywhere.com Wed Jul 17 13:06:01 2002 From: jonbaer at digitalanywhere.com (Jon Baer) Date: Wed, 17 Jul 2002 13:06:01 -0400 Subject: [nycphp-talk] Amazon SOAP API References: <200207171655.g6HGtBP47675@slipdisc.virul.net> Message-ID: <3D35A3F9.4050002@digitalanywhere.com> Hans Zaunere wrote: >I caught this on another list (http://tcphp.org). Some great examples >in PHP and other general info, including Google's API. > > > > I kinda miss the good old days of screen scraping ;-) - Jon From LarryC at indexstock.com Wed Jul 17 13:19:16 2002 From: LarryC at indexstock.com (Larry Chuon) Date: Wed, 17 Jul 2002 13:19:16 -0400 Subject: [nycphp-talk] Programming Work Message-ID: <86713EAB93BD5F40B94A0C8E604C7C91AEB438@index-exchange.indexstock.com> Anirudhsinh, All are welcomed. I want to be certain that everyone is cleared about one thing. You will not get pay for this project. At this point, we are about to complete NOLA and osC integration. Many new features were added. We plan to integrate CRM and EZ Publisher to the suite. If you are interested, please let me know. We want to be able to release this product to the community in time of the recession. As you know, there is very no IT budget for 2002-2003. Therefore, only experience developers (expertise in ERP/CRM and CM is a plus) are needed at this time. Sorry newbies. You'll get to hack the codes when we finish the product. -----Original Message----- From: Anirudhsinh Zala [mailto:zala007 at hotmail.com] Sent: Wednesday, July 17, 2002 12:55 PM To: NYPHP Talk Subject: RE: [nycphp-talk] Programming Work This message uses a character set that is not supported by the Internet Service. To view the original message content, open the attached message. If the text doesn't display correctly, save the attachment to disk, and then open it using a viewer that can display the original character set. From wayne at intercart.co.uk Wed Jul 17 13:31:16 2002 From: wayne at intercart.co.uk (Wayne Cope \(Intercart\)) Date: Wed, 17 Jul 2002 13:31:16 -0400 Subject: [nycphp-talk] Programming Work References: <200207171719.g6HHJPP47808@slipdisc.virul.net> Message-ID: <040a01c22db7$c1d12710$edba99ac@waynecopeltd> Hi there, I'm new to the PHP NY group, but could you tell me a little more, or point me to a URL regarding the CRM software - I've spent four years developing CRM solutions in the UK using PHP and would like to get involved in the project as I may be able to supply valuable input. Is there likely to be a discussion at the next meeting about the project? I'm in NYC for the next six weeks, so would be able to attend. Kind Regards, Wayne Cope ----- Original Message ----- From: "Larry Chuon" To: "NYPHP Talk" Sent: Wednesday, July 17, 2002 1:19 PM Subject: RE: [nycphp-talk] Programming Work > Anirudhsinh, > > All are welcomed. I want to be certain that everyone is cleared about one > thing. You will not get pay for this project. At this point, we are about > to complete NOLA and osC integration. Many new features were added. We > plan to integrate CRM and EZ Publisher to the suite. If you are > interested, please let me know. We want to be able to release this product > to the community in time of the recession. As you know, there is very no IT > budget for 2002-2003. Therefore, only experience developers (expertise in > ERP/CRM and CM is a plus) are needed at this time. Sorry newbies. You'll > get to hack the codes when we finish the product. > > > -----Original Message----- > From: Anirudhsinh Zala [mailto:zala007 at hotmail.com] > Sent: Wednesday, July 17, 2002 12:55 PM > To: NYPHP Talk > Subject: RE: [nycphp-talk] Programming Work > > This message uses a character set that is not supported by the Internet > Service. To view the original message content, open the attached message. > If the text doesn't display correctly, save the attachment to disk, and then > open it using a viewer that can display the original character set. > > From bruce at mtiglobal.com Thu Jul 18 05:55:59 2002 From: bruce at mtiglobal.com (bruce at mtiglobal.com) Date: Thu, 18 Jul 2002 01:55:59 -0800 (CST) Subject: Software Development Companies In-Reply-To: <200207171731.g6HHVNP47890@slipdisc.virul.net> References: <200207171731.g6HHVNP47890@slipdisc.virul.net> Message-ID: <11728.141.129.1.112.1026928559.squirrel@postman.mtiglobal.com> Hi, Was wondering if anyone knew of any sites that may have a directory of packaged software development companies in the NY metro area. When I say packaged, I mean non-consulting, non-customization companies. They create a software product and sell them. Also, is there a U.S. association for these companies, and if so, what is it's (or their) names. Thanks. - Bruce From zaunere at yahoo.com Wed Jul 17 14:11:43 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 17 Jul 2002 11:11:43 -0700 (PDT) Subject: [nycphp-talk] using shared memory In-Reply-To: <200207160541.g6G5fgP37862@slipdisc.virul.net> Message-ID: <20020717181143.19532.qmail@web12802.mail.yahoo.com> --- Jerry Kapron wrote: > Well, I do not have any code yet, but I can explain what I'm trying > to do. > I want to load the most accessed (read from) db tables as arrays into > a > shared memory segment at startup. Has anyone done or heard of > anything like > that done? As Ophir said, PEAR has a caching system, which uses shm: http://www.onlamp.com/pub/a/php/2001/10/11/pearcache.html And a lot of good stuff here: http://www.php-accelerator.co.uk/ I'm sure a thorough search on http://sourceforge.net or http://phpclasses.websapp.com would come up with some sample code as well. Also note that some software may be for caching pages already created and some for caching DB results, but the shm mechanism should be similar. > I'm not talking about heap tables but using php's shared > memory > functions (shm_*) instead. I realize that querying those arrays will > not > be as easy as quering a sql database but i'll come up with some kind > of > interface function(s). Consider that you may eat more CPU/memory/time walking through an array than making a well formed query on an optimized table, especially if we're talking two seperate machines. > I should probably mention I'm talking about a > *very* busy site with thousands of select queries/sec. Also, I heard > that > it's a good idea to rebuild the shm segment often (cron job) due to > memory > leaks in PHP when using shm_* functions. Was that ever fixed? Best bet is bugs.php.net for the status on that. HZ > > > Hans Zaunere wrote: > > > --- Jerry Kapron wrote: > > > any tips or disadvantages of using shm_* functions? > > > > I was going to say they are still experimental, but I just looked > at > > the manual and apparently they're not anymore :) (I would obviously > use > > the latest stable (or even CVS) PHP version). > > > > If possible, I'd like to see some of your code, once completed, as > this > > is always an interesting topic. > > > > __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From LarryC at indexstock.com Wed Jul 17 14:13:16 2002 From: LarryC at indexstock.com (Larry Chuon) Date: Wed, 17 Jul 2002 14:13:16 -0400 Subject: [nycphp-talk] Programming Work Message-ID: <86713EAB93BD5F40B94A0C8E604C7C91AEB439@index-exchange.indexstock.com> I personally use Maximizer at Indexstock. There are not too many open-source CRM that I am aware of. So far, I have identified OpenCRM, Relata (based on openCRM), TUTOS, Eden, and Compiere. Unless someone else show me a better CRM based on LAMP, we're going to integrate Relata into the suite and add other features as we see fit. We don't want to reinvent the wheels. We can definitely use your expertise on the subject. -----Original Message----- From: Wayne Cope ( [mailto:wayne at intercart.co.uk] Sent: Wednesday, July 17, 2002 1:31 PM To: NYPHP Talk Subject: Re: [nycphp-talk] Programming Work Hi there, I'm new to the PHP NY group, but could you tell me a little more, or point me to a URL regarding the CRM software - I've spent four years developing CRM solutions in the UK using PHP and would like to get involved in the project as I may be able to supply valuable input. Is there likely to be a discussion at the next meeting about the project? I'm in NYC for the next six weeks, so would be able to attend. Kind Regards, Wayne Cope ----- Original Message ----- From: "Larry Chuon" To: "NYPHP Talk" Sent: Wednesday, July 17, 2002 1:19 PM Subject: RE: [nycphp-talk] Programming Work > Anirudhsinh, > > All are welcomed. I want to be certain that everyone is cleared about one > thing. You will not get pay for this project. At this point, we are about > to complete NOLA and osC integration. Many new features were added. We > plan to integrate CRM and EZ Publisher to the suite. If you are > interested, please let me know. We want to be able to release this product > to the community in time of the recession. As you know, there is very no IT > budget for 2002-2003. Therefore, only experience developers (expertise in > ERP/CRM and CM is a plus) are needed at this time. Sorry newbies. You'll > get to hack the codes when we finish the product. > > > -----Original Message----- > From: Anirudhsinh Zala [mailto:zala007 at hotmail.com] > Sent: Wednesday, July 17, 2002 12:55 PM > To: NYPHP Talk > Subject: RE: [nycphp-talk] Programming Work > > This message uses a character set that is not supported by the Internet > Service. To view the original message content, open the attached message. > If the text doesn't display correctly, save the attachment to disk, and then > open it using a viewer that can display the original character set. > > From liquidm3 at hotmail.com Wed Jul 17 21:48:28 2002 From: liquidm3 at hotmail.com (Liquid M3) Date: Wed, 17 Jul 2002 21:48:28 -0400 Subject: phpSQLGen 0.3.0 released Message-ID: phpSQLGen provides a library of functions for generating SQL queries from arrays and HTML tables from database result sets (ADOdb) or arrays. For more information, see http://www.liquidmarkets.com/?name=XForum&file=viewthread&tid=2 http://sourceforge.net/projects/phpsqlgen/ http://www.liquidmarkets.com/phpxref/phpsqlgen/index.php#documentation http://www.liquidmarkets.com/?name=djia&y=1998 (example program) New in release 0.3.0: 1) improved integration between SQLGen and TableMaker (note in the example below how TableMaker uses the same $cols array that SQLGen uses to generate the query) 2) support for fetch mode num. This improves performance and cross-database compatibility, since some databases don't support the associative fetch mode 3) better handling of column headers (TableMaker) 4) better handling of "as" (SQLGen and TableMaker) 5) better handling of multiple-table selects (SQLGen) Example program: Ted Shieh ## phpSQLGen example program. Lists the low, date of low, high, and date of high ## for the Dow Jones Industrial Average for each month of 1998. ## See http://www.liquidmarkets.com/?name=djia&y=1998 $web_dir = $_SERVER['DOCUMENT_ROOT']; include_once("$web_dir/phpsqlgen/phpsqlgen-utils.php"); $separator = get_separator(); ini_set('include_path', ".$separator$web_dir/pear"); include_once("$web_dir/pear/HTML/Table.php"); include_once("$web_dir/phpsqlgen/SQLGen.php"); include_once("$web_dir/phpsqlgen/TableMaker.php"); include_once("$web_dir/pnadodb/adodb.inc.php"); $conn = &ADONewConnection("mysql"); $conn->PConnect('localhost', 'user', 'pass', 'database'); print "

Dow Jones Industrial Average Historical Data

\ "; $cols = array('y=>Year', 'm=>Month', 'low=>Low', 'dt_low=>Date of Low', 'high=>High', 'dt_high=>Date of High'); $options['where'] = array("y = 1999"); $sql = SQLGen::gen_select(array('djia_month'),$cols,$options); $rs = $conn->Execute($sql); $tm = new TableMaker(); $tm->display('adodb',$rs,$cols,$display_options); ?> Ted LiquidMarkets Financial data and free classifieds http://www.liquidmarkets.com _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From matteo.rinaudo at tiscali.it Thu Jul 18 12:07:46 2002 From: matteo.rinaudo at tiscali.it (Matteo Rinaudo) Date: Thu, 18 Jul 2002 16:07:46 +0000 Subject: panamasuite - released v0.1.2 (PHP Portal Localization). Message-ID: <200207181607.46623.matteo.rinaudo@tiscali.it> Hi, folks. This is Matteo Rinaudo from Cefal? (PA) Italy. I wrote a PHP application called panamasuite (http://panamasuite.sourceforge.net). I'd like your comments about it. Portal AdvaNced Administration and Maintenance Application Suite is a package of PHP OOP components such as classes, modular and ready-to-use web applications like locales support, connection to databases, forum, newsletter, poll, faq, administrative control panel and other portal features). IT SUPPORTS ONLY LOCALIZATION WITH CONTROL PANEL for NOW. It simply uses PHP4 and MySQL. Interbase and other datasources will be easily implemented in the future, thanks to the modular vision of the implementation method: the secondary classes inherit from the main one the methods of database connections and query, and therefore it will be enough to change the main class in order to approach to one various data source. Best regards to all, Matteo Rinaudo -- -----BEGIN PGP PUBLIC KEY BLOCK----- Version: PGP 6.5.8 mQGiBDzzOhERBADUwhyhOHCiAAYIpRiTnx0eYsjEost6FPI3UyKYAhPXHe38kK2a hVko94QWkhiBwOvoznp6a/+dsDJ+MPDGFut6nl0QvW+CqovNrOQxubWovenxyXaE 9VWZsZEJ0jHnV32AFXsalKNmty1WQvw8mJaa93ez3lU4OeJBa69IbiEXoQCg//5V iftY/AFYmoN/LJjLEq39DMkD/i47NqTW7A9jRroQmUP+tJbS9R0cMzoHhNYdam5W oY01YReGE/ioLIZFg7qCvi73RYZ+960QH+5vPjMGc9TyxpvK5K/ZtCq3fz6l2LeA EV5Pb6SMhKusXe3PCIB14lhYoKy/kjlalweoCNmgyjJxmZ7gRfhqJBsa0goYxv32 xaPIBACtp6bT6keHcRR2JPlrh7FgCwDarfV+kg3z6WmkRC3tvLlsq/JZfFy3S0pA 8B61kVEvibA/fTVr0uR5tnR2k7btWSv3mA0ylXE+ABjpDhVkhfiH6oa6QF18WZN5 CGbLsnrsbzM4y+DtoOzm2TaYDnORnxyuvB1v6/FKQp9LarEBkrQqTWF0dGVvIFJp bmF1ZG8gPG1hdHRlby5yaW5hdWRvQHRpc2NhbGkuaXQ+iQBYBBARAgAYBQI88zoR CAsDCQgHAgEKAhkBBRsDAAAAAAoJEJxoLI1F3zlabesAmgNuY+AsFP497Nuotofz JBGrBkE/AKDhD2U1DFi4b0UaprcUrDAApllkF7kCDQQ88zoSEAgA9kJXtwh/CBdy orrWqULzBej5UxE5T7bxbrlLOCDaAadWoxTpj0BV89AHxstDqZSt90xkhkn4DIO9 ZekX1KHTUPj1WV/cdlJPPT2N286Z4VeSWc39uK50T8X8dryDxUcwYc58yWb/Ffm7 /ZFexwGq01uejaClcjrUGvC/RgBYK+X0iP1YTknbzSC0neSRBzZrM2w4DUUdD3yI sxx8Wy2O9vPJI8BD8KVbGI2Ou1WMuF040zT9fBdXQ6MdGGzeMyEstSr/POGxKUAY EY18hKcKctaGxAMZyAcpesqVDNmWn6vQClCbAkbTCD1mpF1Bn5x8vYlLIhkmuqui XsNV6TILOwACAggAynLW1lsYYQWb2HsEKAQL2SjpA7PIdN+tzx8nvA13e+kOZLxt uR/eXvdhfDqKfUskxhx9r24qOrMs5jz/EAo4HuGI0DfwT6WfqHbXB+3QK5wN4551 189F/bXikxj999rYDEuLgHwd8Yc8ScdjGUQ66VNbP0QAk9EcI4egD9EvyhywkPsu QFRsoD7q7A/mxici2flDiNS7uMLGIgoFpw0036KZOT2IlTsrUMHVte3EBG5aRkMK arLR3I3P4LcovdfmJAoF37xlZu9mFSABnQfzNM5C3YxzITTFHICu/SneW74mardb smCuhF0BIaqw3+8fust+LjPqtrtb4ZfNSuMlK4kATAQYEQIADAUCPPM6EgUbDAAA AAAKCRCcaCyNRd85WrBQAJ9/i46EgYXfYNvsJLTSI+TTgxfVzQCg09PSwVkssTfM ubsX8iMuzHlg2z0= =ANpx -----END PGP PUBLIC KEY BLOCK----- From peter at panvox.net Thu Jul 18 11:12:41 2002 From: peter at panvox.net (Peter Simard) Date: Thu, 18 Jul 2002 11:12:41 -0400 Subject: Guru or altruistic soul sought... Message-ID: <003801c22e6d$8fc43a30$3c9efea9@PC1> Well, I'm 98% done with a clients' project and I just got a final change. Rather than go into the gory details here, if someone is curious about my dilemma they can contact me at peter at panvox.net. It's quite probable that I'm simply missing something, but I fear I may have painted myself into a corner. regards, Pete ------------------------------- -- Peter Simard 908.630.9411 mailto: pasimard at verizon.net mailto: peter at panvox.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From danielc at analysisandsolutions.com Thu Jul 18 11:24:56 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Thu, 18 Jul 2002 11:24:56 -0400 Subject: [nycphp-talk] Guru or altruistic soul sought... In-Reply-To: <200207181512.g6IFCjP51302@slipdisc.virul.net> References: <200207181512.g6IFCjP51302@slipdisc.virul.net> Message-ID: <20020718152456.GB9977@panix.com> On Thu, Jul 18, 2002 at 11:12:45AM -0400, Peter Simard wrote: > > Rather than go into the gory details here, if someone is curious about > my dilemma they can contact me at peter at panvox.net. But that's what help lists are for. The more people that see it, the more people that can help. Of course, make sure you succinctly and clearly state the situation. No one want's to read "War and Peace" here. --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 peter at panvox.net Thu Jul 18 11:39:49 2002 From: peter at panvox.net (Peter Simard) Date: Thu, 18 Jul 2002 11:39:49 -0400 Subject: War & Peace...abridged version.. References: <200207181525.g6IFP0P51344@slipdisc.virul.net> Message-ID: <004901c22e71$5a61b490$3c9efea9@PC1> Allrighty then... I have a food-costing application which takes data about a food item: weights, costs, portion size, measurement equivalent, yield. the end result is that it determines how much it costs to produce a particular item. Providing the user has kept the net cost current of all ingredients used of course. My client would like me to develop a form by which he can create his own conversion. So he'd like to say: 2 ounce = = 1 shmear and have the system understand what a shmear is actually 2 ounces. Thus my dilemma...I cn't for the life of me figure this out. Thanks, Pete ----- Original Message ----- From: "Analysis & Solutions" To: "NYPHP Talk" Sent: Thursday, July 18, 2002 11:25 AM Subject: Re: [nycphp-talk] Guru or altruistic soul sought... > On Thu, Jul 18, 2002 at 11:12:45AM -0400, Peter Simard wrote: > > > > Rather than go into the gory details here, if someone is curious about > > my dilemma they can contact me at peter at panvox.net. > > But that's what help lists are for. The more people that see it, the more > people that can help. Of course, make sure you succinctly and clearly > state the situation. No one want's to read "War and Peace" here. > > --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 MLynn at exchange.ml.com Thu Jul 18 11:54:12 2002 From: MLynn at exchange.ml.com (Lynn, Michael (DCS)) Date: Thu, 18 Jul 2002 11:54:12 -0400 Subject: [nycphp-talk] War & Peace...abridged version.. Message-ID: <8FA07D8665A9D511B80E00B0D068A1510293A670@ehope16.hew.us.ml.com> Just off the top of my head - I might create something like the following: Create a couple tables in your database for conversions: Table: Units Column: unit_id Column: unit_name Column: unit_desc Table: Equivilence Column: equiv_id Column: unit1_id Column: unit2_id Column: multiplier Your equiv table will contain relationship information: Example Table: Units Unit_id: 001 Unit_name: Shmear Unit_desc: Dollap applied by knifelike utensil. Table: Units Unit_id: 002 Unit_name: Oz Unit_desc: One Ounce Table: Equivilence Equiv_id: 0001 Unit1_id: 001 Unit2_id: 002 Multiplier: 2 This example shows that 1 Schmear is equal to 2 Oz's: Unit1 * Multiplier = Unit2. Just a quick shot at it anyway - good luck! Mike -----Original Message----- From: Peter Simard [mailto:peter at panvox.net] Sent: Thursday, July 18, 2002 11:40 AM To: NYPHP Talk Subject: [nycphp-talk] War & Peace...abridged version.. Allrighty then... I have a food-costing application which takes data about a food item: weights, costs, portion size, measurement equivalent, yield. the end result is that it determines how much it costs to produce a particular item. Providing the user has kept the net cost current of all ingredients used of course. My client would like me to develop a form by which he can create his own conversion. So he'd like to say: 2 ounce = = 1 shmear and have the system understand what a shmear is actually 2 ounces. Thus my dilemma...I cn't for the life of me figure this out. Thanks, Pete ----- Original Message ----- From: "Analysis & Solutions" To: "NYPHP Talk" Sent: Thursday, July 18, 2002 11:25 AM Subject: Re: [nycphp-talk] Guru or altruistic soul sought... > On Thu, Jul 18, 2002 at 11:12:45AM -0400, Peter Simard wrote: > > > > Rather than go into the gory details here, if someone is curious > > about my dilemma they can contact me at peter at panvox.net. > > But that's what help lists are for. The more people that see it, the > more people that can help. Of course, make sure you succinctly and > clearly state the situation. No one want's to read "War and Peace" > here. > > --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 ejp at well.com Thu Jul 18 11:57:02 2002 From: ejp at well.com (Edward Potter) Date: Thu, 18 Jul 2002 11:57:02 -0400 Subject: best setup environment on iBook... ??? Message-ID: <3D36E54E.5030902@well.com> Yipes, just about to leave town for a bit, got a carpentry job in the Adirondacks, well at least it's room and board! Anyway, I have a long train ride, wanted to get the latest, all up to date php/postgres things all configured on my new iBook [BEST COMPUTER I'VE OWNED in 20 years]. Any info on the latest tips and tricks there for setting up my php development environment on OS X? Web site links, etc... thanks - e PS... I'll be in a log cabin, in the Adirondacks, without much to do after the sun goes down, any freelance work, etc, i'm available! ROCK BOTTOM RATES [ecommerce, bloggers, perl, gui development, web sites, hosting, etc u name it, i've done it] I'll match Bangalore prices for the next few weeks. thanks... From patrick.fee at baesystems.com Thu Jul 18 12:00:39 2002 From: patrick.fee at baesystems.com (Fee, Patrick J) Date: Thu, 18 Jul 2002 12:00:39 -0400 Subject: [nycphp-talk] War & Peace...abridged version.. Message-ID: Perhaps this idea would work... Couldn't you simply create a "conversion table". This table would then allow you to keep the new item (e.g. shmear), a multiplier (e.g. 2) and a field that has a one-to-one relationship with items in your measurements table (e.g. ounce). That way, you could set up a form that would allow him to make a new conversion item (force it to be unique) like "jigger". He then would put in a multiplier like 3.5 in a text box. Finally he would select from a drop down list the appropriate measurement, perhaps ounces. Now, anywhere else in the application, you can show a jigger as 3.5oz. You'll have to allow for the plural when listing it (e.g. the table might show "ounce" but a "jigger" would need to show "ounces"), but I think it could work with a relational DB behind you. 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: Peter Simard [mailto:peter at panvox.net] Sent: Thursday, July 18, 2002 11:40 AM To: NYPHP Talk Subject: [nycphp-talk] War & Peace...abridged version.. Allrighty then... I have a food-costing application which takes data about a food item: weights, costs, portion size, measurement equivalent, yield. the end result is that it determines how much it costs to produce a particular item. Providing the user has kept the net cost current of all ingredients used of course. My client would like me to develop a form by which he can create his own conversion. So he'd like to say: 2 ounce = = 1 shmear and have the system understand what a shmear is actually 2 ounces. Thus my dilemma...I cn't for the life of me figure this out. Thanks, Pete ----- Original Message ----- From: "Analysis & Solutions" To: "NYPHP Talk" Sent: Thursday, July 18, 2002 11:25 AM Subject: Re: [nycphp-talk] Guru or altruistic soul sought... > On Thu, Jul 18, 2002 at 11:12:45AM -0400, Peter Simard wrote: > > > > Rather than go into the gory details here, if someone is curious about > > my dilemma they can contact me at peter at panvox.net. > > But that's what help lists are for. The more people that see it, the more > people that can help. Of course, make sure you succinctly and clearly > state the situation. No one want's to read "War and Peace" here. > > --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 weslists at anapraxis.com Thu Jul 18 12:02:56 2002 From: weslists at anapraxis.com (Weston Houghton) Date: Thu, 18 Jul 2002 12:02:56 -0400 Subject: [nycphp-talk] best setup environment on iBook... ??? In-Reply-To: <200207181559.g6IFx3P51476@slipdisc.virul.net> Message-ID: Apache is built in, all you need is PHP and mySQL. And there is a site that makes it easy: http://www.entropy.ch/software/macosx/ He's setup a really easy straightforward page or two to help you get them installed. Mac OS X just became the absolute best PHP development environment, IMHO. It rocks. Cheers, Wes > Yipes, just about to leave town for a bit, got a carpentry job in the > Adirondacks, well at least it's room and board! Anyway, I have a long > train ride, wanted to get the latest, all up to date php/postgres things > all configured on my new iBook [BEST COMPUTER I'VE OWNED in 20 years]. > > Any info on the latest tips and tricks there for setting up my php > development environment on OS X? Web site links, etc... > > thanks > - e > > PS... I'll be in a log cabin, in the Adirondacks, without much to do > after the sun goes down, any freelance work, etc, i'm available! ROCK > BOTTOM RATES [ecommerce, bloggers, perl, gui development, web sites, > hosting, etc u name it, i've done it] I'll match Bangalore prices for > the next few weeks. > > thanks... > > > > > > > > From zala007 at hotmail.com Thu Jul 18 12:23:22 2002 From: zala007 at hotmail.com (Anirudhsinh Zala) Date: Thu, 18 Jul 2002 16:23:22 +0000 Subject: [nycphp-talk] War & Peace...abridged version.. Message-ID: Hey..pete.. well..if u can create this type of from, then u can store those conversion rates into database..and while generating calculations..u can retrive those figures and use.. however without knowing current functionality exactly it's diff to provie solution.. but as i told above u can use this type of solution...but u can't give..user to fill in conversion rates in free fromat like he can type "1 ounce==2 smear" ..this is wrong..bcoz system can't figure out what does it mean... instead u have to design your form in smart a way that user will never make mistake...like first u add all possible measurement units into database.. and when user want to add..some data then he can add conversion rates by below way list box of text filed list box of first unit (which accepts second units. numeric fig.) (in which first to be convereted) now by this way user can pick up..first unit then enters figure and then selects second unit.. now u can store all 3 items into db..and while calculating...or gennerating reports u can use stored figure and both conversion units for making correct conversion.. Thanks Anirudh Zala >From: "Peter Simard" >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: [nycphp-talk] War & Peace...abridged version.. >Date: Thu, 18 Jul 2002 11:39:53 -0400 >Received: from mc2-f14.law16.hotmail.com ([65.54.237.21]) by >mc2-s20.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Thu, 18 >Jul 2002 08:45:11 -0700 >Received: from slipdisc.virul.net ([66.114.66.188]) by >mc2-f14.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Thu, 18 >Jul 2002 08:44:09 -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 g6IFdrP51400;Thu, 18 Jul >2002 11:39:53 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200207181539.g6IFdrP51400 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: 18 Jul 2002 15:44:09.0612 (UTC) >FILETIME=[F4FBCCC0:01C22E71] > >Allrighty then... > >I have a food-costing application which takes data about a food item: >weights, costs, portion size, measurement equivalent, yield. the end >result >is that it determines how much it costs to produce a particular item. >Providing the user has kept the net cost current of all ingredients used of >course. > >My client would like me to develop a form by which he can create his own >conversion. > >So he'd like to say: >2 ounce = = 1 shmear > >and have the system understand what a shmear is actually 2 ounces. > >Thus my dilemma...I cn't for the life of me figure this out. > >Thanks, > >Pete > > >----- Original Message ----- >From: "Analysis & Solutions" >To: "NYPHP Talk" >Sent: Thursday, July 18, 2002 11:25 AM >Subject: Re: [nycphp-talk] Guru or altruistic soul sought... > > > > On Thu, Jul 18, 2002 at 11:12:45AM -0400, Peter Simard wrote: > > > > > > Rather than go into the gory details here, if someone is curious about > > > my dilemma they can contact me at peter at panvox.net. > > > > But that's what help lists are for. The more people that see it, the >more > > people that can help. Of course, make sure you succinctly and clearly > > state the situation. No one want's to read "War and Peace" here. > > > > --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 > > > > > > _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From peter at panvox.net Thu Jul 18 12:25:37 2002 From: peter at panvox.net (Peter Simard) Date: Thu, 18 Jul 2002 12:25:37 -0400 Subject: [nycphp-talk] War & Peace...abridged version.. References: <200207181600.g6IG0hP51491@slipdisc.virul.net> Message-ID: <006901c22e77$c055f580$3c9efea9@PC1> My initial attempt a few days ago resembles Patricks' suggestion: CREATE TABLE custom_conversion ( custom_id int(11) NOT NULL auto_increment, custom_name varchar(15) NOT NULL, custom_amt double DEFAULT '0' NOT NULL, custom_conv double DEFAULT '0' NOT NULL, custom_type varchar(15) NOT NULL, parent_amt double DEFAULT '0' NOT NULL, parent_conv double DEFAULT '0' NOT NULL, parent_type varchar(15) NOT NULL, PRIMARY KEY (custom_id) ); however the "mulltiplier" idea never occured to me... Either way I think i'm getting a clearer picture now... any more suggestions feel free to add them!! if you like feel free to check out how the user would to define their conversions here: http://www.mainstreetsrestaurantgroup.com/msc/conversionBuilder.php ----- Original Message ----- From: "Fee, Patrick J" To: "NYPHP Talk" Sent: Thursday, July 18, 2002 12:00 PM Subject: RE: [nycphp-talk] War & Peace...abridged version.. > Perhaps this idea would work... > > Couldn't you simply create a "conversion table". > > This table would then allow you to keep the new item (e.g. shmear), a > multiplier (e.g. 2) and a field that has a one-to-one relationship with > items in your measurements table (e.g. ounce). > > That way, you could set up a form that would allow him to make a new > conversion item (force it to be unique) like "jigger". He then would put in > a multiplier like 3.5 in a text box. Finally he would select from a drop > down list the appropriate measurement, perhaps ounces. > > Now, anywhere else in the application, you can show a jigger as 3.5oz. > > You'll have to allow for the plural when listing it (e.g. the table might > show "ounce" but a "jigger" would need to show "ounces"), but I think it > could work with a relational DB behind you. > > 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: Peter Simard [mailto:peter at panvox.net] > Sent: Thursday, July 18, 2002 11:40 AM > To: NYPHP Talk > Subject: [nycphp-talk] War & Peace...abridged version.. > > > Allrighty then... > > I have a food-costing application which takes data about a food item: > weights, costs, portion size, measurement equivalent, yield. the end result > is that it determines how much it costs to produce a particular item. > Providing the user has kept the net cost current of all ingredients used of > course. > > My client would like me to develop a form by which he can create his own > conversion. > > So he'd like to say: > 2 ounce = = 1 shmear > > and have the system understand what a shmear is actually 2 ounces. > > Thus my dilemma...I cn't for the life of me figure this out. > > Thanks, > > Pete > > > ----- Original Message ----- > From: "Analysis & Solutions" > To: "NYPHP Talk" > Sent: Thursday, July 18, 2002 11:25 AM > Subject: Re: [nycphp-talk] Guru or altruistic soul sought... > > > > On Thu, Jul 18, 2002 at 11:12:45AM -0400, Peter Simard wrote: > > > > > > Rather than go into the gory details here, if someone is curious about > > > my dilemma they can contact me at peter at panvox.net. > > > > But that's what help lists are for. The more people that see it, the more > > people that can help. Of course, make sure you succinctly and clearly > > state the situation. No one want's to read "War and Peace" here. > > > > --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 bcoleman at bcmedia-online.com Thu Jul 18 12:31:27 2002 From: bcoleman at bcmedia-online.com (Brad Coleman) Date: Thu, 18 Jul 2002 12:31:27 -0400 Subject: [nycphp-talk] best setup environment on iBook... ??? References: <200207181559.g6IFx3P51476@slipdisc.virul.net> Message-ID: <3D36ED5F.7010809@bcmedia-online.com> Have you looked at.... http://www.entropy.ch/software/macosx/ I found this to be a great source. Brad Coleman E-Mail: bcoleman at bcmedia-online.com From fifreak at optonline.net Thu Jul 18 12:44:36 2002 From: fifreak at optonline.net (Jason Gordon) Date: Thu, 18 Jul 2002 12:44:36 -0400 Subject: [nycphp-talk] best setup environment on iBook... ??? In-Reply-To: <200207181603.g6IG34P51511@slipdisc.virul.net> Message-ID: I too own an iBook, and I love it. I agree with Wes, go to that entropy.ch page and use his software. Some additional tips: You might have to edit /etc/httpd/httpd.conf Look for all lines with php in them and uncomment them. You may also have to add the following to the conf: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps There is a binary mysql distro at www.yolke.com/oss Its recommended by apple but I havent tried it. I used entropy.ch's distribution but I followed these install instructions: http://developer.apple.com/internet/macosx/osdb.html Good luck and Yay for ibook. Jason On Thursday, July 18, 2002, at 12:03 PM, Weston Houghton wrote: > > Apache is built in, all you need is PHP and mySQL. And there is a site > that > makes it easy: > > http://www.entropy.ch/software/macosx/ > > He's setup a really easy straightforward page or two to help you get > them > installed. > > Mac OS X just became the absolute best PHP development environment, > IMHO. It > rocks. > > Cheers, > Wes > > >> Yipes, just about to leave town for a bit, got a carpentry job in the >> Adirondacks, well at least it's room and board! Anyway, I have a long >> train ride, wanted to get the latest, all up to date php/postgres >> things >> all configured on my new iBook [BEST COMPUTER I'VE OWNED in 20 years]. >> >> Any info on the latest tips and tricks there for setting up my php >> development environment on OS X? Web site links, etc... >> >> thanks >> - e >> >> PS... I'll be in a log cabin, in the Adirondacks, without much to do >> after the sun goes down, any freelance work, etc, i'm available! ROCK >> BOTTOM RATES [ecommerce, bloggers, perl, gui development, web sites, >> hosting, etc u name it, i've done it] I'll match Bangalore prices for >> the next few weeks. >> >> thanks... >> >> >> >> >> >> >> >> > > From gherson at snet.net Thu Jul 18 13:04:43 2002 From: gherson at snet.net (George Herson) Date: Thu, 18 Jul 2002 13:04:43 -0400 Subject: [nycphp-talk] War & Peace...abridged version.. References: <200207181625.g6IGPfP51624@slipdisc.virul.net> Message-ID: <3D36F52B.1070105@snet.net> hi, you already have your multiplier: it is your first amount over your second amount. (Or vice versa depending on how it's used. I'm looking at http://www.mainstreetsrestaurantgroup.com/msc/conversionBuilder.php). So you can now convert to any weird unit, as Patrick explained (and i was about to send :), for presentation. Otoh, save all amount data in native units so as not to complicate any of your other calculations on the data. george Peter Simard wrote: > My initial attempt a few days ago resembles Patricks' suggestion: > CREATE TABLE custom_conversion ( > custom_id int(11) NOT NULL auto_increment, > custom_name varchar(15) NOT NULL, > custom_amt double DEFAULT '0' NOT NULL, > custom_conv double DEFAULT '0' NOT NULL, > custom_type varchar(15) NOT NULL, > parent_amt double DEFAULT '0' NOT NULL, > parent_conv double DEFAULT '0' NOT NULL, > parent_type varchar(15) NOT NULL, > PRIMARY KEY (custom_id) > ); > > > however the "mulltiplier" idea never occured to me... > > Either way I think i'm getting a clearer picture now... > > any more suggestions feel free to add them!! > > if you like feel free to check out how the user would to define their > conversions here: > > http://www.mainstreetsrestaurantgroup.com/msc/conversionBuilder.php > > > From matthew.zimmerman at nyu.edu Thu Jul 18 13:28:47 2002 From: matthew.zimmerman at nyu.edu (Matthew Zimmerman) Date: Thu, 18 Jul 2002 13:28:47 -0400 Subject: [nycphp-talk] best setup environment on iBook... ??? Message-ID: I second Weston's suggestion. I set up PHP/MYSQL on my ibook from this guy's site as well. Matt ----- Original Message ----- From: Weston Houghton Date: Thursday, July 18, 2002 12:03 pm Subject: Re: [nycphp-talk] best setup environment on iBook... ??? > > Apache is built in, all you need is PHP and mySQL. And there is a > site that > makes it easy: > > http://www.entropy.ch/software/macosx/ > > He's setup a really easy straightforward page or two to help you > get them > installed. > > Mac OS X just became the absolute best PHP development > environment, IMHO. It > rocks. > > Cheers, > Wes > > > > Yipes, just about to leave town for a bit, got a carpentry job > in the > > Adirondacks, well at least it's room and board! Anyway, I have > a long > > train ride, wanted to get the latest, all up to date > php/postgres things > > all configured on my new iBook [BEST COMPUTER I'VE OWNED in 20 > years].> > > Any info on the latest tips and tricks there for setting up my php > > development environment on OS X? Web site links, etc... > > > > thanks > > - e > > > > PS... I'll be in a log cabin, in the Adirondacks, without much > to do > > after the sun goes down, any freelance work, etc, i'm available! > ROCK > > BOTTOM RATES [ecommerce, bloggers, perl, gui development, web sites, > > hosting, etc u name it, i've done it] I'll match Bangalore > prices for > > the next few weeks. > > > > thanks... > > > > > > > > > > > > > > > > > > > From amiller at hollywood101.com Thu Jul 18 14:40:48 2002 From: amiller at hollywood101.com (Alan T. Miller) Date: Thu, 18 Jul 2002 11:40:48 -0700 (MST) Subject: OPen Source e-commerce apps / libraries in PHP? In-Reply-To: <200207181728.g6IHSqP51854@slipdisc.virul.net> References: <200207181728.g6IHSqP51854@slipdisc.virul.net> Message-ID: <16384.204.155.171.19.1027017648.squirrel@mail.hollywood101.com> Hello everyone, I was curious if anyone out there has had experience with any open source e-commerce type applications or libraries. I have been looking at Inrerchange, but do not really care for what seems to be its own proprietary markup code. I need to build something extensible, but I would prefer to not have to have to start from scratch. So any suggestions, or pointers on where to look would be most appreciated. Something written in PHP would be preferable. I was looking at an application called 'pgmarket' and like the fact that it is a template system and object oriented, but am not too keen on its use of phplib. Thanks again, Alan -- Alan T. Miller amiller at hollywood101.com http://www.alantmiller.com From MLynn at exchange.ml.com Thu Jul 18 14:27:44 2002 From: MLynn at exchange.ml.com (Lynn, Michael (DCS)) Date: Thu, 18 Jul 2002 14:27:44 -0400 Subject: [nycphp-talk] OPen Source e-commerce apps / libraries in PHP? Message-ID: <8FA07D8665A9D511B80E00B0D068A1510293A673@ehope16.hew.us.ml.com> http://www.oscommerce.com - it's the latest version of the exchange project... Pretty slick. There is also a version of PostNuke that has oscommerce functionality built in - I think it's available on Freshmeat. -----Original Message----- From: Alan T. Miller [mailto:amiller at hollywood101.com] Sent: Thursday, July 18, 2002 2:21 PM To: NYPHP Talk Subject: [nycphp-talk] OPen Source e-commerce apps / libraries in PHP? Hello everyone, I was curious if anyone out there has had experience with any open source e-commerce type applications or libraries. I have been looking at Inrerchange, but do not really care for what seems to be its own proprietary markup code. I need to build something extensible, but I would prefer to not have to have to start from scratch. So any suggestions, or pointers on where to look would be most appreciated. Something written in PHP would be preferable. I was looking at an application called 'pgmarket' and like the fact that it is a template system and object oriented, but am not too keen on its use of phplib. Thanks again, Alan -- Alan T. Miller amiller at hollywood101.com http://www.alantmiller.com From liquidm3 at hotmail.com Thu Jul 18 15:04:15 2002 From: liquidm3 at hotmail.com (Liquid M3) Date: Thu, 18 Jul 2002 15:04:15 -0400 Subject: LiquidClassifieds 0.7.0 now available Message-ID: If this software package catches fire, maybe someday I can hire PHP programmers (there are quite a few enhancements I can envision)...a nice dream. Maybe someday there will be world peace too. Features 1) Fully automated. Users can register (via PostNuke), post, edit, and delete without your involvement. 2) Side block (so every page of your PostNuke site can show the ads) 3) Unregistered users can post, but cannot edit ads. 4) BBCode support 5) Categories 6) Easy to remember URLs like http://www.liquidmarkets.com/?name=liquidclassifieds, http://www.liquidmarkets.com/?name=liquidclassifieds&cat=forsale, and http://www.liquidmarkets.com/?name=liquidclassifieds&cat=forsale&id=1 7) Supported fields: title, body, state, city 8) Anonymous posting. Posters don't need to reveal their identities. 9) Registered users do not need to reveal their e-mail addresses. The person responding to the ad can fill out a contact form and then the system, which knows the e-mail addresses of registered users, will send an e-mail. Unregistered users should supply phone numbers (recommended) and/or e-mail addresses (not recommended because of spambots) in their postings. 10) Sorting by last modified timestamp 11) Modular design (only important for enterprise edition purchasers) - the same infrastructure was used to build journal, organizer, and cronmail. 12) Ownership re-assignment for un-registered postings. If an unregistered user posts an ad, and then a registered user edits it, it's ownership will be re-assigned to the registered user. Limitations 1) Only two permision levels: registered user and unregistered user. There probably ought to be an admin level as well. All registered users have admin-like privileges - registered users can create new categories and edit or delete posts made by unregistered users. 2) No "paging." If you have 1000 listings in one category, the program will display all 1000 listings on the same page - it won't split the listings up into separate pages. 3) Slightly quirky user-interface 4) Not hierarchical (no support for sub-categories). Pricing Two versions are offered: a) Standard edition: (includes obfuscated source code, installation help and 7 days of support). Pricing is still being worked out, but will be in the hundreds of dollars. The code is designed to work with PostNuke, but can be adapted to work with PHP-Nuke, phpBB, etc. - though this may cost a little extra. Single domain name license - ask if you need to use the software with more than one domain name. b) Enterprise edition: (includes unobfuscated source code, installation help, and 30 days of support). Pricing is still being worked out, but will be in the thousands of dollars. Single domain name license - ask if you need to use the software with more than one domain name. Contact me for prices. Checkout If you'd like to buy a license, contact me. If you need extra features, let me know - we may be able to work out a deal. I'm also willing to consider barter arrangements. If you're interested in the software, but deterred by the price, let me know. If I can sell the software in large volumes, I can charge less. Ted LiquidMarkets Financial data and free classifieds http://www.liquidmarkets.com _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From liquidm3 at hotmail.com Thu Jul 18 15:06:09 2002 From: liquidm3 at hotmail.com (Liquid M3) Date: Thu, 18 Jul 2002 15:06:09 -0400 Subject: LiquidClassifieds 0.7.0 now available (2) Message-ID: I forgot to include something: For up-to-date information about LiquidClassifieds, see http://www.liquidmarkets.com/?name=XForum&file=viewthread&tid=55 Ted -------------------------------------------------------------------- If this software package catches fire, maybe someday I can hire PHP programmers (there are quite a few enhancements I can envision)...a nice dream. Maybe someday there will be world peace too. Features 1) Fully automated. Users can register (via PostNuke), post, edit, and delete without your involvement. 2) Side block (so every page of your PostNuke site can show the ads) 3) Unregistered users can post, but cannot edit ads. 4) BBCode support 5) Categories 6) Easy to remember URLs like http://www.liquidmarkets.com/?name=liquidclassifieds, http://www.liquidmarkets.com/?name=liquidclassifieds&cat=forsale, and http://www.liquidmarkets.com/?name=liquidclassifieds&cat=forsale&id=1 7) Supported fields: title, body, state, city 8) Anonymous posting. Posters don't need to reveal their identities. 9) Registered users do not need to reveal their e-mail addresses. The person responding to the ad can fill out a contact form and then the system, which knows the e-mail addresses of registered users, will send an e-mail. Unregistered users should supply phone numbers (recommended) and/or e-mail addresses (not recommended because of spambots) in their postings. 10) Sorting by last modified timestamp 11) Modular design (only important for enterprise edition purchasers) - the same infrastructure was used to build journal, organizer, and cronmail. 12) Ownership re-assignment for un-registered postings. If an unregistered user posts an ad, and then a registered user edits it, it's ownership will be re-assigned to the registered user. Limitations 1) Only two permision levels: registered user and unregistered user. There probably ought to be an admin level as well. All registered users have admin-like privileges - registered users can create new categories and edit or delete posts made by unregistered users. 2) No "paging." If you have 1000 listings in one category, the program will display all 1000 listings on the same page - it won't split the listings up into separate pages. 3) Slightly quirky user-interface 4) Not hierarchical (no support for sub-categories). Pricing Two versions are offered: a) Standard edition: (includes obfuscated source code, installation help and 7 days of support). Pricing is still being worked out, but will be in the hundreds of dollars. The code is designed to work with PostNuke, but can be adapted to work with PHP-Nuke, phpBB, etc. - though this may cost a little extra. Single domain name license - ask if you need to use the software with more than one domain name. b) Enterprise edition: (includes unobfuscated source code, installation help, and 30 days of support). Pricing is still being worked out, but will be in the thousands of dollars. Single domain name license - ask if you need to use the software with more than one domain name. Contact me for prices. Checkout If you'd like to buy a license, contact me. If you need extra features, let me know - we may be able to work out a deal. I'm also willing to consider barter arrangements. If you're interested in the software, but deterred by the price, let me know. If I can sell the software in large volumes, I can charge less. 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 soltek at mac.com Thu Jul 18 22:40:13 2002 From: soltek at mac.com (SolTek) Date: Thu, 18 Jul 2002 22:40:13 -0400 Subject: JavaScript List? Message-ID: Does anyone know of any list I can join for seeking help with JavaScript? Thanks, Steve From danielc at analysisandsolutions.com Thu Jul 18 23:23:38 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Thu, 18 Jul 2002 23:23:38 -0400 Subject: [nycphp-talk] JavaScript List? In-Reply-To: <200207190240.g6J2eaP53052@slipdisc.virul.net> References: <200207190240.g6J2eaP53052@slipdisc.virul.net> Message-ID: <20020719032338.GA4054@panix.com> On Thu, Jul 18, 2002 at 10:40:36PM -0400, SolTek wrote: > > Does anyone know of any list I can join for seeking help with JavaScript? /dev/null :) While I'm joking, I'm also serious. The only legitimate use for Java'sCrap is mouseovers. Relying on the browser/client for anything isn't wise. Most things done with JS can be done server side much more accurately. That's why you've subscribed to a PHP list, no? :) See http://www.analysisandsolutions.com/code/weberror.htm?j=y for more info. --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 gherson at snet.net Thu Jul 18 23:26:29 2002 From: gherson at snet.net (George Herson) Date: Thu, 18 Jul 2002 23:26:29 -0400 Subject: [nycphp-talk] JavaScript List? References: <200207190240.g6J2eaP53052@slipdisc.virul.net> Message-ID: <3D3786E5.7040304@snet.net> http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&group=comp.lang.javascript SolTek wrote: > Does anyone know of any list I can join for seeking help with JavaScript? > > Thanks, > Steve > > > From matteo.rinaudo at tiscali.it Fri Jul 19 07:32:03 2002 From: matteo.rinaudo at tiscali.it (Matteo Rinaudo) Date: Fri, 19 Jul 2002 07:32:03 -0400 Subject: [nycphp-talk] panamasuite - released v0.1.3 . Message-ID: <200207181408.g6IE81P51120@slipdisc.virul.net> Hi from Matteo Rinaudo. I released a new version of a PHP application called panamasuite . (http://panamasuite.sourceforge.net). I'd like your comments about it. Portal AdvaNced Administration and Maintenance Application Suite is a package of PHP OOP components such as classes, modular and ready-to-use web applications like locales support, connection to databases, forum, newsletter, poll, faq, administrative control panel and other portal features). IT SUPPORTS ONLY LOCALIZATION WITH CONTROL PANEL for NOW. It simply uses PHP4 and MySQL. Interbase and other datasources will be easily implemented in the future, thanks to the modular vision of the implementation method: the secondary classes inherit from the main one the methods of database connections and query, and therefore it will be enough to change the main class in order to approach to one various data source. Best regards to all, Matteo Rinaudo From jim at bizcomputinginc.com Fri Jul 19 08:12:30 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Fri, 19 Jul 2002 08:12:30 -0400 Subject: [nycphp-talk] JavaScript List? References: <200207190323.g6J3NgP53150@slipdisc.virul.net> Message-ID: <0ab901c22f1d$8fb64780$6601a8c0@Notebook> I find plenty of uses for JavaScript on the Client while still using PHP on the server. Form validations present nicer to the user when done on the client, there's not that anoying flash caused by the server round trip, as well as the delay on a slow connection. JavaScript is also useful on the client to update info in the client without making a full round trip to the server ( ie. hidden frame refresh with javascript to copy the data to where it needs to be ). And then there's features like popup help ( although we all know real programmers don't write help... ha ha ha... evil grin here ). While I do try to minimize my Javascript on the client due to fear of browser incompatibilities, I don't avoid it because it has it's place. Jim ----- Original Message ----- From: "Analysis & Solutions" To: "NYPHP Talk" Sent: Thursday, July 18, 2002 11:23 PM Subject: Re: [nycphp-talk] JavaScript List? > On Thu, Jul 18, 2002 at 10:40:36PM -0400, SolTek wrote: > > > > Does anyone know of any list I can join for seeking help with JavaScript? > > /dev/null :) > > While I'm joking, I'm also serious. The only legitimate use for > Java'sCrap is mouseovers. Relying on the browser/client for anything > isn't wise. > > Most things done with JS can be done server side much more accurately. > That's why you've subscribed to a PHP list, no? :) > > See http://www.analysisandsolutions.com/code/weberror.htm?j=y for more > info. > > --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 jonbaer at digitalanywhere.com Fri Jul 19 09:38:02 2002 From: jonbaer at digitalanywhere.com (Jon Baer) Date: Fri, 19 Jul 2002 09:38:02 -0400 Subject: [nycphp-talk] JavaScript List? References: <200207191212.g6JCCjP54556@slipdisc.virul.net> Message-ID: <3D38163A.10806@digitalanywhere.com> Jim Hendricks wrote: >I find plenty of uses for JavaScript on the Client while still using PHP on >the server. Form validations present nicer to the user when done on the >client, there's not that anoying flash caused by the server round trip, as >well as the delay on a slow connection. JavaScript is also useful on the >client to update info in the client without making a full round trip to the >server ( ie. hidden frame refresh with javascript to copy the data to where >it needs to be ). And then there's features like popup help ( although we >all know real programmers don't write help... ha ha ha... evil grin here ). >While I do try to minimize my Javascript on the client due to fear of >browser incompatibilities, I don't avoid it because it has it's place. > > I agree to some extent ... one of the most hidden secret gems I find to be is this little library here: http://ashleyit.com/rs/ Thus I find Javascript *does* somewhere have a nice purpose besides beautiful rollovers :-) - Jon From danielc at analysisandsolutions.com Fri Jul 19 09:44:35 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Fri, 19 Jul 2002 09:44:35 -0400 Subject: [nycphp-talk] JavaScript List? In-Reply-To: <200207191212.g6JCCjP54556@slipdisc.virul.net> References: <200207191212.g6JCCjP54556@slipdisc.virul.net> Message-ID: <20020719134435.GA9697@panix.com> Hi Jim: On Fri, Jul 19, 2002 at 08:12:45AM -0400, Jim Hendricks wrote: > > Form validations present nicer to the user when done on the > client, there's not that anoying flash caused by the server round trip, as > well as the delay on a slow connection. You still need to do validation on the server anyway, so now you're maintaining two code bases. Then, if the user has Java'sCrap turned off or not present, are they even able to submit your form. I've seen plenty of forms that won't. > JavaScript is also useful on the > client to update info in the client without making a full round trip to the > server ( ie. hidden frame refresh with javascript to copy the data to where > it needs to be ). And then there's features like popup help But they all fall flat on their face when JS is off/unavailable, making your site unusable. --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 Jul 19 10:39:35 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Fri, 19 Jul 2002 10:39:35 -0400 Subject: [nycphp-talk] JavaScript List? References: <200207191342.g6JDgQP54742@slipdisc.virul.net> Message-ID: <0b3701c22f32$1bb56c20$6601a8c0@Notebook> Hmm... I'll have to take a look at this link closer. Looks interesting. Jim ----- Original Message ----- From: "Jon Baer" To: "NYPHP Talk" Sent: Friday, July 19, 2002 9:42 AM Subject: Re: [nycphp-talk] JavaScript List? > Jim Hendricks wrote: > > >I find plenty of uses for JavaScript on the Client while still using PHP on > >the server. Form validations present nicer to the user when done on the > >client, there's not that anoying flash caused by the server round trip, as > >well as the delay on a slow connection. JavaScript is also useful on the > >client to update info in the client without making a full round trip to the > >server ( ie. hidden frame refresh with javascript to copy the data to where > >it needs to be ). And then there's features like popup help ( although we > >all know real programmers don't write help... ha ha ha... evil grin here ). > >While I do try to minimize my Javascript on the client due to fear of > >browser incompatibilities, I don't avoid it because it has it's place. > > > > > I agree to some extent ... one of the most hidden secret gems I find to > be is this little library here: > > http://ashleyit.com/rs/ > > Thus I find Javascript *does* somewhere have a nice purpose besides > beautiful rollovers :-) > > - Jon > > > > > From jim at bizcomputinginc.com Fri Jul 19 10:43:57 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Fri, 19 Jul 2002 10:43:57 -0400 Subject: [nycphp-talk] JavaScript List? References: <200207191346.g6JDkAP54756@slipdisc.virul.net> Message-ID: <0b4101c22f32$b812df30$6601a8c0@Notebook> > You still need to do validation on the server anyway, so now you're > maintaining two code bases. I disagree. If there is a validation to be done on the client, I do it there, no form processing will allow submit without the data having been validated. > Then, if the user has Java'sCrap turned off or not present, are they even > able to submit your form. I've seen plenty of forms that won't. Haven't had a user complain yet, and I own my own software dev company in which we have produced a number of web apps that use javascript. > But they all fall flat on their face when JS is off/unavailable, making > your site unusable. True, but if the client wants to get rid of the page redraw & associated delay during validation, then you WILL do JS and let the client know that the app will not work with JS turned off. Once again, I refer to my above statement, it's never been a problem. Jim From danielc at analysisandsolutions.com Fri Jul 19 10:59:03 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Fri, 19 Jul 2002 10:59:03 -0400 Subject: [nycphp-talk] JavaScript List? In-Reply-To: <200207191444.g6JEiCP54931@slipdisc.virul.net> References: <200207191444.g6JEiCP54931@slipdisc.virul.net> Message-ID: <20020719145903.GA29707@panix.com> Hi Jim: On Fri, Jul 19, 2002 at 10:44:12AM -0400, Jim Hendricks wrote: > > You still need to do validation on the server anyway, so now you're > > maintaining two code bases. > > I disagree. If there is a validation to be done on the client, I do it > there, no form > processing will allow submit without the data having been validated. So, what's keeping me from saving your HTML to disk, editing it to remove the Java'sCrap validation, refreshing, entering bogus data that'll mess up your system into the reworked form and then submitting the form? Nothing. Even if you do referrer checking, I can forge that. In short, if you want security, data must be validated on the server. > > Then, if the user has Java'sCrap turned off or not present, are they even > > able to submit your form. I've seen plenty of forms that won't. > > Haven't had a user complain yet, and I own my own software dev company in > which we have produced a number of web apps that use javascript. Perhaps because they figure it's not worth doing business with such a firm. I certainly don't. > > But they all fall flat on their face when JS is off/unavailable, making > > your site unusable. > > True, but if the client wants to get rid of the page redraw & associated > delay > during validation, then you WILL do JS and let the client know that the app > will not work with JS turned off. Nope. If a firm doesn't trust my professional judgement, we're not meant to be doing business together. --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 ereyes at totalcreations.com Fri Jul 19 11:35:09 2002 From: ereyes at totalcreations.com (Edgar Reyes) Date: Fri, 19 Jul 2002 11:35:09 -0400 Subject: [nycphp-talk] JavaScript List? References: <200207191501.g6JF14P55010@slipdisc.virul.net> Message-ID: <030001c22f39$de668fe0$914d3181@reyes1> First of all you can download the HTML and do what ever you want with it, but unless you have FTP access to that server you will not be able to submit that page and even if you change the action on the form, with in all my scripts I check where the page is coming from and if is not from my domain is not going to be executed. Lets just face it there are many ways of doing things if you don't like to use JavaScript to save time and resources that's your purgative, but I've been doing it for years and it works fine for me and my clients, and some of my clients do well over $100,000 a month on there sites. Just one more opinion. ----- Original Message ----- From: "Analysis & Solutions" To: "NYPHP Talk" Sent: Friday, July 19, 2002 11:01 AM Subject: Re: [nycphp-talk] JavaScript List? > Hi Jim: > > On Fri, Jul 19, 2002 at 10:44:12AM -0400, Jim Hendricks wrote: > > > You still need to do validation on the server anyway, so now you're > > > maintaining two code bases. > > > > I disagree. If there is a validation to be done on the client, I do it > > there, no form > > processing will allow submit without the data having been validated. > > So, what's keeping me from saving your HTML to disk, editing it to remove > the Java'sCrap validation, refreshing, entering bogus data that'll mess up > your system into the reworked form and then submitting the form? > Nothing. Even if you do referrer checking, I can forge that. In short, > if you want security, data must be validated on the server. First of you can download the HTML and do what ever you want with it, but unless you have FTP access to that server you will not be able to submit that page and even if you change the action on the form, with in all my scripts I check where the page is coming from and if is not from my domain is not going to be executed. Lets just face it there are many ways of doing things if you don't like to use Javascript to save time and resources thats your poragative, but I've been doing it for years and it works fine for me and my clients in which we do well over $100,000 a month I think it work. Just my opinion. > > > > Then, if the user has Java'sCrap turned off or not present, are they even > > > able to submit your form. I've seen plenty of forms that won't. > > > > Haven't had a user complain yet, and I own my own software dev company in > > which we have produced a number of web apps that use javascript. > > Perhaps because they figure it's not worth doing business with such a > firm. I certainly don't. > > > > > But they all fall flat on their face when JS is off/unavailable, making > > > your site unusable. > > > > True, but if the client wants to get rid of the page redraw & associated > > delay > > during validation, then you WILL do JS and let the client know that the app > > will not work with JS turned off. > > Nope. If a firm doesn't trust my professional judgement, we're not meant > to be doing business together. > > --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 Jul 19 11:46:29 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Fri, 19 Jul 2002 11:46:29 -0400 Subject: [nycphp-talk] JavaScript List? References: <200207191501.g6JF14P55010@slipdisc.virul.net> Message-ID: <0b5501c22f3b$745a8320$6601a8c0@Notebook> > So, what's keeping me from saving your HTML to disk, editing it to remove > the Java'sCrap validation, refreshing, entering bogus data that'll mess up > your system into the reworked form and then submitting the form? > Nothing. Even if you do referrer checking, I can forge that. In short, > if you want security, data must be validated on the server. There's everything stopping you. All my systems are built off a proprietary security system which first ensures that the person submitting the form is logged into our system. There are additional checks that ensure the sequential integrity of any submit. So the only person who can make such an attack on one of our systems must 1. be a good enough hack to know how to do something like this. 2. want to mess up our systems. 3. be a valid user in the system, or have the ability to hack into the system. 4. have the ability to hack our other form security checks. Can someone meet the bill? Sure. But how about calculating the odds. Then of course there is the database. Our systems have many different validation checks on the db server. From relational integrity checks to range checks to sequential integrity checks etc. So now not only does this hack need to do all the above, but he must figure out what bogus data he can get away with putting into our system. Is it foolproof? Of course not, there's no such thing. Is it good enough? Depends on who you talk to. I have been in the business for 20 years. Been in the web business for 9 years. None of my customers have ever had a system hacked. That doesn't mean I can forget about security, it's just that why build Fort Knox to ensure someone doesn't steal my penny? Writing custom applications ( which is all I do ) changes completely how you program. I must be programming for the needs of the customer and within the budget of my customer. When I first started working in the web environment I was major concerned that http was insecure and a users ID & password were passed in the clear. The threat of a lurker seemed very real. Now we have https, and via various means ( many using JavaScript ) keep the password secure. Prior to having these solutions though, I never had a problem with lurkers. Didn't necessarily make the threat unreal, just put the threat into the perspective of how few people have the skill to lurk & pick out specific security related items, and how fewer still are the people who would want to use that skill to break into a proprietary data system. So, if I want security, I can still validate on the client. > Perhaps because they figure it's not worth doing business with such a > firm. I certainly don't. I didn't ask you to business with my company. You have your choice. I have been very successful without you so far! And even if you wanted to do business with my company, it's totally up to you what tech we use for you. If you want zero javascript, so be it. We will explain the design issues that would be affected by such a decision as well as any monetary changes. You get to choose as the customer what you want and if you want to pay for Fort Knox to protect your penny, then we will build Fort Knox for you so long as you pay. > > > But they all fall flat on their face when JS is off/unavailable, making > > > your site unusable. > > > > True, but if the client wants to get rid of the page redraw & associated > > delay > > during validation, then you WILL do JS and let the client know that the app > > will not work with JS turned off. > > Nope. If a firm doesn't trust my professional judgement, we're not meant > to be doing business together. Dan, I'm sorry you take such a hostile approach to application development. Our clients pay to have applications developed the way they want them. If my clients don't want to respect my professional judgement, that's thier business, I don't have to pay for there foolery, they do. I am more than willing to profit off of a fool so long as I have vindicated myself by warning of the foolishness of something I am about to do on their behalf. In fact I have received much more business with this approach. I warn them of the danger, they ignore me, they pay for their ignorance, they remember that I warned them and are now willing to trust my professional judgement much more. From jim at bizcomputinginc.com Fri Jul 19 11:47:50 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Fri, 19 Jul 2002 11:47:50 -0400 Subject: [nycphp-talk] JavaScript List? References: <200207191536.g6JFa7P55144@slipdisc.virul.net> Message-ID: <0b5c01c22f3b$a4cdec90$6601a8c0@Notebook> Thanks Edgar. ----- Original Message ----- From: "Edgar Reyes" To: "NYPHP Talk" Sent: Friday, July 19, 2002 11:36 AM Subject: Re: [nycphp-talk] JavaScript List? > First of all you can download the HTML and do what ever you want with it, > but unless you have FTP access to that server you will not be able to submit > that page and even if you change the action on the form, with in all my > scripts I check where the page is coming from and if is not from my domain > is not going to be executed. Lets just face it there are many ways of doing > things if you don't like to use JavaScript to save time and resources that's > your purgative, but I've been doing it for years and it works fine for me > and my clients, and some of my clients do well over $100,000 a month on > there sites. > > Just one more opinion. > > ----- Original Message ----- > From: "Analysis & Solutions" > To: "NYPHP Talk" > Sent: Friday, July 19, 2002 11:01 AM > Subject: Re: [nycphp-talk] JavaScript List? > > > > Hi Jim: > > > > On Fri, Jul 19, 2002 at 10:44:12AM -0400, Jim Hendricks wrote: > > > > You still need to do validation on the server anyway, so now you're > > > > maintaining two code bases. > > > > > > I disagree. If there is a validation to be done on the client, I do it > > > there, no form > > > processing will allow submit without the data having been validated. > > > > So, what's keeping me from saving your HTML to disk, editing it to remove > > the Java'sCrap validation, refreshing, entering bogus data that'll mess up > > your system into the reworked form and then submitting the form? > > Nothing. Even if you do referrer checking, I can forge that. In short, > > if you want security, data must be validated on the server. > First of you can download the HTML and do what ever you want with it, but > unless you have FTP access to that server you will not be able to submit > that page and even if you change the action on the form, with in all my > scripts I check where the page is coming from and if is not from my domain > is not going to be executed. Lets just face it there are many ways of doing > things if you don't like to use Javascript to save time and resources thats > your poragative, but I've been doing it for years and it works fine for me > and my clients in which we do well over $100,000 a month I think it work. > > Just my opinion. > > > > > > > > > Then, if the user has Java'sCrap turned off or not present, are they > even > > > > able to submit your form. I've seen plenty of forms that won't. > > > > > > Haven't had a user complain yet, and I own my own software dev company > in > > > which we have produced a number of web apps that use javascript. > > > > Perhaps because they figure it's not worth doing business with such a > > firm. I certainly don't. > > > > > > > > But they all fall flat on their face when JS is off/unavailable, > making > > > > your site unusable. > > > > > > True, but if the client wants to get rid of the page redraw & associated > > > delay > > > during validation, then you WILL do JS and let the client know that the > app > > > will not work with JS turned off. > > > > Nope. If a firm doesn't trust my professional judgement, we're not meant > > to be doing business together. > > > > --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 brad at officesite.com Fri Jul 19 15:01:41 2002 From: brad at officesite.com (Bradford J. Powell) Date: Fri, 19 Jul 2002 12:01:41 -0700 Subject: unsubscribe Message-ID: From bruce at mtiglobal.com Sat Jul 20 04:16:01 2002 From: bruce at mtiglobal.com (bruce at mtiglobal.com) Date: Sat, 20 Jul 2002 00:16:01 -0800 (CST) Subject: Client v. Server side scripting In-Reply-To: <200207191546.g6JFkiP55192@slipdisc.virul.net> References: <200207191546.g6JFkiP55192@slipdisc.virul.net> Message-ID: <15982.141.129.1.112.1027095361.squirrel@postman.mtiglobal.com> Regarding this debate over JavaScript, isn't the whole point of JavaScript, or any Client Side scripting, the ability to lessen the demands on your server(s)? While JS may not be full-proof, it can at least be a first attempt to ensure that the data that is eventually validated on the server side is not junk data, thus helping to lessen the demands on the server. Does this make sense? - Bruce From pjmatthews at jmlassoc.com Fri Jul 19 12:12:34 2002 From: pjmatthews at jmlassoc.com (pjmatthews at jmlassoc.com) Date: Fri, 19 Jul 2002 12:12:34 -0400 Subject: [nycphp-talk] unsubscribe Message-ID: Patrick J Matthews pjmatthews at gotojml.com IBM Certified Specialist AS/400 Solution Sales V4R4e RPG IV Programmer Microsoft Certified System Engineer Comptia A+ Service Technician From ktuskey at exostream.com Fri Jul 19 13:49:51 2002 From: ktuskey at exostream.com (Kyle Tuskey) Date: Fri, 19 Jul 2002 13:49:51 -0400 Subject: [nycphp-talk] JavaScript List? In-Reply-To: <200207190323.g6J3NgP53150@slipdisc.virul.net> Message-ID: <001a01c22f4c$aeac69b0$e1072744@win2kbox> That's not really accurate. Javascript, CSS, and DHTML are all very useful if you know what you are doing. Browser detection makes it possible to implement client side languages without worrying as much about widespread compliance. The drawback being longer interface development time as you would have to design UI for multiple levels of compliancy. With this setup and the good client side coding, you can save the user time in reloading a page or make it easier and more interactive to perform a task, thus saving bandwidth and other system resources. Kyle Tuskey eXostream Communications -----Original Message----- From: Analysis & Solutions [mailto:danielc at analysisandsolutions.com] Sent: Thursday, July 18, 2002 11:24 PM To: NYPHP Talk Subject: Re: [nycphp-talk] JavaScript List? On Thu, Jul 18, 2002 at 10:40:36PM -0400, SolTek wrote: > > Does anyone know of any list I can join for seeking help with JavaScript? /dev/null :) While I'm joking, I'm also serious. The only legitimate use for Java'sCrap is mouseovers. Relying on the browser/client for anything isn't wise. Most things done with JS can be done server side much more accurately. That's why you've subscribed to a PHP list, no? :) See http://www.analysisandsolutions.com/code/weberror.htm?j=y for more info. --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 FWoolsey at ltk.com Fri Jul 19 13:51:20 2002 From: FWoolsey at ltk.com (Woolsey, Fred) Date: Fri, 19 Jul 2002 13:51:20 -0400 Subject: [nycphp-talk] Client v. Server side scripting Message-ID: <3B364B3BA3F30B40B69475EB071111BE016D59D5@exambler.ltk.com> Bruce, I think so. I have done some work with "applets" in PHP that cry out for client-side scripting, so I did exactly that. One example was a time sheet "applet" that required the ability to permit the user to move easily from field to field, show live running totals of hours, etc. I used PHP to generate the page with the timesheet and to connect to the underlying database, and JavaScript to allow "immediate" client interaction. This required some JavaScript to be embedded in the PHP... a little kludgey, but it worked. Lacking client-side PHP, this seems to me to be the best way to try to do Java applet-like things with PHP. Cheers, Fred Woolsey -----Original Message----- From: bruce at mtiglobal.com [mailto:bruce at mtiglobal.com] Sent: Friday, July 19, 2002 12:17 PM To: NYPHP Talk Subject: [nycphp-talk] Client v. Server side scripting Regarding this debate over JavaScript, isn't the whole point of JavaScript, or any Client Side scripting, the ability to lessen the demands on your server(s)? While JS may not be full-proof, it can at least be a first attempt to ensure that the data that is eventually validated on the server side is not junk data, thus helping to lessen the demands on the server. Does this make sense? - Bruce From danielc at analysisandsolutions.com Fri Jul 19 14:06:55 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Fri, 19 Jul 2002 14:06:55 -0400 Subject: [nycphp-talk] JavaScript List? In-Reply-To: <200207191536.g6JFa7P55144@slipdisc.virul.net> References: <200207191536.g6JFa7P55144@slipdisc.virul.net> Message-ID: <20020719180655.GA20546@panix.com> On Fri, Jul 19, 2002 at 11:36:07AM -0400, Edgar Reyes wrote: > First of all you can download the HTML and do what ever you want with it, > but unless you have FTP access to that server you will not be able to submit > that page and even if you change the action on the form "What we have here is a failure to communicate." FTP has nothing to do with this. I'm not editing the script on the server. I edit the HTML form on my hard drive, view the form from my hard drive using my web browser, enter the data into it, click on the submit button, an HTTP connection is opened to the web server I got the form from, all of the data I entered into my hacked form is sent over that HTTP connection and passed to the target script on the your server, just as if I submitted the form that was on your server. > with in all my > scripts I check where the page is coming from and if is not from my domain > is not going to be executed. While that's good, it's not fool proof. I can throw an HTTP_REFERER into my request headers that contains the URI that you'd expect. > Lets just face it there are many ways of doing > things if you don't like to use JavaScript to save time and resources that's > your purgative Maintaining two validation code bases (client side and server side) doesn't save time. And not maintaining server side validation is insecure, therefore it's not a way things should be done. Enjoy, --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 FWoolsey at ltk.com Fri Jul 19 14:14:48 2002 From: FWoolsey at ltk.com (Woolsey, Fred) Date: Fri, 19 Jul 2002 14:14:48 -0400 Subject: [nycphp-talk] JavaScript List? Message-ID: <3B364B3BA3F30B40B69475EB071111BE016D59DD@exambler.ltk.com> Additionally, if you are designing Intranet apps, or at least apps where you can specify what browser and version must be used (e.g., for use by a specific group of users, such as employees of a single company), coding is simplified by having a known client interface. And, while it is indeed true that data must in any case be checked at the server, it isn't a bad idea to protect against innocent mistakes (like typos) on the client. Rejecting client-side scripting out of hand for straw-man reasons isn't a good idea. Cheers, Fred Woolsey -----Original Message----- From: Kyle Tuskey [mailto:ktuskey at exostream.com] Sent: Friday, July 19, 2002 1:49 PM To: NYPHP Talk Subject: RE: [nycphp-talk] JavaScript List? That's not really accurate. Javascript, CSS, and DHTML are all very useful if you know what you are doing. Browser detection makes it possible to implement client side languages without worrying as much about widespread compliance. The drawback being longer interface development time as you would have to design UI for multiple levels of compliancy. With this setup and the good client side coding, you can save the user time in reloading a page or make it easier and more interactive to perform a task, thus saving bandwidth and other system resources. Kyle Tuskey eXostream Communications -----Original Message----- From: Analysis & Solutions [mailto:danielc at analysisandsolutions.com] Sent: Thursday, July 18, 2002 11:24 PM To: NYPHP Talk Subject: Re: [nycphp-talk] JavaScript List? On Thu, Jul 18, 2002 at 10:40:36PM -0400, SolTek wrote: > > Does anyone know of any list I can join for seeking help with JavaScript? /dev/null :) While I'm joking, I'm also serious. The only legitimate use for Java'sCrap is mouseovers. Relying on the browser/client for anything isn't wise. Most things done with JS can be done server side much more accurately. That's why you've subscribed to a PHP list, no? :) See http://www.analysisandsolutions.com/code/weberror.htm?j=y for more info. --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 Arno.Vanmosel at wwecorp.com Fri Jul 19 14:31:54 2002 From: Arno.Vanmosel at wwecorp.com (Arno Vanmosel) Date: Fri, 19 Jul 2002 14:31:54 -0400 Subject: [nycphp-talk] JavaScript List? Message-ID: <7101D732D17CD311AEFF00508B55857203F72891@NT-EXCH-TOWER2> Say what Dan? .... Wrong Wrong Wrong .... I agree with Kyle. JavaScript is used to keep the load on the servers low! If you know what your doing, you can accomplish many things with Jscript. Validation, Dynamic menu's, Browser checking, etc... If I had to do all this on the server ... I would have a farm stretching from NYC to Atlanta, GA .... You do need to make sure that your jscripts are compliant with browsers. Get something like dhtmllib and your set. The more you can use the visitors web-browser, the more you save on server processing, which means less servers, which means less money to spend on your hardware infrastructure, which means a happy CTO! Don't know what kind of hit volume you guys get at analysisandsolutions, but if you guys want a 15 billion http request ratio, you better rethink your coding strategy! Don't get me wrong, PHP is good at certain things ... no even better ... many things! But there are many languages out there that have their pro's and cons. Don't get to focused on one language to much ... Arno (Hans ... You must have seen that one coming .... hehehehe) -----Original Message----- From: Kyle Tuskey [mailto:ktuskey at exostream.com] Sent: Friday, July 19, 2002 1:49 PM To: NYPHP Talk Subject: RE: [nycphp-talk] JavaScript List? That's not really accurate. Javascript, CSS, and DHTML are all very useful if you know what you are doing. Browser detection makes it possible to implement client side languages without worrying as much about widespread compliance. The drawback being longer interface development time as you would have to design UI for multiple levels of compliancy. With this setup and the good client side coding, you can save the user time in reloading a page or make it easier and more interactive to perform a task, thus saving bandwidth and other system resources. Kyle Tuskey eXostream Communications -----Original Message----- From: Analysis & Solutions [mailto:danielc at analysisandsolutions.com] Sent: Thursday, July 18, 2002 11:24 PM To: NYPHP Talk Subject: Re: [nycphp-talk] JavaScript List? On Thu, Jul 18, 2002 at 10:40:36PM -0400, SolTek wrote: > > Does anyone know of any list I can join for seeking help with JavaScript? /dev/null :) While I'm joking, I'm also serious. The only legitimate use for Java'sCrap is mouseovers. Relying on the browser/client for anything isn't wise. Most things done with JS can be done server side much more accurately. That's why you've subscribed to a PHP list, no? :) See http://www.analysisandsolutions.com/code/weberror.htm?j=y for more info. --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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaunere at yahoo.com Fri Jul 19 14:43:24 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Fri, 19 Jul 2002 11:43:24 -0700 (PDT) Subject: [nycphp-talk] Client v. Server side scripting In-Reply-To: <200207191749.g6JHnBP55620@slipdisc.virul.net> Message-ID: <20020719184324.72547.qmail@web12806.mail.yahoo.com> > Lacking client-side PHP, http://www.zend.com/lists/php-dev/200205/msg00634.html It's coming - exciting thread. Hans Z. __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From danielc at analysisandsolutions.com Fri Jul 19 14:36:43 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Fri, 19 Jul 2002 14:36:43 -0400 Subject: [nycphp-talk] JavaScript List? In-Reply-To: <200207191546.g6JFkiP55192@slipdisc.virul.net> References: <200207191546.g6JFkiP55192@slipdisc.virul.net> Message-ID: <20020719183643.GB20546@panix.com> Hi Jim: On Fri, Jul 19, 2002 at 11:46:44AM -0400, Jim Hendricks wrote: > There's everything stopping you. All my systems are built off a proprietary > security system which first ensures that the person submitting the form is > logged > into our system. Ah. From the initial post, it wasn't clear you were talking about an intranet. Sure, that secures you from outside crackers. But, that doesn't save you from malicious employees, which are responsible for the vast majority of attacks. > Can someone meet the bill? Sure. But how about calculating the odds. Agreed. All of what I'm talking about is unlikely, but possible. > Then of course there is the database. Our systems > have > many different validation checks on the db server. From relational > integrity > checks to range checks to sequential integrity checks etc. So now not only > does this hack need to do all the above, but he must figure out what bogus > data he can get away with putting into our system. I'm not talking about putting in bogus data. I'm talking about totally screwing up the system. Let's say your intranet form updates the name of a user. The user input is used to create a query string: UPDATE Users SET Name='$Name' WHERE UserID=$UserID $UserID is usually a number. But, what if the system allows me to alter $UserID to be "3; DELETE FROM Users WHERE 1=1" If your db permits multiple queries in one request, then there goes all your data. Or, if someone puts "'3'" into $UserID and your database doesn't like that and your script doesn't gracefully capture the error, sensitive server configuration information could be revealed. Then there are buffer overflow possibilities. If the size of user input isn't checked, they could sumit some outrageiously long string which could trip up some function in the receiving script or database server _IF_ (of course) one of those components has a vulnerability. But, as we all know, vulnerabilities do pop up all the time. > That > doesn't mean I can forget about security, it's just that why build Fort Knox > to ensure > someone doesn't steal my penny? But putting data validation into an application doesn't add all that much to a development effort. > > Perhaps because they figure it's not worth doing business with such a > > firm. I certainly don't. > I didn't ask you to business with my company. You have your choice. I have > been > very successful without you so far! And even if you wanted to do business > with my > company, it's totally up to you what tech we use for you. If you want zero > javascript, > so be it. Misunderstanding here... I'm not talking about my hiring you to design a site for me. I'm talking about retail websites I come across on the net. They're in business to sell things to the public. If I need JS to do buisiness with them, I take my business elsewhere. > > Nope. If a firm doesn't trust my professional judgement, we're not meant > > to be doing business together. > Dan, I'm sorry you take such a hostile approach to application development. > Our > clients pay to have applications developed the way they want them. If my > clients > don't want to respect my professional judgement, that's thier business, I hear you. I don't like having my name associated with projects I can't stand behind. I do have one, though. The backend and interface I created rocks, but the stuff the client is doing is lame. But I'm getting _PAID_, if you know what I mean. :) Enough for now... See you, --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 zaunere at yahoo.com Fri Jul 19 14:45:17 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Fri, 19 Jul 2002 11:45:17 -0700 (PDT) Subject: [nycphp-talk] JavaScript List? In-Reply-To: <200207190240.g6J2eaP53052@slipdisc.virul.net> Message-ID: <20020719184517.33643.qmail@web12805.mail.yahoo.com> --- SolTek wrote: > Does anyone know of any list I can join for seeking help with > JavaScript? Unless anyone is hotly adversed to it, I see no problem asking here. HZ __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From wayne at intercart.co.uk Fri Jul 19 14:58:26 2002 From: wayne at intercart.co.uk (Wayne Cope \(Intercart\)) Date: Fri, 19 Jul 2002 14:58:26 -0400 Subject: [nycphp-talk] JavaScript List? References: <200207191827.g6JIRXP55768@slipdisc.virul.net> Message-ID: <005901c22f56$43f77920$616aa6ac@waynecopeltd> Sorry to interupt, and I don't wish to sound rude - but this is getting a little petty. At the end of the day there are good point and bad points to all languages - and good reasons for doing some things on the client, and others on the server. So long as the security model is sufficient for the application in hand, and all potential risks given the sensitivity of the data or functionality being secured are removed sufficiently then who cares what method is used, or where the validation occurs - it's all application specific, and there should be no specific rule. Guidelines yes, but rules no. At the end of the day, the chap simply asked for help on some JavaScript - and he got that off a few kind people out there, and thereafter the whole issue completely lost it's context and turned into silly banter. However - to have started a discussion on security issues in general, i.e. discussing the pro's and con's of client side and server side validation would have been a good step, but there's no need to be derogative about any specific languages because that simply leads to people being argumentative, and constructive criticism is lost. Bye for now... W ----- Original Message ----- From: "Arno Vanmosel" To: "NYPHP Talk" Sent: Friday, July 19, 2002 2:27 PM Subject: RE: [nycphp-talk] JavaScript List? > Say what Dan? .... Wrong Wrong Wrong .... > I agree with Kyle. > JavaScript is used to keep the load on the servers low! > If you know what your doing, you can accomplish many things with Jscript. > Validation, Dynamic menu's, Browser checking, etc... > If I had to do all this on the server ... I would have a farm stretching > from NYC to Atlanta, GA .... You do need to make sure that your jscripts > are compliant with browsers. Get something like dhtmllib and your set. > The more you can use the visitors web-browser, the more you save on server > processing, which means less servers, which means less money to spend on > your hardware infrastructure, which means a happy CTO! > Don't know what kind of hit volume you guys get at analysisandsolutions, > but if you guys want a 15 billion http request ratio, you better rethink > your coding strategy! > Don't get me wrong, PHP is good at certain things ... no even better ... > many things! > But there are many languages out there that have their pro's and cons. > Don't get to focused on one language to much ... > > Arno > (Hans ... You must have seen that one coming .... hehehehe) > > > > > -----Original Message----- > From: Kyle Tuskey [mailto:ktuskey at exostream.com] > Sent: Friday, July 19, 2002 1:49 PM > To: NYPHP Talk > Subject: RE: [nycphp-talk] JavaScript List? > > > That's not really accurate. Javascript, CSS, and DHTML are all very > useful if you know what you are doing. Browser detection makes it > possible to implement client side languages without worrying as much > about widespread compliance. The drawback being longer interface > development time as you would have to design UI for multiple levels of > compliancy. With this setup and the good client side coding, you can > save the user time in reloading a page or make it easier and more > interactive to perform a task, thus saving bandwidth and other system > resources. > > > > Kyle Tuskey > eXostream Communications > > > > > -----Original Message----- > From: Analysis & Solutions [mailto:danielc at analysisandsolutions.com] > Sent: Thursday, July 18, 2002 11:24 PM > To: NYPHP Talk > Subject: Re: [nycphp-talk] JavaScript List? > > On Thu, Jul 18, 2002 at 10:40:36PM -0400, SolTek wrote: > > > > Does anyone know of any list I can join for seeking help with > JavaScript? > > /dev/null :) > > While I'm joking, I'm also serious. The only legitimate use for > Java'sCrap is mouseovers. Relying on the browser/client for anything > isn't wise. > > Most things done with JS can be done server side much more accurately. > That's why you've subscribed to a PHP list, no? :) > > See http://www.analysisandsolutions.com/code/weberror.htm?j=y for more > info. > > --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 jahmon at jahmon.com Fri Jul 19 14:53:02 2002 From: jahmon at jahmon.com (jahmon :-)) Date: Fri, 19 Jul 2002 14:53:02 -0400 Subject: [nycphp-talk] JavaScript List? In-Reply-To: <200207191827.g6JIRXP55768@slipdisc.virul.net> References: <200207191827.g6JIRXP55768@slipdisc.virul.net> Message-ID: <20020719185301.GA27332@jahmon.com> I tend not to use javascript much at all. for validation, I usually do light validation (syntax, not empty, is email, etc) w/ JS and heavy w/ php (error checking, etc). It's useful for DHTML stuff...but can be combursome. What I think it is useful for though...is for gui enhancements. For example: I had a client recently, that wanted to pull address from a database table to populate a form. W/O JS, this was a three step process, with PHP loaded JS, it became a 1 step process. Everything has it's place, and once you realize the right place for everything...you become a better developer. JS defineately has it's purpose. But I don't think it should be used for everything. Lets use the right tool for the right job...and save the other tools for the other jobs. jahmon ;-) From FWoolsey at ltk.com Fri Jul 19 15:05:37 2002 From: FWoolsey at ltk.com (Woolsey, Fred) Date: Fri, 19 Jul 2002 15:05:37 -0400 Subject: [nycphp-talk] Client v. Server side scripting Message-ID: <3B364B3BA3F30B40B69475EB071111BE016D59EB@exambler.ltk.com> Good to hear! Shifting back and forth between PHP and JS can cause one's mental gears to grind. FCW -----Original Message----- From: Hans Zaunere [mailto:zaunere at yahoo.com] Sent: Friday, July 19, 2002 2:43 PM To: NYPHP Talk Subject: RE: [nycphp-talk] Client v. Server side scripting > Lacking client-side PHP, http://www.zend.com/lists/php-dev/200205/msg00634.html It's coming - exciting thread. Hans Z. __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From ben at tanjero.com Fri Jul 19 15:04:52 2002 From: ben at tanjero.com (Benjamin Stiglitz) Date: Fri, 19 Jul 2002 15:04:52 -0400 Subject: [nycphp-talk] JavaScript List? In-Reply-To: <200207191844.g6JIixP55859@slipdisc.virul.net> Message-ID: <6812E165-9B4A-11D6-BA68-00039396A660@tanjero.com> On Friday, July 19, 2002, at 02:44 PM, Analysis & Solutions wrote: > I'm not talking about putting in bogus data. I'm talking about totally > screwing up the system. Let's say your intranet form updates the name > of > a user. The user input is used to create a query string: > > UPDATE Users SET Name='$Name' WHERE UserID=$UserID > > $UserID is usually a number. But, what if the system allows me to alter > $UserID to be "3; DELETE FROM Users WHERE 1=1" If your db permits > multiple queries in one request, then there goes all your data. > While I don't disagree with the post, I'd just like to point out the the PHP MySQL functions (I don't know about other databases) will only process the first SQL statement passed, preventing such exploits. Thank you, Benjamin Stiglitz Tanjero ben at tanjero.com From Viktors at Rotanovs.com Fri Jul 19 15:43:26 2002 From: Viktors at Rotanovs.com (Viktors Rotanovs) Date: Fri, 19 Jul 2002 22:43:26 +0300 Subject: [nycphp-talk] JavaScript List? In-Reply-To: <200207191858.g6JIwiP55930@slipdisc.virul.net> References: <200207191858.g6JIwiP55930@slipdisc.virul.net> Message-ID: <174134270711.20020719224326@Rotanovs.com> Hi, j> I tend not to use javascript much at all. j> for validation, I usually do light validation (syntax, not empty, is email, j> etc) w/ JS and heavy w/ php (error checking, etc). j> It's useful for DHTML stuff...but can be combursome. j> What I think it is useful for though...is for gui enhancements. Entire GUIs can be written in JavaScript. If you can control the environment (for example, it's corporate intranet), compatibility is not an issue. I'm one of developers of SiteSupra (www.sitesupra.com), and we've built complete application in JavaScript, with server connections and other advanced stuff. Best Wishes, Viktors From bcoleman at bcmedia-online.com Fri Jul 19 16:35:06 2002 From: bcoleman at bcmedia-online.com (Brad Coleman) Date: Fri, 19 Jul 2002 16:35:06 -0400 Subject: [nycphp-talk] JavaScript List? References: <200207191844.g6JIixP55859@slipdisc.virul.net> Message-ID: <3D3877FA.3080902@bcmedia-online.com> "If I need JS to do buisiness with them, I take my business elsewhere." Even if they would like to have a simple mouse over like you have on your web pages? -- Brad Coleman E-Mail: bcoleman at bcmedia-online.com From jim at bizcomputinginc.com Fri Jul 19 17:28:32 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Fri, 19 Jul 2002 17:28:32 -0400 Subject: [nycphp-talk] JavaScript List? References: <200207191844.g6JIixP55859@slipdisc.virul.net> Message-ID: <0ba201c22f6b$3d8bbf50$6601a8c0@Notebook> > Ah. From the initial post, it wasn't clear you were talking about an > intranet. Sure, that secures you from outside crackers. But, that > doesn't save you from malicious employees, which are responsible for the > vast majority of attacks. Aparently not vast enough for my clients to pay for increased security. I'm also not dealing strictly intranet. Some of the systems I have been a part of have included subscription services over the internet, data query systems, and specialized e-commerce solutions. In all cases my clients have always asked for a login process which allows tracking who is doing what & allows an admin choosing what parts of the system a user can get to. > > Can someone meet the bill? Sure. But how about calculating the odds. > Agreed. All of what I'm talking about is unlikely, but possible. Yes, possible. But not such a rampant problem as to dismiss out of hand the use of JavaScript validation without server side validation as a huge problem. Depending on what my client wants and is willing to pay determines what level of validations they will get. My initial low cost approach is server side validation only. If they don't want the refresh between validation and the error, or want field level validations rather than form level validations, then I go for the javascript validations. If they want both the cleaner GUI and the extra security of ensuring a malicious person doesn't attempt to put in stuff, then I go for both. > I'm not talking about putting in bogus data. I'm talking about totally > screwing up the system. Let's say your intranet form updates the name of > a user. The user input is used to create a query string: > > UPDATE Users SET Name='$Name' WHERE UserID=$UserID > > $UserID is usually a number. But, what if the system allows me to alter > $UserID to be "3; DELETE FROM Users WHERE 1=1" If your db permits > multiple queries in one request, then there goes all your data. This is relying on a knowledge of the code on the server. The assumption is that multiple queries can be done in one request. I must admit, all the work I have done in the past has been via ASP, JSP, and proprietary Java Servers in which multiple queries is not an option. PHP is a newer technology for my company, and I was unaware that a PHP query could allow multiple queries in one statement. Your vulnerability also assumes that the data field is at the end of the statement. Without knowledge of the server side code, an intruder is just playing in the dark in the hopes of finding a field that ends the statement so they can tag along another malicious query. Once again, it comes down to all things are possible, but if I am always programming for every possibility, I will never get a completed application. As a programmer I must choose the level of safety in my code that I am attempting to achieve & program for that. Once again also, what the client is willing to pay certainly determines how much code safety they will get. > Or, if someone puts "'3'" into $UserID and your database doesn't like that > and your script doesn't gracefully capture the error, sensitive server > configuration information could be revealed. Yes. In any situation where we have rules defined on the server we require proper error handling to insolate the user from the internals. > Then there are buffer overflow possibilities. If the size of user input > isn't checked, they could sumit some outrageiously long string which could > trip up some function in the receiving script or database server _IF_ (of > course) one of those components has a vulnerability. But, as we all know, > vulnerabilities do pop up all the time. Yes. And there are every other possiblity as well. I would hate to see the code that deals with every possiblity. > > That > > doesn't mean I can forget about security, it's just that why build Fort Knox > > to ensure > > someone doesn't steal my penny? > > But putting data validation into an application doesn't add all that much > to a development effort. I put no more effort into an application than what the customer is willing to pay. And this whole thing started with your attitude that maintaining 2 code sets were unacceptable, that having javascript validations on the client, and php or some other validation on the server is a waste of time and effort. If you are successful at your business ignoring the benefits of Javascript, than that is your business. I am glad you are so successful. But don't denegrate the successes of others who use Javascript on the client, or who choose to safety down their code because that's what a client wants. Especially when this thread was started by a request for a newsgroup which deals in Javascript. Your response seemed very negative against Javascript as if a programmer is not worth his salt if he chooses to use javascript. > Misunderstanding here... I'm not talking about my hiring you to design a > site for me. I'm talking about retail websites I come across on the net. > They're in business to sell things to the public. If I need JS to do > buisiness with them, I take my business elsewhere. Yes, misunderstanding. But your taking your business elsewhere just because a web vendor requires JS is your choice and a choice I am sure web vendors consider when they choose to put JS into their web apps. Seeing the preponderance of JS assisted web sites, I would be led to beleive that the average vendor considers this of little importance, or have the money to provide both a rich JS assisted GUI and a less rich HTML only GUI. Just the same, this is not of my concern, I do not make my money off the apps, I make my money off the development of the apps. My client chooses the technology they are comfortable with. BTW, I had an ASP client who was anti-JS. I developed and app or 2 for them that has a pure HTML GUI with some CSS mixed in. They asked for a particular type of application which my company has done before so I pointed them to the URL to see the app. They saw the app, loved it, wanted a similar app. As we discussed the app, they would say they wanted it to work like the other app, but we would have to say, well, that feature is done with Javascript, so we would have to rewrite that feature without the Javascript and we couldn't guarantee that the replacement GUI would be as responsive or user friendly. They initially accepted that until they saw the time estimate. It's funny how a price tag can change a clients mind about a technology. We ended up doing the project with the JS. > > > Nope. If a firm doesn't trust my professional judgement, we're not meant > > > to be doing business together. > > Dan, I'm sorry you take such a hostile approach to application development. > > Our > > clients pay to have applications developed the way they want them. If my > > clients > > don't want to respect my professional judgement, that's thier business, > > I hear you. I don't like having my name associated with projects I can't > stand behind. > > I do have one, though. The backend and interface I created rocks, but the > stuff the client is doing is lame. But I'm getting _PAID_, if you know > what I mean. :) Yes, and that's my whole point. I don't always like what I have to develop, I don't always like what my clients are willing to settle for. I have developed applications that I WILL NOT use as promo for future reference. But the bottom line is, I am a computing whore. You pay me the money, I give you what YOU want, not what I want. Hey, hope I haven't come on too strong, this is all in the name of open discussion on development strategy etc. Have a great JS free weekend. ( although right now in NJ it's dumping major buckets of water, boo hoo ) Jim From jim at bizcomputinginc.com Fri Jul 19 17:35:10 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Fri, 19 Jul 2002 17:35:10 -0400 Subject: [nycphp-talk] Client v. Server side scripting References: <200207191903.g6JJ3SP55969@slipdisc.virul.net> Message-ID: <0bac01c22f6c$2a8778d0$6601a8c0@Notebook> hear hear! That's the big problem of todays development environments. I need to know HTML, CSS, XML, JavaScript and a bunch of other 3 letter acronyms for the client, PHP/ASP/ASP.net/JSP/Java/Servlets/Cold Fusion/Perl/C or any other poison of choice on the server sprinkled with SQL( many flavors depending on the target server ) as well as enterprise distributed techs like Corba or EJB. Just one small internal project I'm working on uses HTML, CSS, JS, PHP, mySQL. All for just 1 small project. Sheesh. Jim ----- Original Message ----- From: "Woolsey, Fred" To: "NYPHP Talk" Sent: Friday, July 19, 2002 3:03 PM Subject: RE: [nycphp-talk] Client v. Server side scripting > Good to hear! Shifting back and forth between PHP and JS can cause one's > mental gears to grind. > > FCW > > -----Original Message----- > From: Hans Zaunere [mailto:zaunere at yahoo.com] > Sent: Friday, July 19, 2002 2:43 PM > To: NYPHP Talk > Subject: RE: [nycphp-talk] Client v. Server side scripting > > > > > Lacking client-side PHP, > > http://www.zend.com/lists/php-dev/200205/msg00634.html > > It's coming - exciting thread. > > Hans Z. > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Autos - Get free new car price quotes > http://autos.yahoo.com > > > > From jim at bizcomputinginc.com Fri Jul 19 17:37:51 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Fri, 19 Jul 2002 17:37:51 -0400 Subject: [nycphp-talk] JavaScript List? References: <200207191904.g6JJ4xP55984@slipdisc.virul.net> Message-ID: <0bb201c22f6c$8ac190f0$6601a8c0@Notebook> That's very good to know. As you see in my answer, I was unaware of this vulnerability since most of my experience lies in environments that don't allow this. It kind of scared me to know that possibility existed in PHP. So far my foray's in PHP have been with mySQL, so I hope you are correct on the first query only thing. Jim ----- Original Message ----- From: "Benjamin Stiglitz" To: "NYPHP Talk" Sent: Friday, July 19, 2002 3:04 PM Subject: Re: [nycphp-talk] JavaScript List? > On Friday, July 19, 2002, at 02:44 PM, Analysis & Solutions wrote: > > > I'm not talking about putting in bogus data. I'm talking about totally > > screwing up the system. Let's say your intranet form updates the name > > of > > a user. The user input is used to create a query string: > > > > UPDATE Users SET Name='$Name' WHERE UserID=$UserID > > > > $UserID is usually a number. But, what if the system allows me to alter > > $UserID to be "3; DELETE FROM Users WHERE 1=1" If your db permits > > multiple queries in one request, then there goes all your data. > > > While I don't disagree with the post, I'd just like to point out the the > PHP MySQL functions (I don't know about other databases) will only > process the first SQL statement passed, preventing such exploits. > > Thank you, > Benjamin Stiglitz > Tanjero > ben at tanjero.com > > > > > From zaunere at yahoo.com Fri Jul 19 18:36:15 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Fri, 19 Jul 2002 15:36:15 -0700 (PDT) Subject: PHP DB security WAS: JavaScript List? In-Reply-To: <200207192128.g6JLSoP56659@slipdisc.virul.net> Message-ID: <20020719223615.37035.qmail@web12803.mail.yahoo.com> --- Jim Hendricks wrote: > work I have done in the past has been via ASP, JSP, and proprietary > Java Servers in which multiple queries is not an option. PHP is a > newer technology for my company, and I was unaware that a PHP query > could allow multiple queries in one statement. As is the case with most PHP functionality [extensions], it's based on the C API. MySQL's core C API doesn't support multiple query strings per query command (what DBs natively do now that I think about it?). As a result, you'll get a parse error at the ';' after trying to run such a query string and then calling print mysql_error($db); A problem, however, is leaving parameters out: DELETE FROM atable WHERE id='' or improper escaping: DELETE FROM atable WHERE firstname LIKE '%' As an aside, as I'm sure many have noticed, phpMyAdmin does support multiple queries per "form box". This is an application level feature of phpMyAdmin. HZ __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From ktuskey at exostream.com Fri Jul 19 19:15:31 2002 From: ktuskey at exostream.com (Kyle Tuskey) Date: Fri, 19 Jul 2002 19:15:31 -0400 Subject: [nycphp-talk] JavaScript List? In-Reply-To: <200207191536.g6JFa7P55144@slipdisc.virul.net> Message-ID: <000001c22f7a$2d717100$e1072744@win2kbox> A strictly JS authentication system is a BAD idea. There are several ways to get around it. If you are going to use JS to authenticate data it should only be to save the user or your servers stress. There should be always be server side checking as well... well unless you really don't give a. Kyle -----Original Message----- From: Edgar Reyes [mailto:ereyes at totalcreations.com] Sent: Friday, July 19, 2002 11:36 AM To: NYPHP Talk Subject: Re: [nycphp-talk] JavaScript List? First of all you can download the HTML and do what ever you want with it, but unless you have FTP access to that server you will not be able to submit that page and even if you change the action on the form, with in all my scripts I check where the page is coming from and if is not from my domain is not going to be executed. Lets just face it there are many ways of doing things if you don't like to use JavaScript to save time and resources that's your purgative, but I've been doing it for years and it works fine for me and my clients, and some of my clients do well over $100,000 a month on there sites. Just one more opinion. ----- Original Message ----- From: "Analysis & Solutions" To: "NYPHP Talk" Sent: Friday, July 19, 2002 11:01 AM Subject: Re: [nycphp-talk] JavaScript List? > Hi Jim: > > On Fri, Jul 19, 2002 at 10:44:12AM -0400, Jim Hendricks wrote: > > > You still need to do validation on the server anyway, so now you're > > > maintaining two code bases. > > > > I disagree. If there is a validation to be done on the client, I do it > > there, no form > > processing will allow submit without the data having been validated. > > So, what's keeping me from saving your HTML to disk, editing it to remove > the Java'sCrap validation, refreshing, entering bogus data that'll mess up > your system into the reworked form and then submitting the form? > Nothing. Even if you do referrer checking, I can forge that. In short, > if you want security, data must be validated on the server. First of you can download the HTML and do what ever you want with it, but unless you have FTP access to that server you will not be able to submit that page and even if you change the action on the form, with in all my scripts I check where the page is coming from and if is not from my domain is not going to be executed. Lets just face it there are many ways of doing things if you don't like to use Javascript to save time and resources thats your poragative, but I've been doing it for years and it works fine for me and my clients in which we do well over $100,000 a month I think it work. Just my opinion. > > > > Then, if the user has Java'sCrap turned off or not present, are they even > > > able to submit your form. I've seen plenty of forms that won't. > > > > Haven't had a user complain yet, and I own my own software dev company in > > which we have produced a number of web apps that use javascript. > > Perhaps because they figure it's not worth doing business with such a > firm. I certainly don't. > > > > > But they all fall flat on their face when JS is off/unavailable, making > > > your site unusable. > > > > True, but if the client wants to get rid of the page redraw & associated > > delay > > during validation, then you WILL do JS and let the client know that the app > > will not work with JS turned off. > > Nope. If a firm doesn't trust my professional judgement, we're not meant > to be doing business together. > > --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 j_r_sanchez at yahoo.com Fri Jul 19 19:20:37 2002 From: j_r_sanchez at yahoo.com (jose sanchez) Date: Fri, 19 Jul 2002 16:20:37 -0700 (PDT) Subject: Fwd: 2 Diversity Expo job fairs this week! Message-ID: <20020719232037.90975.qmail@web11701.mail.yahoo.com> > Dear I/T Professional, > > I wish to invite you to 2 special recruiting events > next week in New Jersey and New York City. > Diversity Expo brings you face-to-face with Equal > Opportunity Employers for an afternoon of networking > and interviewing. > > Jobs in Sales (Pharmaceutical, Financial, Retail, > and more), Insurance, Information Technology, > Marketing, Office Administration & much more. > Candidates must have a college degree or 1 year of > full-time work experience. Business Attire a Must. > > > Join us at an event next week: > Tuesday, July 23 12-6pm > The Embassy Suites Hotel, 121 Centennial Ave., > Piscataway, NJ > Travel Directions only: 732-980-0500 > Admission Free at NJ event only > & > Thursday, July 25 12-6pm > The New Yorker Ramada Hotel, 481 8th Ave. at 34th > St. > (across from Penn Station) > Travel Directions Only: 212-971-0101 > Admission only $3 at NYC event > > NJ companies participating (hiring I/T have > asterisk): > CommVault Systems Inc.* > United Parcel Service* > Chubb & Son* > Micropower Computer Institute-I/T training programs > Dun & Bradstreet > Eli Lilly & Company > Takeda Pharmaceuticals America > American Express > NYPD Recruitment Section > New York Community Bank > Hilti USA > > > NY companies participating (hiring I/T have > asterisk): > The McGraw-Hill Companies* > Siemens Health Systems* > ILX Systems* > Micropower Computer Institute-I/T training programs > Eli Lilly & Co. > Merck & Co., Inc. > HealthFirst > Zurich North America > Pfizer, Inc. > Progressive Insurance > NYPD Recruitment Section > MetLife Financial Services > New York Public Library > U.S. Coast Guard > Ricoh Business Systems > Hilti USA > Talbots > ADT Security Services > Long Island University > NY Army National Guard > Equal Opportunity Publications > AlleyEvent.com > > JobBait.com representatives address resume > presentation and interviewing skills at both events > at 12:30, 1:15 and 2:00. > > Charles Schwab & Co. at the NYC event answers your > investment and 401K rollover questions. > > And now, here's another Job Search Tool from our > Sponsor: > BLASTmyResume.com is a resume marketing and > distribution company that can send your resume out > to 1000s of recruiters and companies with just a few > clicks. To learn more just click here: > http://www.blastmyresume.com/cobrand/main.cfm?affiliate_id=28668 > and see for yourself how this service can take your > job search from 0 to 60 in a matter of Seconds! > > > Regards, > Bradford Rand, President/CEO, Job Expo International > > We strongly encourage you to save time by > pre-registering for the event on > http://www.TechexpoUSA.com and reviewing job > postings. > > Bring your resume to the event and spread the word > to friends and family looking to upgrade their > technical career and earn a higher income. > > Companies interested in exhibiting at this hiring > event please call 212.655.4505 ext. 244. > > See you at the event! > > Regards, > > Beckie Jankiewicz > Event Coordinator > > ===== "An ounce of gold cannot buy an ounce of time." - Anonymous www.whmicro.com __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From soltek at mac.com Fri Jul 19 20:52:07 2002 From: soltek at mac.com (SolTek) Date: Fri, 19 Jul 2002 20:52:07 -0400 Subject: [nycphp-talk] JavaScript List? In-Reply-To: <200207191845.g6JIjMP55871@slipdisc.virul.net> Message-ID: Thanks for the offer Hans. I'll send out a new posting with my question. This posting's subject title has been exhausted. I doubt anyone would even read it at this point. LoL Take care! - Steve On Friday, July 19, 2002, at 02:45 PM, Hans Zaunere wrote: > > --- SolTek wrote: >> Does anyone know of any list I can join for seeking help with >> JavaScript? > > Unless anyone is hotly adversed to it, I see no problem asking here. > > HZ > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Autos - Get free new car price quotes > http://autos.yahoo.com > From soltek at mac.com Fri Jul 19 20:57:49 2002 From: soltek at mac.com (SolTek) Date: Fri, 19 Jul 2002 20:57:49 -0400 Subject: [nycphp-talk] Can this be done with PHP or JavaScript? Is it even possible? In-Reply-To: <200207191845.g6JIjMP55871@slipdisc.virul.net> Message-ID: Sorry to stir up such a debate earlier, but I still do need help. :-) Maybe someone can assist me. I'm actually just learning PHP and was hoping to concentrate on that before learning anything else. But it seems I may not have a choice. I'm thinking this can only be done with JavaScript, but maybe I'm wrong. Is there a way I can get form values that are on the same html page as a form but outside of the form tags, and then pass them along with the rest of a forms values when a submit button of a form is clicked? The page must contain multiple forms. Each form will contain different hidden values and a submit button. The form values outside of the form tags will be associated with every form on the page which is why they must also be sent along with the rest of the particular form's hidden values. To help illustrate this I've included and commented the HTML code I'm using below. Many thanks to anyone who could help out! - Steve

STEP 1. ENTER YOUR DOMAIN NAME:

STEP 2. CHOOSE A PLAN:

PLAN A 3 MONTHS

PLAN A 6 MONTHS

PLAN A 12 MONTHS

From pomorov at mail.ru Fri Jul 19 21:21:02 2002 From: pomorov at mail.ru (Petr Pomorov) Date: Fri, 19 Jul 2002 21:21:02 -0400 Subject: [nycphp-talk] getting rid of unsubscribe messages In-Reply-To: <200207191605.g6JG5LP55297@slipdisc.virul.net> References: <200207191605.g6JG5LP55297@slipdisc.virul.net> Message-ID: <200207192121.02518.pomorov@mail.ru> I've been experimenting with mailman recently And it manages to do an excellent job of catching administrativa requests for admin approval prior posting them to the list. Hans, have you thought about using some filters to paralist? On Friday 19 July 2002 12:05 pm, Bradford J. Powell wrote: From petr at linux.ru Fri Jul 19 22:12:59 2002 From: petr at linux.ru (petr pomorov) Date: Fri, 19 Jul 2002 22:12:59 -0400 Subject: [nycphp-talk] getting rid of unsubscribe messages Message-ID: <200207192212.59081.petr@linux.ru> I've been experimenting with mailman recently And it manages to do an excellent job of catching administrativa requests for admin approval prior posting them to the list. Hans, have you thought about using some filters to paralist? On Friday 19 July 2002 12:05 pm, Bradford J. Powell wrote: From websitehelpdesk at yahoo.com Fri Jul 19 23:01:37 2002 From: websitehelpdesk at yahoo.com (WebSiteHelpDesk) Date: Fri, 19 Jul 2002 20:01:37 -0700 (PDT) Subject: [nycphp-talk] unsubscribe In-Reply-To: <200207191548.g6JFm5P55204@slipdisc.virul.net> Message-ID: <20020720030137.9808.qmail@web12205.mail.yahoo.com> unsubscribing at this time due to other interests. Best of Luck ===== Peter Janulis, Webmaster WebSiteHelpDesk at yahoo.com __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From felix at mydomain.com Sat Jul 20 05:32:42 2002 From: felix at mydomain.com (felix at mydomain.com) Date: Sat, 20 Jul 2002 05:32:42 -0400 (EDT) Subject: metrocard dilema Message-ID: <1065.128.238.4.221.1027157562.squirrel@students.poly.edu> Ok i am writing this out of my frustration of losing $1.50 due to fun pass. It is quite a programing dilema. MTA rule : fun pass expires at 3am next day after it is being used. Simple enough right but what i been out and coming home late at night. Also i live on staten island and am taking ferry. so i am comming from brooklyn i have to go to manhatten and then take the ferry that is if i catch the boat on time which goes once an hour at night then on the other side in staten island i have to swipe the metrocard to get on the train. By the time i get there its past 3am ($4 dollar pass being useless). So why not have this fun pass realy be for 1DAY that is 24 hours after activation at any time of the day. Say i started using it at 4pm it should last till 4pm next day. I dont know the details of how the metrocard system works but i imagine it has the simplest implementations. Metrocard probably has 3 states inactive, active, expired. What moves it from active to expired is the 3am cut off time. Also the date has to be checked. Making the cards 24 hours would require puting a time stamp on the card after it is being used. I dont see whats so much more complicated about that ? This mta policy seems realy whacked out. Anyone see this differently ? Felix From jim at bizcomputinginc.com Sat Jul 20 11:53:37 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Sat, 20 Jul 2002 11:53:37 -0400 Subject: [nycphp-talk] Can this be done with PHP or JavaScript? Is it even possible? References: <200207200058.g6K0w9P57131@slipdisc.virul.net> Message-ID: <0c5401c23005$9e18f280$6601a8c0@Notebook> As far as I know, the only way to get data outside a form to be sent with the request would be the use of JS either to build it as part of the querystring, or to finagle some form elements. But, based on what you have below, I don't see that you need all those forms, why not just one form. If it's a matter of determining which submit button the user chose, then give each submit button a different value, the selected button's value would be associated with the button field item available on the server side which would then let you know which of your hidden fields to use. For example:

STEP 1. ENTER YOUR DOMAIN NAME:

STEP 2. CHOOSE A PLAN:

PLAN A 3 MONTHS

PLAN A 6 MONTHS

PLAN A 12 MONTHS

----- Original Message ----- From: "SolTek" To: "NYPHP Talk" Sent: Friday, July 19, 2002 8:58 PM Subject: Re: [nycphp-talk] Can this be done with PHP or JavaScript? Is it even possible? > Sorry to stir up such a debate earlier, but I still do need help. :-) > Maybe someone can assist me. I'm actually just learning PHP and was > hoping to concentrate on that before learning anything else. But it > seems I may not have a choice. > > I'm thinking this can only be done with JavaScript, but maybe I'm wrong. > > Is there a way I can get form values that are on the same html page as a > form but outside of the form tags, and then pass them along with the > rest of a forms values when a submit button of a form is clicked? The > page must contain multiple forms. Each form will contain different > hidden values and a submit button. The form values outside of the form > tags will be associated with every form on the page which is why they > must also be sent along with the rest of the particular form's hidden > values. To help illustrate this I've included and commented the HTML > code I'm using below. > > Many thanks to anyone who could help out! > - Steve > > > > > > From soltek at mac.com Sat Jul 20 16:56:37 2002 From: soltek at mac.com (SolTek) Date: Sat, 20 Jul 2002 16:56:37 -0400 Subject: [nycphp-talk] Can this be done with PHP or JavaScript? Is it even possible? In-Reply-To: <200207201553.g6KFrtP60985@slipdisc.virul.net> Message-ID: <2EAAED14-9C23-11D6-8693-003065481BD8@mac.com> Thanks for the advice Jim, but when a button is clicked I need only one of the hidden "item" and one of the hidden "amount" values to be passed to the cart. Thanks, Steve On Saturday, July 20, 2002, at 11:53 AM, Jim Hendricks wrote: > As far as I know, the only way to get data outside a form to be sent > with > the request > would be the use of JS either to build it as part of the querystring, > or to > finagle some > form elements. > > But, based on what you have below, I don't see that you need all those > forms, why not > just one form. If it's a matter of determining which submit button the > user > chose, then > give each submit button a different value, the selected button's value > would > be associated > with the button field item available on the server side which would > then let > you know > which of your hidden fields to use. For example: > >

STEP 1. ENTER YOUR DOMAIN NAME: >

> >

> >

STEP 2. CHOOSE A PLAN:

>

PLAN A 3 MONTHS > > >

> >

PLAN A 6 MONTHS > > >

> >

PLAN A 12 MONTHS > > >

>
> > ----- Original Message ----- > From: "SolTek" > To: "NYPHP Talk" > Sent: Friday, July 19, 2002 8:58 PM > Subject: Re: [nycphp-talk] Can this be done with PHP or JavaScript? Is it > even possible? > > >> Sorry to stir up such a debate earlier, but I still do need help. :-) >> Maybe someone can assist me. I'm actually just learning PHP and was >> hoping to concentrate on that before learning anything else. But it >> seems I may not have a choice. >> >> I'm thinking this can only be done with JavaScript, but maybe I'm >> wrong. >> >> Is there a way I can get form values that are on the same html page >> as a >> form but outside of the form tags, and then pass them along with the >> rest of a forms values when a submit button of a form is clicked? The >> page must contain multiple forms. Each form will contain different >> hidden values and a submit button. The form values outside of the form >> tags will be associated with every form on the page which is why they >> must also be sent along with the rest of the particular form's hidden >> values. To help illustrate this I've included and commented the HTML >> code I'm using below. >> >> Many thanks to anyone who could help out! >> - Steve >> >> >> >> >> >> > > > From jim at bizcomputinginc.com Sat Jul 20 17:21:23 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Sat, 20 Jul 2002 17:21:23 -0400 Subject: [nycphp-talk] Can this be done with PHP or JavaScript? Is it even possible? References: <200207202056.g6KKudP61415@slipdisc.virul.net> Message-ID: <0c7f01c23033$67db3600$6601a8c0@Notebook> Where is the problem with passing all the items? If $submit == "submit1" then use $item1 and $amount1 if $submit =="submit2" then use $item2 and $amount2. Based on your example also, couldn't item & amount be put into a table & based on which button the user pushes determines which record to look up to populate item and amount? If you can't do all this on the server, then JS looks the way to go. I would still use 1 form, except the submit button would call a JS user function passing the 2 values. The function would then take the 2 values and put them in the fields. So long as the button is a submit, the submit will happen after the JS user function. Look at below example. I just typed this off the top of my head, so if it doesn't work, you'll know why. Hopefully it gives you the idea though. Jim

STEP 1. ENTER YOUR DOMAIN NAME:

STEP 2. CHOOSE A PLAN:

PLAN A 3 MONTHS

PLAN A 6 MONTHS

PLAN A 12 MONTHS

----- Original Message ----- From: "SolTek" To: "NYPHP Talk" Sent: Saturday, July 20, 2002 4:56 PM Subject: Re: [nycphp-talk] Can this be done with PHP or JavaScript? Is it even possible? > Thanks for the advice Jim, but when a button is clicked I need only one > of the hidden "item" and one of the hidden "amount" values to be passed > to the cart. > > Thanks, > Steve > > On Saturday, July 20, 2002, at 11:53 AM, Jim Hendricks wrote: > > > As far as I know, the only way to get data outside a form to be sent > > with > > the request > > would be the use of JS either to build it as part of the querystring, > > or to > > finagle some > > form elements. > > > > But, based on what you have below, I don't see that you need all those > > forms, why not > > just one form. If it's a matter of determining which submit button the > > user > > chose, then > > give each submit button a different value, the selected button's value > > would > > be associated > > with the button field item available on the server side which would > > then let > > you know > > which of your hidden fields to use. For example: > > > >

STEP 1. ENTER YOUR DOMAIN NAME: > >

> > > >

> > > >

STEP 2. CHOOSE A PLAN:

> >

PLAN A 3 MONTHS > > > > > >

> > > >

PLAN A 6 MONTHS > > > > > >

> > > >

PLAN A 12 MONTHS > > > > > >

> >
> > > > ----- Original Message ----- > > From: "SolTek" > > To: "NYPHP Talk" > > Sent: Friday, July 19, 2002 8:58 PM > > Subject: Re: [nycphp-talk] Can this be done with PHP or JavaScript? Is it > > even possible? > > > > > >> Sorry to stir up such a debate earlier, but I still do need help. :-) > >> Maybe someone can assist me. I'm actually just learning PHP and was > >> hoping to concentrate on that before learning anything else. But it > >> seems I may not have a choice. > >> > >> I'm thinking this can only be done with JavaScript, but maybe I'm > >> wrong. > >> > >> Is there a way I can get form values that are on the same html page > >> as a > >> form but outside of the form tags, and then pass them along with the > >> rest of a forms values when a submit button of a form is clicked? The > >> page must contain multiple forms. Each form will contain different > >> hidden values and a submit button. The form values outside of the form > >> tags will be associated with every form on the page which is why they > >> must also be sent along with the rest of the particular form's hidden > >> values. To help illustrate this I've included and commented the HTML > >> code I'm using below. > >> > >> Many thanks to anyone who could help out! > >> - Steve > >> > >> > >> > >> > >> > >> > > > > > > > > > > > From zaunere at yahoo.com Sat Jul 20 17:36:20 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Sat, 20 Jul 2002 14:36:20 -0700 (PDT) Subject: [nycphp-talk] getting rid of unsubscribe messages In-Reply-To: <200207200212.g6K2CnP57268@slipdisc.virul.net> Message-ID: <20020720213620.72746.qmail@web12801.mail.yahoo.com> > > I've been experimenting with mailman recently > And it manages to do an excellent job of catching administrativa > requests > for admin approval prior posting them to the list. > Hans, have you thought about using some filters to paralist? Yeah... I'm going to throw in filtering "subscribe" and "unsubscribe" right now. HZ __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From soltek at mac.com Sat Jul 20 19:32:57 2002 From: soltek at mac.com (SolTek) Date: Sat, 20 Jul 2002 19:32:57 -0400 Subject: [nycphp-talk] Can this be done with PHP or JavaScript? Is it even possible? In-Reply-To: <200207202121.g6KLLKP61491@slipdisc.virul.net> Message-ID: <05D5EAA0-9C39-11D6-8693-003065481BD8@mac.com> Bravo Jim! Your "off the top of the head" JavaScript worked excellently! I even added some additional hidden fields to it and I didn't mess it up. LoL Seems like when I'm ready to actually start learning JS (after I master PHP of course) it won't be that difficult. Thanks for all your help! ;-) - Steve On Saturday, July 20, 2002, at 05:21 PM, Jim Hendricks wrote: > Where is the problem with passing all the items? If $submit == > "submit1" > then use $item1 and $amount1 if $submit =="submit2" then use $item2 and > $amount2. > > Based on your example also, couldn't item & amount be put into a table & > based on which button the user pushes determines which record to look > up to > populate item and amount? > > If you can't do all this on the server, then JS looks the way to go. I > would still use 1 form, except the submit button would call a JS user > function passing the 2 values. The function would then take the 2 > values > and put them in the fields. So long as the button is a submit, the > submit > will happen after the JS user function. Look at below example. I just > typed this off the top of my head, so if it doesn't work, you'll know > why. > Hopefully it gives you the idea though. > > Jim > >

STEP 1. ENTER YOUR DOMAIN NAME: >

name="form1"> > >

> >

STEP 2. CHOOSE A PLAN:

>

PLAN A 3 MONTHS > > >

>

PLAN A 6 MONTHS >

>

PLAN A 12 MONTHS >

>
> > > > > ----- Original Message ----- > From: "SolTek" > To: "NYPHP Talk" > Sent: Saturday, July 20, 2002 4:56 PM > Subject: Re: [nycphp-talk] Can this be done with PHP or JavaScript? Is it > even possible? > > >> Thanks for the advice Jim, but when a button is clicked I need only one >> of the hidden "item" and one of the hidden "amount" values to be passed >> to the cart. >> >> Thanks, >> Steve >> >> On Saturday, July 20, 2002, at 11:53 AM, Jim Hendricks wrote: >> >>> As far as I know, the only way to get data outside a form to be sent >>> with >>> the request >>> would be the use of JS either to build it as part of the querystring, >>> or to >>> finagle some >>> form elements. >>> >>> But, based on what you have below, I don't see that you need all those >>> forms, why not >>> just one form. If it's a matter of determining which submit button >>> the >>> user >>> chose, then >>> give each submit button a different value, the selected button's value >>> would >>> be associated >>> with the button field item available on the server side which would >>> then let >>> you know >>> which of your hidden fields to use. For example: >>> >>>

STEP 1. ENTER YOUR DOMAIN NAME: >>>

>>> >>>

>>> >>>

STEP 2. CHOOSE A PLAN:

>>>

PLAN A 3 MONTHS >>> >>> >>>

>>> >>>

PLAN A 6 MONTHS >>> >>> >>>

>>> >>>

PLAN A 12 MONTHS >>> >>> >>>

>>>
>>> >>> ----- Original Message ----- >>> From: "SolTek" >>> To: "NYPHP Talk" >>> Sent: Friday, July 19, 2002 8:58 PM >>> Subject: Re: [nycphp-talk] Can this be done with PHP or JavaScript? Is >>> it >>> even possible? >>> >>> >>>> Sorry to stir up such a debate earlier, but I still do need help. :-) >>>> Maybe someone can assist me. I'm actually just learning PHP and was >>>> hoping to concentrate on that before learning anything else. But it >>>> seems I may not have a choice. >>>> >>>> I'm thinking this can only be done with JavaScript, but maybe I'm >>>> wrong. >>>> >>>> Is there a way I can get form values that are on the same html page >>>> as a >>>> form but outside of the form tags, and then pass them along with the >>>> rest of a forms values when a submit button of a form is clicked? The >>>> page must contain multiple forms. Each form will contain different >>>> hidden values and a submit button. The form values outside of the >>>> form >>>> tags will be associated with every form on the page which is why they >>>> must also be sent along with the rest of the particular form's hidden >>>> values. To help illustrate this I've included and commented the HTML >>>> code I'm using below. >>>> >>>> Many thanks to anyone who could help out! >>>> - Steve >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> >> >> > > > From danielc at analysisandsolutions.com Sat Jul 20 19:41:34 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Sat, 20 Jul 2002 19:41:34 -0400 Subject: [nycphp-talk] Can this be done with PHP or JavaScript? Is it even possible? In-Reply-To: <200207202121.g6KLLKP61491@slipdisc.virul.net> References: <200207202121.g6KLLKP61491@slipdisc.virul.net> Message-ID: <20020720234134.GA22197@panix.com> Folks: On Sat, Jul 20, 2002 at 05:21:20PM -0400, Jim Hendricks wrote: > Where is the problem with passing all the items? If $submit == "submit1" > then use $item1 and $amount1 if $submit =="submit2" then use $item2 and > $amount2. Jim is right on here. I'd even save a step. Make the value of $submit an integer, then use that integer to create the name of a variable variable, from which you get the needed data. Form... Script... $itemvar = "item$submit"; echo 'item chosen is: ' . $$itemvar; This eliminates the need to go through a lot of if or switch statements and makes it easy to add and remove items because you don't need to update those if or switch statements. > Based on your example also, couldn't item & amount be put into a table & > based on which button the user pushes determines which record to > look up to > populate item and amount? Again, Jim is on target. This is really the way to go for several reasons. Most importantly, -- yes, I'm bringing this back to the data vaidation thread :) -- it keeps people from editing the cost before submitting the form. Also, it obviates the need for any hidden fields at all by allowing you to just put the product ID value into the submit buttons, like this: If you don't have database access, you can keep the product information in a text file or an include file. Enjoy, --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 Sat Jul 20 20:30:57 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Sat, 20 Jul 2002 20:30:57 -0400 Subject: [nycphp-talk] Can this be done with PHP or JavaScript? Is it even possible? References: <200207202332.g6KNWuP61828@slipdisc.virul.net> Message-ID: <0ca301c2304d$e2f690e0$6601a8c0@Notebook> No problem. Glad my little tidbit could help. Jim ----- Original Message ----- From: "SolTek" To: "NYPHP Talk" Sent: Saturday, July 20, 2002 7:32 PM Subject: Re: [nycphp-talk] Can this be done with PHP or JavaScript? Is it even possible? > Bravo Jim! Your "off the top of the head" JavaScript worked excellently! > I even added some additional hidden fields to it and I didn't mess it > up. LoL > Seems like when I'm ready to actually start learning JS (after I master > PHP of course) it won't be that difficult. > > Thanks for all your help! ;-) > - Steve > > On Saturday, July 20, 2002, at 05:21 PM, Jim Hendricks wrote: > > > Where is the problem with passing all the items? If $submit == > > "submit1" > > then use $item1 and $amount1 if $submit =="submit2" then use $item2 and > > $amount2. > > > > Based on your example also, couldn't item & amount be put into a table & > > based on which button the user pushes determines which record to look > > up to > > populate item and amount? > > > > If you can't do all this on the server, then JS looks the way to go. I > > would still use 1 form, except the submit button would call a JS user > > function passing the 2 values. The function would then take the 2 > > values > > and put them in the fields. So long as the button is a submit, the > > submit > > will happen after the JS user function. Look at below example. I just > > typed this off the top of my head, so if it doesn't work, you'll know > > why. > > Hopefully it gives you the idea though. > > > > Jim > > > >

STEP 1. ENTER YOUR DOMAIN NAME: > >

> name="form1"> > > > >

> > > >

STEP 2. CHOOSE A PLAN:

> >

PLAN A 3 MONTHS > > > > > >

> >

PLAN A 6 MONTHS > >

> >

PLAN A 12 MONTHS > >

> >
> > > > > > > > > > ----- Original Message ----- > > From: "SolTek" > > To: "NYPHP Talk" > > Sent: Saturday, July 20, 2002 4:56 PM > > Subject: Re: [nycphp-talk] Can this be done with PHP or JavaScript? Is it > > even possible? > > > > > >> Thanks for the advice Jim, but when a button is clicked I need only one > >> of the hidden "item" and one of the hidden "amount" values to be passed > >> to the cart. > >> > >> Thanks, > >> Steve > >> > >> On Saturday, July 20, 2002, at 11:53 AM, Jim Hendricks wrote: > >> > >>> As far as I know, the only way to get data outside a form to be sent > >>> with > >>> the request > >>> would be the use of JS either to build it as part of the querystring, > >>> or to > >>> finagle some > >>> form elements. > >>> > >>> But, based on what you have below, I don't see that you need all those > >>> forms, why not > >>> just one form. If it's a matter of determining which submit button > >>> the > >>> user > >>> chose, then > >>> give each submit button a different value, the selected button's value > >>> would > >>> be associated > >>> with the button field item available on the server side which would > >>> then let > >>> you know > >>> which of your hidden fields to use. For example: > >>> > >>>

STEP 1. ENTER YOUR DOMAIN NAME: > >>>

> >>> > >>>

> >>> > >>>

STEP 2. CHOOSE A PLAN:

> >>>

PLAN A 3 MONTHS > >>> > >>> > >>>

> >>> > >>>

PLAN A 6 MONTHS > >>> > >>> > >>>

> >>> > >>>

PLAN A 12 MONTHS > >>> > >>> > >>>

> >>>
> >>> > >>> ----- Original Message ----- > >>> From: "SolTek" > >>> To: "NYPHP Talk" > >>> Sent: Friday, July 19, 2002 8:58 PM > >>> Subject: Re: [nycphp-talk] Can this be done with PHP or JavaScript? Is > >>> it > >>> even possible? > >>> > >>> > >>>> Sorry to stir up such a debate earlier, but I still do need help. :-) > >>>> Maybe someone can assist me. I'm actually just learning PHP and was > >>>> hoping to concentrate on that before learning anything else. But it > >>>> seems I may not have a choice. > >>>> > >>>> I'm thinking this can only be done with JavaScript, but maybe I'm > >>>> wrong. > >>>> > >>>> Is there a way I can get form values that are on the same html page > >>>> as a > >>>> form but outside of the form tags, and then pass them along with the > >>>> rest of a forms values when a submit button of a form is clicked? The > >>>> page must contain multiple forms. Each form will contain different > >>>> hidden values and a submit button. The form values outside of the > >>>> form > >>>> tags will be associated with every form on the page which is why they > >>>> must also be sent along with the rest of the particular form's hidden > >>>> values. To help illustrate this I've included and commented the HTML > >>>> code I'm using below. > >>>> > >>>> Many thanks to anyone who could help out! > >>>> - Steve > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >> > >> > >> > >> > >> > > > > > > > > > > > From jim at bizcomputinginc.com Sat Jul 20 20:34:26 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Sat, 20 Jul 2002 20:34:26 -0400 Subject: [nycphp-talk] Can this be done with PHP or JavaScript? Is it even possible? References: <200207202341.g6KNfGP61863@slipdisc.virul.net> Message-ID: <0cac01c2304e$5fccb9f0$6601a8c0@Notebook> > Jim is right on here. I'd even save a step. Make the value of $submit > an integer, then use that integer to create the name of a variable > variable, from which you get the needed data. Hadn't thought of the variable variable, yes, this would cut the code on the server way down. The more I play with PHP, the more I'm liking it! Jim From wayne at intercart.co.uk Sun Jul 21 12:23:32 2002 From: wayne at intercart.co.uk (Wayne Cope \(Intercart\)) Date: Sun, 21 Jul 2002 12:23:32 -0400 Subject: Sessions. Pesky, pesky sessions. References: <200207210034.g6L0YNP62027@slipdisc.virul.net> Message-ID: <000c01c230d3$495d9e20$134c80ac@waynecopeltd> Hi all, No problem using sessions as such, but I'm over-riding the default read, write, destroy functions used for sessions so that when a session is destoyed I ncan set a flag in a database pertinent to the session. All works fine except if the browser is closed or something unfortunate happens and the connection is lost etc., the server doesn't seem to acknowledge that the session has died and promptly fails to run the destroy code. If I explicity call the session_destroy() function everything works fine. In ASP it's pretty much taken for granted that the session destory code equivalent is called when a session ends, wether it be closed explicitly, by expiry, or by closing the browser or some other method of loosing the session with the server. Does anybody know how I can achieve what I'm trying to do - yes I could pop some JavaScript to detect closing the browser, but that doesn't account for loss of connection etc. Any help much appreciated. Wayne.... From peter at panvox.net Sun Jul 21 14:18:10 2002 From: peter at panvox.net (Peter Simard) Date: Sun, 21 Jul 2002 14:18:10 -0400 Subject: [nycphp-talk] Sessions. Pesky, pesky sessions. In-Reply-To: <12316061125.20020721124322@verizon.net> References: <200207211627.g6LGRBP64967@slipdisc.virul.net> <12316061125.20020721124322@verizon.net> Message-ID: <9721748609.20020721141810@panvox.net> Hello Peter, Sunday, July 21, 2002, 12:43:22 PM, you wrote: PS> Hi Wayne; Don't quote me on this, but I don't think PHP can/will PS> detect the closing of the browser, so reliance on session expire time PS> in the event of a closed browser - lost connection is the preferred PS> way to go. PS> if I'm wrong here someone please correct me. PS> Regards, Hi Wayne; Don't quote me on this, but I don't think PHP can/will detect the closing of the browser, so reliance on session expire time in the event of a closed browser - lost connection is the preferred way to go. if I'm wrong here someone please correct me. Regards, -- Peter mailto:peter at panvox.net From jhise at linuxforbusiness.org Sun Jul 21 16:01:24 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 21 Jul 2002 16:01:24 -0400 Subject: [nycphp-talk] Sessions. Pesky, pesky sessions. In-Reply-To: <200207211818.g6LIILP65299@slipdisc.virul.net> References: <200207211818.g6LIILP65299@slipdisc.virul.net> Message-ID: <1027281687.11542.2.camel@localhost.localdomain> I remember briefly looking into this at one point as well...maybe if you can find a software vendor who produces an OS, web server, scripting language AND browser, then you might be in luck ;) On Sun, 2002-07-21 at 14:18, Peter Simard wrote: > Hello Peter, > > Sunday, July 21, 2002, 12:43:22 PM, you wrote: > > > PS> Hi Wayne; Don't quote me on this, but I don't think PHP can/will > PS> detect the closing of the browser, so reliance on session expire time > PS> in the event of a closed browser - lost connection is the preferred > PS> way to go. > > PS> if I'm wrong here someone please correct me. > > PS> Regards, > > > > > Hi Wayne; > > Don't quote me on this, but I don't think PHP can/will > detect the closing of the browser, so reliance on session expire time > in the event of a closed browser - lost connection is the preferred > way to go. > > if I'm wrong here someone please correct me. > > Regards, > > -- > > Peter > mailto:peter at panvox.net > > > > > From wayne at intercart.co.uk Sun Jul 21 17:01:04 2002 From: wayne at intercart.co.uk (Wayne Cope \(Intercart\)) Date: Sun, 21 Jul 2002 17:01:04 -0400 Subject: [nycphp-talk] Sessions. Pesky, pesky sessions. References: <200207212001.g6LK1jP65662@slipdisc.virul.net> Message-ID: <001801c230f9$ba48ac30$1cc592ac@waynecopeltd> LOL - now let me think........ ----- Original Message ----- From: "Jeremy Hise" To: "NYPHP Talk" Sent: Sunday, July 21, 2002 4:01 PM Subject: Re: Re[2]: [nycphp-talk] Sessions. Pesky, pesky sessions. > I remember briefly looking into this at one point as well...maybe if you > can find a software vendor who produces an OS, web server, scripting > language AND browser, then you might be in luck ;) > > > On Sun, 2002-07-21 at 14:18, Peter Simard wrote: > > Hello Peter, > > > > Sunday, July 21, 2002, 12:43:22 PM, you wrote: > > > > > > PS> Hi Wayne; Don't quote me on this, but I don't think PHP can/will > > PS> detect the closing of the browser, so reliance on session expire time > > PS> in the event of a closed browser - lost connection is the preferred > > PS> way to go. > > > > PS> if I'm wrong here someone please correct me. > > > > PS> Regards, > > > > > > > > > > Hi Wayne; > > > > Don't quote me on this, but I don't think PHP can/will > > detect the closing of the browser, so reliance on session expire time > > in the event of a closed browser - lost connection is the preferred > > way to go. > > > > if I'm wrong here someone please correct me. > > > > Regards, > > > > -- > > > > Peter > > mailto:peter at panvox.net > > > > > > > > > > > > > > From brian at preston-campbell.com Sun Jul 21 17:10:26 2002 From: brian at preston-campbell.com (Preston-Campbell) Date: Sun, 21 Jul 2002 17:10:26 -0400 Subject: [nycphp-talk] Sessions. Pesky, pesky sessions. References: <200207212001.g6LK1jP65662@slipdisc.virul.net> Message-ID: <00ce01c230fb$27010ce0$a77cfea9@p1n1w5> Microsoft does all that and more ;-) OS -> Windows web server -> IIS srcipting language -> ASP browser -> IE Doesn't mean it works in your favor in this instance (or in any other IMHO). ----- Original Message ----- From: "Jeremy Hise" To: "NYPHP Talk" Sent: Sunday, July 21, 2002 4:01 PM Subject: Re: Re[2]: [nycphp-talk] Sessions. Pesky, pesky sessions. > I remember briefly looking into this at one point as well...maybe if you > can find a software vendor who produces an OS, web server, scripting > language AND browser, then you might be in luck ;) > > > On Sun, 2002-07-21 at 14:18, Peter Simard wrote: > > Hello Peter, > > > > Sunday, July 21, 2002, 12:43:22 PM, you wrote: > > > > > > PS> Hi Wayne; Don't quote me on this, but I don't think PHP can/will > > PS> detect the closing of the browser, so reliance on session expire time > > PS> in the event of a closed browser - lost connection is the preferred > > PS> way to go. > > > > PS> if I'm wrong here someone please correct me. > > > > PS> Regards, > > > > > > > > > > Hi Wayne; > > > > Don't quote me on this, but I don't think PHP can/will > > detect the closing of the browser, so reliance on session expire time > > in the event of a closed browser - lost connection is the preferred > > way to go. > > > > if I'm wrong here someone please correct me. > > > > Regards, > > > > -- > > > > Peter > > mailto:peter at panvox.net > > > > > > > > > > > > > > > From mogmios at mlug.missouri.edu Mon Jul 22 03:08:49 2002 From: mogmios at mlug.missouri.edu (Michael) Date: Mon, 22 Jul 2002 02:08:49 -0500 (CDT) Subject: [nycphp-talk] Sessions. Pesky, pesky sessions. In-Reply-To: <200207211627.g6LGRBP64967@slipdisc.virul.net> Message-ID: They should expire after the given time depending on how you reconfigured it. If it doesn't seem to have expired after the configured time try reloading a few times. For performance reasons the script doesn't run after every connection, it is usually ran on a probability of say 1 of 100 hits. Maybe that is your problem? Don't dream it. Be it. ;):):-):):-):):-)8') Michael McGlothlin http://kavlon.org/projects/ On Sun, 21 Jul 2002, Wayne Cope ( wrote: > Hi all, > > No problem using sessions as such, but I'm over-riding the default read, > write, destroy functions used for sessions so that when a session is > destoyed I ncan set a flag in a database pertinent to the session. > > All works fine except if the browser is closed or something unfortunate > happens and the connection is lost etc., the server doesn't seem to > acknowledge that the session has died and promptly fails to run the destroy > code. If I explicity call the session_destroy() function everything works > fine. > > In ASP it's pretty much taken for granted that the session destory code > equivalent is called when a session ends, wether it be closed explicitly, by > expiry, or by closing the browser or some other method of loosing the > session with the server. > > Does anybody know how I can achieve what I'm trying to do - yes I could pop > some JavaScript to detect closing the browser, but that doesn't account for > loss of connection etc. > > Any help much appreciated. > > Wayne.... > > > > > From nyphp at websapp.com Mon Jul 22 07:57:30 2002 From: nyphp at websapp.com (Daniel Kushner) Date: Mon, 22 Jul 2002 07:57:30 -0400 Subject: Amazon Web Services implemented in PHP In-Reply-To: <200207220708.g6M78sP67936@slipdisc.virul.net> Message-ID: http://www.amazonlite.com/ --Daniel Kushner From nyphp at websapp.com Mon Jul 22 10:30:21 2002 From: nyphp at websapp.com (Daniel Kushner) Date: Mon, 22 Jul 2002 10:30:21 -0400 Subject: PHP 4.2.2 released in response to vulnerability In-Reply-To: <200207192138.g6JLc8P56751@slipdisc.virul.net> Message-ID: http://us2.php.net/ --Daniel Kushner From nyphp at altunergil.com Mon Jul 22 10:44:39 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Mon, 22 Jul 2002 10:44:39 -0400 Subject: [nycphp-talk] PHP 4.2.2 released in response to vulnerability [details] In-Reply-To: <200207221432.g6MEWmP69143@slipdisc.virul.net> References: <200207221432.g6MEWmP69143@slipdisc.virul.net> Message-ID: <20020722104439.3ae4a0e2.nyphp@altunergil.com> details about the vulnerability from the php site.: PHP 4.2.2 released in response to vulnerability [22-Jul-2002] The PHP Group today announced the details of a serious vulnerability in PHP versions 4.2.0 and 4.2.1. A security update, PHP 4.2.2, fixes the issue. Everyone running affected versions of PHP is encouraged to upgrade immediately. The new 4.2.2 release doesn't include other changes, so upgrading from 4.2.1 is safe and painless. PHP Security Advisory: Vulnerability in PHP versions 4.2.0 and 4.2.1 [ Version Fran?aise ] Issued on: July 22, 2002 Software: PHP versions 4.2.0 and 4.2.1 Platforms: All The PHP Group has learned of a serious security vulnerability in PHP versions 4.2.0 and 4.2.1. An intruder may be able to execute arbitrary code with the privileges of the web server. This vulnerability may be exploited to compromise the web server and, under certain conditions, to gain privileged access. Description PHP contains code for intelligently parsing the headers of HTTP POST requests. The code is used to differentiate between variables and files sent by the user agent in a "multipart/form-data" request. This parser has insufficient input checking, leading to the vulnerability. The vulnerability is exploitable by anyone who can send HTTP POST requests to an affected web server. Both local and remote users, even from behind firewalls, may be able to gain privileged access. Impact Both local and remote users may exploit this vulnerability to compromise the web server and, under certain conditions, to gain privileged access. So far only the IA32 platform has been verified to be safe from the execution of arbitrary code. The vulnerability can still be used on IA32 to crash PHP and, in most cases, the web server. Solution The PHP Group has released a new PHP version, 4.2.2, which incorporates a fix for the vulnerability. All users of affected PHP versions are encouraged to upgrade to this latest version. The downloads web site at http://www.php.net/downloads.php has the new 4.2.2 source tarballs, Windows binaries and source patches from 4.2.0 and 4.2.1 available for download. Workaround If the PHP applications on an affected web server do not rely on HTTP POST input from user agents, it is often possible to deny POST requests on the web server. In the Apache web server, for example, this is possible with the following code included in the main configuration file or a top-level .htaccess file: Order deny,allow Deny from all Note that an existing configuration and/or .htaccess file may have parameters contradicting the example given above. Credits The PHP Group would like to thank Stefan Esser of e-matters GmbH for discovering this vulnerability. On Mon, 22 Jul 2002 10:32:48 -0400 Daniel Kushner wrote: > http://us2.php.net/ > > --Daniel Kushner > From nyphp at websapp.com Mon Jul 22 12:02:07 2002 From: nyphp at websapp.com (Daniel Kushner) Date: Mon, 22 Jul 2002 12:02:07 -0400 Subject: Temporary Mirror for PHP 4.2.2 Binaries In-Reply-To: <200207221444.g6MEikP69187@slipdisc.virul.net> Message-ID: Hi PHPers, To help along with the new PHP download crises I have added a temporary mirror: http://www.thehostingcompany.us/php/ Regards, Daniel Kushner From jkelly at sussex.cc.nj.us Mon Jul 22 12:30:53 2002 From: jkelly at sussex.cc.nj.us (jessica kelly) Date: Mon, 22 Jul 2002 12:30:53 -0400 Subject: [nycphp-talk] Temporary Mirror for PHP 4.2.2 Binaries Message-ID: Thank's Daniel. Way Quicker :-) Sincerely, Jessica Kelly, SCCC Web Administrator SCCC WebCT Administrator jkelly at sussex.edu 973-300-2148 1 College Hill, Newton, NJ 07860 >>> nyphp at websapp.com 7/22/02 12:04:26 PM >>> Hi PHPers, To help along with the new PHP download crises I have added a temporary mirror: http://www.thehostingcompany.us/php/ Regards, Daniel Kushner From zala007 at hotmail.com Mon Jul 22 12:32:45 2002 From: zala007 at hotmail.com (Anirudh Zala) Date: Mon, 22 Jul 2002 16:32:45 +0000 Subject: [nycphp-talk] Can this be done with PHP or JavaScript? Is it even possible? Message-ID: Hello Steven well u can do so but don't put from vars outside from tag. when u want to transfer vars of 1 from to other or so.. use javascipt method or properties like this document.FROM1.VARNAME.value=document.FROM2.VARNAME.value; so put your global 2-3 vars in 1 main form tag and then pass them values to other forms using javascript. or so..this is just simple example..u pls explore more on this. Thanks Anirudh Zala >From: SolTek >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: Re: [nycphp-talk] Can this be done with PHP or JavaScript? Is it >even possible? >Date: Fri, 19 Jul 2002 20:58:09 -0400 >Received: from mc1-f24.law16.hotmail.com ([65.54.236.31]) by >mc1-s18.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Fri, 19 >Jul 2002 18:02:38 -0700 >Received: from slipdisc.virul.net ([66.114.66.188]) by >mc1-f24.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Fri, 19 >Jul 2002 18:01:29 -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 g6K0w9P57131;Fri, 19 Jul >2002 20:58:09 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200207200058.g6K0w9P57131 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: 20 Jul 2002 01:01:29.0790 (UTC) >FILETIME=[FB4BC5E0:01C22F88] > >Sorry to stir up such a debate earlier, but I still do need help. :-) >Maybe someone can assist me. I'm actually just learning PHP and was >hoping to concentrate on that before learning anything else. But it >seems I may not have a choice. > >I'm thinking this can only be done with JavaScript, but maybe I'm wrong. > >Is there a way I can get form values that are on the same html page as a >form but outside of the form tags, and then pass them along with the >rest of a forms values when a submit button of a form is clicked? The >page must contain multiple forms. Each form will contain different >hidden values and a submit button. The form values outside of the form >tags will be associated with every form on the page which is why they >must also be sent along with the rest of the particular form's hidden >values. To help illustrate this I've included and commented the HTML >code I'm using below. > >Many thanks to anyone who could help out! >- Steve > >

STEP 1. ENTER YOUR DOMAIN NAME: > > >

> >

STEP 2. CHOOSE A PLAN:

> >
>

PLAN A 3 MONTHS > > >

> >
>

PLAN A 6 MONTHS > > >

> >
>

PLAN A 12 MONTHS > > >

_________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From zala007 at hotmail.com Mon Jul 22 13:24:59 2002 From: zala007 at hotmail.com (Anirudh Zala) Date: Mon, 22 Jul 2002 17:24:59 +0000 Subject: [nycphp-talk] Temporary Mirror for PHP 4.2.2 Binaries Message-ID: Thanks Daniel too :) Anirudh Zala >From: "jessica kelly" >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: Re: [nycphp-talk] Temporary Mirror for PHP 4.2.2 Binaries >Date: Mon, 22 Jul 2002 12:30:39 -0400 >Received: from mc1-f9.law16.hotmail.com ([65.54.236.16]) by >mc1-s9.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Mon, 22 Jul >2002 09:44:01 -0700 >Received: from slipdisc.virul.net ([66.114.66.188]) by >mc1-f9.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Mon, 22 Jul >2002 09:40:53 -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 g6MGUdP00829;Mon, 22 Jul >2002 12:30:40 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200207221630.g6MGUdP00829 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: 22 Jul 2002 16:40:54.0193 (UTC) >FILETIME=[8BECA210:01C2319E] > >Thank's Daniel. > >Way Quicker :-) > > >Sincerely, > >Jessica Kelly, >SCCC Web Administrator >SCCC WebCT Administrator >jkelly at sussex.edu >973-300-2148 >1 College Hill, >Newton, NJ 07860 > > >>> nyphp at websapp.com 7/22/02 12:04:26 PM >>> >Hi PHPers, > >To help along with the new PHP download crises I have added a temporary >mirror: >http://www.thehostingcompany.us/php/ > >Regards, >Daniel Kushner _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From jim at nettmedia.com Mon Jul 22 13:35:01 2002 From: jim at nettmedia.com (Jim Musil) Date: Mon, 22 Jul 2002 13:35:01 -0400 Subject: Mom and Pop CC Security Message-ID: Hi all, Let's say a user fills in his/her credit card number into a web form and then submits the form via https to a secure server. The user's order and credit card info are stored in a mySQL database. Then, the owner of the site goes to a dynamic page which also lives on the same secure server. This page lists all the orders and the credit card numbers. The owner then processes the credit card order by hand in hes/her shop and deletes and marks the order as processed. What security holes exist in this scenario? Jim Musil From kr7178 at albany.edu Mon Jul 22 13:53:53 2002 From: kr7178 at albany.edu (Kevin Regan) Date: Mon, 22 Jul 2002 13:53:53 -0400 Subject: [nycphp-talk] Mom and Pop CC Security In-Reply-To: <200207221735.g6MHZ9P01140@slipdisc.virul.net> Message-ID: This is a tad complex, but security and efficiency are always an inverse relationship. I don't believe in storing the entire credit card number anywhere. If this is a mom and pop shop, then maybe all the transactions will be done at the end of the day of possibly bi-daily. I'd set up a routine where the CC# is stored and displayed with the last 4 numbers missing. A file with the last 4 numbers and the transaction number is kept somewhere else, on the same server if need be. The file could then be printed out. By using the transaction number the store owner would know the full CC# without it ever being displayed on the screen. Not the most secure method, but add encryption, algorithms to determine the transaction number, etc., and this can be much more secure. Otherwise, trojans can easily be used to steal dozens of CCs. Kevin Regan On Monday, July 22, 2002, at 01:35 PM, Jim Musil wrote: > > Hi all, > > Let's say a user fills in his/her credit card number into a web form and > then submits the form via > to a secure server. > > The user's order and credit card info are stored in a mySQL database. > > Then, the owner of the site goes to a dynamic page which also lives on > the > same secure server. This page lists all the orders and the credit card > numbers. > > The owner then processes the credit card order by hand in hes/her shop > and > deletes and marks the order as processed. > > What security holes exist in this scenario? > > Jim Musil > > From zaunere at yahoo.com Mon Jul 22 14:02:49 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Mon, 22 Jul 2002 11:02:49 -0700 (PDT) Subject: [nycphp-talk] Mom and Pop CC Security In-Reply-To: <200207221735.g6MHZ9P01140@slipdisc.virul.net> Message-ID: <20020722180249.66519.qmail@web12804.mail.yahoo.com> There are of course many variables, but here are some things I've run into, dealing with medical data: --- Jim Musil wrote: > Let's say a user fills in his/her credit card number into a web form > and then submits the form via https to a secure server. Assuming proper configuration, this should be as solid as one would expect. > The user's order and credit card info are stored in a mySQL database. How does the data get from webserver -> MySQL? Same physical box? Encrypted? We've been looking at MySQL 4.x for p-t-p SSL encryption. > Then, the owner of the site goes to a dynamic page which also lives > on the same secure server. This page lists all the orders and the > credit card numbers. Is the owner's access via SSL as well? Is his computer secure? Is his computer shared by anyone/in a public area? Is the data cached at all (browser/proxy)? > The owner then processes the credit card order by hand in hes/her > shop and deletes and marks the order as processed. Of course security is only as good as the people that use the system! > What security holes exist in this scenario? This is just a start. How secure are the boxes themselves? The network? Are they running latest/secured php/apache/ssh/etc? Physical security? Who has access/administers them? Are the backup tapes/media secured, physically? This may pedantic, but we've been dealing with medical data, and thus HIPPA regulation, so I'm learning to be extremely anal about things. HZ __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From brent at landover.com Mon Jul 22 14:44:46 2002 From: brent at landover.com (Brent Baisley) Date: Mon, 22 Jul 2002 14:44:46 -0400 Subject: [nycphp-talk] Mom and Pop CC Security In-Reply-To: <200207221802.g6MI2sP01290@slipdisc.virul.net> Message-ID: <1861FE6F-9DA3-11D6-BAD6-0050E4C5CF70@landover.com> In any setup, you want to rule out as many variables as you can. This ideally means using multiple machines. Your database should not be directly exposed to the internet, it should be behind a firewall and the firewall should be set to control what computers can access the database machine through which ports. That reduces the "variables" considerably and is fairly easy to implement. For instance, my setup looks something like this: internet <-> firewall <--> web & mail servers <--> firewall <--> LAN On top of all that, you still have your os, web and database security levels in place. It takes a bit of effort to come up with all the security policies you want, but once you do, it's easy to maintain. On Monday, July 22, 2002, at 02:02 PM, Hans Zaunere wrote: > There are of course many variables, From LarryC at indexstock.com Mon Jul 22 15:51:45 2002 From: LarryC at indexstock.com (Larry Chuon) Date: Mon, 22 Jul 2002 15:51:45 -0400 Subject: NNTP read and post Message-ID: <86713EAB93BD5F40B94A0C8E604C7C91AEB45C@index-exchange.indexstock.com> I am volunteering for a non-for profit organization to setup a forum and grab/post information from a newsgroup. I don't have much experience with NNTP besides from the network standpoint. Can someone please give me some hints on how to proceed? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dev at thebinarylab.com Mon Jul 22 02:36:26 2002 From: dev at thebinarylab.com (John Ensign) Date: Mon, 22 Jul 2002 00:36:26 -0600 Subject: [nycphp-talk] Sessions. Pesky, pesky sessions. In-Reply-To: <200207211627.g6LGRBP64967@slipdisc.virul.net> Message-ID: Maybe this might work for you? http://www.php.net/manual/en/features.connection-handling.php Register a shut-down func, and call destroy if connect goes south? <- hack ... ? Also, off the top of my very very small head.... I know that when over-riding the session functions, if an error occurs, sometimes you get no message, even with all settings full on for reporting... so you might just double check that the functions themselves are working...? Hope any of this helps, John -----Original Message----- From: Wayne Cope ( [mailto:wayne at intercart.co.uk] Sent: Sunday, July 21, 2002 10:27 AM To: NYPHP Talk Subject: [nycphp-talk] Sessions. Pesky, pesky sessions. Hi all, No problem using sessions as such, but I'm over-riding the default read, write, destroy functions used for sessions so that when a session is destoyed I ncan set a flag in a database pertinent to the session. All works fine except if the browser is closed or something unfortunate happens and the connection is lost etc., the server doesn't seem to acknowledge that the session has died and promptly fails to run the destroy code. If I explicity call the session_destroy() function everything works fine. In ASP it's pretty much taken for granted that the session destory code equivalent is called when a session ends, wether it be closed explicitly, by expiry, or by closing the browser or some other method of loosing the session with the server. Does anybody know how I can achieve what I'm trying to do - yes I could pop some JavaScript to detect closing the browser, but that doesn't account for loss of connection etc. Any help much appreciated. Wayne.... From kirill at kptek.com Mon Jul 22 20:18:58 2002 From: kirill at kptek.com (kirill at kptek.com) Date: Mon, 22 Jul 2002 20:18:58 -0400 Subject: Mac and WYSIWYG browser-based editors Message-ID: Hello everyone, I am developing very basic Content Management website and have a working web-based HTML editor for Windows client. Since Mac does not support the IE 5.5 editing features, I need to find a Java based solution for Mac OS (8, 9). I have seen some enterprise level Java applets (EditOnPro, EditLive - only Mac OS X(), but their licensing is too expensive for me (10 user license per domain minimum) . Any suggestions or advice is most appreciated. Regards, Kirill Poliakov From jonbaer at digitalanywhere.com Mon Jul 22 20:22:57 2002 From: jonbaer at digitalanywhere.com (Jon Baer) Date: Mon, 22 Jul 2002 20:22:57 -0400 Subject: [nycphp-talk] Mac and WYSIWYG browser-based editors References: <200207230003.g6N035P03070@slipdisc.virul.net> Message-ID: <3D3CA1E1.3020705@digitalanywhere.com> kirill at kptek.com wrote: >Hello everyone, > >I am developing very basic Content Management website and have a working >web-based HTML editor for Windows client. Since Mac does not support the >IE 5.5 editing features, I need to find a Java based solution for Mac OS >(8, 9). I have seen some enterprise level Java applets (EditOnPro, >EditLive - only Mac OS X(), but their licensing is too expensive for me (10 >user license per domain minimum) . > >Any suggestions or advice is most appreciated. > Umm I don't beleive it's actually a Mac issue per se from understanding ur email ... maybe look into WebDAV ... http://www.webdav.org ... I beleive there are some Mac clients u can use ... I also read an article once (Java Journal I think) on how someone used/modified JEdit ... http://www.jedit.org ... to do real time modifications ... however Im not sure Java 2 will run on Mac 8/9 ... (neither would EditLive) ... - Jon From bravex at gmx.net Tue Jul 23 02:41:56 2002 From: bravex at gmx.net (bravex at gmx.net) Date: Tue, 23 Jul 2002 08:41:56 +0200 (MEST) Subject: No subject Message-ID: <2235.1027406516@www39.gmx.net> -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From pomorov at mail.ru Tue Jul 23 21:09:28 2002 From: pomorov at mail.ru (Petr Pomorov) Date: Tue, 23 Jul 2002 21:09:28 -0400 Subject: [nycphp-talk] Mac and WYSIWYG browser-based editors In-Reply-To: <200207230027.g6N0R5P03201@slipdisc.virul.net> References: <200207230027.g6N0R5P03201@slipdisc.virul.net> Message-ID: <200207232109.29033.pomorov@mail.ru> What kind of editor are we talking about here? php or html? From danielc at analysisandsolutions.com Wed Jul 24 02:03:32 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Wed, 24 Jul 2002 02:03:32 -0400 Subject: [nycphp-talk] JavaScript List? In-Reply-To: <200207192128.g6JLSoP56659@slipdisc.virul.net> References: <200207192128.g6JLSoP56659@slipdisc.virul.net> Message-ID: <20020724060332.GA8330@panix.com> Hi Folks: I promise the following will be my final foray on this subject... :) First, I'm sorry if I've come off as nasty. That's certainly not my intention. But I _really_ don't like JavaScript. Allow me to clarify exactly why. JS has opened up a wide array of vulnerabilities. Putting the words "javascript" and "vulnerability" into Google brought up over 31,000 hits: http://www.google.com/search?q=javascript+vulnerability. The bugs include situations where the JS engine in the browser has flaws that cause exploitable crashes. Other problems arise from nasty scripts doing nepharious things, such as cross-site scripting vulnerabilities. Cross-site errors have arisen in notable programs such as Cold Fusion and PHPNuke. Here are some searches on this matter... http://www.google.com/search?q=php+cross+site+scripting+vulnerability brought back 6,800 hits. http://online.securityfocus.com/search?submit=yes&category=23&order=DESC&query=cross%20site%20scripting landed 237 pages. So, this is not a small problem. The best way to keep such things from happening is to keep JavaScript turned off. I do. The problem arises when landing on websites that require JS in order to do essential things like click on hyperlinks, forward users to other pages or submit forms. While instances of JS can be convenient for the developers and often provide a pretty interface, they needlessly restrict the usefulness of the site. These simple cross-site scripting vulnerabilities bring me back to an earlier post: On Fri, Jul 19, 2002 at 11:46:44AM -0400, Jim Hendricks wrote: > That > doesn't mean I can forget about security, it's just that why build Fort > Knox > to ensure > someone doesn't steal my penny? I'd consider a web discussion forum to be down in that low economic impact area. But, if the system doesn't check user input on the server before saving it, users can get unpleasant cross-site coding saved that will spring up every time someone views their posting. This has no economic impact on the server or the people running it, but it poses problems for the people viewing the site. So, pennies need to be protected. On Fri, Jul 19, 2002 at 03:04:59PM -0400, Benjamin Stiglitz wrote: > > While I don't disagree with the post, I'd just like to point out the the > PHP MySQL functions (I don't know about other databases) will only > process the first SQL statement passed, preventing such exploits. True for now. But, there's no guarantee that'll always be the case -- be it intentional or mistakenly. On Fri, Jul 19, 2002 at 05:28:50PM -0400, Jim Hendricks wrote: > > Yes. And there are every other possiblity as well. I would hate to see > the > code that deals with every possiblity. I don't see what's the big deal about doing some basic validation for each bit of user input. Here's my basic method: # Start out by creating an array to hold problem notices. $Probs = array(); # Now, examine the various variables submitted. # For example, check $Data to see that it's an integer. # I do the substr() to keep the possible points of # overflow failure down to one simple function. $Data = substr($Data, 0, 6); if ( !preg_match('/^[0-9]{1,6}$/', $Data) ) { $Probs[] = 'Data was not an integer'; } # Finally, before inserting the data into your system, # make sure there weren't any problems. if ( empty($Probs) ) { # Life is good. Proceed. } else { # Ya got a problem. echo 'There were problems...
    '; while ( list(,$Prob) = each($Probs) ) { echo "
  • $Prob
  • \ "; } echo '
'; } This process is really simple and eliminates all data corruption. In my eyes, it's so easy, there's no reason not to do it. On Fri, Jul 19, 2002 at 05:28:50PM -0400, Jim Hendricks wrote: > > Especially when this thread was started > by > a request for a newsgroup which deals in Javascript. Yep. And, as it turns out, it seems Steve went with a JavaScript answer despite both you and I put forth PHP based solutions. Now there's one more page on the net that's inaccessible to those w/o JS. Anyway, ENOUGH! Hope to see some of you on Wednesday. --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 bravex at gmx.net Wed Jul 24 04:38:25 2002 From: bravex at gmx.net (bravex at gmx.net) Date: Wed, 24 Jul 2002 10:38:25 +0200 (MEST) Subject: =?ISO-8859-1?Q?hi__=FD_am_delete......?= Message-ID: <5874.1027499905@www42.gmx.net> -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From jim at bizcomputinginc.com Wed Jul 24 09:15:55 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Wed, 24 Jul 2002 09:15:55 -0400 Subject: [nycphp-talk] JavaScript List? References: <200207240603.g6O63bP13050@slipdisc.virul.net> Message-ID: <10f801c23314$3fda7880$6601a8c0@Notebook> > First, I'm sorry if I've come off as nasty. That's certainly not my > intention. But I _really_ don't like JavaScript. Allow me to clarify > exactly why. And yet as another poster pointed out, you use JavaScript on your website for flyovers. I realize that the website will still work with JS turned off, but for someone so dead against JS, I would think you would not want to support even the simplist use of JS especially since you can't even see the JS impact on your website since JS is turned off in your browser. > JS has opened up a wide array of vulnerabilities. Putting the words > "javascript" and "vulnerability" into Google brought up over 31,000 hits: > http://www.google.com/search?q=javascript+vulnerability. The bugs include > situations where the JS engine in the browser has flaws that cause > exploitable crashes. Other problems arise from nasty scripts doing > nepharious things, such as cross-site scripting vulnerabilities. > Cross-site errors have arisen in notable programs such as Cold Fusion and > PHPNuke. Here are some searches on this matter... This same thing can be said about alot of technologies, but do we stop using a technology because there are potential vulnerabilities? Take for example stylized e-mails. I can send very professional looking e-mails with tables, graphics etc. I have yet to have a customer complain that they can't see my e-mails the way it was intended to be viewed because they have stylized text turned off. And yet even with JS turned off, stylized text is relied on by spammers to find active e-mail addresses so they can spam you some more. They send an e-mail with graphics that are not embedded in the e-mail but are linked to a site. As far as your concerned it saves on the size of the e-mail on initial delivery. To the spammer, the moment you read the e-mail, they get a hit on their web server for you to DL the picture, and they get your e-mail address which allows them to know it's active. > I'd consider a web discussion forum to be down in that low economic impact > area. But, if the system doesn't check user input on the server before > saving it, users can get unpleasant cross-site coding saved that will > spring up every time someone views their posting. This has no economic > impact on the server or the people running it, but it poses problems for > the people viewing the site. So, pennies need to be protected. I did not say pennies do not need to be protected, I implied that pennies do not need to be protected with a vault with a protected ventilation system and a pressure sensitive floor and sound level alarms and walls thick enough to withstand a nuclear blast and guards out the wazoo. I'm glad to protect my penny by putting it into my piggy bank in my house which is locked when I am not home. Can someone steal my penny? Sure, they can break in to my house & the poor piggy bank is toast. They can hope to also rely on me being lazy sometimes and not locking up because I'm just running around the corner to rent a video. But I can guarantee that someone desiring to break into my house is not doing it for the penny, it's not worth their effort, they want my VCR & DVD & TV & Stereo & Computer & the wife's jewelry etc. And yet, even though all those things are more valuable to me than that little penny, I still rely on protecting it with a locked house in a peaceful safe community. The statistics of breakins in my neighborhood run in at under 10 per year in a community of thousands. Under the circumstances I would look foolishly parinoid to spend thousands of dollars to get the best home alarm system available, especially when that money can be far better spend on important things like my kids college fund. Yeah, I can be a little more parinoid without looking foolish, so I can go ahead and get the el-cheapo alarm system to assuage my parinoia. This is the same in software development. There are vulnerabilities around every corner. Did you hear the latest PHP vulnerability? Well maybe we should stop using PHP because it has proven that it too can be compromised. It's nice that there was a patch for it very quickly, but the fact that there was a potential vulnerability, and hackers could have exploited that vulnerability for the few months that it was exposed makes PHP potentially dangerous and casts the light of doubt that there may be other vulnerabilities that I am unaware of but the hackers are. > > While I don't disagree with the post, I'd just like to point out the the > > PHP MySQL functions (I don't know about other databases) will only > > process the first SQL statement passed, preventing such exploits. > > True for now. But, there's no guarantee that'll always be the case -- be > it intentional or mistakenly. And that is the case for any technology. So long as technology continues to advance, there are new vulnerabilities being built as we speak, and new existing vulnerabilities being discovered and exploited. So I might as well get out of the industry because there's a vulnerability just around the corner that's going to kill my busness. I think maybe I'll go into farming, now there's a wholesome job where hackers can't destroy my business. Oh no, there's pests looking to eat my crops, and health extremists who won't let me use pesticides to protect my crop. And even mother nature is standing against me looking to destroy my crop... Maybe if I just don't work, yeah, that's the ticket... > > Yes. And there are every other possiblity as well. I would hate to see > > the > > code that deals with every possiblity. > > I don't see what's the big deal about doing some basic validation for each > bit of user input. Here's my basic method: I don't either, but I also don't see the big deal with using JS to do basic validation on the client because my client wants it. I make my money making my clients happy, not making myself happy. You are also using some basic methods which still can't deal with every possibility. I personally avoid JS when I can, beyond the visual enhancements, but there are times you cannot avoid it. Take for example the guy who took my JS solution over the server side solutions suggested by us both. I suspect that he was having to submit form data to an already existing web site which meant having to submit the data in the fashion that existing web site expects. With a very simple JS he was able to do what he needed. Now he could have avoided JS and still met the other web sites form interface by submitting his own form to his own website which then did lookups or whatever to convert the form data into the expected data, then submit the form from the server to this existing web site, then retreive the results and hand it back to the client, but that is so much more work. > This process is really simple and eliminates all data corruption. > In my eyes, it's so easy, there's no reason not to do it. This doesn't point out the repopulation of the form with the data as entered by the user, nor does it point out the code necessary to highlight the fields in question. Both of these points on a complicated form can lead to a few extra hours of development. These are features that my clients almost always ask for. If I am using client side validations, I don't need to repopulate the form, the form is never replaced. with client side validations, changing the color of a cell is also quite simple. If I also do the server side validations, I can usually ignore having to code the form repopulation and error highlighting because I know that my server side validation is only there to protect against a hacker. I know that the normal use of my form cannot produce invalid data so why bother with the form repopulation code on the server. And as simple as your script is, it does not validate the data itself, does not take into account range checks, and lookups to see if the data exists( ie. on the client I can populate a dropdown with valid choices, that ensures the user selectes a valid choice. A hacker can submit whatever they want that may be the right data type, and in the right range, but not a valid choice ) From zaunere at yahoo.com Wed Jul 24 11:50:55 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 24 Jul 2002 08:50:55 -0700 (PDT) Subject: Tonight! - Object-based Web Frameworks - NYPHP.org MEETING Message-ID: <20020724155055.71049.qmail@web12808.mail.yahoo.com> As a quick reminder to everyone, tonight at 6:30 is the monthly NYPHP meeting. Location details, a map, and further information is available front and center on http://nyphp.org. I'd also like to remind everyone who has borrowed books from the NYPHP Library to return them tonight. The book borrow period is intra-meeting, so anyone who has borrowed a book at the June meeting needs to bring it back tonight. Feel free to contact library at nyphp.org with any concerns. And, to gain access to the NYPHP Library and other benefits, please remember to sign-in at the computer directly to your left when walking through the door to the meeting room. Thank you and see everyone tonight, Hans Z. > New York PHP Presents: > > "Implementing an Object-based Web Framework in PHP" > > NYPHP's monthly meeting is TONIGHT (7/24) and after an informal > networking event last month, we're excited to offer what certainly > will > be a highly valuable presentation to many. > > Web frameworks and object-orientated programming are forging the way > for increasingly functional Internet applications, and PHP is > continuing to be an integral part of the progress. Two top > developers from Tanjero (http://tanjero.com) will be showing us how > they've leveraged the AMP Technology suite to quickly provide > powerful, > yet reusable and cost-effective web applications for their clients. > > NYPHP meetings are the 4th Wednesday of every month at 6:30pm on East > 23rd Street in Manhattan. Location details, a map, and further > information is available front and center on http://nyphp.org. > > Thank you, > > Hans Zaunere > New York PHP > http://nyphp.org > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.yahoo.com > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From ken_11223 at yahoo.com Wed Jul 24 13:36:35 2002 From: ken_11223 at yahoo.com (ken wu) Date: Wed, 24 Jul 2002 10:36:35 -0700 (PDT) Subject: Does anyone know how to migrate the data from MS Excel to MySqL? Message-ID: <20020724173635.95783.qmail@web12805.mail.yahoo.com> Hi, all. I now have a bulk of data in Excel files needed to migrate to MySql Database. Honestly, I would like to know if there is any software or script that can do that in any sense? Any suggestion would be greatly appreciated. thx ===== Ken Wu 718-788-0661 168 35 Street Apt 2 Broooklyn, NY 11232-2320 http://www.kenfile.com __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From adam at ecamp.net Wed Jul 24 13:43:15 2002 From: adam at ecamp.net (Adam) Date: Wed, 24 Jul 2002 13:43:15 -0400 (EDT) Subject: [nycphp-talk] Does anyone know how to migrate the data from MS Excel to MySqL? In-Reply-To: <200207241736.g6OHadP17345@slipdisc.virul.net> Message-ID: export them as tab delimeted csv files then from the mysql command line load data infile '/tmp/filename.csv' into table blah (field1,field2....) On Wed, 24 Jul 2002, ken wu wrote: |Hi, all. I now have a bulk of data in Excel files |needed to migrate to MySql Database. Honestly, I |would like to know if there is any software or script |that can do that in any sense? Any suggestion would be |greatly appreciated. thx | | | | | | | |===== |Ken Wu | |718-788-0661 |168 35 Street Apt 2 |Broooklyn, NY 11232-2320 | |http://www.kenfile.com | |__________________________________________________ |Do You Yahoo!? |Yahoo! Health - Feel better, live better |http://health.yahoo.com | | From nyphp at jimbishop.org Wed Jul 24 13:46:56 2002 From: nyphp at jimbishop.org (nyphp at jimbishop.org) Date: Wed, 24 Jul 2002 10:46:56 -0700 (PDT) Subject: [nycphp-talk] Does anyone know how to migrate the data from MS Excel to MySqL? In-Reply-To: <200207241736.g6OHadP17345@slipdisc.virul.net> Message-ID: > Hi, all. I now have a bulk of data in Excel files > needed to migrate to MySql Database. Honestly, I > would like to know if there is any software or script > that can do that in any sense? Any suggestion would be > greatly appreciated. thx export the excel file as a tab-delimited file and use the import file feature of mysql. http://www.mysql.com/doc/L/O/LOAD_DATA.html From d_pinto at acedsl.com Wed Jul 24 13:54:08 2002 From: d_pinto at acedsl.com (David Pinto) Date: Wed, 24 Jul 2002 13:54:08 -0400 Subject: [nycphp-talk] Does anyone know how to migrate the data from MS Excel to MySqL? In-Reply-To: <200207241736.g6OHadP17345@slipdisc.virul.net> Message-ID: A quick search on google yields.... http://www.mysql.com/portal/software/html/software_comments-22.html hope this helps -Dave -----Original Message----- From: ken wu [mailto:ken_11223 at yahoo.com] Sent: Wednesday, July 24, 2002 1:37 PM To: NYPHP Talk Subject: [nycphp-talk] Does anyone know how to migrate the data from MS Excel to MySqL? Hi, all. I now have a bulk of data in Excel files needed to migrate to MySql Database. Honestly, I would like to know if there is any software or script that can do that in any sense? Any suggestion would be greatly appreciated. thx ===== Ken Wu 718-788-0661 168 35 Street Apt 2 Broooklyn, NY 11232-2320 http://www.kenfile.com __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From ruryj at vuser.vu.union.edu Wed Jul 24 13:50:45 2002 From: ruryj at vuser.vu.union.edu (Jonathan Rury) Date: Wed, 24 Jul 2002 13:50:45 -0400 Subject: [nycphp-talk] Does anyone know how to migrate the data from MS Excel to MySqL? References: <200207241736.g6OHadP17345@slipdisc.virul.net> Message-ID: <000a01c2333a$a46509c0$d7d14242@nycap.rr.com> Ken, I think there's a pretty simple script you can write to do this for you. First you'll need to save your MS Excel file as a tab-delimited text file. (Run away from that M$ garbage). Then, simply open your text file; read in a line - use the tab as a token separator and fill in the values. I assume you know the number of rows in your data but you could generate that dynamically. While there's still data left in the text file, generate your SQL insert statements and populate the DB. Hope this works for you. (It works in theory! ;) ) Jonathan ----- Original Message ----- From: "ken wu" To: "NYPHP Talk" Sent: Wednesday, July 24, 2002 1:36 PM Subject: [nycphp-talk] Does anyone know how to migrate the data from MS Excel to MySqL? > Hi, all. I now have a bulk of data in Excel files > needed to migrate to MySql Database. Honestly, I > would like to know if there is any software or script > that can do that in any sense? Any suggestion would be > greatly appreciated. thx > > > > > > > > ===== > Ken Wu > > 718-788-0661 > 168 35 Street Apt 2 > Broooklyn, NY 11232-2320 > > http://www.kenfile.com > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.yahoo.com From dorgan at optonline.net Wed Jul 24 14:10:48 2002 From: dorgan at optonline.net (Donald J. Organ IV) Date: Wed, 24 Jul 2002 14:10:48 -0400 Subject: Meeting Minutes Message-ID: <003e01c2333d$702eeba0$0200020a@111weeks.fyeddrsubculture.org> I was going to try to come to the meeting tonight but as being the first meeting i didnt want to go by myself, and i couldnt find anyone to go, and coming from suffolk county and not having a car or not very familiar with the city I am unable to, I was very interested in the meeting topic and was wondering if there are any type of minutes taken that i could maybe recieve or even if anyone has any sites that have articles on devloping a OO framework with PHP? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at bizcomputinginc.com Wed Jul 24 14:12:12 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Wed, 24 Jul 2002 14:12:12 -0400 Subject: [nycphp-talk] Tonight! - Object-based Web Frameworks - NYPHP.org MEETING References: <200207241551.g6OFp0P16680@slipdisc.virul.net> Message-ID: <007001c2333d$a3e41290$6601a8c0@Notebook> Anybody know where the closest parking is for tonights meet? ----- Original Message ----- From: "Hans Zaunere" To: "NYPHP Talk" Sent: Wednesday, July 24, 2002 11:50 AM Subject: [nycphp-talk] Tonight! - Object-based Web Frameworks - NYPHP.org MEETING > > As a quick reminder to everyone, tonight at 6:30 is the monthly NYPHP > meeting. Location details, a map, and further information is available > front and center on http://nyphp.org. > > I'd also like to remind everyone who has borrowed books from the NYPHP > Library to return them tonight. The book borrow period is > intra-meeting, so anyone who has borrowed a book at the June meeting > needs to bring it back tonight. Feel free to contact library at nyphp.org > with any concerns. > > And, to gain access to the NYPHP Library and other benefits, please > remember to sign-in at the computer directly to your left when walking > through the door to the meeting room. > > Thank you and see everyone tonight, > > Hans Z. > > > > > > > > New York PHP Presents: > > > > "Implementing an Object-based Web Framework in PHP" > > > > NYPHP's monthly meeting is TONIGHT (7/24) and after an informal > > networking event last month, we're excited to offer what certainly > > will > > be a highly valuable presentation to many. > > > > Web frameworks and object-orientated programming are forging the way > > for increasingly functional Internet applications, and PHP is > > continuing to be an integral part of the progress. Two top > > developers from Tanjero (http://tanjero.com) will be showing us how > > they've leveraged the AMP Technology suite to quickly provide > > powerful, > > yet reusable and cost-effective web applications for their clients. > > > > NYPHP meetings are the 4th Wednesday of every month at 6:30pm on East > > 23rd Street in Manhattan. Location details, a map, and further > > information is available front and center on http://nyphp.org. > > > > Thank you, > > > > Hans Zaunere > > New York PHP > > http://nyphp.org > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Health - Feel better, live better > > http://health.yahoo.com > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.yahoo.com > > > > From tbollino at weevinwebs.com Wed Jul 24 14:28:54 2002 From: tbollino at weevinwebs.com (Tony Bollino) Date: Wed, 24 Jul 2002 14:28:54 -0400 Subject: [nycphp-talk] Does anyone know how to migrate the data from MS Excel to MySqL? In-Reply-To: <200207241743.g6OHhIP17390@slipdisc.virul.net> Message-ID: I had a similar problem. You will have to clean up the CSV document that Excel exports. It's not in a "standard" output. I had to replace " with ' to get it to work. Tony Bollino -----Original Message----- From: Adam [mailto:adam at ecamp.net] Sent: Wednesday, July 24, 2002 1:43 PM To: NYPHP Talk Subject: Re: [nycphp-talk] Does anyone know how to migrate the data from MS Excel to MySqL? export them as tab delimeted csv files then from the mysql command line load data infile '/tmp/filename.csv' into table blah (field1,field2....) On Wed, 24 Jul 2002, ken wu wrote: |Hi, all. I now have a bulk of data in Excel files |needed to migrate to MySql Database. Honestly, I |would like to know if there is any software or script |that can do that in any sense? Any suggestion would be |greatly appreciated. thx | | | | | | | |===== |Ken Wu | |718-788-0661 |168 35 Street Apt 2 |Broooklyn, NY 11232-2320 | |http://www.kenfile.com | |__________________________________________________ |Do You Yahoo!? |Yahoo! Health - Feel better, live better |http://health.yahoo.com | | From patrick.fee at baesystems.com Wed Jul 24 14:33:49 2002 From: patrick.fee at baesystems.com (Fee, Patrick J) Date: Wed, 24 Jul 2002 14:33:49 -0400 Subject: [nycphp-talk] Meeting Minutes Message-ID: My only excuse is that I'm in DC this week. However, posted minutes after the fact, ( or posted presentations or whatnot) would be appreciated for those who are active in the list, but cannot make all the meetings! PJF 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: Donald J. Organ IV [mailto:dorgan at optonline.net] Sent: Wednesday, July 24, 2002 2:09 PM To: NYPHP Talk Subject: [nycphp-talk] Meeting Minutes I was going to try to come to the meeting tonight but as being the first meeting i didnt want to go by myself, and i couldnt find anyone to go, and coming from suffolk county and not having a car or not very familiar with the city I am unable to, I was very interested in the meeting topic and was wondering if there are any type of minutes taken that i could maybe recieve or even if anyone has any sites that have articles on devloping a OO framework with PHP? From zaunere at yahoo.com Wed Jul 24 14:57:35 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 24 Jul 2002 11:57:35 -0700 (PDT) Subject: [nycphp-talk] Meeting Parking WAS: Tonight! - Object-based Web Frameworks - NYPHP.org MEETING In-Reply-To: <200207241812.g6OICMP17629@slipdisc.virul.net> Message-ID: <20020724185735.79012.qmail@web12807.mail.yahoo.com> The most help I can offer (I don't have a car!) is go to http://nyphp.org, click [ map ] then search for parking in city search. HZ --- Jim Hendricks wrote: > Anybody know where the closest parking is for tonights meet? > > ----- Original Message ----- > From: "Hans Zaunere" > To: "NYPHP Talk" > Sent: Wednesday, July 24, 2002 11:50 AM > Subject: [nycphp-talk] Tonight! - Object-based Web Frameworks - > NYPHP.org > MEETING > > > > > > As a quick reminder to everyone, tonight at 6:30 is the monthly > NYPHP > > meeting. Location details, a map, and further information is > available > > front and center on http://nyphp.org. > > > > I'd also like to remind everyone who has borrowed books from the > NYPHP > > Library to return them tonight. The book borrow period is > > intra-meeting, so anyone who has borrowed a book at the June > meeting > > needs to bring it back tonight. Feel free to contact > library at nyphp.org > > with any concerns. > > > > And, to gain access to the NYPHP Library and other benefits, please > > remember to sign-in at the computer directly to your left when > walking > > through the door to the meeting room. > > > > Thank you and see everyone tonight, > > > > Hans Z. > > > > > > > > > > > > > > > New York PHP Presents: > > > > > > "Implementing an Object-based Web Framework in PHP" > > > > > > NYPHP's monthly meeting is TONIGHT (7/24) and after an informal > > > networking event last month, we're excited to offer what > certainly > > > will > > > be a highly valuable presentation to many. > > > > > > Web frameworks and object-orientated programming are forging the > way > > > for increasingly functional Internet applications, and PHP is > > > continuing to be an integral part of the progress. Two top > > > developers from Tanjero (http://tanjero.com) will be showing us > how > > > they've leveraged the AMP Technology suite to quickly provide > > > powerful, > > > yet reusable and cost-effective web applications for their > clients. > > > > > > NYPHP meetings are the 4th Wednesday of every month at 6:30pm on > East > > > 23rd Street in Manhattan. Location details, a map, and further > > > information is available front and center on http://nyphp.org. > > > > > > Thank you, > > > > > > Hans Zaunere > > > New York PHP > > > http://nyphp.org > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Health - Feel better, live better > > > http://health.yahoo.com > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Health - Feel better, live better > > http://health.yahoo.com > > > > > > > > > > > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From zaunere at yahoo.com Wed Jul 24 15:00:11 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 24 Jul 2002 12:00:11 -0700 (PDT) Subject: [nycphp-talk] Meeting Minutes In-Reply-To: <200207241808.g6OI8lP17605@slipdisc.virul.net> Message-ID: <20020724190011.25426.qmail@web12802.mail.yahoo.com> --- "Donald J. Organ IV" wrote: > I was going to try to come to the meeting tonight but as being the > first meeting i didnt want to go by myself, and i couldnt find anyone > to go, and coming from suffolk county and not having a car or not > very familiar with the city I am unable to, Come anyway! :) > I was very interested in > the meeting topic and was wondering if there are any type of minutes > taken that i could maybe recieve or even if anyone has any sites that > have articles on devloping a OO framework with PHP? Our usual note taker is in CA, however I will try to take notes and I hope others will to. Any notes that are takin will be put online, and if possible, the actual presentation will be as well. HZ > > > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From dorgan at optonline.net Wed Jul 24 15:15:07 2002 From: dorgan at optonline.net (Donald J. Organ IV) Date: Wed, 24 Jul 2002 15:15:07 -0400 Subject: [nycphp-talk] Meeting Minutes References: <200207241900.g6OJ0HP17963@slipdisc.virul.net> Message-ID: <000b01c23346$6c12e4a0$0200020a@111weeks.fyeddrsubculture.org> i have no way of getting to the train station ----- Original Message ----- From: "Hans Zaunere" To: "NYPHP Talk" Sent: Wednesday, July 24, 2002 3:00 PM Subject: Re: [nycphp-talk] Meeting Minutes > > --- "Donald J. Organ IV" wrote: > > I was going to try to come to the meeting tonight but as being the > > first meeting i didnt want to go by myself, and i couldnt find anyone > > to go, and coming from suffolk county and not having a car or not > > very familiar with the city I am unable to, > > Come anyway! :) > > > I was very interested in > > the meeting topic and was wondering if there are any type of minutes > > taken that i could maybe recieve or even if anyone has any sites that > > have articles on devloping a OO framework with PHP? > > Our usual note taker is in CA, however I will try to take notes and I > hope others will to. Any notes that are takin will be put online, and > if possible, the actual presentation will be as well. > > HZ > > > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.yahoo.com > > From ankurpatel78 at yahoo.com Wed Jul 24 15:13:17 2002 From: ankurpatel78 at yahoo.com (Ankur Patel) Date: Wed, 24 Jul 2002 12:13:17 -0700 (PDT) Subject: Open Source PHP OO Framework In-Reply-To: <200207241808.g6OI8lP17605@slipdisc.virul.net> Message-ID: <20020724191317.93270.qmail@web14911.mail.yahoo.com> Hello all, I know a very decent PHP OO Framework,which I have used little so far for web application. It is called PHP Site Manager and it can be accessed at: www.roadsend.com/sitemanager They have excellent documentation.. --- "Donald J. Organ IV" wrote: > I was going to try to come to the meeting tonight > but as being the first meeting i didnt want to go by > myself, and i couldnt find anyone to go, and coming > from suffolk county and not having a car or not very > familiar with the city I am unable to, I was very > interested in the meeting topic and was wondering if > there are any type of minutes taken that i could > maybe recieve or even if anyone has any sites that > have articles on devloping a OO framework with PHP? > > > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From zaunere at yahoo.com Wed Jul 24 15:14:14 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 24 Jul 2002 12:14:14 -0700 (PDT) Subject: Fwd: Invitation to Eric Raymond Presentation Message-ID: <20020724191414.2044.qmail@web12808.mail.yahoo.com> Eric is always a great speaker, and this should be a great presentation. > Subject: Invitation to Eric Raymond Presentation > > NYPC, the NY PC Users Group, would like to invite members of your > group to our > August General Meeting, to hear Eric Raymond, author of The Cathedral > and the > Bazaar and co-founder, with Bruce Perens, of the Open Source > Initiative. Eric is a > colorful and feisty speaker, who always has an interesting > presentation > > When: Wed., Aug. 21, 2002, at 6:30 PM > Where: Tischman Auditorium, New School, 66 West 12th Street > Details: www.nypc.org > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From superduperjob2 at hotmail.com Wed Jul 24 15:38:11 2002 From: superduperjob2 at hotmail.com (Norell Guttman) Date: Wed, 24 Jul 2002 15:38:11 -0400 Subject: php user group in DC? Message-ID: I am from NY but am currently work in DC. I have enjoyed the topics brought up in this mailing list but is there a PHP mailing list for DC? How about a DC PHP users group? I was hoping to attend a meeting in DC but going to meetup.com php we so far only have 8 members (3 includes me, my co-worker, and my boss). With DC and the surrounding environs considered a Techtopia [http://www.nvtc.org/techtopia/mapwlogos.pdf] with a lot of tech companies (vs NY having mostly financials, insurance, etc., which are non-IT centered) I think that the should be a lot of php programmers here [not meaning to knock NYC but I spent months looking for a job before deciding to leave my birthplace and look for a job elsewhere]. Anyone have any info? superduperjob2 at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at bizcomputinginc.com Wed Jul 24 15:54:00 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Wed, 24 Jul 2002 15:54:00 -0400 Subject: [nycphp-talk] Meeting Parking References: <200207241857.g6OIveP17933@slipdisc.virul.net> Message-ID: <00b501c2334b$dc513af0$6601a8c0@Notebook> Thanks, I'm from NJ so I'm not used to having a search engine for the suroundings. For anybody else driving, there's a lot on 24th just east of 3rd. ----- Original Message ----- From: "Hans Zaunere" To: "NYPHP Talk" Sent: Wednesday, July 24, 2002 2:57 PM Subject: Re: [nycphp-talk] Meeting Parking WAS: Tonight! - Object-based Web Frameworks - NYPHP.org MEETING > > The most help I can offer (I don't have a car!) is go to > http://nyphp.org, click [ map ] then search for parking in city search. > > HZ > > > --- Jim Hendricks wrote: > > Anybody know where the closest parking is for tonights meet? > > > > ----- Original Message ----- > > From: "Hans Zaunere" > > To: "NYPHP Talk" > > Sent: Wednesday, July 24, 2002 11:50 AM > > Subject: [nycphp-talk] Tonight! - Object-based Web Frameworks - > > NYPHP.org > > MEETING > > > > > > > > > > As a quick reminder to everyone, tonight at 6:30 is the monthly > > NYPHP > > > meeting. Location details, a map, and further information is > > available > > > front and center on http://nyphp.org. > > > > > > I'd also like to remind everyone who has borrowed books from the > > NYPHP > > > Library to return them tonight. The book borrow period is > > > intra-meeting, so anyone who has borrowed a book at the June > > meeting > > > needs to bring it back tonight. Feel free to contact > > library at nyphp.org > > > with any concerns. > > > > > > And, to gain access to the NYPHP Library and other benefits, please > > > remember to sign-in at the computer directly to your left when > > walking > > > through the door to the meeting room. > > > > > > Thank you and see everyone tonight, > > > > > > Hans Z. > > > > > > > > > > > > > > > > > > > > > > New York PHP Presents: > > > > > > > > "Implementing an Object-based Web Framework in PHP" > > > > > > > > NYPHP's monthly meeting is TONIGHT (7/24) and after an informal > > > > networking event last month, we're excited to offer what > > certainly > > > > will > > > > be a highly valuable presentation to many. > > > > > > > > Web frameworks and object-orientated programming are forging the > > way > > > > for increasingly functional Internet applications, and PHP is > > > > continuing to be an integral part of the progress. Two top > > > > developers from Tanjero (http://tanjero.com) will be showing us > > how > > > > they've leveraged the AMP Technology suite to quickly provide > > > > powerful, > > > > yet reusable and cost-effective web applications for their > > clients. > > > > > > > > NYPHP meetings are the 4th Wednesday of every month at 6:30pm on > > East > > > > 23rd Street in Manhattan. Location details, a map, and further > > > > information is available front and center on http://nyphp.org. > > > > > > > > Thank you, > > > > > > > > Hans Zaunere > > > > New York PHP > > > > http://nyphp.org > > > > > > > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Yahoo! Health - Feel better, live better > > > > http://health.yahoo.com > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Health - Feel better, live better > > > http://health.yahoo.com > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.yahoo.com > > > > From soazine at pop.mail.rcn.net Wed Jul 24 16:05:38 2002 From: soazine at pop.mail.rcn.net (soazine@pop.erols.com) Date: Wed, 24 Jul 2002 16:05:38 -0400 Subject: [nycphp-talk] php user group in DC? Message-ID: <99610-2200273242053895@M2W077.mail2web.com> I am from DC and long to return to NY but work in Baltimore. I have been coding in PHP for nearly a year now but for now I code in ASP cuz it pays the bills. I haven't found anything in DC for PHP programmers, but if you know of anything I'd be happy to put my name on the list. Phil Original Message: ----------------- From: Norell Guttman superduperjob2 at hotmail.com Date: Wed, 24 Jul 2002 15:37:54 -0400 To: talk at nyphp.org Subject: [nycphp-talk] php user group in DC? I am from NY but am currently work in DC. I have enjoyed the topics brought up in this mailing list but is there a PHP mailing list for DC? How about a DC PHP users group? I was hoping to attend a meeting in DC but going to meetup.com php we so far only have 8 members (3 includes me, my co-worker, and my boss). With DC and the surrounding environs considered a Techtopia [http://www.nvtc.org/techtopia/mapwlogos.pdf] with a lot of tech companies (vs NY having mostly financials, insurance, etc., which are non-IT centered) I think that the should be a lot of php programmers here [not meaning to knock NYC but I spent months looking for a job before deciding to leave my birthplace and look for a job elsewhere]. Anyone have any info? superduperjob2 at hotmail.com -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From pasimard at verizon.net Wed Jul 24 16:10:11 2002 From: pasimard at verizon.net (Peter Simard) Date: Wed, 24 Jul 2002 16:10:11 -0400 Subject: [nycphp-talk] php user group in DC? In-Reply-To: <200207241937.g6OJbsP18248@slipdisc.virul.net> References: <200207241937.g6OJbsP18248@slipdisc.virul.net> Message-ID: <14474871546.20020724161011@verizon.net> Found this: http://groups.yahoo.com/group/php_mysql_va -- Peter mailto:pasimard at verizon.net From jeffrey.konikowski at ams.com Wed Jul 24 16:24:28 2002 From: jeffrey.konikowski at ams.com (Jeffrey Konikowski) Date: Wed, 24 Jul 2002 16:24:28 -0400 Subject: [nycphp-talk] php user group in DC? Message-ID: An HTML attachment was scrubbed... URL: From jeffrey.konikowski at ams.com Wed Jul 24 16:24:28 2002 From: jeffrey.konikowski at ams.com (Jeffrey Konikowski) Date: Wed, 24 Jul 2002 16:24:28 -0400 Subject: [nycphp-talk] php user group in DC? Message-ID: I'd be up for joining a group in the DC area. I am from NYC on travel to DC for a few months. "Norell Guttman" 07/24/2002 03:37 PM Please respond to talk To: NYPHP Talk cc: Subject: [nycphp-talk] php user group in DC? I am from NY but am currently work in DC. I have enjoyed the topics brought up in this mailing list but is there a PHP mailing list for DC? How about a DC PHP users group? I was hoping to attend a meeting in DC but going to meetup.com php we so far only have 8 members (3 includes me, my co-worker, and my boss). With DC and the surrounding environs considered a Techtopia [http://www.nvtc.org/techtopia/mapwlogos.pdf] with a lot of tech companies (vs NY having mostly financials, insurance, etc., which are non-IT centered) I think that the should be a lot of php programmers here [not meaning to knock NYC but I spent months looking for a job before deciding to leave my birthplace and look for a job elsewhere]. Anyone have any info? superduperjob2 at hotmail.com From dorgan at optonline.net Wed Jul 24 17:18:26 2002 From: dorgan at optonline.net (Donald J. Organ IV) Date: Wed, 24 Jul 2002 17:18:26 -0400 Subject: OO Framework Articles Message-ID: <003f01c23357$a63d1ef0$0200020a@111weeks.fyeddrsubculture.org> Does anyone know of any OO PHP Framework articles?? -------------- next part -------------- An HTML attachment was scrubbed... URL: From evan.heller at alum.rpi.edu Wed Jul 24 22:39:18 2002 From: evan.heller at alum.rpi.edu (evan heller) Date: Wed, 24 Jul 2002 22:39:18 -0400 Subject: hosting fees References: <200207242156.g6OLuxP19520@slipdisc.virul.net> Message-ID: <3D3F64D6.137FAAB6@alum.rpi.edu> Ok, what was the site for hosting? I'm interested in either full access dedicated servers or colo's. -Evan From robl at emerchant.ca Wed Jul 24 23:05:50 2002 From: robl at emerchant.ca (Robert Lanciault) Date: Wed, 24 Jul 2002 23:05:50 -0400 Subject: [nycphp-talk] hosting fees References: <200207250240.g6P2eJP22021@slipdisc.virul.net> Message-ID: <000901c23388$2e60cd60$78010a0a@office.theonlinecreator.net> www.emerchant.ca has the cheapest plans with the most support for php hosting ----- Original Message ----- From: "evan heller" To: "NYPHP Talk" Sent: Wednesday, July 24, 2002 10:40 PM Subject: [nycphp-talk] hosting fees > Ok, what was the site for hosting? > > I'm interested in either full access dedicated > servers or colo's. > > -Evan > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.377 / Virus Database: 211 - Release Date: 7/15/2002 From rob at lanciault.com Thu Jul 25 01:18:37 2002 From: rob at lanciault.com (Robert Lanciault) Date: Thu, 25 Jul 2002 01:18:37 -0400 Subject: [nycphp-talk] hosting fees References: <200207250240.g6P2eJP22021@slipdisc.virul.net> Message-ID: <003701c2339a$bb232ce0$78010a0a@office.theonlinecreator.net> www.emerchant.ca has the cheapest plans with the most support for php hosting ----- Original Message ----- From: "evan heller" To: "NYPHP Talk" Sent: Wednesday, July 24, 2002 10:40 PM Subject: [nycphp-talk] hosting fees > Ok, what was the site for hosting? > > I'm interested in either full access dedicated > servers or colo's. > > -Evan > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.377 / Virus Database: 211 - Release Date: 7/15/2002 From steven at sohh.com Thu Jul 25 14:13:04 2002 From: steven at sohh.com (Steven Samuel) Date: Thu, 25 Jul 2002 11:13:04 -0700 Subject: [nycphp-talk] Mac and WYSIWYG browser-based editors In-Reply-To: <200207230003.g6N035P03070@slipdisc.virul.net> Message-ID: Try Editize. http://www.editize.com/ This is a Java Applet that can replace your TEXTAREA in any application. Very functional. And low cost. -----Original Message----- From: kirill at kptek.com [mailto:kirill at kptek.com] Sent: Monday, July 22, 2002 5:03 PM To: NYPHP Talk Subject: [nycphp-talk] Mac and WYSIWYG browser-based editors Hello everyone, I am developing very basic Content Management website and have a working web-based HTML editor for Windows client. Since Mac does not support the IE 5.5 editing features, I need to find a Java based solution for Mac OS (8, 9). I have seen some enterprise level Java applets (EditOnPro, EditLive - only Mac OS X(), but their licensing is too expensive for me (10 user license per domain minimum) . Any suggestions or advice is most appreciated. Regards, Kirill Poliakov From tfreedma at ubspw.com Fri Jul 26 10:15:09 2002 From: tfreedma at ubspw.com (Freedman, Tom S.) Date: Fri, 26 Jul 2002 10:15:09 -0400 Subject: Creating file for download on the fly? Message-ID: Hi all, I've been a lurker for a couple months as I've been learning PHP, and many of your suggestions have been really helpful. I was hoping someone might have an idea on how to tackle an issue I haven't been able to find any info on. I'm currently working on a new version of a departmental intranet website. I have a database, and offer the users a search page that lets them query it in a variety of ways. The new results page is not laid out in a grid, as the old one was (we've added a lot of new fields, and the grid would be too packed). Some users have requested the ability to download the data for import into Excel (they used to just copy and paste the table in). I've figured out how to create a .csv file, and I could, theoretically, create one every time someone runs a query, save it in a temp directory, and include a link to it on the webpage. We'd have to run a cleanup routine every night, though, to delete all these .csv's on the server. It seems really clumsy to me. What I'd like to do is put a link on the result page that, when clicked on, builds the .csv right then and offers it to the user for download. Is this feasible, or should I just go with the temp directory full of reports? Thanks in advance, Tom From kayraotaner at yahoo.com Fri Jul 26 10:37:59 2002 From: kayraotaner at yahoo.com (Kayra Otaner) Date: Fri, 26 Jul 2002 07:37:59 -0700 (PDT) Subject: [nycphp-talk] Creating file for download on the fly? In-Reply-To: <200207261415.g6QEFKP27753@slipdisc.virul.net> Message-ID: <20020726143759.34295.qmail@web10105.mail.yahoo.com> Hi, I think this self explaining code helps : header("Content-disposition: filename=$filename.csv"); header("Content-type: application/octetstream"); header("Pragma: no-cache"); header("Expires: 0"); echo $csvfilecontent; PS : You need to use this code before any other output since header() function requires to be sent before anything else. Best Kayra Otaner --- "Freedman, Tom S." wrote: > Hi all, I've been a lurker for a couple months as I've been learning PHP, > and many of your suggestions have been really helpful. I was hoping someone > might have an idea on how to tackle an issue I haven't been able to find any > info on. > > I'm currently working on a new version of a departmental intranet website. > I have a database, and offer the users a search page that lets them query it > in a variety of ways. The new results page is not laid out in a grid, as > the old one was (we've added a lot of new fields, and the grid would be too > packed). Some users have requested the ability to download the data for > import into Excel (they used to just copy and paste the table in). I've > figured out how to create a .csv file, and I could, theoretically, create > one every time someone runs a query, save it in a temp directory, and > include a link to it on the webpage. We'd have to run a cleanup routine > every night, though, to delete all these .csv's on the server. It seems > really clumsy to me. What I'd like to do is put a link on the result page > that, when clicked on, builds the .csv right then and offers it to the user > for download. Is this feasible, or should I just go with the temp directory > full of reports? > > Thanks in advance, > Tom > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From keremtuzemen at hotmail.com Fri Jul 26 10:47:24 2002 From: keremtuzemen at hotmail.com (Kerem Tuzemen) Date: Fri, 26 Jul 2002 10:47:24 -0400 Subject: [nycphp-talk] Creating file for download on the fly? References: <200207261415.g6QEFKP27753@slipdisc.virul.net> Message-ID: yes it is, just post the text which forms the file with a file header to the client ----- Original Message ----- From: "Freedman, Tom S." To: "NYPHP Talk" Sent: Friday, July 26, 2002 10:15 AM Subject: [nycphp-talk] Creating file for download on the fly? > Hi all, I've been a lurker for a couple months as I've been learning PHP, > and many of your suggestions have been really helpful. I was hoping someone > might have an idea on how to tackle an issue I haven't been able to find any > info on. > > I'm currently working on a new version of a departmental intranet website. > I have a database, and offer the users a search page that lets them query it > in a variety of ways. The new results page is not laid out in a grid, as > the old one was (we've added a lot of new fields, and the grid would be too > packed). Some users have requested the ability to download the data for > import into Excel (they used to just copy and paste the table in). I've > figured out how to create a .csv file, and I could, theoretically, create > one every time someone runs a query, save it in a temp directory, and > include a link to it on the webpage. We'd have to run a cleanup routine > every night, though, to delete all these .csv's on the server. It seems > really clumsy to me. What I'd like to do is put a link on the result page > that, when clicked on, builds the .csv right then and offers it to the user > for download. Is this feasible, or should I just go with the temp directory > full of reports? > > Thanks in advance, > Tom > From parekhsj9 at hotmail.com Fri Jul 26 10:47:25 2002 From: parekhsj9 at hotmail.com (sachin parekh) Date: Fri, 26 Jul 2002 14:47:25 +0000 Subject: [nycphp-talk] Creating file for download on the fly? Message-ID: Hi Tom nothing wrong in creating on the fly .cvs file if required only. so you can save bulk of the .csv files. anyway : two approach you can have 1: you can generate the file and save it to the harddisk and offer as link. 2: You can either dont save it to disk but just output the content stream to the user when clickingon the link... by using assuming "$contents" is the content that you want to write in a file. header('Content-Type: application/text'); header('Content-Disposition: attachment; filename='.$FILENAME); echo $contents ; exit; I hope this might be useful. Sachin Parekh Web Developer India >From: "Freedman, Tom S." >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: [nycphp-talk] Creating file for download on the fly? >Date: Fri, 26 Jul 2002 10:15:20 -0400 >Received: from mc2-f42.law16.hotmail.com ([65.54.237.49]) by >mc2-s1.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Fri, 26 Jul >2002 07:25:39 -0700 >Received: from slipdisc.virul.net ([66.114.66.188]) by >mc2-f42.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Fri, 26 >Jul 2002 07:22:11 -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 g6QEFKP27753;Fri, 26 Jul >2002 10:15:20 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200207261415.g6QEFKP27753 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: 26 Jul 2002 14:22:12.0328 (UTC) >FILETIME=[D55BCE80:01C234AF] > >Hi all, I've been a lurker for a couple months as I've been learning PHP, >and many of your suggestions have been really helpful. I was hoping >someone >might have an idea on how to tackle an issue I haven't been able to find >any >info on. > >I'm currently working on a new version of a departmental intranet website. >I have a database, and offer the users a search page that lets them query >it >in a variety of ways. The new results page is not laid out in a grid, as >the old one was (we've added a lot of new fields, and the grid would be too >packed). Some users have requested the ability to download the data for >import into Excel (they used to just copy and paste the table in). I've >figured out how to create a .csv file, and I could, theoretically, create >one every time someone runs a query, save it in a temp directory, and >include a link to it on the webpage. We'd have to run a cleanup routine >every night, though, to delete all these .csv's on the server. It seems >really clumsy to me. What I'd like to do is put a link on the result page >that, when clicked on, builds the .csv right then and offers it to the user >for download. Is this feasible, or should I just go with the temp >directory >full of reports? > >Thanks in advance, >Tom _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From beef at interport.net Fri Jul 26 10:56:19 2002 From: beef at interport.net (Wellington Fan) Date: Fri, 26 Jul 2002 10:56:19 -0400 Subject: [nycphp-talk] Creating file for download on the fly? In-Reply-To: <200207261438.g6QEc4P27794@slipdisc.virul.net> Message-ID: All, I would add: header("Content-length: ".strlen($csvfilecontent)); >-----Original Message----- >From: Kayra Otaner [mailto:kayraotaner at yahoo.com] >Sent: Friday, July 26, 2002 10:38 AM >To: NYPHP Talk >Subject: Re: [nycphp-talk] Creating file for download on the fly? > > >Hi, I think this self explaining code helps : > >header("Content-disposition: filename=$filename.csv"); >header("Content-type: application/octetstream"); >header("Pragma: no-cache"); >header("Expires: 0"); >echo $csvfilecontent; > > >PS : You need to use this code before any other output since header() >function requires to be sent >before anything else. > > >Best > >Kayra Otaner > > >--- "Freedman, Tom S." wrote: >> Hi all, I've been a lurker for a couple months as I've been learning PHP, >> and many of your suggestions have been really helpful. I was hoping someone >> might have an idea on how to tackle an issue I haven't been able to find any >> info on. >> >> I'm currently working on a new version of a departmental intranet website. >> I have a database, and offer the users a search page that lets them query it >> in a variety of ways. The new results page is not laid out in a grid, as >> the old one was (we've added a lot of new fields, and the grid would be too >> packed). Some users have requested the ability to download the data for >> import into Excel (they used to just copy and paste the table in). I've >> figured out how to create a .csv file, and I could, theoretically, create >> one every time someone runs a query, save it in a temp directory, and >> include a link to it on the webpage. We'd have to run a cleanup routine >> every night, though, to delete all these .csv's on the server. It seems >> really clumsy to me. What I'd like to do is put a link on the result page >> that, when clicked on, builds the .csv right then and offers it to the user >> for download. Is this feasible, or should I just go with the temp directory >> full of reports? >> >> Thanks in advance, >> Tom >> > > >__________________________________________________ >Do You Yahoo!? >Yahoo! Health - Feel better, live better >http://health.yahoo.com > > From tfreedma at ubspw.com Fri Jul 26 11:16:02 2002 From: tfreedma at ubspw.com (Freedman, Tom S.) Date: Fri, 26 Jul 2002 11:16:02 -0400 Subject: [nycphp-talk] Creating file for download on the fly? Message-ID: Thanks everyone! I was unaware of the Content-disposition header. I'll give this a try as soon as I can! Thanks again, Tom -----Original Message----- From: Wellington Fan [mailto:beef at interport.net] Sent: Friday, July 26, 2002 10:57 AM To: NYPHP Talk Subject: RE: [nycphp-talk] Creating file for download on the fly? All, I would add: header("Content-length: ".strlen($csvfilecontent)); >-----Original Message----- >From: Kayra Otaner [mailto:kayraotaner at yahoo.com] >Sent: Friday, July 26, 2002 10:38 AM >To: NYPHP Talk >Subject: Re: [nycphp-talk] Creating file for download on the fly? > > >Hi, I think this self explaining code helps : > >header("Content-disposition: filename=$filename.csv"); >header("Content-type: application/octetstream"); >header("Pragma: no-cache"); >header("Expires: 0"); >echo $csvfilecontent; > > >PS : You need to use this code before any other output since header() >function requires to be sent >before anything else. > > >Best > >Kayra Otaner > > >--- "Freedman, Tom S." wrote: >> Hi all, I've been a lurker for a couple months as I've been learning PHP, >> and many of your suggestions have been really helpful. I was hoping someone >> might have an idea on how to tackle an issue I haven't been able to find any >> info on. >> >> I'm currently working on a new version of a departmental intranet website. >> I have a database, and offer the users a search page that lets them query it >> in a variety of ways. The new results page is not laid out in a grid, as >> the old one was (we've added a lot of new fields, and the grid would be too >> packed). Some users have requested the ability to download the data for >> import into Excel (they used to just copy and paste the table in). I've >> figured out how to create a .csv file, and I could, theoretically, create >> one every time someone runs a query, save it in a temp directory, and >> include a link to it on the webpage. We'd have to run a cleanup routine >> every night, though, to delete all these .csv's on the server. It seems >> really clumsy to me. What I'd like to do is put a link on the result page >> that, when clicked on, builds the .csv right then and offers it to the user >> for download. Is this feasible, or should I just go with the temp directory >> full of reports? >> >> Thanks in advance, >> Tom >> > > >__________________________________________________ >Do You Yahoo!? >Yahoo! Health - Feel better, live better >http://health.yahoo.com > > From ken_11223 at yahoo.com Fri Jul 26 11:22:09 2002 From: ken_11223 at yahoo.com (ken wu) Date: Fri, 26 Jul 2002 08:22:09 -0700 (PDT) Subject: [nycphp-talk] Creating file for download on the fly? In-Reply-To: <200207261456.g6QEufP27861@slipdisc.virul.net> Message-ID: <20020726152209.44846.qmail@web12802.mail.yahoo.com> HI, all. i think you guys really have a great ideas but i am sorry i couldn't follow it. I want to ask if the $csvfilecontent variables mentioned before was generated by Excel cvs file or by our code or anything else? Thx for your time --- Wellington Fan wrote: > All, > I would add: > > header("Content-length: ".strlen($csvfilecontent)); > > >-----Original Message----- > >From: Kayra Otaner [mailto:kayraotaner at yahoo.com] > >Sent: Friday, July 26, 2002 10:38 AM > >To: NYPHP Talk > >Subject: Re: [nycphp-talk] Creating file for > download on the fly? > > > > > >Hi, I think this self explaining code helps : > > > >header("Content-disposition: > filename=$filename.csv"); > >header("Content-type: application/octetstream"); > >header("Pragma: no-cache"); > >header("Expires: 0"); > >echo $csvfilecontent; > > > > > >PS : You need to use this code before any other > output since header() > >function requires to be sent > >before anything else. > > > > > >Best > > > >Kayra Otaner > > > > > >--- "Freedman, Tom S." wrote: > >> Hi all, I've been a lurker for a couple months as > I've been learning PHP, > >> and many of your suggestions have been really > helpful. I was hoping someone > >> might have an idea on how to tackle an issue I > haven't been able to find any > >> info on. > >> > >> I'm currently working on a new version of a > departmental intranet website. > >> I have a database, and offer the users a search > page that lets them query it > >> in a variety of ways. The new results page is > not laid out in a grid, as > >> the old one was (we've added a lot of new fields, > and the grid would be too > >> packed). Some users have requested the ability > to download the data for > >> import into Excel (they used to just copy and > paste the table in). I've > >> figured out how to create a .csv file, and I > could, theoretically, create > >> one every time someone runs a query, save it in a > temp directory, and > >> include a link to it on the webpage. We'd have > to run a cleanup routine > >> every night, though, to delete all these .csv's > on the server. It seems > >> really clumsy to me. What I'd like to do is put > a link on the result page > >> that, when clicked on, builds the .csv right then > and offers it to the user > >> for download. Is this feasible, or should I just > go with the temp directory > >> full of reports? > >> > >> Thanks in advance, > >> Tom > >> > > > > > >__________________________________________________ > >Do You Yahoo!? > >Yahoo! Health - Feel better, live better > >http://health.yahoo.com > > > > > ===== Ken Wu 718-788-0661 168 35 Street Apt 2 Broooklyn, NY 11232-2320 http://www.kenfile.com __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From jbkim at cs.pdx.edu Fri Jul 26 11:34:50 2002 From: jbkim at cs.pdx.edu (JeeBak Kim) Date: Fri, 26 Jul 2002 08:34:50 -0700 Subject: [nycphp-talk] Creating file for download on the fly? In-Reply-To: <200207261516.g6QFGBP27916@slipdisc.virul.net>; from tfreedma@ubspw.com on Fri, Jul 26, 2002 at 11:16:11AM -0400 References: <200207261516.g6QFGBP27916@slipdisc.virul.net> Message-ID: <20020726083450.A7738@cs.pdx.edu> Hey there, Another thing I'd add, is how different browsers handle filenames, as in Kayra's example below. If, for example, the filename is output.csv, some will handle it correctly, some will give the name yourscriptname.php, and worst of all, some versions of MS IE will name it something weird and random like a3uxe382 (without an extension!) It'd probably be a good idea to give explicit instruction to save the resulting output and rename it with the correct filename/extension. * Freedman, Tom S. (tfreedma at ubspw.com) [020726 08:21]: > Thanks everyone! I was unaware of the Content-disposition header. I'll > give this a try as soon as I can! > > Thanks again, > Tom [snip] > >-----Original Message----- > >From: Kayra Otaner [mailto:kayraotaner at yahoo.com] > >Sent: Friday, July 26, 2002 10:38 AM > >To: NYPHP Talk > >Subject: Re: [nycphp-talk] Creating file for download on the fly? > > > > > >Hi, I think this self explaining code helps : > > > >header("Content-disposition: filename=$filename.csv"); [snip] From danielc at analysisandsolutions.com Fri Jul 26 11:59:00 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Fri, 26 Jul 2002 11:59:00 -0400 Subject: [nycphp-talk] Creating file for download on the fly? In-Reply-To: <200207261415.g6QEFKP27753@slipdisc.virul.net> References: <200207261415.g6QEFKP27753@slipdisc.virul.net> Message-ID: <20020726155900.GA667@panix.com> On Fri, Jul 26, 2002 at 10:15:20AM -0400, Freedman, Tom S. wrote: > > I've > figured out how to create a .csv file, and I could, theoretically, create > one every time someone runs a query, save it in a temp directory, and > include a link to it on the webpage. I suggest using tab delimiting rather than comma delimiting. They're easier to handle. Also, there's no need to create a temporary file. Just have your script display the desired output in the browser. Folks can save it from there. The header() stuff folks passed along is handy, too. --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 ereyes at totalcreations.com Fri Jul 26 12:29:50 2002 From: ereyes at totalcreations.com (Edgar Reyes) Date: Fri, 26 Jul 2002 12:29:50 -0400 Subject: [nycphp-talk] Creating file for download on the fly? References: <200207261415.g6QEFKP27753@slipdisc.virul.net> Message-ID: <003001c234c1$aae8a120$e659fea9@reyes1> Hello, Well I don't know if you are running on Windows or on Unix server but I if you are running an a windows platform, you can change the MIME type on the results page and have it come up on an excel sheet and if they want to save it they can just go to file save as and save the results on their computer. Hope this helps. ----- Original Message ----- From: "Freedman, Tom S." To: "NYPHP Talk" Sent: Friday, July 26, 2002 10:15 AM Subject: [nycphp-talk] Creating file for download on the fly? > Hi all, I've been a lurker for a couple months as I've been learning PHP, > and many of your suggestions have been really helpful. I was hoping someone > might have an idea on how to tackle an issue I haven't been able to find any > info on. > > I'm currently working on a new version of a departmental intranet website. > I have a database, and offer the users a search page that lets them query it > in a variety of ways. The new results page is not laid out in a grid, as > the old one was (we've added a lot of new fields, and the grid would be too > packed). Some users have requested the ability to download the data for > import into Excel (they used to just copy and paste the table in). I've > figured out how to create a .csv file, and I could, theoretically, create > one every time someone runs a query, save it in a temp directory, and > include a link to it on the webpage. We'd have to run a cleanup routine > every night, though, to delete all these .csv's on the server. It seems > really clumsy to me. What I'd like to do is put a link on the result page > that, when clicked on, builds the .csv right then and offers it to the user > for download. Is this feasible, or should I just go with the temp directory > full of reports? > > Thanks in advance, > Tom > > > > From jhise at linuxforbusiness.org Fri Jul 26 14:46:04 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 26 Jul 2002 14:46:04 -0400 Subject: [nycphp-talk] Creating file for download on the fly? In-Reply-To: <200207261722.g6QHMIP28333@slipdisc.virul.net> References: <200207261722.g6QHMIP28333@slipdisc.virul.net> Message-ID: <1027709166.11074.4.camel@hydrogen> One thing that I have done is create an HTML table as usual, no graphics or anything like that. But at the top of the page before you output anything to the browser, you can do: header("Content-Type: application/excel"); If you are on a windows machine and have excel installed and are using IE, excel will open up and convert the thing to a basic spreadsheet. Then the user could save this file if they want. The only problem I've had in the past is the user trying to save the file on the server when they have the excel open in front of them. You may want to check that "application/excel" part. I may be wrong. Could be "...ms-excel" or something. Shouldn't be tough to look up on the web though. Hope this is helpful, hise On Fri, 2002-07-26 at 13:22, Edgar Reyes wrote: > Hello, > > Well I don't know if you are running on Windows or on Unix server but I if > you are running an a windows platform, you can change the MIME type on the > results page and have it come up on an excel sheet and if they want to save > it they can just go to file save as and save the results on their computer. > > Hope this helps. > ----- Original Message ----- > From: "Freedman, Tom S." > To: "NYPHP Talk" > Sent: Friday, July 26, 2002 10:15 AM > Subject: [nycphp-talk] Creating file for download on the fly? > > > > Hi all, I've been a lurker for a couple months as I've been learning PHP, > > and many of your suggestions have been really helpful. I was hoping > someone > > might have an idea on how to tackle an issue I haven't been able to find > any > > info on. > > > > I'm currently working on a new version of a departmental intranet website. > > I have a database, and offer the users a search page that lets them query > it > > in a variety of ways. The new results page is not laid out in a grid, as > > the old one was (we've added a lot of new fields, and the grid would be > too > > packed). Some users have requested the ability to download the data for > > import into Excel (they used to just copy and paste the table in). I've > > figured out how to create a .csv file, and I could, theoretically, create > > one every time someone runs a query, save it in a temp directory, and > > include a link to it on the webpage. We'd have to run a cleanup routine > > every night, though, to delete all these .csv's on the server. It seems > > really clumsy to me. What I'd like to do is put a link on the result page > > that, when clicked on, builds the .csv right then and offers it to the > user > > for download. Is this feasible, or should I just go with the temp > directory > > full of reports? > > > > Thanks in advance, > > Tom > > > > > > > > > > > > From tfreedma at ubspw.com Fri Jul 26 15:20:29 2002 From: tfreedma at ubspw.com (Freedman, Tom S.) Date: Fri, 26 Jul 2002 15:20:29 -0400 Subject: [nycphp-talk] Creating file for download on the fly? Message-ID: Everything's working great. That's exactly what I was looking for. I did hit a Microsoft snag, of course, which gave me a good hour and a half of headaches. It turns out that the first two characters of a text file loaded into MS Excel CANNOT be "ID". Of course, I was calling my first column "ID". Excel, upon finding those characters, assumes the file is a SYLK (symbolic link) file, and tries to read it as such. This fails, so you get the cryptic error "SYLK: File format is not valid." I spent at least an hour trying to figure out what about my output was invalid (line terminators, separators, possible bogus characters in the data), until I finally searched the web in desperation and hit upon a Microsoft KB article acknowledging the problem. Just makes you wanna scream, sometimes. -Tom -----Original Message----- From: Freedman, Tom S. Sent: Friday, July 26, 2002 11:16 AM To: NYPHP Talk Subject: RE: [nycphp-talk] Creating file for download on the fly? Thanks everyone! I was unaware of the Content-disposition header. I'll give this a try as soon as I can! Thanks again, Tom -----Original Message----- From: Wellington Fan [mailto:beef at interport.net] Sent: Friday, July 26, 2002 10:57 AM To: NYPHP Talk Subject: RE: [nycphp-talk] Creating file for download on the fly? All, I would add: header("Content-length: ".strlen($csvfilecontent)); >-----Original Message----- >From: Kayra Otaner [mailto:kayraotaner at yahoo.com] >Sent: Friday, July 26, 2002 10:38 AM >To: NYPHP Talk >Subject: Re: [nycphp-talk] Creating file for download on the fly? > > >Hi, I think this self explaining code helps : > >header("Content-disposition: filename=$filename.csv"); >header("Content-type: application/octetstream"); >header("Pragma: no-cache"); >header("Expires: 0"); >echo $csvfilecontent; > > >PS : You need to use this code before any other output since header() >function requires to be sent >before anything else. > > >Best > >Kayra Otaner > > >--- "Freedman, Tom S." wrote: >> Hi all, I've been a lurker for a couple months as I've been learning PHP, >> and many of your suggestions have been really helpful. I was hoping someone >> might have an idea on how to tackle an issue I haven't been able to find any >> info on. >> >> I'm currently working on a new version of a departmental intranet website. >> I have a database, and offer the users a search page that lets them query it >> in a variety of ways. The new results page is not laid out in a grid, as >> the old one was (we've added a lot of new fields, and the grid would be too >> packed). Some users have requested the ability to download the data for >> import into Excel (they used to just copy and paste the table in). I've >> figured out how to create a .csv file, and I could, theoretically, create >> one every time someone runs a query, save it in a temp directory, and >> include a link to it on the webpage. We'd have to run a cleanup routine >> every night, though, to delete all these .csv's on the server. It seems >> really clumsy to me. What I'd like to do is put a link on the result page >> that, when clicked on, builds the .csv right then and offers it to the user >> for download. Is this feasible, or should I just go with the temp directory >> full of reports? >> >> Thanks in advance, >> Tom >> > > >__________________________________________________ >Do You Yahoo!? >Yahoo! Health - Feel better, live better >http://health.yahoo.com > > From nyphp at altunergil.com Fri Jul 26 15:47:06 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Fri, 26 Jul 2002 15:47:06 -0400 Subject: [nycphp-talk] Creating file for download on the fly? In-Reply-To: <200207261920.g6QJKjP28745@slipdisc.virul.net> References: <200207261920.g6QJKjP28745@slipdisc.virul.net> Message-ID: <20020726154706.53477a35.nyphp@altunergil.com> I wouldn't call hitting something like that a Microsoft snag.. Exactly how unlucky are you ? :) Oktay On Fri, 26 Jul 2002 15:20:45 -0400 "Freedman, Tom S." wrote: > Everything's working great. That's exactly what I was looking for. > > I did hit a Microsoft snag, of course, which gave me a good hour and a half > of headaches. > > It turns out that the first two characters of a text file loaded into MS > Excel CANNOT be "ID". Of course, I was calling my first column "ID". > Excel, upon finding those characters, assumes the file is a SYLK (symbolic > link) file, and tries to read it as such. This fails, so you get the > cryptic error "SYLK: File format is not valid." I spent at least an hour > trying to figure out what about my output was invalid (line terminators, > separators, possible bogus characters in the data), until I finally searched > the web in desperation and hit upon a Microsoft KB article acknowledging the > problem. Just makes you wanna scream, sometimes. > > -Tom > > -----Original Message----- > From: Freedman, Tom S. > Sent: Friday, July 26, 2002 11:16 AM > To: NYPHP Talk > Subject: RE: [nycphp-talk] Creating file for download on the fly? > > > Thanks everyone! I was unaware of the Content-disposition header. I'll > give this a try as soon as I can! > > Thanks again, > Tom > > -----Original Message----- > From: Wellington Fan [mailto:beef at interport.net] > Sent: Friday, July 26, 2002 10:57 AM > To: NYPHP Talk > Subject: RE: [nycphp-talk] Creating file for download on the fly? > > > All, > I would add: > > header("Content-length: ".strlen($csvfilecontent)); > > >-----Original Message----- > >From: Kayra Otaner [mailto:kayraotaner at yahoo.com] > >Sent: Friday, July 26, 2002 10:38 AM > >To: NYPHP Talk > >Subject: Re: [nycphp-talk] Creating file for download on the fly? > > > > > >Hi, I think this self explaining code helps : > > > >header("Content-disposition: filename=$filename.csv"); > >header("Content-type: application/octetstream"); > >header("Pragma: no-cache"); > >header("Expires: 0"); > >echo $csvfilecontent; > > > > > >PS : You need to use this code before any other output since header() > >function requires to be sent > >before anything else. > > > > > >Best > > > >Kayra Otaner > > > > > >--- "Freedman, Tom S." wrote: > >> Hi all, I've been a lurker for a couple months as I've been learning PHP, > >> and many of your suggestions have been really helpful. I was hoping > someone > >> might have an idea on how to tackle an issue I haven't been able to find > any > >> info on. > >> > >> I'm currently working on a new version of a departmental intranet > website. > >> I have a database, and offer the users a search page that lets them query > it > >> in a variety of ways. The new results page is not laid out in a grid, as > >> the old one was (we've added a lot of new fields, and the grid would be > too > >> packed). Some users have requested the ability to download the data for > >> import into Excel (they used to just copy and paste the table in). I've > >> figured out how to create a .csv file, and I could, theoretically, create > >> one every time someone runs a query, save it in a temp directory, and > >> include a link to it on the webpage. We'd have to run a cleanup routine > >> every night, though, to delete all these .csv's on the server. It seems > >> really clumsy to me. What I'd like to do is put a link on the result > page > >> that, when clicked on, builds the .csv right then and offers it to the > user > >> for download. Is this feasible, or should I just go with the temp > directory > >> full of reports? > >> > >> Thanks in advance, > >> Tom > >> > > > > > >__________________________________________________ > >Do You Yahoo!? > >Yahoo! Health - Feel better, live better > >http://health.yahoo.com > > > > > From dorgan at optonline.net Fri Jul 26 16:12:59 2002 From: dorgan at optonline.net (Donald J. Organ IV) Date: Fri, 26 Jul 2002 16:12:59 -0400 Subject: Meeting Notes Message-ID: <004a01c234e0$d658aed0$0200020a@111weeks.fyeddrsubculture.org> Did anyone takes notes from the Last Meeting, on OO Framework if so would anyone be able to send them to me?? -Donald Organ dorgan at optonline.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at tanjero.com Fri Jul 26 16:27:10 2002 From: ben at tanjero.com (Benjamin Stiglitz) Date: Fri, 26 Jul 2002 16:27:10 -0400 Subject: [nycphp-talk] Meeting Notes In-Reply-To: <200207262012.g6QKCGP28960@slipdisc.virul.net> Message-ID: <102C8A64-A0D6-11D6-B68E-00039396A660@tanjero.com> Donald, I was one of the presenters Wednesday evening. We're working on getting all our slides and a description of our framework online, both on nyphp.org and at our own URL. I'll make an announcement to this list when that has all been uploaded. Thank you, Benjamin Stiglitz Tanjero ben at tanjero.com On Friday, July 26, 2002, at 04:12 PM, Donald J. Organ IV wrote: > Did anyone takes notes from the Last Meeting, on OO Framework if so > would anyone be able to send them to me?? > > -Donald Organ > dorgan at optonline.net > > > > From zaunere at yahoo.com Fri Jul 26 16:54:00 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Fri, 26 Jul 2002 13:54:00 -0700 (PDT) Subject: [nycphp-talk] Meeting Notes In-Reply-To: <200207262012.g6QKCGP28960@slipdisc.virul.net> Message-ID: <20020726205400.88683.qmail@web12802.mail.yahoo.com> --- "Donald J. Organ IV" wrote: > Did anyone takes notes from the Last Meeting, on OO Framework if so > would anyone be able to send them to me?? There were some notes taken, however the presentation itself with code samples, documentation, and referring articles should be put online at http://dev.nyphp.org/jawa shortly by the presenter. I will be out of the country starting tomorrow morning, but I've created an account for the presenter to put content online and he should make an announcement when it is available. HZ > > -Donald Organ > dorgan at optonline.net > > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From seth at ghiek.com Fri Jul 26 17:59:50 2002 From: seth at ghiek.com (Seth) Date: Fri, 26 Jul 2002 17:59:50 -0400 Subject: [nycphp-talk] Meeting Notes References: <200207262012.g6QKCGP28960@slipdisc.virul.net> Message-ID: <014f01c234ef$c3d353f0$0602a8c0@GHIEKJT5HZPBAD> Donald Organ -- Your optonline.net site is well down and straightforward -- is it done with mysql/php? Are the links on the front page ALL referenced/pulled from a database? Seth J Hersh ----- Original Message ----- From: "Donald J. Organ IV" To: "NYPHP Talk" Sent: Friday, July 26, 2002 4:12 PM Subject: [nycphp-talk] Meeting Notes > Did anyone takes notes from the Last Meeting, on OO Framework if so would anyone be able to send them to me?? > > -Donald Organ > dorgan at optonline.net > > > From can at andrew.cmu.edu Fri Jul 26 19:44:43 2002 From: can at andrew.cmu.edu (cesar) Date: Fri, 26 Jul 2002 19:44:43 -0400 (EDT) Subject: [nycphp-talk] Creating file for download on the fly? In-Reply-To: <200207261947.g6QJlFP28846@slipdisc.virul.net> Message-ID: if your user are using excel-2000 you can use the xml speardsheet format. there is documentation on it somewhere on msdn.microsoft.com , somewhere. i use http://homepage.tinet.ie/~jmcnamara/perl/WriteExcel.html , perl module. i beleive it writes in an older format, but i'm sure it will do, i just like the simple interface. for the xml format i would just create a file and in the save as, save as xml speardsheet and look at how it looks. there is also a libxls right now i can't remember the link, its a c library no documenation but you can look at the sample programs to get an idea... not that simple.... maybe if your curious. my defense: i do it easily in perl becase perl like the php program gets its data from a c++ generted xml file and both use the same exact parser. why c++ a lot of things need to get generated on the fly (php to slow for it). this is what i currently do on my site as far as headers... i'm sure i didn't even think when i did this, i just probably copied from somewhere: /* no cache */ header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); //always modified header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); // HTTP/1.0 /* application */ header("Content-type: application/vnd.ms-excel"); header("Content-Disposition: inline; filename=fund.xls"); header("Content-Description: PHP3 Generated Data" ); header("Content-Length: ".strlen($contents)); print $contents; ciao i hope this helps. On Fri, 26 Jul 2002, Oktay Altunergil wrote: > I wouldn't call hitting something like that a Microsoft snag.. Exactly how unlucky are you ? :) > > Oktay > > On Fri, 26 Jul 2002 15:20:45 -0400 > "Freedman, Tom S." wrote: > > > Everything's working great. That's exactly what I was looking for. > > > > I did hit a Microsoft snag, of course, which gave me a good hour and a half > > of headaches. > > > > It turns out that the first two characters of a text file loaded into MS > > Excel CANNOT be "ID". Of course, I was calling my first column "ID". > > Excel, upon finding those characters, assumes the file is a SYLK (symbolic > > link) file, and tries to read it as such. This fails, so you get the > > cryptic error "SYLK: File format is not valid." I spent at least an hour > > trying to figure out what about my output was invalid (line terminators, > > separators, possible bogus characters in the data), until I finally searched > > the web in desperation and hit upon a Microsoft KB article acknowledging the > > problem. Just makes you wanna scream, sometimes. > > > > -Tom > > > > -----Original Message----- > > From: Freedman, Tom S. > > Sent: Friday, July 26, 2002 11:16 AM > > To: NYPHP Talk > > Subject: RE: [nycphp-talk] Creating file for download on the fly? > > > > > > Thanks everyone! I was unaware of the Content-disposition header. I'll > > give this a try as soon as I can! > > > > Thanks again, > > Tom > > > > -----Original Message----- > > From: Wellington Fan [mailto:beef at interport.net] > > Sent: Friday, July 26, 2002 10:57 AM > > To: NYPHP Talk > > Subject: RE: [nycphp-talk] Creating file for download on the fly? > > > > > > All, > > I would add: > > > > header("Content-length: ".strlen($csvfilecontent)); > > > > >-----Original Message----- > > >From: Kayra Otaner [mailto:kayraotaner at yahoo.com] > > >Sent: Friday, July 26, 2002 10:38 AM > > >To: NYPHP Talk > > >Subject: Re: [nycphp-talk] Creating file for download on the fly? > > > > > > > > >Hi, I think this self explaining code helps : > > > > > >header("Content-disposition: filename=$filename.csv"); > > >header("Content-type: application/octetstream"); > > >header("Pragma: no-cache"); > > >header("Expires: 0"); > > >echo $csvfilecontent; > > > > > > > > >PS : You need to use this code before any other output since header() > > >function requires to be sent > > >before anything else. > > > > > > > > >Best > > > > > >Kayra Otaner > > > > > > > > >--- "Freedman, Tom S." wrote: > > >> Hi all, I've been a lurker for a couple months as I've been learning PHP, > > >> and many of your suggestions have been really helpful. I was hoping > > someone > > >> might have an idea on how to tackle an issue I haven't been able to find > > any > > >> info on. > > >> > > >> I'm currently working on a new version of a departmental intranet > > website. > > >> I have a database, and offer the users a search page that lets them query > > it > > >> in a variety of ways. The new results page is not laid out in a grid, as > > >> the old one was (we've added a lot of new fields, and the grid would be > > too > > >> packed). Some users have requested the ability to download the data for > > >> import into Excel (they used to just copy and paste the table in). I've > > >> figured out how to create a .csv file, and I could, theoretically, create > > >> one every time someone runs a query, save it in a temp directory, and > > >> include a link to it on the webpage. We'd have to run a cleanup routine > > >> every night, though, to delete all these .csv's on the server. It seems > > >> really clumsy to me. What I'd like to do is put a link on the result > > page > > >> that, when clicked on, builds the .csv right then and offers it to the > > user > > >> for download. Is this feasible, or should I just go with the temp > > directory > > >> full of reports? > > >> > > >> Thanks in advance, > > >> Tom > > >> > > > > > > > > >__________________________________________________ > > >Do You Yahoo!? > > >Yahoo! Health - Feel better, live better > > >http://health.yahoo.com > > > > > > > > > > > From ted at abptuf.org Fri Jul 26 19:44:55 2002 From: ted at abptuf.org (Ted Morawski) Date: Fri, 26 Jul 2002 19:44:55 -0400 Subject: [nycphp-talk] Creating file for download on the fly? (Out of the office) Message-ID: I am currently on leave and will return to the office on Monday, Aug. 5, 2002. If your issue is of critical importance, please contact Albert Sunseri - sunseri at abpi.net or Luke Schnirring - luke at abpi.net . Thanks. >>> talk 07/26/02 19:44 >>> if your user are using excel-2000 you can use the xml speardsheet format. there is documentation on it somewhere on msdn.microsoft.com , somewhere. i use http://homepage.tinet.ie/~jmcnamara/perl/WriteExcel.html , perl module. i beleive it writes in an older format, but i'm sure it will do, i just like the simple interface. for the xml format i would just create a file and in the save as, save as xml speardsheet and look at how it looks. there is also a libxls right now i can't remember the link, its a c library no documenation but you can look at the sample programs to get an idea... not that simple.... maybe if your curious. my defense: i do it easily in perl becase perl like the php program gets its data from a c++ generted xml file and both use the same exact parser. why c++ a lot of things need to get generated on the fly (php to slow for it). this is what i currently do on my site as far as headers... i'm sure i didn't even think when i did this, i just probably copied from somewhere: /* no cache */ header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); //always modified header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); // HTTP/1.0 /* application */ header("Content-type: application/vnd.ms-excel"); header("Content-Disposition: inline; filename=fund.xls"); header("Content-Description: PHP3 Generated Data" ); header("Content-Length: ".strlen($contents)); print $contents; ciao i hope this helps. On Fri, 26 Jul 2002, Oktay Altunergil wrote: > I wouldn't call hitting something like that a Microsoft snag.. Exactly how unlucky are you ? :) > > Oktay > > On Fri, 26 Jul 2002 15:20:45 -0400 > "Freedman, Tom S." wrote: > > > Everything's working great. That's exactly what I was looking for. > > > > I did hit a Microsoft snag, of course, which gave me a good hour and a half > > of headaches. > > > > It turns out that the first two characters of a text file loaded into MS > > Excel CANNOT be "ID". Of course, I was calling my first column "ID". > > Excel, upon finding those characters, assumes the file is a SYLK (symbolic > > link) file, and tries to read it as such. This fails, so you get the > > cryptic error "SYLK: File format is not valid." I spent at least an hour > > trying to figure out what about my output was invalid (line terminators, > > separators, possible bogus characters in the data), until I finally searched > > the web in desperation and hit upon a Microsoft KB article acknowledging the > > problem. Just makes you wanna scream, sometimes. > > > > -Tom > > > > -----Original Message----- > > From: Freedman, Tom S. > > Sent: Friday, July 26, 2002 11:16 AM > > To: NYPHP Talk > > Subject: RE: [nycphp-talk] Creating file for download on the fly? > > > > > > Thanks everyone! I was unaware of the Content-disposition header. I'll > > give this a try as soon as I can! > > > > Thanks again, > > Tom > > > > -----Original Message----- > > From: Wellington Fan [mailto:beef at interport.net] > > Sent: Friday, July 26, 2002 10:57 AM > > To: NYPHP Talk > > Subject: RE: [nycphp-talk] Creating file for download on the fly? > > > > > > All, > > I would add: > > > > header("Content-length: ".strlen($csvfilecontent)); > > > > >-----Original Message----- > > >From: Kayra Otaner [mailto:kayraotaner at yahoo.com] > > >Sent: Friday, July 26, 2002 10:38 AM > > >To: NYPHP Talk > > >Subject: Re: [nycphp-talk] Creating file for download on the fly? > > > > > > > > >Hi, I think this self explaining code helps : > > > > > >header("Content-disposition: filename=$filename.csv"); > > >header("Content-type: application/octetstream"); > > >header("Pragma: no-cache"); > > >header("Expires: 0"); > > >echo $csvfilecontent; > > > > > > > > >PS : You need to use this code before any other output since header() > > >function requires to be sent > > >before anything else. > > > > > > > > >Best > > > > > >Kayra Otaner > > > > > > > > >--- "Freedman, Tom S." wrote: > > >> Hi all, I've been a lurker for a couple months as I've been learning PHP, > > >> and many of your suggestions have been really helpful. I was hoping > > someone > > >> might have an idea on how to tackle an issue I haven't been able to find > > any > > >> info on. > > >> > > >> I'm currently working on a new version of a departmental intranet > > website. > > >> I have a database, and offer the users a search page that lets them query > > it > > >> in a variety of ways. The new results page is not laid out in a grid, as > > >> the old one was (we've added a lot of new fields, and the grid would be > > too > > >> packed). Some users have requested the ability to download the data for > > >> import into Excel (they used to just copy and paste the table in). I've > > >> figured out how to create a .csv file, and I could, theoretically, create > > >> one every time someone runs a query, save it in a temp directory, and > > >> include a link to it on the webpage. We'd have to run a cleanup routine > > >> every night, though, to delete all these .csv's on the server. It seems > > >> really clumsy to me. What I'd like to do is put a link on the result > > page > > >> that, when clicked on, builds the .csv right then and offers it to the > > user > > >> for download. Is this feasible, or should I just go with the temp > > directory > > >> full of reports? > > >> > > >> Thanks in advance, > > >> Tom > > >> > > > > > > > > >__________________________________________________ > > >Do You Yahoo!? > > >Yahoo! Health - Feel better, live better > > >http://health.yahoo.com > > > > > > > > > > > From dorgan at optonline.net Fri Jul 26 23:18:43 2002 From: dorgan at optonline.net (Donald J. Organ IV) Date: Fri, 26 Jul 2002 23:18:43 -0400 Subject: [nycphp-talk] Meeting Notes References: <200207262207.g6QM7gP29484@slipdisc.virul.net> Message-ID: <002501c2351c$5024a350$0200020a@111weeks.fyeddrsubculture.org> What optonline.net site if you are talking about optonline.net then i am sorry but I cant take credit for that site the is Cablevision's site, my broadband ISP ----- Original Message ----- From: "Seth" To: "NYPHP Talk" Sent: Friday, July 26, 2002 6:07 PM Subject: Re: [nycphp-talk] Meeting Notes > Donald Organ -- > > Your optonline.net site is well down and straightforward -- is it done with > mysql/php? > > Are the links on the front page ALL referenced/pulled from a database? > > Seth J Hersh > ----- Original Message ----- > From: "Donald J. Organ IV" > To: "NYPHP Talk" > Sent: Friday, July 26, 2002 4:12 PM > Subject: [nycphp-talk] Meeting Notes > > > > Did anyone takes notes from the Last Meeting, on OO Framework if so would > anyone be able to send them to me?? > > > > -Donald Organ > > dorgan at optonline.net > > > > > > > > > From ted at abptuf.org Fri Jul 26 23:52:08 2002 From: ted at abptuf.org (Ted Morawski) Date: Fri, 26 Jul 2002 23:52:08 -0400 Subject: [nycphp-talk] Meeting Notes (Out of the office) Message-ID: I am currently on leave and will return to the office on Monday, Aug. 5, 2002. If your issue is of critical importance, please contact Albert Sunseri - sunseri at abpi.net or Luke Schnirring - luke at abpi.net . Thanks. >>> talk 07/26/02 23:29 >>> What optonline.net site if you are talking about optonline.net then i am sorry but I cant take credit for that site the is Cablevision's site, my broadband ISP ----- Original Message ----- From: "Seth" To: "NYPHP Talk" Sent: Friday, July 26, 2002 6:07 PM Subject: Re: [nycphp-talk] Meeting Notes > Donald Organ -- > > Your optonline.net site is well down and straightforward -- is it done with > mysql/php? > > Are the links on the front page ALL referenced/pulled from a database? > > Seth J Hersh > ----- Original Message ----- > From: "Donald J. Organ IV" > To: "NYPHP Talk" > Sent: Friday, July 26, 2002 4:12 PM > Subject: [nycphp-talk] Meeting Notes > > > > Did anyone takes notes from the Last Meeting, on OO Framework if so would > anyone be able to send them to me?? > > > > -Donald Organ > > dorgan at optonline.net > > > > > > > > > From peter at panvox.net Sat Jul 27 12:22:23 2002 From: peter at panvox.net (Peter Simard) Date: Sat, 27 Jul 2002 12:22:23 -0400 Subject: PHP - programming paradigms and methodoligies Message-ID: <194131832390.20020727122223@panvox.net> 12:20 PM Saturday 7/27/2002 Hi all, A few days ago there was thread re: PHP methodologies. I found this while browsing PHP.builder and thought I'd pass it along: http://phpbuilder.com/columns/nair20011003.php3 Enjoy the weekend. -- Pete mailto:peter at panvox.net Mail management by The Bat! version - 1.61 From nyphp at altunergil.com Sat Jul 27 12:36:58 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Sat, 27 Jul 2002 12:36:58 -0400 Subject: [nycphp-talk] PHP - programming paradigms and methodoligies In-Reply-To: <200207271622.g6RGMQP33472@slipdisc.virul.net> References: <200207271622.g6RGMQP33472@slipdisc.virul.net> Message-ID: <20020727123658.28abbe62.nyphp@altunergil.com> Actually.. the article's title is a little bit misleading. I don't see any paradigm or methodology discussed there. Don't get me wrong, I'm not saying that the article is bad, but what I see is there a coding standard, which is much more deeply covered in the PHP Coding Standard you can find here http://utvikler.start.no/code/php_coding_standard.html Obviously, there's no coding style/standard that is going to work for everybody, but I believe it is crucial to adhere to a standard (any standard) when coding in environment where there's more than one programmer working on the same project. The coding guidelines for the Linux kernel, or PHPBB2 are nice examples of this. Oktay ALtunergil On Sat, 27 Jul 2002 12:22:26 -0400 Peter Simard wrote: > http://phpbuilder.com/columns/nair20011003.php3 From ben at tanjero.com Sun Jul 28 00:09:39 2002 From: ben at tanjero.com (Benjamin Stiglitz) Date: Sun, 28 Jul 2002 00:09:39 -0400 Subject: Tanjero presentation Message-ID: Sorry about the delay with the slides and presentation notes, everyone. I'll have them up tomorrow at some point. And, as promised, we'll have a whole lot of information on our website (http://jawa.tanjero.com/) starting August 1st. Don't bother visiting beforehand - there won't be anything there. Ooh, it's so much fun to work late Saturdays and all day Sunday... Thank you, Benjamin Stiglitz Tanjero ben at tanjero.com From liquidm3 at hotmail.com Sun Jul 28 02:14:30 2002 From: liquidm3 at hotmail.com (Liquid M3) Date: Sun, 28 Jul 2002 02:14:30 -0400 Subject: inventory management software Message-ID: Anyone know of some good free (or very cheap) software for inventory management? I have a potential client who has this problem: their current system handles the inventory count OK (decrementing inventory when an order is shipped), but it is not very flexible and does not handle other needs. They also need some way to note, for example, that item a is selling at a rate of b units per day, that they will be out-of-stock at the current rate in c days, that person d has put in an order on date e for f amount of new stock, that the new stock is estimated to arrive on date g, and that in-stock item h (maybe a different color of the same type of item or some other minor variation) should be pushed by sales as an alternative if item a is out-of-stock. Ted LiquidMarkets Financial data and free classifieds http://www.liquidmarkets.com _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From charles at softwareprototypes.com Sun Jul 28 08:14:36 2002 From: charles at softwareprototypes.com (charles at softwareprototypes.com) Date: Sun, 28 Jul 2002 08:14:36 -0400 Subject: [nycphp-talk] inventory management software Message-ID: <319540-220027028121436312@softwareprototypes.com> Slightly more complicated than that if the item is seasonal. The re-order curve has to follow a stocking-delay lag and this may zero out where expected sales of items (hockey sticks in summer) will exceed the cost of stocking the item (purchase + storage + taking up space for more salable items,) so its usually cheaper to have a fire sale and then move it out to jobbers who take lots of stuff its no longer cost-effective to hold on to. (Thats' how 99 cent stores get most of their goods.) The inventory system has to be modified in the following manner. Each item in the inventory has to have a link to the state machine which describes its (re-)order process (supply side) and its projected consumption (demand side) and some parameters on minimum (buy trigger) and maximum (stop further buy trigger) quantities on hand. This can all vary over time and monitoring this is the job of an inventory manager, above and beyond bossing the inventory, delivery and shelf stocking crew. In addition to the GUI and DB maintenance software to maintain this meta-information (its not the items or the QOH it __about__ the QOH) the system itself has to have the triggers and the state machines put into place as well as the software to set up and put down buy orders I spent years in DP for a major food chain and retail store chain until the owner decided that she'd rather retire rich and sold off the family business. -Charles-A. ---- Original Message ---- From: liquidm3 at hotmail.com To: talk at nyphp.org, Subject: RE: [nycphp-talk] inventory management software Date: Sun, 28 Jul 2002 02:14:40 -0400 >Anyone know of some good free (or very cheap) software for inventory >management? > >I have a potential client who has this problem: their current system >handles >the inventory count OK (decrementing inventory when an order is >shipped), >but it is not very flexible and does not handle other needs. They >also need >some way to note, for example, that item a is selling at a rate of b >units >per day, that they will be out-of-stock at the current rate in c >days, that >person d has put in an order on date e for f amount of new stock, >that the >new stock is estimated to arrive on date g, and that in-stock item h >(maybe >a different color of the same type of item or some other minor >variation) >should be pushed by sales as an alternative if item a is >out-of-stock. > >Ted >LiquidMarkets >Financial data and free classifieds >http://www.liquidmarkets.com > >_________________________________________________________________ >MSN Photos is the easiest way to share and print your photos: >http://photos.msn.com/support/worldwide.aspx > > > From ben at tanjero.com Sun Jul 28 19:32:53 2002 From: ben at tanjero.com (Benjamin Stiglitz) Date: Sun, 28 Jul 2002 19:32:53 -0400 Subject: Jawa presentation info Message-ID: <564CB888-A282-11D6-B819-00039396A660@tanjero.com> Hi, everyone. I've posted the Jawa presentation slides, presentation notes and code at the following URL: http://dev.nyphp.org/jawa/TanjeroPresentation.tar.gz Enjoy! Feel free to discuss on list or with me personally. Thank you, Benjamin Stiglitz Tanjero ben at tanjero.com From danielc at analysisandsolutions.com Mon Jul 29 15:31:49 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Mon, 29 Jul 2002 15:31:49 -0400 Subject: javascript vulnerability Message-ID: <20020729193149.GA17493@panix.com> Hi Folks: Nice meeting some of you last week. Security Focus' latest weekly contains a notice about a JavaScript vulnerability. In some ways, it's just another incantation of prior problems. http://www.securityfocus.com/bid/5290 Anyway, it's a good reason to keep JS off in your browser. And another good not to rely on it on your websites. Enjoy, --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 dkrook at hotmail.com Mon Jul 29 16:54:34 2002 From: dkrook at hotmail.com (D C Krook) Date: Mon, 29 Jul 2002 16:54:34 -0400 Subject: [nycphp-talk] javascript vulnerability Message-ID: Damn. I got this message literally five minutes after I finished a fancy, OO JavaScript bar chart builder, assuming everyone who is going to be using the site will have JS enabled. :{ Another business case to do this on the server with PHP, I guess. Thanks for the heads up. -Dan _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From brian at preston-campbell.com Mon Jul 29 16:41:23 2002 From: brian at preston-campbell.com (Preston-Campbell) Date: Mon, 29 Jul 2002 16:41:23 -0400 Subject: [nycphp-talk] javascript vulnerability References: <200207291934.g6TJYIP37441@slipdisc.virul.net> Message-ID: <000201c23747$a2a62b80$a77cfea9@p1n1w5> I think I'm just going to go with plan "A". There is no mention of a problem in Linux -- big surprise. The discoverer of this issue has reported that Microsoft does not feel this is a valid vulnerability. A workaround for Internet Explorer is to disable the ability of script code to manipulate/interact with the clipboard/cut and paste functionality. To do so, users should: - Click on the "Tools" toolbar pulldown - Select "Internet options" - Click on the "Security" tab - For each of the zones that you wish to disable the feature: - Click "Custom Level" - Go to the "Scripting" sub-section - Set "Allow paste operations via script" to "Disable" Another, broader workaround is to disable scripting completely. This may adversely affect your browsing abilities. Brian ----- Original Message ----- From: "Analysis & Solutions" To: "NYPHP Talk" Sent: Monday, July 29, 2002 3:34 PM Subject: [nycphp-talk] javascript vulnerability > Hi Folks: > > Nice meeting some of you last week. Security Focus' latest weekly > contains a notice about a JavaScript vulnerability. In some ways, it's > just another incantation of prior problems. > > http://www.securityfocus.com/bid/5290 > > Anyway, it's a good reason to keep JS off in your browser. And another > good not to rely on it on your websites. > > Enjoy, > > --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 Mon Jul 29 17:54:25 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Mon, 29 Jul 2002 17:54:25 -0400 Subject: [nycphp-talk] javascript vulnerability References: <200207291934.g6TJYIP37441@slipdisc.virul.net> Message-ID: <00ce01c2374a$83100d10$6601a8c0@Notebook> Dan, sorry I didn't have the chance to meet you, I showed up a little late & then had to scoot out as soon as the presentation was through. Onto the JS vulnerability. This vulnerability must come from the server. I still stick by JS as a valuable addition to the web experience. If you want to have JS disabled to protect against hitting an untrusted site then fine, that doesn't mean I shouldn't use JS in my web apps. You can always check a vendor out to find out if they are what you would consider reputable. If so, add them to your trusted list & have JS enabled in your trusted list. Today's business is a lot more savy to the ways of the web and when they see functionality on a web site that they want on theirs, throwing security up as an excuse not to do it doesn't work anymore. When they can find this functionality on large reputable sites they consider that the security issues must not be so great and that you are just being the purveyor of doom and gloom. I still take the position that if my client wants it and I can code it, then they will get it. They will get my standard warning about the potential insecurity, but the final decision is there's. If they should lose business because too many of their potential customers have JS disabled, then the burden is on them since they decided to forego my warning. If they should find themselves under attack, once again, the burden is on them. Jim ----- Original Message ----- From: "Analysis & Solutions" To: "NYPHP Talk" Sent: Monday, July 29, 2002 3:34 PM Subject: [nycphp-talk] javascript vulnerability > Hi Folks: > > Nice meeting some of you last week. Security Focus' latest weekly > contains a notice about a JavaScript vulnerability. In some ways, it's > just another incantation of prior problems. > > http://www.securityfocus.com/bid/5290 > > Anyway, it's a good reason to keep JS off in your browser. And another > good not to rely on it on your websites. > > Enjoy, > > --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 gherson at snet.net Mon Jul 29 19:31:14 2002 From: gherson at snet.net (George Herson) Date: Mon, 29 Jul 2002 19:31:14 -0400 Subject: PHP Meetup in Fairfield County, CT Message-ID: <3D45D042.3050602@snet.net> hi, if anyone is into a "php meetup" in Fairfield County, pls sign up at http://php.meetup.com/. Meetup.com is reporting that more RSVPs are needed: "Thank you for RSVPing! However, your PHP MEETUP near Fairfield County, CT needs 3 more RSVPs in the next 48 hours! MEETUPs are cancelled unless 4 people have RSVPed, and currently, your MEETUP has only 1 RSVPs. IT'S NOT TOO LATE. Help make PHP MEETUPs happen by spreading the word... Just tell PHP Developers to hurry over to http://php.meetup.com/ within 48 hours!" thx, george From jim at bizcomputinginc.com Mon Jul 29 20:23:50 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Mon, 29 Jul 2002 20:23:50 -0400 Subject: [nycphp-talk] PHP Meetup in Northern New Jersey References: <200207292331.g6TNVmP37869@slipdisc.virul.net> Message-ID: <01d801c2375f$62cdf200$6601a8c0@Notebook> if anyone is into a "php meetup" in Northern New Jersey, pls sign up at http://php.meetup.com/. Meetup.com is reporting that more RSVPs are needed: Thank you for RSVPing! However, your PHP MEETUP near Northern New Jersey needs 3 more RSVPs in the next 48 hours! MEETUPs are cancelled unless 4 people have RSVPed, and currently, your MEETUP has only 1 RSVPs. IT'S NOT TOO LATE. Help make PHP MEETUPs happen by spreading the word... Just tell PHP Developers to hurry over to http://php.meetup.com/ within 48 hours! From danielc at analysisandsolutions.com Mon Jul 29 20:43:56 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Mon, 29 Jul 2002 20:43:56 -0400 Subject: Credit Card Validation Solution updated Message-ID: <20020730004356.GA28270@panix.com> Hi Folks: I'm happy to announce the latest versions of my Credit Card Validation Solution. This includes a new JSP Edition and reworking the PHP and Perl Editions into an Object Oriented paradigm. If you're using a version prior to the following, please upgrade: Ed. Ver URI ---- --- --- JSP 4.2 http://www.analysisandsolutions.com/code/ccvs-jsp.htm Perl 4.7 http://www.analysisandsolutions.com/code/ccvs-pl.htm PHP 4.4 http://www.analysisandsolutions.com/code/ccvs-ph.htm An older version of it is also available for Visual Basic at http://www.analysisandsolutions.com/code/ccvs-vb.htm If you're not familliar with these scripts, here's a quick description: It ensures credit card numbers are keyed in correctly. Includes checks that the length is correct, the first four digits are within accepted ranges, the number passes the Mod 10 Checksum and that you accept the given type of card. Just to be clear, this process does not check with banks or credit card companies to see if the card number given is actually associated with a good account. It just checks to see if the number matches the expected format. Enjoy, --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 Tue Jul 30 08:13:03 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Tue, 30 Jul 2002 08:13:03 -0400 Subject: Northern NJ PHP Meetup References: <200207291934.g6TJYIP37441@slipdisc.virul.net> Message-ID: <022c01c237c2$765043b0$6601a8c0@Notebook> Hey, I'm glad to see my message last night brought some new signups! I just want to remind those who signed up that you also need to RSVP in order for it to count toward having the meetup. So far I'm still the only RSVP. Thanks, Jim From jim at bizcomputinginc.com Tue Jul 30 10:25:37 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Tue, 30 Jul 2002 10:25:37 -0400 Subject: single entry point References: <200207291934.g6TJYIP37441@slipdisc.virul.net> Message-ID: <025f01c237d4$fae82ef0$6601a8c0@Notebook> As a fairly new PHP developer, I'm wrestling with not only learning the lingo, but also attempting to discover best practice. When I was first faced with ASP when ASP was first introduced I made the design snafu of developing my first small page as a single page. Login, login validation, form entry, form validation and submission, and submission response all rolled up into 1 .asp file. While it was great for this 1 small app ( more of an applet ), when the client wanted to add more stuff it required re-arranging the app splitting it up, figuring out the then flawed response.redirect etc. It then required adding to the top of each page the security checks to ensure the user was logged in etc. ( of course added as an include ). Well to make a short story long, I encountered an ASP app written by another programmer which I was inheriting which used a single entry point( everything went through default.asp ( ASP's equivalent of index.php ) ). He used an encrypted querystring parameter to key the ASP file as to which page was really required & then using a case statement included the necessary files. He must not have been aware of ASP's static include, all includes are included regardless of control logic around the include. I did think the solution to be rather elegant, hiding the implementation from the user by only exposing 1 page. Later as I developed it I even moved the encrypted parameter to a hidden form field to even hide that part of the implementation. I've seen a few PHP apps floating around that use a similar design. In PHP the obvious advantage over the ASP version is the dynamic include ( include based on the surounding logic ). I'm interested to get the opinion of more experienced PHP developers on this single entry point design. I realize this design will not allow search engines to index more than the entry point, but I'm developing in an extranet environment where search engines are not desired anyway. I think one of the things that draws me to this solution is the ease of security checks and forcing a specific modality ( ie. stopping the browsers back button & ensuring a specific work flow where required ). Please let me know your opinion on this. Jim _____________________________________________________________ Jim Hendricks, President, Biz Computing, Inc Phone: (201) 599-9380 Email: jim at bizcomputinginc.com Web: www.bizcomputinginc.com Snail: Jim Hendricks, Biz Computing, Inc., 255 McKinley Ave, New Milford, NJ 07646 ______________________________________________________________ From nyphp at altunergil.com Tue Jul 30 10:40:23 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Tue, 30 Jul 2002 10:40:23 -0400 Subject: [nycphp-talk] single entry point In-Reply-To: <200207301425.g6UEPpP39415@slipdisc.virul.net> References: <200207301425.g6UEPpP39415@slipdisc.virul.net> Message-ID: <20020730104023.584f0578.nyphp@altunergil.com> I will have to disaggree with your conclusion that this kind of a design will have major advantages regarding security. You could just seperate you security page (that checks whether the user is signed in and has the required permissions) and include it in every page (maybe along with stuff that you include anyway. .like the stuff). I've found that what you're describing is good for template based sites. For instance on freelinuxcd.org I use a very simple implementation of this. All pages have the same table structure which keeps the look uniform, but depending on the 'page' variable passed, the appropriate CONTENT is displayed in the table cells. If you would like to take a look at the code it's in http://freelinuxcd.org/download/latest/. There's no authentication there simply because we have no use for it. Lastly, you can accomplish most of what you're describing by using a dummy frame that keeps the url unchanged no matter which page you go to. cheers.. Oktay On Tue, 30 Jul 2002 10:25:50 -0400 Jim Hendricks wrote: > As a fairly new PHP developer, I'm wrestling with not only learning the > lingo, but also attempting to discover best practice. When I was first > faced with ASP when ASP was first introduced I made the design snafu of > developing my first small page as a single page. Login, login validation, > form entry, form validation and submission, and submission response all > rolled up into 1 .asp file. While it was great for this 1 small app ( more > of an applet ), when the client wanted to add more stuff it required > re-arranging the app splitting it up, figuring out the then flawed > response.redirect etc. It then required adding to the top of each page the > security checks to ensure the user was logged in etc. ( of course added as > an include ). > > Well to make a short story long, I encountered an ASP app written by another > programmer which I was inheriting which used a single entry point( > everything went through default.asp ( ASP's equivalent of index.php ) ). He > used an encrypted querystring parameter to key the ASP file as to which page > was really required & then using a case statement included the necessary > files. He must not have been aware of ASP's static include, all includes > are included regardless of control logic around the include. I did think > the solution to be rather elegant, hiding the implementation from the user > by only exposing 1 page. Later as I developed it I even moved the encrypted > parameter to a hidden form field to even hide that part of the > implementation. > > I've seen a few PHP apps floating around that use a similar design. In PHP > the obvious advantage over the ASP version is the dynamic include ( include > based on the surounding logic ). I'm interested to get the opinion of more > experienced PHP developers on this single entry point design. I realize > this design will not allow search engines to index more than the entry > point, but I'm developing in an extranet environment where search engines > are not desired anyway. > > I think one of the things that draws me to this solution is the ease of > security checks and forcing a specific modality ( ie. stopping the browsers > back button & ensuring a specific work flow where required ). > > Please let me know your opinion on this. > > Jim > > _____________________________________________________________ > Jim Hendricks, President, Biz Computing, Inc > Phone: (201) 599-9380 Email: jim at bizcomputinginc.com > Web: www.bizcomputinginc.com > Snail: Jim Hendricks, Biz Computing, Inc., 255 McKinley Ave, New Milford, > NJ 07646 > ______________________________________________________________ > > > > From danielc at analysisandsolutions.com Tue Jul 30 10:59:18 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Tue, 30 Jul 2002 10:59:18 -0400 Subject: [nycphp-talk] single entry point In-Reply-To: <200207301425.g6UEPpP39415@slipdisc.virul.net> References: <200207301425.g6UEPpP39415@slipdisc.virul.net> Message-ID: <20020730145917.GA8154@panix.com> Hi Jim: On Tue, Jul 30, 2002 at 10:25:50AM -0400, Jim Hendricks wrote: > faced with ASP when ASP was first introduced I made the design snafu of > developing my first small page as a single page. Login, login validation, > form entry, form validation and submission, and submission response all > rolled up into 1 .asp file. Yeah, having one page for everything is tough to manage. I like separating pages by purpose. Though, a purpose may have several steps that I'll integrate into a given script using switch statements. > I think one of the things that draws me to this solution is the ease of > security checks and forcing a specific modality ( ie. stopping the browsers > back button & ensuring a specific work flow where required ). As Oktay mentioned, having one page vs many doesn't make a real difference for securty. Use an include file that does the login validation at the top of each file which needs it. --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 markjia at yahoo.com Tue Jul 30 10:59:18 2002 From: markjia at yahoo.com (Mark Jia) Date: Tue, 30 Jul 2002 07:59:18 -0700 (PDT) Subject: image download -- help In-Reply-To: <200207292134.g6TLYiP37629@slipdisc.virul.net> Message-ID: <20020730145918.65269.qmail@web20422.mail.yahoo.com> Hi Friends: I had a problem, I have two links, they are all image links, but one shows, one bring me to the download page, I really can't figure it out why, please help, thanks! those are links: 1) good, it shows image. http://banner.linksynergy.com/fs/banners/1543/1543_10000304.gif 2)Not good, goes to download page. please use IE, netsacpe will give a broken image for the "download one". (I use those two links in a PHP image inventory.) Thanks Mark --------------------------------- Do You Yahoo!? Yahoo! Health - Feel better, live better -------------- next part -------------- An HTML attachment was scrubbed... URL: From markjia at yahoo.com Tue Jul 30 11:04:31 2002 From: markjia at yahoo.com (Mark Jia) Date: Tue, 30 Jul 2002 08:04:31 -0700 (PDT) Subject: image download -- help 2 In-Reply-To: <200207292331.g6TNVmP37869@slipdisc.virul.net> Message-ID: <20020730150431.67315.qmail@web20422.mail.yahoo.com> Hi Frinds: I have two images, one shows the image, another bring me to the download page, I couldn't figure it out what is wrong with the second one, please help: 1)good:http://banner.linksynergy.com/fs/banners/1543/1543_10000304.gif 2)Not good:http://banner.linksynergy.com/fs/banners/1543/1543_10000303.gif Please use IE to try, Netsacape will give a broken image. Thanks Mark --------------------------------- Do You Yahoo!? Yahoo! Health - Feel better, live better -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at bizcomputinginc.com Tue Jul 30 11:06:27 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Tue, 30 Jul 2002 11:06:27 -0400 Subject: [nycphp-talk] single entry point References: <200207301440.g6UEeSP39449@slipdisc.virul.net> Message-ID: <026c01c237da$af52e9c0$6601a8c0@Notebook> The security advantages I'm refering too have to do with centralizing the security & modality checks. By the checks being in 1 place, there's no danger in adding a page to the system and forgetting to put the necessary includes. It seems to be a simpiler and less error prone design. You may disagree, but can you see where this design would be a bad thing? I hadn't thought of the dummy frame for implementation hiding, I'll have to give that some thought. Although the implementation hiding in the single entry point is more complete if you utilize simple encryption on the variable that controls the "next page". For instance, the design I'm working with creates a sequence# + the next page encrypted with a system key. This means that all intersite links are giberish to someone looking at page source. It also means I can ensure the back button on the browser was not hit, or the browsers history not used since these requests will have an out of order sequence#. It also makes it nearly impossible for a hacker to submit a form that will be accepted from the server since the sequence# is different every time that page is hit since it is based on 1) the initial sequence# assigned to the session ( it's not 1 or 0, but a random range ) and 2) on the order the user chooses the pages. A hacker may break past the login security ( or be a valid user ) and navigate to the page they want to hack & then attempt to circumvent the system since the source contains valid encrypted links, but this makes hacking all the more trouble. Add on top of that usage log analysis showing the same user going though the same sequence followed by errors raises flags you may have an attempted hack. All the while this implementation is hidden making the hack alot harder. Not to say a similar system could not be designed along side the normal links hidden via the dummy frame, it just seems like it would be more work. Jim ----- Original Message ----- From: "Oktay Altunergil" To: "NYPHP Talk" Sent: Tuesday, July 30, 2002 10:40 AM Subject: Re: [nycphp-talk] single entry point > I will have to disaggree with your conclusion that this kind of a design will have major advantages regarding security. > > You could just seperate you security page (that checks whether the user is signed in and has the required permissions) and include it in every page (maybe along with stuff that you include anyway. .like the stuff). > > I've found that what you're describing is good for template based sites. For instance on freelinuxcd.org I use a very simple implementation of this. All pages have the same table structure which keeps the look uniform, but depending on the 'page' variable passed, the appropriate CONTENT is displayed in the table cells. If you would like to take a look at the code it's in http://freelinuxcd.org/download/latest/. There's no authentication there simply because we have no use for it. > > Lastly, you can accomplish most of what you're describing by using a dummy frame that keeps the url unchanged no matter which page you go to. > > cheers.. > > Oktay > > On Tue, 30 Jul 2002 10:25:50 -0400 > Jim Hendricks wrote: > > > As a fairly new PHP developer, I'm wrestling with not only learning the > > lingo, but also attempting to discover best practice. When I was first > > faced with ASP when ASP was first introduced I made the design snafu of > > developing my first small page as a single page. Login, login validation, > > form entry, form validation and submission, and submission response all > > rolled up into 1 .asp file. While it was great for this 1 small app ( more > > of an applet ), when the client wanted to add more stuff it required > > re-arranging the app splitting it up, figuring out the then flawed > > response.redirect etc. It then required adding to the top of each page the > > security checks to ensure the user was logged in etc. ( of course added as > > an include ). > > > > Well to make a short story long, I encountered an ASP app written by another > > programmer which I was inheriting which used a single entry point( > > everything went through default.asp ( ASP's equivalent of index.php ) ). He > > used an encrypted querystring parameter to key the ASP file as to which page > > was really required & then using a case statement included the necessary > > files. He must not have been aware of ASP's static include, all includes > > are included regardless of control logic around the include. I did think > > the solution to be rather elegant, hiding the implementation from the user > > by only exposing 1 page. Later as I developed it I even moved the encrypted > > parameter to a hidden form field to even hide that part of the > > implementation. > > > > I've seen a few PHP apps floating around that use a similar design. In PHP > > the obvious advantage over the ASP version is the dynamic include ( include > > based on the surounding logic ). I'm interested to get the opinion of more > > experienced PHP developers on this single entry point design. I realize > > this design will not allow search engines to index more than the entry > > point, but I'm developing in an extranet environment where search engines > > are not desired anyway. > > > > I think one of the things that draws me to this solution is the ease of > > security checks and forcing a specific modality ( ie. stopping the browsers > > back button & ensuring a specific work flow where required ). > > > > Please let me know your opinion on this. > > > > Jim > > > > _____________________________________________________________ > > Jim Hendricks, President, Biz Computing, Inc > > Phone: (201) 599-9380 Email: jim at bizcomputinginc.com > > Web: www.bizcomputinginc.com > > Snail: Jim Hendricks, Biz Computing, Inc., 255 McKinley Ave, New Milford, > > NJ 07646 > > ______________________________________________________________ > > > > > > > > > > > > From jim at bizcomputinginc.com Tue Jul 30 11:14:08 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Tue, 30 Jul 2002 11:14:08 -0400 Subject: [nycphp-talk] single entry point References: <200207301459.g6UExMP39495@slipdisc.virul.net> Message-ID: <027d01c237db$c28b74c0$6601a8c0@Notebook> > Yeah, having one page for everything is tough to manage. I like > separating pages by purpose. Though, a purpose may have several steps > that I'll integrate into a given script using switch statements. With single entry point, and PHP's dynamic include, I can seperate pages by purpose, but all going through the single entry point. PHP also allows for a variable in an include which eliminates the need for a switch statement like is required in ASP. > As Oktay mentioned, having one page vs many doesn't make a real difference > for securty. Use an include file that does the login validation at the > top of each file which needs it. Please see my response to Oktay. Thanks, Jim From gherson at snet.net Tue Jul 30 11:17:18 2002 From: gherson at snet.net (George Herson) Date: Tue, 30 Jul 2002 11:17:18 -0400 Subject: [nycphp-talk] single entry point References: <200207301425.g6UEPpP39415@slipdisc.virul.net> Message-ID: <3D46ADFE.6030009@snet.net> Jim, Sounds like you might like to try Fusebox. (I haven't used it yet.) My notes are that Fusebox is a tool that facilitates an all-functionality-through-index.php approach. http://nyphp.org/list/viewmesg.html?mid=81: "The example's containing index.php are most likely mimicking 'fusebox' methodology, which is a great way to organize files, especially if you are coding as part of a team or on a large application. Its mainly been popular on ColdFusion applications but fairly recently has been extended to PHP. Their are some nice code shortcuts and re-usability advantages by going this route. Check out http://bombusbee.com/ for more info. regards, ken schwartz". 5/~1/02 Eg, article http://bombusbee.com/index.php?fuseaction=articles.view&id=6 More info that was kindly provided me: > > A quick summary is that your application always runs through a single> > template, the fusebox (index.php), that contains a huge switch with a case > > representing an include of the each template that exists in the system > > (called 'fuseactions'). So every form and href on your site is really > > calling itself and makes coding a lot easier. The function of each of your > > templates (fuses) are seperated and grouped so that you have fuses for > > display grouped together, 'action' fuses (updates, inserts, etc.) together, > > query fuses, etc. The point of the whole matter is that your system becomes > > modular. If you need to find some code you know where to look. If you > > write something new you know where to put it. And if you need to break a > > certain part of the system to work on it, the rest of the system stays > > functional because the fusebox is never broken itself, so you can always > > access the other modules of the system. George From pat at vote.com Tue Jul 30 12:03:35 2002 From: pat at vote.com (Patrick Hunt) Date: Tue, 30 Jul 2002 12:03:35 -0400 Subject: [nycphp-talk] image download -- help 2 In-Reply-To: <200207301504.g6UF4aP39523@slipdisc.virul.net> Message-ID: <200207301603.g6UG3TP39717@slipdisc.virul.net> Mark, The second image is actually a windows bmp file, not a gif. Pat Hunt --------------------------------------------- On Tue, 30 Jul 2002 11:04:36 -0400, Mark Jia wrote: > > Hi Frinds: >I have two images, one shows the image, another bring me to the download page, I couldn't figure it out what is wrong with the second one, please help: >1)good:http://banner.linksynergy.com/fs/banners/1543/1543_10000304.gif >2)Not good:http://banner.linksynergy.com/fs/banners/1543/1543_10000303.gif >Please use IE to try, Netsacape will give a broken image. >Thanks >Mark > > > > >--------------------------------- >Do You Yahoo!? >Yahoo! Health - Feel better, live better > > From heli_travel at yahoo.com Tue Jul 30 12:28:54 2002 From: heli_travel at yahoo.com (LY) Date: Tue, 30 Jul 2002 09:28:54 -0700 (PDT) Subject: [nycphp-talk] image download -- help 2 In-Reply-To: <200207301603.g6UG3XP39722@slipdisc.virul.net> Message-ID: <20020730162854.48510.qmail@web12202.mail.yahoo.com> thanks! I see, that is why it always go to "Paint" program when I open it. thanks again! Mark --- Patrick Hunt wrote: > Mark, > > The second image is actually a windows bmp file, not a gif. > > Pat Hunt > > --------------------------------------------- > > On Tue, 30 Jul 2002 11:04:36 -0400, Mark Jia wrote: > > > > > Hi Frinds: > >I have two images, one shows the image, another bring me to > the download page, I couldn't figure it out what is wrong > with the second one, please help: > >1)good:http://banner.linksynergy.com/fs/banners/1543/1543_10000304.gif > >2)Not > good:http://banner.linksynergy.com/fs/banners/1543/1543_10000303.gif > >Please use IE to try, Netsacape will give a broken image. > >Thanks > >Mark > > > > > > > > > >--------------------------------- > >Do You Yahoo!? > >Yahoo! Health - Feel better, live better > > > > > > > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From nyphp at jimbishop.org Tue Jul 30 15:29:25 2002 From: nyphp at jimbishop.org (nyphp at jimbishop.org) Date: Tue, 30 Jul 2002 12:29:25 -0700 (PDT) Subject: PHP.NET webmasters In-Reply-To: <200207301514.g6UFEOP39571@slipdisc.virul.net> Message-ID: has anyone else had the displeasure of speaking to anyone on the webmaster's list for php.net? i sent them some mail this morning where i outlined a problem i had finding some documentation on monday, and they went psycho, insinuating that i can't read and all kinds of nonsense. they were really rude. has anyone else had this experience? jim.bishop From nyphp at altunergil.com Tue Jul 30 15:40:26 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Tue, 30 Jul 2002 15:40:26 -0400 Subject: [nycphp-talk] PHP.NET webmasters In-Reply-To: <200207301929.g6UJTSP40435@slipdisc.virul.net> References: <200207301929.g6UJTSP40435@slipdisc.virul.net> Message-ID: <20020730154026.31aa891b.nyphp@altunergil.com> Why don't you send us the emails that changed hands and we decide whether they were being rude ? (keep in mind though.. normally it's frawned upon to forward private communication to others..) Oktay On Tue, 30 Jul 2002 15:29:28 -0400 nyphp at jimbishop.org wrote: > has anyone else had the displeasure of speaking to anyone on the > webmaster's list for php.net? i sent them some mail this morning where i > outlined a problem i had finding some documentation on monday, and they > went psycho, insinuating that i can't read and all kinds of > nonsense. they were really rude. > > has anyone else had this experience? > > jim.bishop > > From adam at ecamp.net Tue Jul 30 15:51:42 2002 From: adam at ecamp.net (Adam) Date: Tue, 30 Jul 2002 15:51:42 -0400 Subject: [nycphp-talk] PHP.NET webmasters In-Reply-To: <200207301929.g6UJTSP40435@slipdisc.virul.net> Message-ID: That's the LAMP way! Probably one of the main reasons MS still has a large advantage in the server market is because of the 'elite' attitude of many Linux types. If you don't see it how I see it, your obviously wrong and a retard and don't deserve a computer! Lol -----Original Message----- From: nyphp at jimbishop.org [mailto:nyphp at jimbishop.org] Sent: Tuesday, July 30, 2002 3:29 PM To: NYPHP Talk Subject: [nycphp-talk] PHP.NET webmasters has anyone else had the displeasure of speaking to anyone on the webmaster's list for php.net? i sent them some mail this morning where i outlined a problem i had finding some documentation on monday, and they went psycho, insinuating that i can't read and all kinds of nonsense. they were really rude. has anyone else had this experience? jim.bishop From jon at corporatelords.org Tue Jul 30 16:27:29 2002 From: jon at corporatelords.org (Jon Britton) Date: Tue, 30 Jul 2002 16:27:29 -0400 Subject: [nycphp-talk] PHP.NET webmasters In-Reply-To: <200207301951.g6UJpeP40541@slipdisc.virul.net> References: <200207301951.g6UJpeP40541@slipdisc.virul.net> Message-ID: <20020730202729.GA2973@breakwindows.com> On Tue, Jul 30, 2002 at 03:51:40PM -0400, Adam wrote: > That's the LAMP way! > > Probably one of the main reasons MS still has a large advantage in the > server market is because of the 'elite' attitude of many Linux types. I, and the DoJ, would disagree. Apparantly, so would Netcraft :) > If you don't see it how I see it, your obviously wrong and a retard and > don't deserve a computer! Lol I haven't seen this attitude from as many people as I've heard it speculated upon by outsiders. I will say the average free/open software advocate is infinitely more pleasant than the average ISP or Telco rep. It's really not fair to judge the entire group based on one alleged overreaction. Maybe the guy's puppy was just run over, maybe the email he received was rude, maybe it was misinterpreted...we don't know. However, persons are persons, and I've seen every org from Dell to BlackBerry to Microsoft to OpenBSD have some truly obnoxious individuals firing off unnecessarily. So, let's judge people individually, and not by the mass stereotype. Unless they use M4, in which case they're just creepy and sinister. - Jon From gherson at snet.net Tue Jul 30 16:30:42 2002 From: gherson at snet.net (George Herson) Date: Tue, 30 Jul 2002 16:30:42 -0400 Subject: [nycphp-talk] PHP.NET webmasters References: <200207301929.g6UJTSP40435@slipdisc.virul.net> Message-ID: <3D46F772.8060300@snet.net> yes, the fascist php.net people (and zend i must say) have left me wistful for a generous Larry Wall (or Hans Z. :) character, or even a benevolent dictator. php.net webmasters ignore 100% of my suggestions and questions which is their right, but you've got to warn your users if your bug reporting system is connected to a Usenet, as in permanently archived, mailing list. That's bad when you've packed the report full of personal contact info like i did. Hopefully they fixed it. I did let Rasmus Lerdorf know a couple times about it. I also couldn't understand how they could add commands to the language w/o having a better definition of what it actually did. Surely the person who implemented the command/function could have provided a decent description with example. Lately the site has obviously fleshed-out, however. george nyphp at jimbishop.org wrote: > has anyone else had the displeasure of speaking to anyone on the > webmaster's list for php.net? i sent them some mail this morning where i > outlined a problem i had finding some documentation on monday, and they > went psycho, insinuating that i can't read and all kinds of > nonsense. they were really rude. > > has anyone else had this experience? > > jim.bishop > > > From adam at ecamp.net Tue Jul 30 16:51:00 2002 From: adam at ecamp.net (Adam) Date: Tue, 30 Jul 2002 16:51:00 -0400 Subject: [nycphp-talk] PHP.NET webmasters In-Reply-To: <200207302021.g6UKLdP40670@slipdisc.virul.net> Message-ID: I was judging based on a report that was given in regarding the PHP webmasters telling someone they should learn to read and other such insults because someone was having trouble navigating their GUI. I can very easily see a upper level tech deciding to try out a php implementation of a project at say Morgan Stanley, or another big firm and having some trouble on the website. This person emails php.net and gets berated... Now this person who may have converted is now just pissed off and will probably solve his problem with another means. Be it that he uses PHP still, or just tells his boss that it's not worth working with PHP because the support is so bad... It's just not professional to have this attitude, especially if you are an underdog. In business, image comes way before quality... sadly enough. I know this point can be argued, but marketing works. Well. -----Original Message----- From: Jon Britton [mailto:jon at corporatelords.org] Sent: Tuesday, July 30, 2002 4:22 PM To: NYPHP Talk Subject: Re: [nycphp-talk] PHP.NET webmasters On Tue, Jul 30, 2002 at 03:51:40PM -0400, Adam wrote: > That's the LAMP way! > > Probably one of the main reasons MS still has a large advantage in the > server market is because of the 'elite' attitude of many Linux types. I, and the DoJ, would disagree. Apparantly, so would Netcraft :) > If you don't see it how I see it, your obviously wrong and a retard and > don't deserve a computer! Lol I haven't seen this attitude from as many people as I've heard it speculated upon by outsiders. I will say the average free/open software advocate is infinitely more pleasant than the average ISP or Telco rep. It's really not fair to judge the entire group based on one alleged overreaction. Maybe the guy's puppy was just run over, maybe the email he received was rude, maybe it was misinterpreted...we don't know. However, persons are persons, and I've seen every org from Dell to BlackBerry to Microsoft to OpenBSD have some truly obnoxious individuals firing off unnecessarily. So, let's judge people individually, and not by the mass stereotype. Unless they use M4, in which case they're just creepy and sinister. - Jon From ktuskey at exostream.com Tue Jul 30 17:01:55 2002 From: ktuskey at exostream.com (Kyle Tuskey) Date: Tue, 30 Jul 2002 17:01:55 -0400 Subject: [nycphp-talk] PHP.NET webmasters In-Reply-To: <200207302031.g6UKVJP40720@slipdisc.virul.net> Message-ID: <001101c2380c$568401d0$e1072744@win2kbox> Can we all stop crying for a few moments to recognize how much time the people that work on the site and documentation take out of their lives for no money? If you have a problem with it then join the team and help them, otherwise stop bitching. As for the bug system... the open-srm crew was working on Bubar, a new bug system, for php.net. I worked on it a bit with them, but time constraints didn't allow much of my time. Last I heard Derrick and Jani had put the application on hold, until time there was more time available. -Kyle -----Original Message----- From: George Herson [mailto:gherson at snet.net] Sent: Tuesday, July 30, 2002 4:31 PM To: NYPHP Talk Subject: Re: [nycphp-talk] PHP.NET webmasters yes, the fascist php.net people (and zend i must say) have left me wistful for a generous Larry Wall (or Hans Z. :) character, or even a benevolent dictator. php.net webmasters ignore 100% of my suggestions and questions which is their right, but you've got to warn your users if your bug reporting system is connected to a Usenet, as in permanently archived, mailing list. That's bad when you've packed the report full of personal contact info like i did. Hopefully they fixed it. I did let Rasmus Lerdorf know a couple times about it. I also couldn't understand how they could add commands to the language w/o having a better definition of what it actually did. Surely the person who implemented the command/function could have provided a decent description with example. Lately the site has obviously fleshed-out, however. george nyphp at jimbishop.org wrote: > has anyone else had the displeasure of speaking to anyone on the > webmaster's list for php.net? i sent them some mail this morning where i > outlined a problem i had finding some documentation on monday, and they > went psycho, insinuating that i can't read and all kinds of > nonsense. they were really rude. > > has anyone else had this experience? > > jim.bishop > > > From jon at corporatelords.org Tue Jul 30 17:45:24 2002 From: jon at corporatelords.org (Jon Britton) Date: Tue, 30 Jul 2002 17:45:24 -0400 Subject: [nycphp-talk] PHP.NET webmasters In-Reply-To: <200207302050.g6UKonP40814@slipdisc.virul.net> References: <200207302050.g6UKonP40814@slipdisc.virul.net> Message-ID: <20020730214524.GA3193@breakwindows.com> On Tue, Jul 30, 2002 at 04:50:49PM -0400, Adam wrote: > I was judging based on a report that was given in regarding the PHP > webmasters telling someone they should learn to read and other such > insults because someone was having trouble navigating their GUI. The email you sent me off-list, where you called me "an evil moron who can't read" deeply hurt my feelings. Everyone, take this as an official report that Adam's employer is not someone with whom you should do business. Of course, I'm being facetious, but the point is made. Someone says "they were rude" and the rumors begin. Assuming the report is even true, maybe the guilty party at PHP was repremanded for it. PHP has done a lot for us, we can at least give them some benefit of the doubt. > I can very easily see a upper level tech deciding to try out a php > implementation of a project at say Morgan Stanley, or another big firm > and having some trouble on the website. This person emails php.net and > gets berated... This is a totally unfair assumption. You're rumouring anyone who emails php.net gets insulted, once again with no proof or evidence. My point in the original email was simply to be fair and not make judgements about how an entire organization behaves based on one speculatory email. Your response is to speculate that if upper management at Morgan Stanley has problems, PHP.net will automatically flip them the bird. That's not fair. As Oktay (I think) said, if we can all see the email exchange, we'll decide for ourselves. Until then, it's borderline slanderous to continue like this, and without merit. In closing: If you are fair, judge based on facts and don't perpetuate stereotypes and rumors, we'll all be happier. I'm not denying they could definitely be completely rude, but we don't have any reason to think they usually are. - Jon From gherson at snet.net Tue Jul 30 17:42:32 2002 From: gherson at snet.net (George Herson) Date: Tue, 30 Jul 2002 17:42:32 -0400 Subject: [nycphp-talk] PHP.NET webmasters References: <200207302101.g6UL1iP40876@slipdisc.virul.net> Message-ID: <3D470848.4000806@snet.net> Kyle Tuskey wrote: > Can we all stop crying for a few moments to recognize how much time the > people that work on the site and documentation take out of their lives > for no money? yes, moments allocated. > If you have a problem with it then join the team and help > them, otherwise stop bitching. yes, if the attitudes smelled like team spirit i'd probably be more tempted. george As for the bug system... the open-srm > crew was working on Bubar, a new bug system, for php.net. I worked on > it a bit with them, but time constraints didn't allow much of my time. > Last I heard Derrick and Jani had put the application on hold, until > time there was more time available. > > > -Kyle > > > -----Original Message----- > From: George Herson [mailto:gherson at snet.net] > Sent: Tuesday, July 30, 2002 4:31 PM > To: NYPHP Talk > Subject: Re: [nycphp-talk] PHP.NET webmasters > > yes, the fascist php.net people (and zend i must say) have left me > wistful for a > generous Larry Wall (or Hans Z. :) character, or even a benevolent > dictator. > > php.net webmasters ignore 100% of my suggestions and questions which is > their > right, but you've got to warn your users if your bug reporting system is > > connected to a Usenet, as in permanently archived, mailing list. That's > bad > when you've packed the report full of personal contact info like i did. > Hopefully they fixed it. I did let Rasmus Lerdorf know a couple times > about it. > > I also couldn't understand how they could add commands to the language > w/o > having a better definition of what it actually did. Surely the person > who > implemented the command/function could have provided a decent > description with > example. Lately the site has obviously fleshed-out, however. > > george > > nyphp at jimbishop.org wrote: > >>has anyone else had the displeasure of speaking to anyone on the >>webmaster's list for php.net? i sent them some mail this morning > > where i > >>outlined a problem i had finding some documentation on monday, and > > they > >>went psycho, insinuating that i can't read and all kinds of >>nonsense. they were really rude. >> >>has anyone else had this experience? >> >>jim.bishop >> >> >> > > > > > > > > From jhise at linuxforbusiness.org Tue Jul 30 17:45:29 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 30 Jul 2002 17:45:29 -0400 Subject: [nycphp-talk] PHP.NET webmasters In-Reply-To: <200207302101.g6UL1iP40876@slipdisc.virul.net> References: <200207302101.g6UL1iP40876@slipdisc.virul.net> Message-ID: <1028065531.9061.23.camel@hydrogen> If people have a difficult time working for no money. Then they shouldn't. On Tue, 2002-07-30 at 17:01, Kyle Tuskey wrote: > Can we all stop crying for a few moments to recognize how much time the > people that work on the site and documentation take out of their lives > for no money? If you have a problem with it then join the team and help > them, otherwise stop bitching. As for the bug system... the open-srm > crew was working on Bubar, a new bug system, for php.net. I worked on > it a bit with them, but time constraints didn't allow much of my time. > Last I heard Derrick and Jani had put the application on hold, until > time there was more time available. > > > -Kyle > > > -----Original Message----- > From: George Herson [mailto:gherson at snet.net] > Sent: Tuesday, July 30, 2002 4:31 PM > To: NYPHP Talk > Subject: Re: [nycphp-talk] PHP.NET webmasters > > yes, the fascist php.net people (and zend i must say) have left me > wistful for a > generous Larry Wall (or Hans Z. :) character, or even a benevolent > dictator. > > php.net webmasters ignore 100% of my suggestions and questions which is > their > right, but you've got to warn your users if your bug reporting system is > > connected to a Usenet, as in permanently archived, mailing list. That's > bad > when you've packed the report full of personal contact info like i did. > Hopefully they fixed it. I did let Rasmus Lerdorf know a couple times > about it. > > I also couldn't understand how they could add commands to the language > w/o > having a better definition of what it actually did. Surely the person > who > implemented the command/function could have provided a decent > description with > example. Lately the site has obviously fleshed-out, however. > > george > > nyphp at jimbishop.org wrote: > > has anyone else had the displeasure of speaking to anyone on the > > webmaster's list for php.net? i sent them some mail this morning > where i > > outlined a problem i had finding some documentation on monday, and > they > > went psycho, insinuating that i can't read and all kinds of > > nonsense. they were really rude. > > > > has anyone else had this experience? > > > > jim.bishop > > > > > > > > > > > > > > From ktuskey at exostream.com Tue Jul 30 18:05:23 2002 From: ktuskey at exostream.com (Kyle Tuskey) Date: Tue, 30 Jul 2002 18:05:23 -0400 Subject: [nycphp-talk] PHP.NET webmasters In-Reply-To: <200207302146.g6ULk3P41114@slipdisc.virul.net> Message-ID: <001401c23815$33e96e40$e1072744@win2kbox> If any of you have a problem with the creators or contributors to PHP, then don't use the language. I know several of them, and I'm sure they won't mind. It's like you people are biting the hand that feeds you. You're ungrateful and shouldn't be using open source if you don't appreciate it. -Kyle -----Original Message----- From: Jeremy Hise [mailto:jhise at linuxforbusiness.org] Sent: Tuesday, July 30, 2002 5:46 PM To: NYPHP Talk Subject: RE: [nycphp-talk] PHP.NET webmasters If people have a difficult time working for no money. Then they shouldn't. On Tue, 2002-07-30 at 17:01, Kyle Tuskey wrote: > Can we all stop crying for a few moments to recognize how much time the > people that work on the site and documentation take out of their lives > for no money? If you have a problem with it then join the team and help > them, otherwise stop bitching. As for the bug system... the open-srm > crew was working on Bubar, a new bug system, for php.net. I worked on > it a bit with them, but time constraints didn't allow much of my time. > Last I heard Derrick and Jani had put the application on hold, until > time there was more time available. > > > -Kyle > > > -----Original Message----- > From: George Herson [mailto:gherson at snet.net] > Sent: Tuesday, July 30, 2002 4:31 PM > To: NYPHP Talk > Subject: Re: [nycphp-talk] PHP.NET webmasters > > yes, the fascist php.net people (and zend i must say) have left me > wistful for a > generous Larry Wall (or Hans Z. :) character, or even a benevolent > dictator. > > php.net webmasters ignore 100% of my suggestions and questions which is > their > right, but you've got to warn your users if your bug reporting system is > > connected to a Usenet, as in permanently archived, mailing list. That's > bad > when you've packed the report full of personal contact info like i did. > Hopefully they fixed it. I did let Rasmus Lerdorf know a couple times > about it. > > I also couldn't understand how they could add commands to the language > w/o > having a better definition of what it actually did. Surely the person > who > implemented the command/function could have provided a decent > description with > example. Lately the site has obviously fleshed-out, however. > > george > > nyphp at jimbishop.org wrote: > > has anyone else had the displeasure of speaking to anyone on the > > webmaster's list for php.net? i sent them some mail this morning > where i > > outlined a problem i had finding some documentation on monday, and > they > > went psycho, insinuating that i can't read and all kinds of > > nonsense. they were really rude. > > > > has anyone else had this experience? > > > > jim.bishop > > > > > > > > > > > > > > From adam at ecamp.net Tue Jul 30 18:05:40 2002 From: adam at ecamp.net (Adam) Date: Tue, 30 Jul 2002 18:05:40 -0400 Subject: [nycphp-talk] PHP.NET webmasters In-Reply-To: <200207302139.g6ULdUP41066@slipdisc.virul.net> Message-ID: Yes I see your point. However, the original communication from PHP made someone feel slighted. Regardless of the content of the message from PHP, it made that person feel bad for having contacted asking for assistance because his question or comment was unwelcome to the recipient (php.net). It's just not professional, nor does it help the open source cause to shut people out like this. That's all. Think before you hit send. If your stressed, go take a walk and remember what the outdoors looks like perhaps. I don't know, but don't take it out on potential clients. That's just bad business. I did not rumor that anyone who emails php will get this type of response. But someone did get a response like this, and one time is more than enough. Chances are that was not the only degrading email that left their mail servers. (I'm assuming the message was degrading as I trust the people on this list, and unless he has a personal vendetta against php, he was made to feel shitty from a reply from php.net... no reason to make this stuff up.) I'm not saying PHP.NET is evil, just that this attitude is. Go read a bunch of OS based responses on /. And you will cringe and be embarrassed to admit you run linux. Almost good reason to switch to BSD! Lol. -----Original Message----- From: Jon Britton [mailto:jon at corporatelords.org] Sent: Tuesday, July 30, 2002 5:40 PM To: NYPHP Talk Subject: Re: [nycphp-talk] PHP.NET webmasters On Tue, Jul 30, 2002 at 04:50:49PM -0400, Adam wrote: > I was judging based on a report that was given in regarding the PHP > webmasters telling someone they should learn to read and other such > insults because someone was having trouble navigating their GUI. The email you sent me off-list, where you called me "an evil moron who can't read" deeply hurt my feelings. Everyone, take this as an official report that Adam's employer is not someone with whom you should do business. Of course, I'm being facetious, but the point is made. Someone says "they were rude" and the rumors begin. Assuming the report is even true, maybe the guilty party at PHP was repremanded for it. PHP has done a lot for us, we can at least give them some benefit of the doubt. > I can very easily see a upper level tech deciding to try out a php > implementation of a project at say Morgan Stanley, or another big firm > and having some trouble on the website. This person emails php.net and > gets berated... This is a totally unfair assumption. You're rumouring anyone who emails php.net gets insulted, once again with no proof or evidence. My point in the original email was simply to be fair and not make judgements about how an entire organization behaves based on one speculatory email. Your response is to speculate that if upper management at Morgan Stanley has problems, PHP.net will automatically flip them the bird. That's not fair. As Oktay (I think) said, if we can all see the email exchange, we'll decide for ourselves. Until then, it's borderline slanderous to continue like this, and without merit. In closing: If you are fair, judge based on facts and don't perpetuate stereotypes and rumors, we'll all be happier. I'm not denying they could definitely be completely rude, but we don't have any reason to think they usually are. - Jon From nyphp at altunergil.com Tue Jul 30 21:01:31 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Tue, 30 Jul 2002 21:01:31 -0400 Subject: [nycphp-talk] PHP.NET webmasters In-Reply-To: <200207302205.g6UM53P41241@slipdisc.virul.net> References: <200207302205.g6UM53P41241@slipdisc.virul.net> Message-ID: <20020730210131.4df9e1e9.nyphp@altunergil.com> What does this have to do with appreciating open source ? Although I will not speculate whether some person received some degrading email from a php.net webmaster (by the way I still do not see any email. for all I care there's no email), I don't see this as biting the hand that feeds you. PHP.net people are human beings just like you and me and their actions and attitudes can be discussed just like any body else's. Hypothetically speaking.. had there been an email of the said type, the person receiving the email would be very much entitled to be pissed. This has nothing to do with one's appreciation of or commitment to open source software or the community. And what kind of ignorence is it to suggest not using the language if you don't like the creators or contributors of PHP? If things worked that way nobody would be using qmail or even openssh. You mention you know several of the PHP developers and that they wouldn't mind if somebody chooses not to use PHP over the impoliteness of a php.net webmaster. I would very much like to think otherwise. If there are no users, there is no community. Without the community there will be no PHP (or any other community dependend software or concept for that matter). Oktay Altunergil On Tue, 30 Jul 2002 18:05:03 -0400 Kyle Tuskey wrote: > If any of you have a problem with the creators or contributors to PHP, > then don't use the language. I know several of them, and I'm sure they > won't mind. It's like you people are biting the hand that feeds you. > You're ungrateful and shouldn't be using open source if you don't > appreciate it. > > -Kyle > > -----Original Message----- > From: Jeremy Hise [mailto:jhise at linuxforbusiness.org] > Sent: Tuesday, July 30, 2002 5:46 PM > To: NYPHP Talk > Subject: RE: [nycphp-talk] PHP.NET webmasters > > If people have a difficult time working for no money. Then they > shouldn't. > > > On Tue, 2002-07-30 at 17:01, Kyle Tuskey wrote: > > Can we all stop crying for a few moments to recognize how much time > the > > people that work on the site and documentation take out of their lives > > for no money? If you have a problem with it then join the team and > help > > them, otherwise stop bitching. As for the bug system... the open-srm > > crew was working on Bubar, a new bug system, for php.net. I worked on > > it a bit with them, but time constraints didn't allow much of my time. > > Last I heard Derrick and Jani had put the application on hold, until > > time there was more time available. > > > > > > -Kyle > > > > > > -----Original Message----- > > From: George Herson [mailto:gherson at snet.net] > > Sent: Tuesday, July 30, 2002 4:31 PM > > To: NYPHP Talk > > Subject: Re: [nycphp-talk] PHP.NET webmasters > > > > yes, the fascist php.net people (and zend i must say) have left me > > wistful for a > > generous Larry Wall (or Hans Z. :) character, or even a benevolent > > dictator. > > > > php.net webmasters ignore 100% of my suggestions and questions which > is > > their > > right, but you've got to warn your users if your bug reporting system > is > > > > connected to a Usenet, as in permanently archived, mailing list. > That's > > bad > > when you've packed the report full of personal contact info like i > did. > > Hopefully they fixed it. I did let Rasmus Lerdorf know a couple times > > about it. > > > > I also couldn't understand how they could add commands to the language > > w/o > > having a better definition of what it actually did. Surely the person > > who > > implemented the command/function could have provided a decent > > description with > > example. Lately the site has obviously fleshed-out, however. > > > > george > > > > nyphp at jimbishop.org wrote: > > > has anyone else had the displeasure of speaking to anyone on the > > > webmaster's list for php.net? i sent them some mail this morning > > where i > > > outlined a problem i had finding some documentation on monday, and > > they > > > went psycho, insinuating that i can't read and all kinds of > > > nonsense. they were really rude. > > > > > > has anyone else had this experience? > > > > > > jim.bishop > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > From mogmios at mlug.missouri.edu Tue Jul 30 21:23:21 2002 From: mogmios at mlug.missouri.edu (Michael) Date: Tue, 30 Jul 2002 20:23:21 -0500 (CDT) Subject: [nycphp-talk] PHP.NET webmasters In-Reply-To: <200207310101.g6V11lP42258@slipdisc.virul.net> Message-ID: Every one I've talked to that is anyone major with PHP or Zend has seemed decent and helpful as long as I didn't ask stupid questions. They seem to follow the rule that every other large project follows.. ask the right person the right question. High level people get bombed with tons of questions, suggestions, dumb ideas, good ideas, etc and tend to get tired. Sometimes they will respond in ways that aren't really nice (and sometimes they apologize especially if you prove not to be an idiot) but you just have to remember that they are frequently exhausted and grumpy from spending so much time doing what you really want them to be doing anyway. Coding, writing docs, etc. ;) Try asking someone further down the chain. If it needs to come to the attention of someone higher you'll typically be directed to the right person. Works that way in almost any large project. Don't dream it. Be it. ;):):-):):-):):-)8') Michael McGlothlin http://kavlon.org/projects/ On Tue, 30 Jul 2002, Oktay Altunergil wrote: > What does this have to do with appreciating open source ? Although I will not speculate whether some person received some degrading email from a php.net webmaster (by the way I still do not see any email. for all I care there's no email), I don't see this as biting the hand that feeds you. PHP.net people are human beings just like you and me and their actions and attitudes can be discussed just like any body else's. > > Hypothetically speaking.. had there been an email of the said type, the person receiving the email would be very much entitled to be pissed. This has nothing to do with one's appreciation of or commitment to open source software or the community. > > And what kind of ignorence is it to suggest not using the language if you don't like the creators or contributors of PHP? If things worked that way nobody would be using qmail or even openssh. > > You mention you know several of the PHP developers and that they wouldn't mind if somebody chooses not to use PHP over the impoliteness of a php.net webmaster. I would very much like to think otherwise. If there are no users, there is no community. Without the community there will be no PHP (or any other community dependend software or concept for that matter). > > > Oktay Altunergil > > On Tue, 30 Jul 2002 18:05:03 -0400 > Kyle Tuskey wrote: > > > If any of you have a problem with the creators or contributors to PHP, > > then don't use the language. I know several of them, and I'm sure they > > won't mind. It's like you people are biting the hand that feeds you. > > You're ungrateful and shouldn't be using open source if you don't > > appreciate it. > > > > -Kyle > > > > -----Original Message----- > > From: Jeremy Hise [mailto:jhise at linuxforbusiness.org] > > Sent: Tuesday, July 30, 2002 5:46 PM > > To: NYPHP Talk > > Subject: RE: [nycphp-talk] PHP.NET webmasters > > > > If people have a difficult time working for no money. Then they > > shouldn't. > > > > > > On Tue, 2002-07-30 at 17:01, Kyle Tuskey wrote: > > > Can we all stop crying for a few moments to recognize how much time > > the > > > people that work on the site and documentation take out of their lives > > > for no money? If you have a problem with it then join the team and > > help > > > them, otherwise stop bitching. As for the bug system... the open-srm > > > crew was working on Bubar, a new bug system, for php.net. I worked on > > > it a bit with them, but time constraints didn't allow much of my time. > > > Last I heard Derrick and Jani had put the application on hold, until > > > time there was more time available. > > > > > > > > > -Kyle > > > > > > > > > -----Original Message----- > > > From: George Herson [mailto:gherson at snet.net] > > > Sent: Tuesday, July 30, 2002 4:31 PM > > > To: NYPHP Talk > > > Subject: Re: [nycphp-talk] PHP.NET webmasters > > > > > > yes, the fascist php.net people (and zend i must say) have left me > > > wistful for a > > > generous Larry Wall (or Hans Z. :) character, or even a benevolent > > > dictator. > > > > > > php.net webmasters ignore 100% of my suggestions and questions which > > is > > > their > > > right, but you've got to warn your users if your bug reporting system > > is > > > > > > connected to a Usenet, as in permanently archived, mailing list. > > That's > > > bad > > > when you've packed the report full of personal contact info like i > > did. > > > Hopefully they fixed it. I did let Rasmus Lerdorf know a couple times > > > about it. > > > > > > I also couldn't understand how they could add commands to the language > > > w/o > > > having a better definition of what it actually did. Surely the person > > > who > > > implemented the command/function could have provided a decent > > > description with > > > example. Lately the site has obviously fleshed-out, however. > > > > > > george > > > > > > nyphp at jimbishop.org wrote: > > > > has anyone else had the displeasure of speaking to anyone on the > > > > webmaster's list for php.net? i sent them some mail this morning > > > where i > > > > outlined a problem i had finding some documentation on monday, and > > > they > > > > went psycho, insinuating that i can't read and all kinds of > > > > nonsense. they were really rude. > > > > > > > > has anyone else had this experience? > > > > > > > > jim.bishop > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > From mogmios at mlug.missouri.edu Tue Jul 30 21:37:39 2002 From: mogmios at mlug.missouri.edu (Michael) Date: Tue, 30 Jul 2002 20:37:39 -0500 (CDT) Subject: [nycphp-talk] single entry point In-Reply-To: <200207301425.g6UEPpP39415@slipdisc.virul.net> Message-ID: I'll step out on a limb and disagree with the others that responded to your message. I've written some very large PHP-based sites and from my experiences I've learned to base any sites of any size off a moduler single entry point design. For an example of the framework I created for my own use try http://freshmeat.net/projects/kfl/ and see my newest version. I do not suggest that using a single entry point design is reasonable for every project. Small sites don't really benefit from the more structured design. Also a single entry point site can be designed totally without enternal structure which is just a mess. It can also be beneficial to have several 'single entry points' to group modules as is practical for your problem domain. As someone else said templates are a good design choice for use with single entry points. IMO so are object oriented modules. Good object oriented design will make it easier to maintain security and maintainability as the site growsbut by no means will do your job for you. There is no reason why search engines won't or can't spider as deep as you want even with a single entry point. It's a pretty easy trick to pass PHP arguments in the URL path. For example index.php?module=logon can be done as index.php/module/logon or just index.php/logon if you wanted.. hiding the fact that the requested files are dynamic from the search engines. > As a fairly new PHP developer, I'm wrestling with not only learning the > lingo, but also attempting to discover best practice. When I was first > faced with ASP when ASP was first introduced I made the design snafu of > developing my first small page as a single page. Login, login validation, > form entry, form validation and submission, and submission response all > rolled up into 1 .asp file. While it was great for this 1 small app ( more > of an applet ), when the client wanted to add more stuff it required > re-arranging the app splitting it up, figuring out the then flawed > response.redirect etc. It then required adding to the top of each page the > security checks to ensure the user was logged in etc. ( of course added as > an include ). > > Well to make a short story long, I encountered an ASP app written by another > programmer which I was inheriting which used a single entry point( > everything went through default.asp ( ASP's equivalent of index.php ) ). He > used an encrypted querystring parameter to key the ASP file as to which page > was really required & then using a case statement included the necessary > files. He must not have been aware of ASP's static include, all includes > are included regardless of control logic around the include. I did think > the solution to be rather elegant, hiding the implementation from the user > by only exposing 1 page. Later as I developed it I even moved the encrypted > parameter to a hidden form field to even hide that part of the > implementation. > > I've seen a few PHP apps floating around that use a similar design. In PHP > the obvious advantage over the ASP version is the dynamic include ( include > based on the surounding logic ). I'm interested to get the opinion of more > experienced PHP developers on this single entry point design. I realize > this design will not allow search engines to index more than the entry > point, but I'm developing in an extranet environment where search engines > are not desired anyway. > > I think one of the things that draws me to this solution is the ease of > security checks and forcing a specific modality ( ie. stopping the browsers > back button & ensuring a specific work flow where required ). > > Please let me know your opinion on this. > > Jim > > _____________________________________________________________ > Jim Hendricks, President, Biz Computing, Inc > Phone: (201) 599-9380 Email: jim at bizcomputinginc.com > Web: www.bizcomputinginc.com > Snail: Jim Hendricks, Biz Computing, Inc., 255 McKinley Ave, New Milford, > NJ 07646 > ______________________________________________________________ > > > > From nyphp at altunergil.com Tue Jul 30 21:49:17 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Tue, 30 Jul 2002 21:49:17 -0400 Subject: [nycphp-talk] single entry point In-Reply-To: <200207310137.g6V1bhP42494@slipdisc.virul.net> References: <200207310137.g6V1bhP42494@slipdisc.virul.net> Message-ID: <20020730214917.4652983c.nyphp@altunergil.com> As one of the disaggreing people :), I'd like to mention again that there's no automatic security advantage to designing a site with a single entry point that I can think of. Oktay On Tue, 30 Jul 2002 21:37:43 -0400 Michael wrote: > I'll step out on a limb and disagree with the others that responded to > your message. I've written some very large PHP-based sites and from my > experiences I've learned to base any sites of any size off a moduler > single entry point design. For an example of the framework I created for > my own use try http://freshmeat.net/projects/kfl/ and see my newest > version. > > I do not suggest that using a single entry point design is reasonable for > every project. Small sites don't really benefit from the more structured > design. Also a single entry point site can be designed totally without > enternal structure which is just a mess. It can also be beneficial to have > several 'single entry points' to group modules as is practical for your > problem domain. > > As someone else said templates are a good design choice for use with > single entry points. IMO so are object oriented modules. Good object > oriented design will make it easier to maintain security and > maintainability as the site growsbut by no means will do your job for you. > > There is no reason why search engines won't or can't spider as deep as you > want even with a single entry point. It's a pretty easy trick to pass PHP > arguments in the URL path. For example index.php?module=logon can be done > as index.php/module/logon or just index.php/logon if you wanted.. hiding > the fact that the requested files are dynamic from the search engines. > > > > As a fairly new PHP developer, I'm wrestling with not only learning the > > lingo, but also attempting to discover best practice. When I was first > > faced with ASP when ASP was first introduced I made the design snafu of > > developing my first small page as a single page. Login, login validation, > > form entry, form validation and submission, and submission response all > > rolled up into 1 .asp file. While it was great for this 1 small app ( more > > of an applet ), when the client wanted to add more stuff it required > > re-arranging the app splitting it up, figuring out the then flawed > > response.redirect etc. It then required adding to the top of each page the > > security checks to ensure the user was logged in etc. ( of course added as > > an include ). > > > > Well to make a short story long, I encountered an ASP app written by another > > programmer which I was inheriting which used a single entry point( > > everything went through default.asp ( ASP's equivalent of index.php ) ). He > > used an encrypted querystring parameter to key the ASP file as to which page > > was really required & then using a case statement included the necessary > > files. He must not have been aware of ASP's static include, all includes > > are included regardless of control logic around the include. I did think > > the solution to be rather elegant, hiding the implementation from the user > > by only exposing 1 page. Later as I developed it I even moved the encrypted > > parameter to a hidden form field to even hide that part of the > > implementation. > > > > I've seen a few PHP apps floating around that use a similar design. In PHP > > the obvious advantage over the ASP version is the dynamic include ( include > > based on the surounding logic ). I'm interested to get the opinion of more > > experienced PHP developers on this single entry point design. I realize > > this design will not allow search engines to index more than the entry > > point, but I'm developing in an extranet environment where search engines > > are not desired anyway. > > > > I think one of the things that draws me to this solution is the ease of > > security checks and forcing a specific modality ( ie. stopping the browsers > > back button & ensuring a specific work flow where required ). > > > > Please let me know your opinion on this. > > > > Jim > > > > _____________________________________________________________ > > Jim Hendricks, President, Biz Computing, Inc > > Phone: (201) 599-9380 Email: jim at bizcomputinginc.com > > Web: www.bizcomputinginc.com > > Snail: Jim Hendricks, Biz Computing, Inc., 255 McKinley Ave, New Milford, > > NJ 07646 > > ______________________________________________________________ > > > > > > > > > > From mogmios at mlug.missouri.edu Tue Jul 30 22:01:51 2002 From: mogmios at mlug.missouri.edu (Michael) Date: Tue, 30 Jul 2002 21:01:51 -0500 (CDT) Subject: [nycphp-talk] single entry point In-Reply-To: <200207310149.g6V1nPP42581@slipdisc.virul.net> Message-ID: I'd say it's more of a design issue. The fewer possible places to leave something out the fewer places you have to audit before you're sure security is working. I've worked on sites that had been written over a couple years time by dozens of programmers with dozens of modules and nothing ever documented and so forth. Security was a nightmare to ensure. By putting it all under the same tent to begin with then at least you can ensure that security is working unless someone specificly disabled it. > As one of the disaggreing people :), I'd like to mention again that > there's no automatic security advantage to designing a site with a > single entry point that I can think of. > > I'll step out on a limb and disagree with the others that responded to > > your message. I've written some very large PHP-based sites and from my > > experiences I've learned to base any sites of any size off a moduler > > single entry point design. For an example of the framework I created for > > my own use try http://freshmeat.net/projects/kfl/ and see my newest > > version. > > > > I do not suggest that using a single entry point design is reasonable for > > every project. Small sites don't really benefit from the more structured > > design. Also a single entry point site can be designed totally without > > enternal structure which is just a mess. It can also be beneficial to have > > several 'single entry points' to group modules as is practical for your > > problem domain. > > > > As someone else said templates are a good design choice for use with > > single entry points. IMO so are object oriented modules. Good object > > oriented design will make it easier to maintain security and > > maintainability as the site growsbut by no means will do your job for you. > > > > There is no reason why search engines won't or can't spider as deep as you > > want even with a single entry point. It's a pretty easy trick to pass PHP > > arguments in the URL path. For example index.php?module=logon can be done > > as index.php/module/logon or just index.php/logon if you wanted.. hiding > > the fact that the requested files are dynamic from the search engines. > > > > > > > As a fairly new PHP developer, I'm wrestling with not only learning the > > > lingo, but also attempting to discover best practice. When I was first > > > faced with ASP when ASP was first introduced I made the design snafu of > > > developing my first small page as a single page. Login, login validation, > > > form entry, form validation and submission, and submission response all > > > rolled up into 1 .asp file. While it was great for this 1 small app ( more > > > of an applet ), when the client wanted to add more stuff it required > > > re-arranging the app splitting it up, figuring out the then flawed > > > response.redirect etc. It then required adding to the top of each page the > > > security checks to ensure the user was logged in etc. ( of course added as > > > an include ). > > > > > > Well to make a short story long, I encountered an ASP app written by another > > > programmer which I was inheriting which used a single entry point( > > > everything went through default.asp ( ASP's equivalent of index.php ) ). He > > > used an encrypted querystring parameter to key the ASP file as to which page > > > was really required & then using a case statement included the necessary > > > files. He must not have been aware of ASP's static include, all includes > > > are included regardless of control logic around the include. I did think > > > the solution to be rather elegant, hiding the implementation from the user > > > by only exposing 1 page. Later as I developed it I even moved the encrypted > > > parameter to a hidden form field to even hide that part of the > > > implementation. > > > > > > I've seen a few PHP apps floating around that use a similar design. In PHP > > > the obvious advantage over the ASP version is the dynamic include ( include > > > based on the surounding logic ). I'm interested to get the opinion of more > > > experienced PHP developers on this single entry point design. I realize > > > this design will not allow search engines to index more than the entry > > > point, but I'm developing in an extranet environment where search engines > > > are not desired anyway. > > > > > > I think one of the things that draws me to this solution is the ease of > > > security checks and forcing a specific modality ( ie. stopping the browsers > > > back button & ensuring a specific work flow where required ). > > > > > > Please let me know your opinion on this. > > > > > > Jim > > > > > > _____________________________________________________________ > > > Jim Hendricks, President, Biz Computing, Inc > > > Phone: (201) 599-9380 Email: jim at bizcomputinginc.com > > > Web: www.bizcomputinginc.com > > > Snail: Jim Hendricks, Biz Computing, Inc., 255 McKinley Ave, New Milford, > > > NJ 07646 > > > ______________________________________________________________ > > > > > > > > > > > > > > > > > From mxw65 at yahoo.com Wed Jul 31 09:50:26 2002 From: mxw65 at yahoo.com (Mike West) Date: Wed, 31 Jul 2002 06:50:26 -0700 (PDT) Subject: [nycphp-talk] single entry point In-Reply-To: <200207310137.g6V1bhP42494@slipdisc.virul.net> Message-ID: <20020731135026.2909.qmail@web13504.mail.yahoo.com> This is quite right and accurate im my experience. Building objects has, in my experience, been even more helpful than a single entry point. --- Michael wrote: >... I've learned to base any sites of any size off a moduler > single entry point design... > > I do not suggest that using a single entry point design is reasonable for > every project. Small sites don't really benefit from the more structured > design. Also a single entry point site can be designed totally without > enternal structure which is just a mess. It can also be beneficial to have > several 'single entry points' to group modules as is practical for your > problem domain. > > As someone else said templates are a good design choice for use with > single entry points. IMO so are object oriented modules. Good object > oriented design will make it easier to maintain security and > maintainability as the site growsbut by no means will do your job for you. > > There is no reason why search engines won't or can't spider as deep as you > want even with a single entry point. It's a pretty easy trick to pass PHP > arguments in the URL path. For example index.php?module=logon can be done > as index.php/module/logon or just index.php/logon if you wanted.. hiding > the fact that the requested files are dynamic from the search engines. > > > > As a fairly new PHP developer, I'm wrestling with not only learning the > > lingo, but also attempting to discover best practice. When I was first > > faced with ASP when ASP was first introduced I made the design snafu of > > developing my first small page as a single page. Login, login validation, > > form entry, form validation and submission, and submission response all > > rolled up into 1 .asp file. While it was great for this 1 small app ( more > > of an applet ), when the client wanted to add more stuff it required > > re-arranging the app splitting it up, figuring out the then flawed > > response.redirect etc. It then required adding to the top of each page the > > security checks to ensure the user was logged in etc. ( of course added as > > an include ). > > > > Well to make a short story long, I encountered an ASP app written by > another > > programmer which I was inheriting which used a single entry point( > > everything went through default.asp ( ASP's equivalent of index.php ) ). > He > > used an encrypted querystring parameter to key the ASP file as to which > page > > was really required & then using a case statement included the necessary > > files. He must not have been aware of ASP's static include, all includes > > are included regardless of control logic around the include. I did think > > the solution to be rather elegant, hiding the implementation from the user > > by only exposing 1 page. Later as I developed it I even moved the > encrypted > > parameter to a hidden form field to even hide that part of the > > implementation. > > > > I've seen a few PHP apps floating around that use a similar design. In PHP > > the obvious advantage over the ASP version is the dynamic include ( include > > based on the surounding logic ). I'm interested to get the opinion of more > > experienced PHP developers on this single entry point design. I realize > > this design will not allow search engines to index more than the entry > > point, but I'm developing in an extranet environment where search engines > > are not desired anyway. > > > > I think one of the things that draws me to this solution is the ease of > > security checks and forcing a specific modality ( ie. stopping the browsers > > back button & ensuring a specific work flow where required ). > > > > Please let me know your opinion on this. > > > > Jim > > > > _____________________________________________________________ > > Jim Hendricks, President, Biz Computing, Inc > > Phone: (201) 599-9380 Email: jim at bizcomputinginc.com > > Web: www.bizcomputinginc.com > > Snail: Jim Hendricks, Biz Computing, Inc., 255 McKinley Ave, New > Milford, > > NJ 07646 > > ______________________________________________________________ > > > > > > > > > > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From zala007 at hotmail.com Wed Jul 31 09:55:20 2002 From: zala007 at hotmail.com (Anirudh Zala) Date: Wed, 31 Jul 2002 13:55:20 +0000 Subject: [nycphp-talk] single entry point Message-ID: All are right at their point if view.. Bcoz security depneds upon type of application, Session management capapbility of script and coding. u may include as many as files as u need due to php's powerful inclusion facility. And can place your security checking in those special files or session which doesn't contain any html tags hence user or hackers can't track it. But as told above it depends upon application type and coding, we can atleast sepearte main security checing and data displying in forms. Hence single entry is not that much useful in all type of application.. Jim is quite right about his point.."using single entry suytem in all projects." Thanks Anirudh Zala >From: Michael >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: Re: [nycphp-talk] single entry point >Date: Tue, 30 Jul 2002 21:37:43 -0400 >Received: from mc1-f7.law16.hotmail.com ([65.54.236.14]) by >mc1-s10.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Tue, 30 >Jul 2002 18:45:48 -0700 >Received: from slipdisc.virul.net ([66.114.66.188]) by >mc1-f7.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Tue, 30 Jul >2002 18:43:54 -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 g6V1bhP42494;Tue, 30 Jul >2002 21:37:43 -0400 (EDT)(envelope-from listmaster at nyphp.org) >Message-Id: <200207310137.g6V1bhP42494 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: 31 Jul 2002 01:43:54.0505 (UTC) >FILETIME=[BA9BB790:01C23833] > >I'll step out on a limb and disagree with the others that responded to >your message. I've written some very large PHP-based sites and from my >experiences I've learned to base any sites of any size off a moduler >single entry point design. For an example of the framework I created for >my own use try http://freshmeat.net/projects/kfl/ and see my newest >version. > >I do not suggest that using a single entry point design is reasonable for >every project. Small sites don't really benefit from the more structured >design. Also a single entry point site can be designed totally without >enternal structure which is just a mess. It can also be beneficial to have >several 'single entry points' to group modules as is practical for your >problem domain. > >As someone else said templates are a good design choice for use with >single entry points. IMO so are object oriented modules. Good object >oriented design will make it easier to maintain security and >maintainability as the site growsbut by no means will do your job for you. > >There is no reason why search engines won't or can't spider as deep as you >want even with a single entry point. It's a pretty easy trick to pass PHP >arguments in the URL path. For example index.php?module=logon can be done >as index.php/module/logon or just index.php/logon if you wanted.. hiding >the fact that the requested files are dynamic from the search engines. > > > > As a fairly new PHP developer, I'm wrestling with not only learning the > > lingo, but also attempting to discover best practice. When I was first > > faced with ASP when ASP was first introduced I made the design snafu of > > developing my first small page as a single page. Login, login >validation, > > form entry, form validation and submission, and submission response all > > rolled up into 1 .asp file. While it was great for this 1 small app ( >more > > of an applet ), when the client wanted to add more stuff it required > > re-arranging the app splitting it up, figuring out the then flawed > > response.redirect etc. It then required adding to the top of each page >the > > security checks to ensure the user was logged in etc. ( of course added >as > > an include ). > > > > Well to make a short story long, I encountered an ASP app written by >another > > programmer which I was inheriting which used a single entry point( > > everything went through default.asp ( ASP's equivalent of index.php ) ). > He > > used an encrypted querystring parameter to key the ASP file as to which >page > > was really required & then using a case statement included the necessary > > files. He must not have been aware of ASP's static include, all >includes > > are included regardless of control logic around the include. I did >think > > the solution to be rather elegant, hiding the implementation from the >user > > by only exposing 1 page. Later as I developed it I even moved the >encrypted > > parameter to a hidden form field to even hide that part of the > > implementation. > > > > I've seen a few PHP apps floating around that use a similar design. In >PHP > > the obvious advantage over the ASP version is the dynamic include ( >include > > based on the surounding logic ). I'm interested to get the opinion of >more > > experienced PHP developers on this single entry point design. I realize > > this design will not allow search engines to index more than the entry > > point, but I'm developing in an extranet environment where search >engines > > are not desired anyway. > > > > I think one of the things that draws me to this solution is the ease of > > security checks and forcing a specific modality ( ie. stopping the >browsers > > back button & ensuring a specific work flow where required ). > > > > Please let me know your opinion on this. > > > > Jim > > > > _____________________________________________________________ > > Jim Hendricks, President, Biz Computing, Inc > > Phone: (201) 599-9380 Email: jim at bizcomputinginc.com > > Web: www.bizcomputinginc.com > > Snail: Jim Hendricks, Biz Computing, Inc., 255 McKinley Ave, New >Milford, > > NJ 07646 > > ______________________________________________________________ > > > > > > > > _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From ben at tanjero.com Wed Jul 31 12:41:25 2002 From: ben at tanjero.com (Benjamin Stiglitz) Date: Wed, 31 Jul 2002 12:41:25 -0400 Subject: [nycphp-talk] single entry point In-Reply-To: <200207311350.g6VDoVP45913@slipdisc.virul.net> Message-ID: <5A9377E0-A4A4-11D6-A824-00039396A660@tanjero.com> On Wednesday, July 31, 2002, at 09:50 AM, Mike West wrote: > This is quite right and accurate im my experience. Building objects > has, in my experience, been even more helpful than a single entry point. I definitely agree. This is what we tried to achieve here at Tanjero with Jawa. The beauty of using objects in the concept of inheritance. Normal page functionality is inherited from base classes. As long as the public interface doesn't change, it doesn't matter how we implement any one feature; if we want our pages to be output in WML instead of HTML, we only have to change it in one place. Authenticated pages are a just a subclass, etc... Of course, objects aren't very useful without planning. The first thing we did was create a class map, which has now become a terrifying graph of objects will all sorts of lines connecting objects. Easy it wasn't; however, it's paid off quite a bit. Thank you, Benjamin Stiglitz Tanjero ben at tanjero.com From mogmios at mlug.missouri.edu Wed Jul 31 15:00:52 2002 From: mogmios at mlug.missouri.edu (Michael) Date: Wed, 31 Jul 2002 14:00:52 -0500 (CDT) Subject: [nycphp-talk] single entry point In-Reply-To: <200207311641.g6VGfWP46139@slipdisc.virul.net> Message-ID: A real selling point for me for using object oriented design for a website is the ability to easily embed one pages functionality inside of another. For example you can have a login page and include it as a login box in other pages without recoding much of anything. The data all goes through the same checks, is handled in exactly the sameway, etc. It seems a small thing but as you get into complicated modules it can be a major benefit. You can achieve some major code resue even between multiple sites. Don't dream it. Be it. ;):):-):):-):):-)8') Michael McGlothlin http://kavlon.org/projects/ On Wed, 31 Jul 2002, Benjamin Stiglitz wrote: > On Wednesday, July 31, 2002, at 09:50 AM, Mike West wrote: > > This is quite right and accurate im my experience. Building objects > > has, in my experience, been even more helpful than a single entry point. > > I definitely agree. This is what we tried to achieve here at Tanjero > with Jawa. The beauty of using objects in the concept of inheritance. > Normal page functionality is inherited from base classes. As long as the > public interface doesn't change, it doesn't matter how we implement any > one feature; if we want our pages to be output in WML instead of HTML, > we only have to change it in one place. Authenticated pages are a just a > subclass, etc... > > Of course, objects aren't very useful without planning. The first thing > we did was create a class map, which has now become a terrifying graph > of objects will all sorts of lines connecting objects. Easy it wasn't; > however, it's paid off quite a bit. > > Thank you, > Benjamin Stiglitz > Tanjero > ben at tanjero.com > > From dorgan at optonline.net Wed Jul 31 15:48:24 2002 From: dorgan at optonline.net (dorgan at optonline.net) Date: Wed, 31 Jul 2002 19:48:24 +0000 (Eastern) Subject: Using PEAR with ISS/PHP 4.22 Message-ID: <0H05001QB0NGN8@mta8.srv.hcvlny.cv.net> I have the entire php 4.22 zip package i was just wondering how to setup PEAR if I had to edit the php.ini file and add in an include line or something if some1 could back to me as soon as possible it would be greatly appreciated.