From evan.heller at alum.rpi.edu Sun Dec 1 21:28:01 2002 From: evan.heller at alum.rpi.edu (evan heller) Date: Sun, 01 Dec 2002 21:28:01 -0500 Subject: PHP 4.3RC2 Module and Apache 2.0 revisited References: <200211261928.gAQJSFkh089965@parsec.nyphp.org> Message-ID: <3DEAC531.3A2372C1@alum.rpi.edu> Hi: Does anyone know why apache would corrupt files over a few K. I am running Apache 2.0 with php as a module and with virtual hosts. The upload directory is set correctly and I'm running with the open_basedir and safemode on. Any thoughts or ideas why images would be corrupted. For example, I have the system output bad data and it says that a file sized: 63,887 bytes gets uploaded as 113,231 bytes?? Anyhow, I'm confused why this would happen. Any help would be of great assistance. -Evan -- Evan Heller evan.heller at alum.rpi.edu From danielc at analysisandsolutions.com Sun Dec 1 21:37:56 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Sun, 1 Dec 2002 21:37:56 -0500 Subject: [nycphp-talk] PHP 4.3RC2 Module and Apache 2.0 revisited In-Reply-To: <200212020230.gB22UQkh030877@parsec.nyphp.org> References: <200212020230.gB22UQkh030877@parsec.nyphp.org> Message-ID: <20021202023755.GA14286@panix.com> Hey Evan: > Does anyone know why apache would corrupt files > over a few K. I am running Apache 2.0 with php as > a module and with virtual hosts. Beats me, but the PHP crew has been telling folks not to use PHP with Apache 2 at this point (well, at least when I last heard a few months ago) since it's still in major development mode. Use the latest Apache 1.3.x and you'll be happy. --Dan -- The new Department of Homeland Security is exempt from: * the Freedom of Information Act * procurement rules * labor collective bargaining * whistle blower protection The real goal? Eliminating government accountability. From evan.heller at alum.rpi.edu Sun Dec 1 21:49:19 2002 From: evan.heller at alum.rpi.edu (evan heller) Date: Sun, 01 Dec 2002 21:49:19 -0500 Subject: [nycphp-talk] PHP 4.3RC2 Module and Apache 2.0 revisited References: <200212020238.gB22c1kh030919@parsec.nyphp.org> Message-ID: <3DEACA2F.3E40E8A0@alum.rpi.edu> Sadly on windows 2000 I don't dare use apache 1.3 branch. It really does suck on windows but that's what I'm bound to for now. I think I have figured out the problem and tracked it down to an obscure bug. I've spent probably 20-30 hours trying to find this bug but it seems like if you use: SetOutputFilter PHP SetInputFilter PHP it will cause any file uploaded over 8500 bytes to corrupt. Weird huh? Well, I'm off to do more testing to see if this fix by removing those lines works. -Evan Analysis & Solutions wrote: > > Hey Evan: > > > Does anyone know why apache would corrupt files > > over a few K. I am running Apache 2.0 with php as > > a module and with virtual hosts. > > Beats me, but the PHP crew has been telling folks not to use PHP with > Apache 2 at this point (well, at least when I last heard a few months > ago) since it's still in major development mode. > > Use the latest Apache 1.3.x and you'll be happy. > > --Dan > > -- > The new Department of Homeland Security is exempt from: > * the Freedom of Information Act * procurement rules > * labor collective bargaining * whistle blower protection > The real goal? Eliminating government accountability. > > --- Unsubscribe at http://nyphp.org/list/ --- -- Evan Heller evan.heller at alum.rpi.edu From sterling at bumblebury.com Sun Dec 1 22:16:51 2002 From: sterling at bumblebury.com (Sterling Hughes) Date: Sun, 1 Dec 2002 22:16:51 -0500 Subject: [nycphp-talk] PHP 4.3RC2 Module and Apache 2.0 revisited In-Reply-To: <200212020238.gB22c1kh030919@parsec.nyphp.org> References: <200212020238.gB22c1kh030919@parsec.nyphp.org> Message-ID: <20021202031651.GA28616@bumblebury.com> > Hey Evan: > > > Does anyone know why apache would corrupt files > > over a few K. I am running Apache 2.0 with php as > > a module and with virtual hosts. > > Beats me, but the PHP crew has been telling folks not to use PHP with > Apache 2 at this point (well, at least when I last heard a few months > ago) since it's still in major development mode. > > Use the latest Apache 1.3.x and you'll be happy. > Rasmus has been telling people not to use Apache 2, period, everybody else pretty much stays out of that holy war ;-) PHP and Apache2 is pretty much stable from a PHP perspective - the major architectural difference is that Apache 2 supports a threaded model instead of a multi-process model, which means that everything that links into Apache2 must be threadsafe. This therefore means that everything that links into php must also be threadsafe, if you are using libraries that aren't threadsafe, then you're messed up. So, when using Apache 2, you can't use the threadsafe model, but using the multi-process model should be fine. [1] In this case :) I don't think this is a php issue, or an apache 2 issue (its running quite stably on large sites like download.com that serve many files above a few K :), I'd take a look at what exactly is happening with these files - are you locking reads & writes? What are the permissions? Are the files themselves messed up - or is it just the display? Are you properly setting mime types, etc. etc. etc. -Sterling [1] It also has a few other problems, such as messed up content transfer encoding, and a rapidly changing filter model, but those would not be related.... > --Dan > > -- > The new Department of Homeland Security is exempt from: > * the Freedom of Information Act * procurement rules > * labor collective bargaining * whistle blower protection > The real goal? Eliminating government accountability. > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From sterling at bumblebury.com Sun Dec 1 22:18:40 2002 From: sterling at bumblebury.com (Sterling Hughes) Date: Sun, 1 Dec 2002 22:18:40 -0500 Subject: [nycphp-talk] PHP 4.3RC2 Module and Apache 2.0 revisited In-Reply-To: <200212020251.gB22pekh030998@parsec.nyphp.org> References: <200212020251.gB22pekh030998@parsec.nyphp.org> Message-ID: <20021202031840.GB28616@bumblebury.com> > Sadly on windows 2000 I don't dare use apache 1.3 > branch. It really does suck on windows but that's > what I'm bound to for now. I think I have figured > out the problem and tracked it down to an obscure > bug. I've spent probably 20-30 hours trying to > find this bug but it seems like if you use: > > > SetOutputFilter PHP > SetInputFilter PHP > > > it will cause any file uploaded over 8500 bytes to > corrupt. Weird huh? Well, I'm off to do more > testing to see if this fix by removing those lines > works. > A note on this, this is not how you should be handling PHP with Apache 2.0, you should be using MIME types... -Sterling From hans at nyphp.org Sun Dec 1 23:14:09 2002 From: hans at nyphp.org (Hans Zaunere) Date: Sun, 1 Dec 2002 20:14:09 -0800 (PST) Subject: [nycphp-talk] PHP 4.3RC2 Module and Apache 2.0 revisited In-Reply-To: <200212020230.gB22UQkh030877@parsec.nyphp.org> Message-ID: <20021202041409.97346.qmail@web12803.mail.yahoo.com> --- evan heller wrote: > Hi: > > Does anyone know why apache would corrupt files > over a few K. I am running Apache 2.0 with php as > a module and with virtual hosts. The upload > directory is set correctly and I'm running with > the open_basedir and safemode on. As noted in other posts, be sure to run Apache 2 in it's classic prefork process model (http://httpd.apache.org/docs-2.0/mod/#core). I've had issues with threads on FreeBSD, but seems to work well on RH 7.3; no idea what the process model under Windows (mpm_winnt) means, however. Either way, AFAIK PHP isn't thread-safe yet, so go with the prefork process module. > Any thoughts or ideas why images would be > corrupted. For example, I have the system output > bad data and it says that a file sized: 63,887 > bytes gets uploaded as 113,231 bytes?? Anyhow, I'm > confused why this would happen. Any help would be > of great assistance. Although the size increase seems a bit large, this sounds like it could be a binary safety issue. UNIX doesn't make a distinction for most file operations but Windows will. Make sure you open the file properly, something like: fopen('pathtofile', 'rb') (the b is vital, as noted in the second Note at http://www.php.net/manual/en/function.fopen.php And make sure that the other functions you are using within PHP to operate on the file's data are specified as binary safe (not fgets(), but rather fread(), for example) and the Note at http://www.php.net/manual/en/function.fread.php Best, ===== Hans Zaunere New York PHP http://nyphp.org hans at nyphp.org From jonbaer at jonbaer.net Mon Dec 2 17:56:52 2002 From: jonbaer at jonbaer.net (Jon Baer) Date: Mon, 02 Dec 2002 17:56:52 -0500 Subject: Anyone buying this? Linux vs. Win2k Message-ID: <3DEBE534.3000301@jonbaer.net> http://story.news.yahoo.com/news?tmpl=story&ncid=581&e=1&cid=581&u=/nm/20021202/tc_nm/tech_microsoft_linux_dc Study: Windows Servers Cheaper Than Linux Mon Dec 2, 5:41 PM ET Add Technology - Reuters to My Yahoo! By Reed Stevenson SEATTLE (Reuters) - Microsoft Corp. (NasdaqNM:MSFT - news ), fearful of being undercut in the market for server software by free offerings based on Linux (news - web sites ), on Monday released the results of a sponsored study that concludes Windows 2000 (news - web sites ) is generally cheaper for businesses to run and support. From rainman at deroo.net Mon Dec 2 22:39:26 2002 From: rainman at deroo.net (The Rain Maker) Date: Mon, 2 Dec 2002 22:39:26 -0500 Subject: [nycphp-talk] Anyone buying this? Linux vs. Win2k In-Reply-To: <200212030314.gB33Eckh038594@parsec.nyphp.org> Message-ID: > > On Monday, December 2, 2002, at 10:14 PM, Jon Baer wrote: > > Was this more to this message I didn't get? .r From danielc at analysisandsolutions.com Mon Dec 2 22:41:38 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Mon, 2 Dec 2002 22:41:38 -0500 Subject: [nycphp-talk] Anyone buying this? Linux vs. Win2k In-Reply-To: <200212030314.gB33Eckh038594@parsec.nyphp.org> References: <200212030314.gB33Eckh038594@parsec.nyphp.org> Message-ID: <20021203034138.GA2918@panix.com> On Mon, Dec 02, 2002 at 10:14:38PM -0500, Jon Baer wrote: Uh, I ain't buyin' nutin'! 'Course, you gamme' nutin' to buy. --Dan -- The new Department of Homeland Security is exempt from: * the Freedom of Information Act * procurement rules * labor collective bargaining * whistle blower protection The real goal? Eliminating government accountability. From jonbaer at jonbaer.net Mon Dec 2 18:41:09 2002 From: jonbaer at jonbaer.net (Jon Baer) Date: Mon, 02 Dec 2002 18:41:09 -0500 Subject: [nycphp-talk] Anyone buying this? Linux vs. Win2k References: <200212030341.gB33fikh038798@parsec.nyphp.org> Message-ID: <3DEBEF95.7050603@jonbaer.net> My bad :-) http://story.news.yahoo.com/news?tmpl=story&ncid=581&e=1&cid=581&u=/nm/20021202/tc_nm/tech_microsoft_linux_dc Basically stating that Win2K is cheaper than Linux. :-\\ - Jon Analysis & Solutions wrote: >On Mon, Dec 02, 2002 at 10:14:38PM -0500, Jon Baer wrote: > >Uh, I ain't buyin' nutin'! 'Course, you gamme' nutin' to buy. > >--Dan > > > From joe_m at circlepressroom.com Mon Dec 2 23:07:59 2002 From: joe_m at circlepressroom.com (Joe M) Date: Mon, 02 Dec 2002 23:07:59 -0500 Subject: [nycphp-talk] Anyone buying this? Linux vs. Win2k In-Reply-To: <200212030358.gB33wmkh038893@parsec.nyphp.org> Message-ID: On Mon, 2 Dec 2002 22:58:48 -0500 Jon Baer wrote: >My bad :-) > >http://story.news.yahoo.com/news?tmpl=story&ncid=581&e=1&cid=581&u=/nm/20021202/tc_nm/tech_microsoft_linux_dc > >Basically stating that Win2K is cheaper than Linux. :-\\ > >- Jon > >Analysis & Solutions wrote: > >>On Mon, Dec 02, 2002 at 10:14:38PM -0500, Jon Baer wrote: >> >>Uh, I ain't buyin' nutin'! 'Course, you gamme' nutin' to >>buy. >> >>--Dan >> >> >> > > > > >--- Unsubscribe at http://nyphp.org/list/ --- > > From joe_m at circlepressroom.com Mon Dec 2 23:10:37 2002 From: joe_m at circlepressroom.com (Joe M) Date: Mon, 02 Dec 2002 23:10:37 -0500 Subject: [nycphp-talk] Anyone buying this? Linux vs. Win2k In-Reply-To: <200212030358.gB33wmkh038893@parsec.nyphp.org> Message-ID: sorry, MY bad..meant to say "ha ha!" well at least they admit as a web server linux is cheaper. what do they think most folks are using it for? joe (not a ms basher)m On Mon, 2 Dec 2002 22:58:48 -0500 Jon Baer wrote: >My bad :-) > >http://story.news.yahoo.com/news?tmpl=story&ncid=581&e=1&cid=581&u=/nm/20021202/tc_nm/tech_microsoft_linux_dc > >Basically stating that Win2K is cheaper than Linux. :-\\ > >- Jon > >Analysis & Solutions wrote: > >>On Mon, Dec 02, 2002 at 10:14:38PM -0500, Jon Baer wrote: >> >>Uh, I ain't buyin' nutin'! 'Course, you gamme' nutin' to >>buy. >> >>--Dan >> >> >> > > > > >--- Unsubscribe at http://nyphp.org/list/ --- > > From rainman at deroo.net Mon Dec 2 23:26:13 2002 From: rainman at deroo.net (The Rain Maker) Date: Mon, 2 Dec 2002 23:26:13 -0500 Subject: [nycphp-talk] Anyone buying this? Linux vs. Win2k In-Reply-To: <200212030358.gB33wmkh038893@parsec.nyphp.org> Message-ID: <5B8D44E2-0677-11D7-9EF3-0050E4E0697B@deroo.net> Jon-- > My bad :-) Eh, happens to the best of us... and the rest of us too :) > http://story.news.yahoo.com/news?tmpl=story&ncid=581&e=1&cid=581&u=/ > nm/20021202/tc_nm/tech_microsoft_linux_dc > > Basically stating that Win2K is cheaper than Linux. :-\\ And if I buy a commercial I can say just about anything I want too. Now, I'm not here to start/get into an OS war (Yes, I am a Linux bigot). However I will make the following observation. I debated though high school, then went to college on a scholarship for debate. After nearly 10 years of debating if I learned nothing, it was the truism "Statistics lie." In so much that you can turn to support your side/point/belief just as easily as your opponent can. Those who wish to get into a urination contest, go find a different stall... .r From danielc at analysisandsolutions.com Mon Dec 2 23:55:12 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Mon, 2 Dec 2002 23:55:12 -0500 Subject: [nycphp-talk] Anyone buying this? Linux vs. Win2k In-Reply-To: <200212030358.gB33wmkh038893@parsec.nyphp.org> References: <200212030358.gB33wmkh038893@parsec.nyphp.org> Message-ID: <20021203045512.GA17489@panix.com> On Mon, Dec 02, 2002 at 10:58:48PM -0500, Jon Baer wrote: > > Basically stating that Win2K is cheaper than Linux. :-\\ Funny how they didn't mention the costs of the various BSD OS's. Here are two of the prime quotes from the story: "Personnel costs involved in the upkeep of Linux-based servers, which manage networks of computers, far outweigh the benefits of being able to obtain the software for free or at lower costs" "For example, in order to support 100 full-time users over a five year period on a networking server, Linux-based systems cost $13,263 versus $11,787 for Microsoft, the IDC study said." Now, that second quote doesn't say anything about the cost of the operating software. Then, let's not forget the cost of MS Office and other software for 100 workstations. Are those costs included in that $11,787 figure? Sure doubt it. --Dan -- The new Department of Homeland Security is exempt from: * the Freedom of Information Act * procurement rules * labor collective bargaining * whistle blower protection The real goal? Eliminating government accountability. From MLynn at exchange.ml.com Tue Dec 3 06:24:07 2002 From: MLynn at exchange.ml.com (Lynn, Michael (DCS)) Date: Tue, 3 Dec 2002 06:24:07 -0500 Subject: [nycphp-talk] Anyone buying this? Linux vs. Win2k Message-ID: <8FA07D8665A9D511B80E00B0D068A1510293AA9F@ehope16.hew.us.ml.com> Anybody remember this: http://www.cyber.com.au/cyber/about/linux_vs_windows_tco_comparison.pdf However, in the interest of fair competition. The above study pits RedHat 7.2 against Windows 2000 Advanced Server. Perhaps a more accurate study would incorporate one of the per-seat/per-server Linuses against the Microsoft Solution. ie: RedHat Advanced Server (http://www.redhat.com/software/advancedserver/subscriptions/ bottom line cost $799 per seat on up through $2499 - and yes, you really, really do have to pay RedHat for EVERY server you have running AS). The Linux solution still wins based simply on the accompanying software licenses... I may plug in the numbers just to make sure - anybody interested? Mike -----Original Message----- From: Joe M [mailto:joe_m at circlepressroom.com] Sent: Monday, December 02, 2002 11:27 PM To: NYPHP Talk Subject: Re: [nycphp-talk] Anyone buying this? Linux vs. Win2k sorry, MY bad..meant to say "ha ha!" well at least they admit as a web server linux is cheaper. what do they think most folks are using it for? joe (not a ms basher)m On Mon, 2 Dec 2002 22:58:48 -0500 Jon Baer wrote: >My bad :-) > >http://story.news.yahoo.com/news?tmpl=story&ncid=581&e=1&cid=581&u=/nm/ >20021202/tc_nm/tech_microsoft_linux_dc > >Basically stating that Win2K is cheaper than Linux. :-\\ > >- Jon > >Analysis & Solutions wrote: > >>On Mon, Dec 02, 2002 at 10:14:38PM -0500, Jon Baer wrote: >> >>Uh, I ain't buyin' nutin'! 'Course, you gamme' nutin' to >>buy. >> >>--Dan >> >> >> > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- From nyphp at websapp.com Tue Dec 3 06:39:07 2002 From: nyphp at websapp.com (Daniel Kushner) Date: Tue, 3 Dec 2002 06:39:07 -0500 Subject: [JOB] Senior Developer (PHP/Perl/Java/SQL), Washington DC Area Message-ID: <001301c29ac0$9c46d000$7560c118@blackjack> Please contact Alok K. Dhir (adhir at symplicity.com) if interested! --Daniel We have openings for a couple of experienced web application developers who meet or exceed the following criteria: Required skills (You *must* have 2.5+ years of each): - Large scale applications development on Unix/Linux platform - PHP - Perl - SQL (Oracle, MySQL preferred) - D/HTML/CSS - Javascript - XML - OO programming - Source code control (CVS) Desired skills: - SOAP - WSDL - UDDI - Java/JSP - Linux/Unix - Windows NT/2000/XP - Python - C/C++ Plusses: - UML - RUP - understanding of various software development methodologies - ability to work under pressure - leadership ability If you meet the requirements above, and are interested in working on exciting projects with a strong DC area company, please send a cover letter and resume with salary requirements to resumes at symplicity.com. Thanks, Alok K. Dhir adhir at symplicity.com Symplicity Corporation http://solutions.symplicity.com/ From LarryC at indexstock.com Tue Dec 3 17:16:04 2002 From: LarryC at indexstock.com (Larry Chuon) Date: Tue, 3 Dec 2002 17:16:04 -0500 Subject: Application Server Message-ID: <86713EAB93BD5F40B94A0C8E604C7C91AEB8EB@index-exchange.indexstock.com> Hi, I'm about to install and play with Ampoliros/Magellan and Midgard. I am looking for a good application server based on PHP. Perhaps, you guys can save me the trouble by telling me the pros and cons of the two apps. Based on my reading, Midgard seems to have a better architecture, but Ampoliros has more applications built for it (i.e. Magellan CMS). I'm seeking for a framework that enable even dummies to manage the site. Thanks in advance. Larry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Ivy.gif Type: image/gif Size: 5665 bytes Desc: not available URL: From hans at nyphp.org Tue Dec 3 17:59:44 2002 From: hans at nyphp.org (Hans Zaunere) Date: Tue, 3 Dec 2002 14:59:44 -0800 (PST) Subject: [nycphp-talk] Application Server In-Reply-To: <200212032216.gB3MGFkh051488@parsec.nyphp.org> Message-ID: <20021203225944.31066.qmail@web12803.mail.yahoo.com> --- Larry Chuon wrote: > This message contained 1 file(s) and is available at > http://nyphp.org/list/paralist_archive.php?L_mid=1800 I'm sorry about this Larry et al. I'm looking into the problem (the message body was chopped off) and I've included the original message body below: >Hi, > >I'm about to install and play with Ampoliros/Magellan and Midgard. I am >looking for a good application server based on PHP. Perhaps, you guys can >save me the trouble by telling me the pros and cons of the two apps. Based >on my reading, Midgard seems to have a better architecture, but Ampoliros >has more applications built for it (i.e. Magellan CMS). > >I'm seeking for a framework that enable even dummies to manage the site. > >Thanks in advance. > >Larry ===== Hans Zaunere New York PHP http://nyphp.org hans at nyphp.org From hans at nyphp.org Tue Dec 3 22:25:46 2002 From: hans at nyphp.org (Hans Zaunere) Date: Tue, 3 Dec 2002 19:25:46 -0800 (PST) Subject: NYPHP in December Message-ID: <20021204032546.91627.qmail@web12802.mail.yahoo.com> Good evening, As noted earlier, there won't be a NYPHP meeting in December due to conflicts with Christmas. However, there are still some exciting events this month: -- The monthly PHP Meetup (http://php.meetup.com) is only two days away, on 12/5 at the Remote Lounge. -- NYLUG (http://nylug.org) will have it's monthly meeting on 12/18 at 6:30pm. This month's topic deals with monitoring and managing Linux in the Enterprise and should be a great talk. -- Then immediately following NYLUG's meeting, their yearly Holiday Party takes place at the Old Stand, 914 3rd Ave. and 55th St. and are always a lot of fun. NYPHP meetings will resume in January, and any topics of interest for future talks should be sent to contact at nyphp.org. Happy Holidays, ===== Hans Zaunere New York PHP http://nyphp.org hans at nyphp.org From MLynn at exchange.ml.com Wed Dec 4 16:12:43 2002 From: MLynn at exchange.ml.com (Lynn, Michael (DCS)) Date: Wed, 4 Dec 2002 16:12:43 -0500 Subject: Newsletter Software Message-ID: <8FA07D8665A9D511B80E00B0D068A1510293AAB8@ehope16.hew.us.ml.com> Can anyone recommend some decent software to maintain a departmental newsletter? Post/PHP Nuke are a bit overkill - I don't need user authentication, user management, subscription or anything like that... just something simple that will manage articles (that one admin produces), sections and issues (eg: monthly). Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at adytumsolutions.com Thu Dec 5 23:48:03 2002 From: tony at adytumsolutions.com (Tony Bollino) Date: Thu, 05 Dec 2002 23:48:03 -0500 Subject: [nycphp-talk] Newsletter Software References: <200212042113.gB4LD7kh058504@parsec.nyphp.org> Message-ID: <3DF02C03.7030303@adytumsolutions.com> Try PHPLIST. It's easy to customize and uses a nice templating system so you can easily send HTML email newsletters. The best part is that it can handle multiple lists and not send the same newsletter to the same person. www.phplist.com -- Tony Bollino AdytumSolutions Sales and Field Operations 301-788-6886 http://www.adytumsolutions.com tony at adytumsolutions.com ************************************************ * "Not just a solution ... an AdytumSolution." * ************************************************ Lynn, Michael wrote: >Can anyone recommend some decent software to maintain a departmental newsletter? > >Post/PHP Nuke are a bit overkill - I don't need user authentication, user management, subscription or anything like that... just something simple that will manage articles (that one admin produces), >sections and issues (eg: monthly). > >Thanks, >Mike > > > >--- Unsubscribe at http://nyphp.org/list/ --- > > > > > -- Tony Bollino AdytumSolutions Sales and Field Operations 301-788-6886 http://www.adytumsolutions.com tony at adytumsolutions.com ************************************************ * "Not just a solution ... an AdytumSolution." * ************************************************ From fb at intldef.org Fri Dec 6 13:46:50 2002 From: fb at intldef.org (FB`) Date: Fri, 6 Dec 2002 13:46:50 -0500 Subject: [JOB] PT Junior Developer, Manhattan References: <200212042113.gB4LD7kh058504@parsec.nyphp.org> Message-ID: <00ad01c29d57$d6a50610$1901a8c0@ybsweb> Hi all, the company I'm working for is looking to get a part time web dev person, mainly for work on existing/in progress sites. Here's the posting as it went up on CL a bit earlier: -------------------------- YB Services, a full service design & development shop in Midtown, needs a part time Web Developer comfortable with PHP & MySQL, CSS & HTML. You will work onsite with our current developer on new and existing projects, help create and maintain documentation and assist in web & file server maintenance. Approximately 20 hours a week, Pays $15/h, high likelihood of more time involvement if things work well. Scheduling can be flexible/floating. Please indicate availability (immediate preferred) in your reply. Please send replies to webjobs at ybservices.com -------------------------- FB` From jonathan at hirschman.net Fri Dec 6 15:29:43 2002 From: jonathan at hirschman.net (jonathan) Date: Fri, 6 Dec 2002 15:29:43 -0500 (EST) Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212061848.gB6ImIO9072467@parsec.nyphp.org> Message-ID: Just out of curiosity, is this really the going rate for PHP talent these days? Seems just a bit low, especially with no benefits and the like. jonathan On Fri, 6 Dec 2002, FB` wrote: > Approximately 20 hours a week, Pays $15/h, high likelihood of more time > involvement if things work well. Scheduling can be flexible/floating. From jonathan at hirschman.net Fri Dec 6 16:00:51 2002 From: jonathan at hirschman.net (jonathan) Date: Fri, 6 Dec 2002 16:00:51 -0500 (EST) Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: Message-ID: Just out of curiosity, is this really the going rate for PHP talent these days? Seems just a bit low, especially with no benefits and the like. jonathan > > On Fri, 6 Dec 2002, FB` wrote: > > > Approximately 20 hours a week, Pays $15/h, high likelihood of more time > > involvement if things work well. Scheduling can be flexible/floating. > > From agfische at email.smith.edu Fri Dec 6 15:57:23 2002 From: agfische at email.smith.edu (Aaron Fischer) Date: Fri, 06 Dec 2002 15:57:23 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan Message-ID: My experience is that that is far below the norm, and I am in a significantly smaller (and cheaper) city then Manhattan. >>> jonathan at hirschman.net 12/06/02 03:48PM >>> Just out of curiosity, is this really the going rate for PHP talent these days? Seems just a bit low, especially with no benefits and the like. jonathan > > On Fri, 6 Dec 2002, FB` wrote: > > > Approximately 20 hours a week, Pays $15/h, high likelihood of more time > > involvement if things work well. Scheduling can be flexible/floating. > > --- Unsubscribe at http://nyphp.org/list/ --- -------------- next part -------------- An HTML attachment was scrubbed... URL: From fb at intldef.org Fri Dec 6 16:01:48 2002 From: fb at intldef.org (FB`) Date: Fri, 6 Dec 2002 16:01:48 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan References: <200212062048.gB6KmAO9073172@parsec.nyphp.org> Message-ID: <01db01c29d6a$b19632a0$1901a8c0@ybsweb> Yeah it's low... but we're also not looking for someone who's really "PHP talent" in the good sense of that term... It's a job for a studentish type person, really... FB` ----- Original Message ----- From: "jonathan" To: "NYPHP Talk" Sent: Friday, December 06, 2002 3:48 PM Subject: Re: [nycphp-talk] [JOB] PT Junior Developer, Manhattan > Just out of curiosity, is this really the going rate for PHP talent these > days? Seems just a bit low, especially with no benefits and the like. > > jonathan > > > > On Fri, 6 Dec 2002, FB` wrote: > > > > > Approximately 20 hours a week, Pays $15/h, high likelihood of more time > > > involvement if things work well. Scheduling can be flexible/floating. > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > From rainman at deroo.net Fri Dec 6 16:06:48 2002 From: rainman at deroo.net (The Rain Maker) Date: Fri, 6 Dec 2002 16:06:48 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212062048.gB6KmAO9073172@parsec.nyphp.org> Message-ID: Jonathan-- > Just out of curiosity, is this really the going rate for PHP talent > these > days? Seems just a bit low, especially with no benefits and the like. > >>> Approximately 20 hours a week, Pays $15/h, high likelihood of more >>> time >>> involvement if things work well. Scheduling can be flexible/floating. For a Jr position, yea I would say that is a little low to about par. There is some real talent in the market place today, especially if you don't need them "in the office". I've seen some of the PHP developers (those with commit privs) doing work for $40/hr. If they can do the work of a Jr person in half the time (and probably better quality work) I'm willing to pay the extra $10 for that kind of talent. .r Raymond DeRoo Senior Partner (203) 952-3900 From mike at hilliardfarber.com Fri Dec 6 16:15:17 2002 From: mike at hilliardfarber.com (Michael J Lee) Date: Fri, 6 Dec 2002 16:15:17 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212062102.gB6L2TO9073261@parsec.nyphp.org> Message-ID: Hello. Can someone tell me who should be contacted about this job listing? Is in depth PHP knowledge required? I know a guy fresh out of school but not too much PHP know how. Thanks! Mike Lee -----Original Message----- From: FB` [mailto:fb at intldef.org] Sent: Friday, December 06, 2002 4:02 PM To: NYPHP Talk Subject: Re: [nycphp-talk] [JOB] PT Junior Developer, Manhattan Yeah it's low... but we're also not looking for someone who's really "PHP talent" in the good sense of that term... It's a job for a studentish type person, really... FB` ----- Original Message ----- From: "jonathan" To: "NYPHP Talk" Sent: Friday, December 06, 2002 3:48 PM Subject: Re: [nycphp-talk] [JOB] PT Junior Developer, Manhattan > Just out of curiosity, is this really the going rate for PHP talent these > days? Seems just a bit low, especially with no benefits and the like. > > jonathan > > > > On Fri, 6 Dec 2002, FB` wrote: > > > > > Approximately 20 hours a week, Pays $15/h, high likelihood of more time > > > involvement if things work well. Scheduling can be flexible/floating. > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- From mike at hilliardfarber.com Fri Dec 6 16:22:02 2002 From: mike at hilliardfarber.com (Michael J Lee) Date: Fri, 6 Dec 2002 16:22:02 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212062057.gB6KvjO9073223@parsec.nyphp.org> Message-ID: Hello. Can someone tell me who should be contacted about this job listing? Is in depth PHP knowledge required? I know a guy fresh out of school but not too much PHP know how. Thanks! Mike Lee -----Original Message----- From: Aaron Fischer [mailto:agfische at email.smith.edu] Sent: Friday, December 06, 2002 3:58 PM To: NYPHP Talk Subject: Re: [nycphp-talk] [JOB] PT Junior Developer, Manhattan My experience is that that is far below the norm, and I am in a significantly smaller (and cheaper) city then Manhattan. >>> jonathan at hirschman.net 12/06/02 03:48PM >>> Just out of curiosity, is this really the going rate for PHP talent these days? Seems just a bit low, especially with no benefits and the like. jonathan > > On Fri, 6 Dec 2002, FB` wrote: > > > Approximately 20 hours a week, Pays $15/h, high likelihood of more time > > involvement if things work well. Scheduling can be flexible/floating. > > --- Unsubscribe at http://nyphp.org/list/ --- From jonathan at hirschman.net Fri Dec 6 16:52:10 2002 From: jonathan at hirschman.net (jonathan) Date: Fri, 6 Dec 2002 16:52:10 -0500 (EST) Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212062106.gB6L6xO9073293@parsec.nyphp.org> Message-ID: Wow, $40/hour for the developers with commit privs? I think that a career in PHP is not in my future :) jonathan On Fri, 6 Dec 2002, The Rain Maker wrote: > Jonathan-- > > For a Jr position, yea I would say that is a little low to about par. > There is some real talent in the market place today, especially if you > don't need them "in the office". I've seen some of the PHP developers > (those with commit privs) doing work for $40/hr. If they can do the > work of a Jr person in half the time (and probably better quality work) > I'm willing to pay the extra $10 for that kind of talent. > From sterling at bumblebury.com Fri Dec 6 17:01:59 2002 From: sterling at bumblebury.com (Sterling Hughes) Date: Fri, 6 Dec 2002 17:01:59 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212062140.gB6Le9O9073594@parsec.nyphp.org> References: <200212062140.gB6Le9O9073594@parsec.nyphp.org> Message-ID: <20021206220159.GB74026@bumblebury.com> > Wow, $40/hour for the developers with commit privs? > > I think that a career in PHP is not in my future :) > that's just a very lowball offer, i make a whole lot more than that for php consulting. Keep in mind - it depends on your experience, plain php jobs tend to be on the low-side, the idea is to charge for solutions, if php happens to help you accomplish the job, then great. Looking to go into the industry as a "PHP Programmer" is frankly benign. Look to get in the industry as a programmer, and if PHP is helpful in getting your job done, great use it. If not, use cold fusion, perl, python, php, asp, c, c++, java, assembler, whatever tool is best/most suitable for the task at hand. -Sterling From jonbaer at jonbaer.net Fri Dec 6 17:02:44 2002 From: jonbaer at jonbaer.net (Jon Baer) Date: Fri, 06 Dec 2002 17:02:44 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan References: <200212062125.gB6LP9O9073427@parsec.nyphp.org> Message-ID: <3DF11E84.4070807@jonbaer.net> You know ... this REALLY leads to a better discussion on possible PHP Certification of some kind (I doubt CompTIA will do a PHP+ any time soon), but considering nearly every language has it, it sure would help sift through some people for a gig Id think. In fact I wish there was something for PHP/MySQL in terms of saying you know what you are doing and can back it up ... thoughts? - Jon Michael J Lee wrote: >Hello. >Can someone tell me who should be contacted about this job listing? Is in >depth PHP knowledge required? I know a guy fresh out of school but not too >much PHP know how. Thanks! > >Mike Lee > >-----Original Message----- >From: Aaron Fischer [mailto:agfische at email.smith.edu] >Sent: Friday, December 06, 2002 3:58 PM >To: NYPHP Talk >Subject: Re: [nycphp-talk] [JOB] PT Junior Developer, Manhattan > > >My experience is that that is far below the norm, and I am in a >significantly smaller (and cheaper) city then Manhattan. > > > > >>>>jonathan at hirschman.net 12/06/02 03:48PM >>> >>>> >>>> >Just out of curiosity, is this really the going rate for PHP talent >these >days? Seems just a bit low, especially with no benefits and the like. > >jonathan > > >>On Fri, 6 Dec 2002, FB` wrote: >> >> >> >>>Approximately 20 hours a week, Pays $15/h, high likelihood of more >>> >>> >time > > >>>involvement if things work well. Scheduling can be >>> >>> >flexible/floating. > > >> >> > > > > > > > > > > > > > > > >--- Unsubscribe at http://nyphp.org/list/ --- > > > > > > From dan at dwc.to Fri Dec 6 17:20:28 2002 From: dan at dwc.to (Dan Horning) Date: Fri, 6 Dec 2002 17:20:28 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212062203.gB6M3kO9073742@parsec.nyphp.org> Message-ID: <000001c29d75$b022f290$a7c484d0@dwchome> Hey everyone If you'd like to start some sort of online PHP cert test... lets see what we can do. And as far as I've seen php.net hasn't even been talking about anything like it. Dan ------ Email: info at dwc.to ------ Online on AIM - crewpassguy (or dsoundmn1 for emergencies) ICQ - 14308614 MSN - dan at dwc.to YIM - crewpassguy -----Original Message----- From: Jon Baer [mailto:jonbaer at jonbaer.net] Sent: Friday, December 06, 2002 5:04 PM To: NYPHP Talk Subject: Re: [nycphp-talk] [JOB] PT Junior Developer, Manhattan You know ... this REALLY leads to a better discussion on possible PHP Certification of some kind (I doubt CompTIA will do a PHP+ any time soon), but considering nearly every language has it, it sure would help sift through some people for a gig Id think. In fact I wish there was something for PHP/MySQL in terms of saying you know what you are doing and can back it up ... thoughts? - Jon Michael J Lee wrote: >Hello. >Can someone tell me who should be contacted about this job listing? Is in >depth PHP knowledge required? I know a guy fresh out of school but not too >much PHP know how. Thanks! > >Mike Lee > >-----Original Message----- >From: Aaron Fischer [mailto:agfische at email.smith.edu] >Sent: Friday, December 06, 2002 3:58 PM >To: NYPHP Talk >Subject: Re: [nycphp-talk] [JOB] PT Junior Developer, Manhattan > > >My experience is that that is far below the norm, and I am in a >significantly smaller (and cheaper) city then Manhattan. > > > > >>>>jonathan at hirschman.net 12/06/02 03:48PM >>> >>>> >>>> >Just out of curiosity, is this really the going rate for PHP talent >these >days? Seems just a bit low, especially with no benefits and the like. > >jonathan > > >>On Fri, 6 Dec 2002, FB` wrote: >> >> >> >>>Approximately 20 hours a week, Pays $15/h, high likelihood of more >>> >>> >time > > >>>involvement if things work well. Scheduling can be >>> >>> >flexible/floating. > > >> >> > > > > > > > > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- From danielc at analysisandsolutions.com Fri Dec 6 17:22:17 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Fri, 6 Dec 2002 17:22:17 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212062203.gB6M3kO9073742@parsec.nyphp.org> References: <200212062203.gB6M3kO9073742@parsec.nyphp.org> Message-ID: <20021206222217.GA5838@panix.com> On Fri, Dec 06, 2002 at 05:03:46PM -0500, Jon Baer wrote: > You know ... this REALLY leads to a better discussion on possible PHP > Certification of some kind Bah. Certification can just mean you're good at taking tests. Doesn't necessarily reflect real world smarts, discipline, nor research and hacking skills. A good interview, references and coding examples prove far more than any certification test. In fact, requiring certification for a position will likely have you miss some really star tallent -- like myself :) -- who don't go along with that paradigm. Enjoy, --Dan -- The new Department of Homeland Security is exempt from: * the Freedom of Information Act * procurement rules * labor collective bargaining * whistle blower protection The real goal? Eliminating government accountability. From jonbaer at jonbaer.net Fri Dec 6 17:38:03 2002 From: jonbaer at jonbaer.net (Jon Baer) Date: Fri, 06 Dec 2002 17:38:03 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan References: <200212062222.gB6MMMO9073874@parsec.nyphp.org> Message-ID: <3DF126CB.3050601@jonbaer.net> Analysis & Solutions wrote: >On Fri, Dec 06, 2002 at 05:03:46PM -0500, Jon Baer wrote: > > >>You know ... this REALLY leads to a better discussion on possible PHP >>Certification of some kind >> >> > >Bah. Certification can just mean you're good at taking tests. Doesn't >necessarily reflect real world smarts, discipline, nor research and >hacking skills. > >A good interview, references and coding examples prove far more than any >certification test. > > Im gonna partly agree with you. I myself have a few years of JSP, ATG Dynamo, [insert your favorite J2EE app server here], but have *yet* to land a PHP/MySQL gig (in the middle of a convert project right now), I have been so tempted to stay away from certification but without employers being EXTREMELY specific on what they are looking for instead of jotting down every acronym they have seen in a magazine somewhere, what other options do you have? Its either: [Business] needs X, Y, Z Candidate has done X,Y,Z Candidate has never done X,Y,Z but certified to know how to do X,Y,Z. How diverse and broad is PHP for a project? Extremely, and to me (it seems anyway), that if you can SSH ur way into a companies site to do work, there should be no questions asked, certification or no certification. So im not complaining, good experience makes up for it to some degree but I really wonder how many resumes a biz guy is going to get these days that all look the same. - Jon From rainman at deroo.net Fri Dec 6 18:23:19 2002 From: rainman at deroo.net (The Rain Maker) Date: Fri, 6 Dec 2002 18:23:19 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212062202.gB6M25O9073732@parsec.nyphp.org> Message-ID: > done, great use it. If not, use cold fusion, perl, python, php, asp, > c, c++, java, assembler, whatever tool is best/most suitable for the > task at hand. Amen! Well, rather than doing CF I think would rather be strung up by my... ;) But as much as I am a Unix bigot (Linux, *BSD, Solaris, AIX) I have a number of client that use Microsoft server products because they are still the best solution for their needs. (What I would give for an Open Source replacement for Exchange!) My biggest grip about PHP programmer/coders is that PHP is often the only tool they know. As such they tend to stuff from "If you only have a hammer, all the world is a nail." (I won't even go into my thoughts on php-gtk). Raymond DeRoo Senior Partner (203) 952-3900 From hans at nyphp.org Fri Dec 6 18:25:43 2002 From: hans at nyphp.org (Hans Zaunere) Date: Fri, 6 Dec 2002 15:25:43 -0800 (PST) Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212062222.gB6MMMO9073874@parsec.nyphp.org> Message-ID: <20021206232543.84697.qmail@web12806.mail.yahoo.com> --- Analysis & Solutions wrote: > On Fri, Dec 06, 2002 at 05:03:46PM -0500, Jon Baer wrote: > > You know ... this REALLY leads to a better discussion on possible PHP > > Certification of some kind > > Bah. Certification can just mean you're good at taking tests. Doesn't > necessarily reflect real world smarts, discipline, nor research and > hacking skills. Sure... the same could be said for college, too. > A good interview, references and coding examples prove far more than any > certification test. > > In fact, requiring certification for a position will likely have you miss > some really star tallent -- like myself :) -- who don't go along with that > paradigm. I agree, but requiring a college degree can cause the same problem. I guess my point is, while people in-the-know (developers, for instance) know that a cert. doesn't necessarily signal a person's skill, IT managers and directors like the piece of paper - the CYA idea, mainly. I think a PHP cert. would be valuable, not only to those who hold one, but also to the language, as a confirmation of a technology's seriousness - again, in the eyes of the manager/director. This would be a great project, but very time consuming, IMHO (preparing a test and course material, etc) H ===== Hans Zaunere New York PHP http://nyphp.org hans at nyphp.org From rainman at deroo.net Fri Dec 6 18:53:55 2002 From: rainman at deroo.net (The Rain Maker) Date: Fri, 6 Dec 2002 18:53:55 -0500 Subject: You vs The Other Guy (was PT Junior Developer) In-Reply-To: <200212062239.gB6Md6O9073991@parsec.nyphp.org> Message-ID: **warning: long >> Bah. Certification can just mean you're good at taking tests. >> Doesn't >> necessarily reflect real world smarts, discipline, nor research and >> hacking skills. >> >> A good interview, references and coding examples prove far more than >> any >> certification test. Here I very much agree. > what other options do you have? > > Its either: > > [Business] needs X, Y, Z > Candidate has done X,Y,Z > Candidate has never done X,Y,Z but certified to know how to do X,Y,Z. > > to some degree but I really wonder how many resumes a biz guy is going > to get these days that all look the same. Here you make a valid point. And I have sat on both sides of the table, something in the same day. Running a consulting firm means that either my resume or the "company resume" needs to make a lasting enough impression to get a second look. If you get that second look, you will be remembered. Now, as the person sitting behind the desk. I can say most definitely, you're resume is nothing more than a bullet list of accomplishments. If it's more than two page, 99% chance I won't read it (if it's four or more, it won't even get to my desk for review). What *I* want to see on a resume is a list of skills, who you worked for and when. That's really it. Now if you want to make the "A List" pile (the ones I take home and review at dinner/whatever), you *MUST* have a cover letter. I want to know 1) what it is you want to do. 2) What it is you have done that is related to my project/job. 3) Why you think you would be one of my better choice. Whether applying for a job, or trying to get 'that contract' these truism hold. Other points I'll make for those who've read this far. o Unless you are applying for position in Europe, don't call your resume a CV. You look stupid and ALT-F4 is a fast key stroke. o If you put your resume online on your own website, make sure it looks the way you want in all browsers. *Nothing* makes you look more incompetent for a (PHP|language of choice)/Web job than your own resume looking dorked. *Don't* make any assumptions here. I use a Mac running OS X. which means I could be in Mozilla, Opera or IE. o Make sure those you put down for references are going to give *good* references. The law (In CT at least) requires that references be giving and checked. If the person you give also able to confirm they know you and the dates you where employed you might as well consider that a bad reference. (I do) o This seems obvious, but don't lie. References are asked pointed questions long delays in answers are generally not a good sign. o (Personal point here) A letter of recommendation is meaning less. I can get ahold of much company stationary and produce as many of those as I want All in all, have code examples and a working site to point generally means more than anything. Certification mean even less to the *knowledge* hiring manager. .r (CNE, ECNE, A+, MCSE+I, CNP, ACE, and soon CCIE) From cynthia at nemesis2.com Fri Dec 6 19:34:55 2002 From: cynthia at nemesis2.com (Cynthia LaPier) Date: Fri, 6 Dec 2002 19:34:55 -0500 (EST) Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212062222.gB6MMMO9073874@parsec.nyphp.org> Message-ID: Over the years Ihave interviewed many many people with certifications - most of whom I would never employ. As the CIO of a non-profit organization, as a former system engineer in the private sector, I can say with complete confidence - certifications have done nothing to improve the skill sets of tech staff. They have not increased the professionalism of it workers. Indeed, all I can see is that they have increased is the profits of computer "schools." I would rather look at experience and examples of programming as a "certification" that a potential employee has the stuff needed. CLP On Fri, 6 Dec 2002, Analysis & Solutions wrote: > On Fri, Dec 06, 2002 at 05:03:46PM -0500, Jon Baer wrote: > > You know ... this REALLY leads to a better discussion on possible PHP > > Certification of some kind > > Bah. Certification can just mean you're good at taking tests. Doesn't > necessarily reflect real world smarts, discipline, nor research and > hacking skills. > > A good interview, references and coding examples prove far more than any > certification test. > > In fact, requiring certification for a position will likely have you miss > some really star tallent -- like myself :) -- who don't go along with that > paradigm. > > Enjoy, > > --Dan > > From JayeshSh at netscape.net Fri Dec 6 21:58:48 2002 From: JayeshSh at netscape.net (Jayesh Sheth) Date: Fri, 06 Dec 2002 21:58:48 -0500 Subject: [nycphp-talk] You vs The Other Guy References: <200212062354.gB6Ns6St074462@parsec.nyphp.org> Message-ID: <3DF163E8.2070905@netscape.net> Hello, Just responding to your note: > The Rain Maker wrote: >Running a consulting firm means that either >my resume or the "company resume" needs to make a lasting enough >impression to get a second look. If you get that second look, you will >be remembered. > > I agree that a resume should make its owner memorable in the eyes of the potential employer. However, it can only be memorable to the potential employer if it advertises those qualifications the employer is looking for. Additionally, it should meet the length requirements desired by the potential employer. Which brings me to my next point: cultural/ international differences in desired resume length and content. > > >Now, as the person sitting behind the desk. I can say most definitely, >you're resume is nothing more than a bullet list of accomplishments. If >it's more than two page, 99% chance I won't read it (if it's four or >more, it won't even get to my desk for review). What *I* want to see on >a resume is a list of skills, who you worked for and when. That's >really it. Now if you want to make the "A List" pile (the ones I take >home and review at dinner/whatever), you *MUST* have a cover letter. I >want to know 1) what it is you want to do. 2) What it is you have done >that is related to my project/job. 3) Why you think you would be one of >my better choice. > > I guess, in America, the shorter the sweeter, right? Additionally, as you stated, what is important to you in making a hiring decision is what the applicant's skills and experience are like, and if the applicant desires to work and is capable of working for you. So, all you would like to know is the facts - " just the facts, sir". > > o Unless you are applying for position in Europe, don't call your >resume a CV. You look stupid and ALT-F4 is a fast key stroke. > > In Europe, or more specifically Germany (where I worked recently before forming my own web design company in NYC) a resume is not called a resume. It is called a Lebenslauf - i.e. a list of your life-long experiences. So, you write your "resume" or Lebenslauf in chronological order: where you were born, where you went to high school, where you went to college, what you studied, what degree you got, where you worked thereafter, hobbies - and at the end, you list your skills. In America, you list your skills at the top to avoid "wasting the other person's time". In Germany, you have to first establish who you are, where you come from and where you have been before you can stand up and announce your qualifications. In Germany a normal resume can be 4 pages. The more detailed, the better! I personally like to know more about a person than what he or she can "do"; somehow, I am curious as to what makes the person tick, what his or her interests are. Maybe I just have not been around long enough to learn that all that stuff is really irrelevant - that in the "real" world all that counts is what's in your head, what "added value" you can bring to a company. Maybe I have yet to realize that all that it comes down to is what is in my head, and if that information can be successfully summoned to solve someone else's problems. But somehow, each time I try to entertain that notion - that it's just what I know, not who I am which signifies my human worth - I am forced to dismiss it. At the liberal arts college I studied at, the professors always mentioned seeing things from different angles; they always asked us the think about the big picture. I ask myself , and all of you now too: are a person's history, character, personal experiences, personal victories and personal failures not of importance too? Are they not part of the bigger picture surrounding our professional lives? Regards, - Jay -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop at Netscape! http://shopnow.netscape.com/ From jonbaer at jonbaer.net Fri Dec 6 22:08:49 2002 From: jonbaer at jonbaer.net (Jon Baer) Date: Fri, 06 Dec 2002 22:08:49 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan References: <200212062325.gB6NPnO9074284@parsec.nyphp.org> Message-ID: <3DF16641.9080004@jonbaer.net> Hans Zaunere wrote: >I think a PHP cert. would be valuable, not only to those who hold one, but >also to the language, as a confirmation of a technology's seriousness - >again, in the eyes of the manager/director. This would be a great project, >but very time consuming, IMHO (preparing a test and course material, etc) > > I think PHP though is just one element, can't have really one without the other, for example if you look at this course: http://gracie.santarosa.edu/web_training/php-cert.shtml Stating that SQL is mandatory along with Unix admining is not pretty neutral in my opinion but there are parts that should be included with a PHP Developer certification ... you then have the option that if a business required work w/ Oracle vs. MySQL that certification either way will not matter, the person w/ more Oracle experience will win out even if its against the "better" PHP programmer. (Would this be true?) I think most/some of certifications are such a sham, much like the wireless networking exams now, but there are not many options when people have not met face to face and a developer is working project to project for his paycheck. Good personality, clean certificate, and a smile? :-) - Jon From lists at ehummel.net Sat Dec 7 00:02:55 2002 From: lists at ehummel.net (Erik) Date: Sat, 7 Dec 2002 00:02:55 -0500 Subject: [nycphp-talk] You vs The Other Guy In-Reply-To: <200212070258.gB72wxSt075436@parsec.nyphp.org> Message-ID: <000201c29dad$eb5897b0$0200a8c0@laptophum> Jay wrote: ------------------------------ I ask myself, and all of you now too: are a person's history, character, personal experiences, personal victories and personal failures not of importance too? Are they not part of the bigger picture surrounding our professional lives? ----------------------------------------- I agree that all of that is important. Yet it can wait to be shown at an interview. When a position gets 250 applicants, does someone want to skim through all of that to get to the part where they can see if the applicant even has the skills necessary for the job? The answer is no. First and foremost when applying for a job is whether you can do it. If your resume clearly shows you can through a skills listing and past employment, then you should get an interview. The interview should contain all the personal experience questions that allow the hiring person to get a better idea of who the applicant is and how well they would fit in with the group. Then they can make a decision on which of the interviewees gets the position. My $.02 Erik From zaunere at yahoo.com Sat Dec 7 13:30:55 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Sat, 7 Dec 2002 10:30:55 -0800 (PST) Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212070449.gB74nLSt075957@parsec.nyphp.org> Message-ID: <20021207183055.50329.qmail@web12802.mail.yahoo.com> --- Jon Baer wrote: > Hans Zaunere wrote: > > >I think a PHP cert. would be valuable, not only to those who hold one, but > >also to the language, as a confirmation of a technology's seriousness - > >again, in the eyes of the manager/director. This would be a great > project, > >but very time consuming, IMHO (preparing a test and course material, etc) > > > > > I think PHP though is just one element, can't have really one without > the other, for example if you look at this course: > > http://gracie.santarosa.edu/web_training/php-cert.shtml It's funny that you mention how much PHP is related to other technologies. While I was home over Thanksgiving, my dad (who had taught me C in the early days) had wanted to get a crash course in PHP. Thinking this would be a good way to spend some father-son time, I said sure (I expected him to catch on quickly) but as I began talking about PHP and such, I realized how many smaller things it's dependant on - SQL, HTML/etc, Apache interaction, MySQL (in this case) interaction. > Stating that SQL is mandatory along with Unix admining is not pretty > neutral in my opinion but there are parts that should be included with a > PHP Developer certification ... you then have the option that if a > business required work w/ Oracle vs. MySQL that certification either way > will not matter, the person w/ more Oracle experience will win out even > if its against the "better" PHP programmer. (Would this be true?) In some cases, I think so. But as many of us have come across, there are many different facets of PHP - possibly "PHP Designer", "PHP Developer", and "PHP Architect" (divied up further into Oracle/MySQL/PostGreSQL/etc) tracks? Sure, each overlaps a bit, but there really is a focus on signigicantly different technologies in each area. And, as I found, trying to teach/learn PHP, as simply a language, is about exciting and rewarding as teaching/learning C (ok, I know - it's fun for some). > I think most/some of certifications are such a sham, much like the > wireless networking exams now, but there are not many options when > people have not met face to face and a developer is working project to > project for his paycheck. Good personality, clean certificate, and a > smile? :-) Sure. A cert, while ambiguous to the developers themselves, can often cut through a lot of the uncertainty that an employer has about an employer. H ===== Hans Zaunere New York PHP http://nyphp.org hans at nyphp.org From peter at panvox.net Sat Dec 7 14:32:23 2002 From: peter at panvox.net (Peter Simard) Date: Sat, 7 Dec 2002 14:32:23 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212071831.gB7IV1St082474@parsec.nyphp.org> References: <200212071831.gB7IV1St082474@parsec.nyphp.org> Message-ID: <16542678703.20021207143223@panvox.net> Just weighing in; Somewhere I heard that certification simply means one knows enough to do damage. More than anything, it shows you know how to learn, which is a positive in and of itself. Personally I found PHP made more sense, and was easier to employ after I learned to program in JAVA. Prior to that I could use PHP, but I really was deficient in a whole slew of areas. So, if certification comes around, great, but barring that, if PHP is the main base of ones knowledge, I'd suggest learning JAVA, or C++, or any strongly typed language for that matter, leaning more to OOP if possible. PHP is so forgiving in that it dynamically types everything, it's incredibly easy to make an error and hunt around for hours looking for it, where if one was more familiar with a stricter language, one might expend much less effort, and hair, in those situations. Just my .31 cents ( adjusted for inflation ).... -- Peter mailto:peter at panvox.net Mail management by: The Bat! 1.61 From weslists at anapraxis.com Sun Dec 8 01:31:09 2002 From: weslists at anapraxis.com (Weston Houghton) Date: Sun, 8 Dec 2002 01:31:09 -0500 Subject: Free Util: apxDebug Message-ID: Hey all, I've been meaning to write a simple debug tracking class for use in my own projects. So this week I finally did. I have no clue if anyone else would ever use it, or have any interest in looking at it, but I've set it up for people to download it if you have any interest. Regardless, I would love if people wanted to take a look at it and just give me general comments on the code. http://www.anapraxis.com/os/apxDebug/ What does it do? It's just a simple tool for logging debug messages from within any other php development. Being a MacOS X user for developing and serving, I find that many of the nice tools, such as Zend's aren't available for real debugging. So I frequently am writing values out to screen for debugging. This tool separates them mostly from whatever you are working on and let's you classify them, and show/hide groups of them when browsing. I've set up a simple online demo, but since it really is for development it may be hard to understand without just trying it out in your own code. I've been developing tools for installations on clients intranet servers lately too, to where I cannot see in, but they can see out. So I have written the tool to both log the debug info to a text file, as well as email the logfile to an address through the browser pop-up. Right now it only does html emails, but I am working on getting it setup to handle plain text and mixed mode as well. It uses css, dhtml, and javascript for the display so likely requires gecko or MSIE 5 or higher. Also, if you are just interested in seeing php and javascript work together, it might be a good introduction for you, nothing complicated, I just use php to feed in some of the js variables. Anyhow, drop me a line with any questions if you have them, or feature requests, I'd love to know if anyone else besides me would actually use this thing. :) Oh, and if it just completely screws up for you, let me know too. I'd call this a 0.9 beta version, so I'm sure it will find a way to surprise me. Cheers, Wes From soazine at erols.com Sun Dec 8 14:32:23 2002 From: soazine at erols.com (Phil Powell) Date: Sun, 8 Dec 2002 14:32:23 -0500 Subject: fopen have a "setTimeout" feature? Message-ID: <004c01c29ef0$893a1560$dcbe6444@scandinawa1bo6> Can you set something like a "setTimeout" feature in fopen? That is, if you use fopen to open a URL for "scraping", if that URL's server is down or doesn't respond in x seconds, can you set a feature to show an error message or a "friendly" error message indicating such? Thanx Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: From nyphp at altunergil.com Sun Dec 8 15:07:58 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Sun, 8 Dec 2002 15:07:58 -0500 Subject: [nycphp-talk] fopen have a "setTimeout" feature? In-Reply-To: <200212081935.gB8JZ9St090085@parsec.nyphp.org> References: <200212081935.gB8JZ9St090085@parsec.nyphp.org> Message-ID: <20021208150758.71c4e385.nyphp@altunergil.com> Might this be what you're looking for? http://www.php.net/manual/en/function.stream-set-timeout.php oktay On Sun, 08 Dec 2002 14:35:09 -0500 Phil Powell wrote: > Can you set something like a "setTimeout" feature in fopen? That is, if you use fopen to open a URL for "scraping", if that URL's server is down or doesn't respond in x seconds, can you set a feature to show an error message or a "friendly" error message indicating such? > > Thanx > Phil > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From timward at chessish.com Sun Dec 8 15:10:23 2002 From: timward at chessish.com (Tim Ward) Date: Sun, 8 Dec 2002 20:10:23 -0000 Subject: [PHP] fopen have a "setTimeout" feature? References: <004c01c29ef0$893a1560$dcbe6444@scandinawa1bo6> Message-ID: <000d01c29ef5$d8118c40$78071f3e@tim> how about something like... $start = time(); $timeout = 60; // number of seconds to try while (!$file = fopen("...") && time() < $start + $timeout); if ($file) { // do stuff with file } Tim Ward http://www.chessish.com mailto:timward at chessish.com ----- Original Message ----- From: Phil Powell To: ; Sent: Sunday, December 08, 2002 7:32 PM Subject: [PHP] fopen have a "setTimeout" feature? Can you set something like a "setTimeout" feature in fopen? That is, if you use fopen to open a URL for "scraping", if that URL's server is down or doesn't respond in x seconds, can you set a feature to show an error message or a "friendly" error message indicating such? Thanx Phil From seth at ghiek.com Sun Dec 8 22:20:26 2002 From: seth at ghiek.com (Seth [Ghiek]) Date: Sun, 8 Dec 2002 22:20:26 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212062325.gB6NPnO9074284@parsec.nyphp.org> Message-ID: I think Brainbench is already offering one for php. if anyone is interested, i can check further. spirits, seth j hersh -----Original Message----- From: Hans Zaunere [mailto:hans at nyphp.org] Sent: Friday, December 06, 2002 6:26 PM To: NYPHP Talk Subject: Re: [nycphp-talk] [JOB] PT Junior Developer, Manhattan --- Analysis & Solutions wrote: > On Fri, Dec 06, 2002 at 05:03:46PM -0500, Jon Baer wrote: > > You know ... this REALLY leads to a better discussion on possible PHP > > Certification of some kind > > Bah. Certification can just mean you're good at taking tests. Doesn't > necessarily reflect real world smarts, discipline, nor research and > hacking skills. Sure... the same could be said for college, too. > A good interview, references and coding examples prove far more than any > certification test. > > In fact, requiring certification for a position will likely have you miss > some really star tallent -- like myself :) -- who don't go along with that > paradigm. I agree, but requiring a college degree can cause the same problem. I guess my point is, while people in-the-know (developers, for instance) know that a cert. doesn't necessarily signal a person's skill, IT managers and directors like the piece of paper - the CYA idea, mainly. I think a PHP cert. would be valuable, not only to those who hold one, but also to the language, as a confirmation of a technology's seriousness - again, in the eyes of the manager/director. This would be a great project, but very time consuming, IMHO (preparing a test and course material, etc) H ===== Hans Zaunere New York PHP http://nyphp.org hans at nyphp.org --- Unsubscribe at http://nyphp.org/list/ --- From vinay_chinnam at yahoo.com Mon Dec 9 00:27:33 2002 From: vinay_chinnam at yahoo.com (Vinay Chinnam) Date: Sun, 8 Dec 2002 21:27:33 -0800 (PST) Subject: PHP cert In-Reply-To: <200212090319.gB93JjSt092278@parsec.nyphp.org> Message-ID: <20021209052733.98646.qmail@web13608.mail.yahoo.com> You are right . Brainbench does offer a php 4 test and they also have a MySQL test coming out soon .. http://www.brainbench.com/xml/bb/common/testcenter/alltests.xml --- "Seth [Ghiek]" wrote: > I think Brainbench is already offering one for php. > if anyone is interested, > i can check further. > > spirits, > > seth j hersh > > -----Original Message----- > From: Hans Zaunere [mailto:hans at nyphp.org] > Sent: Friday, December 06, 2002 6:26 PM > To: NYPHP Talk > Subject: Re: [nycphp-talk] [JOB] PT Junior Developer, > Manhattan > > > > --- Analysis & Solutions > wrote: > > On Fri, Dec 06, 2002 at 05:03:46PM -0500, Jon Baer > wrote: > > > You know ... this REALLY leads to a better > discussion on possible PHP > > > Certification of some kind > > > > Bah. Certification can just mean you're good at > taking tests. Doesn't > > necessarily reflect real world smarts, discipline, > nor research and > > hacking skills. > > Sure... the same could be said for college, too. > > > A good interview, references and coding examples > prove far more than any > > certification test. > > > > In fact, requiring certification for a position > will likely have you miss > > some really star tallent -- like myself :) -- who > don't go along with that > > paradigm. > > I agree, but requiring a college degree can cause > the same problem. I guess > my point is, while people in-the-know (developers, > for instance) know that a > cert. doesn't necessarily signal a person's skill, > IT managers and directors > like the piece of paper - the CYA idea, mainly. > > I think a PHP cert. would be valuable, not only to > those who hold one, but > also to the language, as a confirmation of a > technology's seriousness - > again, in the eyes of the manager/director. This > would be a great project, > but very time consuming, IMHO (preparing a test and > course material, etc) > > H > > > ===== > Hans Zaunere > New York PHP > http://nyphp.org > hans at nyphp.org > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From soazine at erols.com Mon Dec 9 01:46:03 2002 From: soazine at erols.com (Phil Powell) Date: Mon, 9 Dec 2002 01:46:03 -0500 Subject: [PHP] fopen have a "setTimeout" feature? References: <004c01c29ef0$893a1560$dcbe6444@scandinawa1bo6> <000d01c29ef5$d8118c40$78071f3e@tim> Message-ID: <013901c29f4e$a57aa920$dcbe6444@scandinawa1bo6> Sorry, your code produced this error and I can't figure out how to debug it :( Warning: fopen("http://www3.brinkster.com/soa/val/profile/display.asp?showLeftNavBann er=1","r") - Error 0 in /users/ppowell/web/profiledisplay.php on line 4 Phil ----- Original Message ----- From: "Tim Ward" To: "Phil Powell" ; ; Sent: Sunday, December 08, 2002 3:10 PM Subject: Re: [PHP] fopen have a "setTimeout" feature? > how about something like... > > $start = time(); > $timeout = 60; // number of seconds to try > while (!$file = fopen("...") && time() < $start + $timeout); > if ($file) > { // do stuff with file > } > > Tim Ward > http://www.chessish.com > mailto:timward at chessish.com > ----- Original Message ----- > From: Phil Powell > To: ; > Sent: Sunday, December 08, 2002 7:32 PM > Subject: [PHP] fopen have a "setTimeout" feature? > > > Can you set something like a "setTimeout" feature in fopen? That is, if you > use fopen to open a URL for "scraping", if that URL's server is down or > doesn't respond in x seconds, can you set a feature to show an error message > or a "friendly" error message indicating such? > > Thanx > Phil > > From soazine at erols.com Mon Dec 9 02:06:08 2002 From: soazine at erols.com (Phil Powell) Date: Mon, 9 Dec 2002 02:06:08 -0500 Subject: [nycphp-talk] fopen have a "setTimeout" feature? References: <200212082007.gB8K7aSt090248@parsec.nyphp.org> Message-ID: <015401c29f51$754c57a0$dcbe6444@scandinawa1bo6> Nice solution, but sadly, I can't use it, because the script I need to fopen is not the default script on the host domain's docroot: This will never open. :( Phil ----- Original Message ----- From: "Oktay Altunergil" To: "NYPHP Talk" Sent: Sunday, December 08, 2002 3:07 PM Subject: Re: [nycphp-talk] fopen have a "setTimeout" feature? > Might this be what you're looking for? > > http://www.php.net/manual/en/function.stream-set-timeout.php > > oktay > > On Sun, 08 Dec 2002 14:35:09 -0500 > Phil Powell wrote: > > > Can you set something like a "setTimeout" feature in fopen? That is, if you use fopen to open a URL for "scraping", if that URL's server is down or doesn't respond in x seconds, can you set a feature to show an error message or a "friendly" error message indicating such? > > > > Thanx > > Phil > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From timward at chessish.com Sun Dec 8 15:10:23 2002 From: timward at chessish.com (Tim Ward) Date: Sun, 8 Dec 2002 20:10:23 -0000 Subject: [PHP] fopen have a "setTimeout" feature? References: <004c01c29ef0$893a1560$dcbe6444@scandinawa1bo6> Message-ID: <000d01c29ef5$d8118c40$78071f3e@tim> how about something like... $start = time(); $timeout = 60; // number of seconds to try while (!$file = fopen("...") && time() < $start + $timeout); if ($file) { // do stuff with file } Tim Ward http://www.chessish.com mailto:timward at chessish.com ----- Original Message ----- From: Phil Powell To: ; Sent: Sunday, December 08, 2002 7:32 PM Subject: [PHP] fopen have a "setTimeout" feature? Can you set something like a "setTimeout" feature in fopen? That is, if you use fopen to open a URL for "scraping", if that URL's server is down or doesn't respond in x seconds, can you set a feature to show an error message or a "friendly" error message indicating such? Thanx Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php From max at idsociety.com Mon Dec 9 10:55:22 2002 From: max at idsociety.com (max goldberg) Date: Mon, 09 Dec 2002 10:55:22 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan References: <200212062239.gB6Md6O9073991@parsec.nyphp.org> Message-ID: <3DF4BCEA.4030108@idsociety.com> Jon Baer wrote: > Analysis & Solutions wrote: > > >>On Fri, Dec 06, 2002 at 05:03:46PM -0500, Jon Baer wrote: >> >> >> >>>You know ... this REALLY leads to a better discussion on possible PHP >>>Certification of some kind >>> >>> >> >>Bah. Certification can just mean you're good at taking tests. Doesn't >>necessarily reflect real world smarts, discipline, nor research and >>hacking skills. >> >>A good interview, references and coding examples prove far more than any >>certification test. >> >> > > Im gonna partly agree with you. I myself have a few years of JSP, ATG > Dynamo, [insert your favorite J2EE app server here], but have *yet* to > land a PHP/MySQL gig (in the middle of a convert project right now), I > have been so tempted to stay away from certification but without > employers being EXTREMELY specific on what they are looking for instead > of jotting down every acronym they have seen in a magazine somewhere, > what other options do you have? > > Its either: > > [Business] needs X, Y, Z > Candidate has done X,Y,Z > Candidate has never done X,Y,Z but certified to know how to do X,Y,Z. > > How diverse and broad is PHP for a project? Extremely, and to me (it > seems anyway), that if you can SSH ur way into a companies site to do > work, there should be no questions asked, certification or no > certification. So im not complaining, good experience makes up for it > to some degree but I really wonder how many resumes a biz guy is going > to get these days that all look the same. > > - Jon I'm not sure about you, but having the ability to ssh doesn't really mean anything to me. I'd say one of the problems with php is that it is so loose, you don't really have to know anything about 'programming' to write it. From my experience, as most non-technical management can't tell the difference between a really skilled coder and someone who can use words like 'pro-active' and 'methodology'. I think to truly be qualified you need to understand many things beyond syntax, which most people don't get. It seems no one even writes code for high performance and low resource usage any more. Everyone needs their hand held through the most basic of exercises. I'm not sure if it's just my opinion and current situation, it just seems like a lot of people who make a living of programming/scripting web applications have absolutely no idea what they are doing. I read a good rant which made a lot of sense to me at http://m.bacarella.com/papers/secsoft/html/ -max From fields at surgam.net Mon Dec 9 11:51:22 2002 From: fields at surgam.net (Adam Fields) Date: Mon, 9 Dec 2002 10:51:22 -0600 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212091555.gB9FtMSt096233@parsec.nyphp.org> References: <200212091555.gB9FtMSt096233@parsec.nyphp.org> Message-ID: <20021209165122.GA10787@eye.surgam.net> On Mon, Dec 09, 2002 at 10:55:22AM -0500, max goldberg wrote: [...] > I think to truly be qualified you need to understand many things beyond > syntax, which most people don't get. It seems no one even writes code > for high performance and low resource usage any more. Everyone needs > their hand held through the most basic of exercises. I'm not sure if > it's just my opinion and current situation, it just seems like a lot > of people who make a living of programming/scripting web applications > have absolutely no idea what they are doing. You make a number of assertions here, which are not necessarily related: 1) People write inefficient code. Yes, that's true. But high-performance/low resource usage isn't always the best thing. What if making your code highly tuned takes you three times as long and makes the code completely incomprehensible to anyone who comes along after you? Like everything else, efficiency is a trade-off for other things. The problem isn't that people write inefficient code, it's that they don't know the difference. Much of "web scripting" is written in a RAD environment and should be written in such a way that it's fast to code, fast to replace when the functionality changes, and easy to read. This is not to say that efficiency should be ignored, but making every last component perform at its optimum is probably a waste of valuable developer time that could be better spent on other things (such as writing better comments and documentation). 2) People don't know what they're doing. There is a difference between a junior developer and a senior architect. Similarly, there's a difference between somone who picked up the PHP-in-24 hours book last week and someone who's deployed dozens of successful projects. If you're hiring, and you don't know the difference, your project isn't going to succeed if you're doing anything remotely complicated. Junior developers have a valuable place on a development team, but when they're in charge of the development effort (or solo), it's only natural that their lack of experience is going to show up in the final product. > I read a good rant which made a lot of sense to me at > http://m.bacarella.com/papers/secsoft/html/ There are some good points there, certainly, although most of that is aimed at admins and systems programmers. A lot of it is just frustrated ranting that is amusing but not productive. -- - Adam ----- Adam Fields, Managing Partner, fields at surgam.net Surgam, Inc. is a technology consulting firm with strong background in delivering scalable and robust enterprise web and IT applications. http://www.adamfields.com From jonbaer at jonbaer.net Mon Dec 9 08:14:59 2002 From: jonbaer at jonbaer.net (Jon Baer) Date: Mon, 09 Dec 2002 08:14:59 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan References: <200212091555.gB9FtMSt096233@parsec.nyphp.org> Message-ID: <3DF49753.3020601@jonbaer.net> max goldberg wrote: >I think to truly be qualified you need to understand many things beyond >syntax, which most people don't get. It seems no one even writes code >for high performance and low resource usage any more. Everyone needs >their hand held through the most basic of exercises. I'm not sure if >it's just my opinion and current situation, it just seems like a lot > > Ive noticed these comments to come from people in their mid-50, early 60's who have spent more than 20 years on C/C++ and have absolutely no faith in high level languages :-) Just an observation. But I think you are right, the very LAST thing people ever ask when designing a web app today is what kind of resources in terms of memory requirements, scalability, etc ... I think its just a case of the market place that has turned from taking ur time to secure an app to come in, deploy tomorrow, fix bugs later if we need you. I don't think its a case of not knowing what u are doing because today (vs. yesterday) there are several ways to accomplish one thing, no matter if you are a junior developer or senior architect. There are things that look pretty and things that were a late night hack to make it work, but who is to decide? I dont think much has changed, in fact I got an assignment on Saturday for a PHP-based quiz for a site launching on Monday, Id like to think my options were to figure out how well their php.ini was tweeked or how they are setup but its something accomplished last nite for peanuts. Id like to think something like a PHP+ certificate would help get more work. Thanks for the link, I found it very informative, and enjoy the discussion. - Jon From tommyo at dolemite.org Mon Dec 9 13:10:57 2002 From: tommyo at dolemite.org (Thomas Casey O'Neill) Date: Mon, 9 Dec 2002 12:10:57 -0600 (CST) Subject: OT - Open Source Survey Message-ID: Hi Everyone! COLLEGE STUDENT LACKS SLEEP! I need a huge favor from everyone on the list. I have a project for my college statistics class and I was hoping that everyone on the list could take 1 minute to fill out a short 7 question survey about Open Source and your business. I do not require any of your personal information just that you answer the simple questions honestly. Thank you So Much! FOLLOW THIS LINK: http://www.imaginativesolutions.net/survey/?list=nycphp P.S. If you are on multiple lists you might receive this email again. If you have time to fill it out twice then heck you are a super duper girl or guy! Thomas O'Neill tommyo at dolemite.org 1222 1/2 West 5th Winona, MN 55987 home: 507-454-2798 mobile: 507-303-9202 From patrick.fee at baesystems.com Mon Dec 9 13:25:07 2002 From: patrick.fee at baesystems.com (Fee, Patrick J) Date: Mon, 09 Dec 2002 13:25:07 -0500 Subject: Apache, MySQL, PHP|Perl on NetWare - Webinar! # Message-ID: > Note the first paragraph in the web seminar below ... > > "introduces the *new* web application serving environment[...] > Netware ' AMP ' [...]the combination of Apache, MySQL, and PHP|PERL..." > > How old is AMP or LAMP technology? > > Thought you'd enjoy a chuckle know you were all using a "new" > environment ... and the knowledge that a rather stable web development > environment is now available on Novell . > > Patrick J. Fee > Web & Database Group 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 > > > > > # Apache, MySQL, PHP|Perl on NetWare - Webinar! # > > Date: December 17 > Time: 2:00 pm EDT, 11:00 am PDT > Duration: 1 hour > Fee: None > > This webinar introduces the new web application serving environment > that > will be included as part of Nakoma, the next major release of > NetWare. > Informally known as NetWare "AMP", the combination of Apache, MySQL, > and > PHP|PERL, provides a powerful open source environment for creating > and > hosting Web-based solutions atop a rock-solid, business-class NOS: > NetWare! > > You'll see demonstrations of development interfaces and open source > applications that run on the NetWare AMP platform without > modification. > We will also cover performance metrics and provide basic benchmarks > of the > NetWare AMP platform. > > And if that isn't cool enough for you, we will also be drawing for a > nice > door prize -- so see you there! > > Get all the webinar details and register at > > http://register.novell.com/login/index.cfm?action=prelogin&fuse=event&id=6 > 550&event_id=6550&lcode=enu > > > > From brent at landover.com Mon Dec 9 13:25:18 2002 From: brent at landover.com (Brent Baisley) Date: Mon, 9 Dec 2002 13:25:18 -0500 Subject: [nycphp-talk] You vs The Other Guy In-Reply-To: <200212062354.gB6Ns6St074462@parsec.nyphp.org> Message-ID: <91D46D7C-0BA3-11D7-9F72-0050E4C5CF70@landover.com> I have worked for a technical recruiting (aka headhunter) company for the past three years and I can backup the statement below. Also, you can't always count on a technical person seeing the resume and "understanding" what you have done. At larger firms resumes go through Human Resources first as a filter. To them, someone with JDBC, EJB, JSP, and J2EE doesn't know Java. But someone with Javascript does. Someone with awk, csh, zsh, and grep doesn't know how to write a shell script. If they know Solaris, AIX, HP-UX and IRIX they don't know Unix. Etc, etc, etc,. It's not easy to write a resume that spells out everything for a non-technical person, yet keeps a technical person from becoming bored and still has the required content presented concisely. Really the only common ground between human resources and a technical manager is that neither wants to read a resume longer than two pages. So where do you put all the buzzwords for the search engine? Put a "Key Words" section at the bottom of your resume and forget about the "References available upon request", of course they are. It's a good idea to keep multiple "versions" of your resume that cater to different reviewers and skill sets. On Friday, December 6, 2002, at 06:54 PM, The Rain Maker wrote: > Now, as the person sitting behind the desk. I can say most definitely, > you're resume is nothing more than a bullet list of accomplishments. If > it's more than two page, 99% chance I won't read it (if it's four or > more, it won't even get to my desk for review). What *I* want to see on > a resume is a list of skills, who you worked for and when. -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577 From max at idsociety.com Mon Dec 9 14:02:51 2002 From: max at idsociety.com (max goldberg) Date: Mon, 09 Dec 2002 14:02:51 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan References: <200212091651.gB9GpZSt096520@parsec.nyphp.org> Message-ID: <3DF4E8DB.2070504@idsociety.com> Well I think you said what I was trying to say a bit better. I'm not really hard on people for using a " on a static string rather than a ', but I would like to know they actually know the difference in how they are parsed. I just feel like more senior developers do write better code, not only does it work, but it takes into account a great deal of future expansion, it is usually well documented and there is usually a lot of good forethought put into it. A long while ago at a job I was forced into a bunch of standards by the lead developer, which at the time I hated. I didn't see any use for them until I got a new job, and was forced to fix an amazing amount of really unorganized hacks. At this point I fully understood the need for fully commented, peer evaluated code that fit a style guide. Also at this job the lead developer ignored a good amount of my questions, causing me to seek out the answer on my own, via documentation or trial and error. I think it helped me greatly. I wish some of the people I worked with had the initiative to teach themselves some things without needing to have someone walk them through the most basic parse errors. I don't think that document has many uses from a professional standpoint, but I did understand his frustration and I did find the humor in it, regardless of if I agree with all of his points. =) -max Adam Fields wrote: > On Mon, Dec 09, 2002 at 10:55:22AM -0500, max goldberg wrote: > [...] > >>I think to truly be qualified you need to understand many things beyond >>syntax, which most people don't get. It seems no one even writes code >>for high performance and low resource usage any more. Everyone needs >>their hand held through the most basic of exercises. I'm not sure if >>it's just my opinion and current situation, it just seems like a lot >>of people who make a living of programming/scripting web applications >>have absolutely no idea what they are doing. > > > You make a number of assertions here, which are not necessarily > related: > > 1) People write inefficient code. > > Yes, that's true. But high-performance/low resource usage isn't always > the best thing. What if making your code highly tuned takes you three > times as long and makes the code completely incomprehensible to anyone > who comes along after you? Like everything else, efficiency is a > trade-off for other things. The problem isn't that people write > inefficient code, it's that they don't know the difference. Much of > "web scripting" is written in a RAD environment and should be written > in such a way that it's fast to code, fast to replace when the > functionality changes, and easy to read. This is not to say that > efficiency should be ignored, but making every last component perform > at its optimum is probably a waste of valuable developer time that > could be better spent on other things (such as writing better comments > and documentation). > > 2) People don't know what they're doing. > > There is a difference between a junior developer and a senior > architect. Similarly, there's a difference between somone who picked > up the PHP-in-24 hours book last week and someone who's deployed > dozens of successful projects. If you're hiring, and you don't know > the difference, your project isn't going to succeed if you're doing > anything remotely complicated. Junior developers have a valuable place > on a development team, but when they're in charge of the development > effort (or solo), it's only natural that their lack of experience is > going to show up in the final product. > > >>I read a good rant which made a lot of sense to me at >>http://m.bacarella.com/papers/secsoft/html/ > > > There are some good points there, certainly, although most of that is > aimed at admins and systems programmers. A lot of it is just > frustrated ranting that is amusing but not productive. > From max at idsociety.com Mon Dec 9 14:14:22 2002 From: max at idsociety.com (max goldberg) Date: Mon, 09 Dec 2002 14:14:22 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan References: <200212091751.gB9HptSt096823@parsec.nyphp.org> Message-ID: <3DF4EB8E.5070406@idsociety.com> I'm 20. heh. My frustration has come up due to dealing with a large amount of developers that have no idea what they are doing. For instance, in a content management system, there was a text area where the client could enter in text, to be shown over the web. Instead of converting a line break character to an html line break tag on insert of the text, it is done on every page view. This is just a miniscule piece of the code I have been forced to fix over the last 6 months. People who refuse to use CVS or anything that doesn?t have a gui. Refuse to learn how to learn how to use FTP. It's the small things, they add up quickly. I think certification could be a good tool, but someone else made a very valid point, PHP alone isn't really a challenge, but you would need to quiz on SQL/HTML etc. It would be kind of like having JavaScript certification without mentioning the DOM, it's something else entirely. -max Jon Baer wrote: > max goldberg wrote: > > >>I think to truly be qualified you need to understand many things beyond >>syntax, which most people don't get. It seems no one even writes code >>for high performance and low resource usage any more. Everyone needs >>their hand held through the most basic of exercises. I'm not sure if >>it's just my opinion and current situation, it just seems like a lot >> >> > > Ive noticed these comments to come from people in their mid-50, early > 60's who have spent more than 20 years on C/C++ and have absolutely no > faith in high level languages :-) Just an observation. > > But I think you are right, the very LAST thing people ever ask when > designing a web app today is what kind of resources in terms of memory > requirements, scalability, etc ... I think its just a case of the market > place that has turned from taking ur time to secure an app to come in, > deploy tomorrow, fix bugs later if we need you. I don't think its a > case of not knowing what u are doing because today (vs. yesterday) there > are several ways to accomplish one thing, no matter if you are a junior > developer or senior architect. There are things that look pretty and > things that were a late night hack to make it work, but who is to > decide? I dont think much has changed, in fact I got an assignment on > Saturday for a PHP-based quiz for a site launching on Monday, Id like to > think my options were to figure out how well their php.ini was tweeked > or how they are setup but its something accomplished last nite for > peanuts. Id like to think something like a PHP+ certificate would help > get more work. > > Thanks for the link, I found it very informative, and enjoy the > discussion. > > - Jon > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From sailer at bnl.gov Mon Dec 9 15:17:29 2002 From: sailer at bnl.gov (Timothy P Sailer) Date: Mon, 9 Dec 2002 15:17:29 -0500 Subject: Form names Message-ID: <20021209201729.GA6098@bnl.gov> I've been asked to post process a canned HTML screen that has multiple named forms on it. I'm pulling a complete blank on how to get the name of the form the submit button was clicked on. Isn't this an HTML variable??? Tim -- Tim Sailer Application Services Information Technology Division Brookhaven National Laboratory (631) 344-3001 From kayraotaner at yahoo.com Mon Dec 9 15:26:35 2002 From: kayraotaner at yahoo.com (Kayra Otaner) Date: Mon, 9 Dec 2002 12:26:35 -0800 (PST) Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212091751.gB9HptSt096823@parsec.nyphp.org> Message-ID: <20021209202635.42076.qmail@web41011.mail.yahoo.com> Hi, My personal opinion is 'real Open Source developers doesn't need cert'. Just like any other issues, OSS philosophy developed its own unique 'certification way' by means of 'pet projects'. Since most of the OSS developers already developing some sort of 'pet projects' for their own, this indicates what level of knowledge they have. Certifications are for developers who don't have any reference sites or apps to show, and/or doesn't have education background related to the field at all. If you're talented and know how to express yourself, guy sitting accross the table on an inverview will going to notice your talent. If they can't notice your capabilities, you don't even need to show a certification :-)) I suggest recruitters to look for the ones with pet projects instead of certification. PS: I don't have pet project(I can't even call it pet project) Best Kayra Otaner --- Jon Baer wrote: > max goldberg wrote: > > >I think to truly be qualified you need to understand many things beyond > >syntax, which most people don't get. It seems no one even writes code > >for high performance and low resource usage any more. Everyone needs > >their hand held through the most basic of exercises. I'm not sure if > >it's just my opinion and current situation, it just seems like a lot > > > > > Ive noticed these comments to come from people in their mid-50, early > 60's who have spent more than 20 years on C/C++ and have absolutely no > faith in high level languages :-) Just an observation. > > But I think you are right, the very LAST thing people ever ask when > designing a web app today is what kind of resources in terms of memory > requirements, scalability, etc ... I think its just a case of the market > place that has turned from taking ur time to secure an app to come in, > deploy tomorrow, fix bugs later if we need you. I don't think its a > case of not knowing what u are doing because today (vs. yesterday) there > are several ways to accomplish one thing, no matter if you are a junior > developer or senior architect. There are things that look pretty and > things that were a late night hack to make it work, but who is to > decide? I dont think much has changed, in fact I got an assignment on > Saturday for a PHP-based quiz for a site launching on Monday, Id like to > think my options were to figure out how well their php.ini was tweeked > or how they are setup but its something accomplished last nite for > peanuts. Id like to think something like a PHP+ certificate would help > get more work. > > Thanks for the link, I found it very informative, and enjoy the > discussion. > > - Jon > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From bruce at mtiglobal.com Tue Dec 10 08:04:03 2002 From: bruce at mtiglobal.com (bruce at mtiglobal.com) Date: Tue, 10 Dec 2002 05:04:03 -0800 (CST) Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212092026.gB9KQfSt097709@parsec.nyphp.org> References: <200212092026.gB9KQfSt097709@parsec.nyphp.org> Message-ID: <7196.65.112.109.66.1039467843.squirrel@taipei.mtiglobal.com> Hi, As for cert tests, I'd probably do terrible. I can never remember the specific syntax. But I can remember "how" to do something, or at least I can figure out an approach to try. Then I look at the object model to see the specific syntax for that event, method, etc. That is think is more important - The Logic. How does everything tie in together. Where should things be done -- client side, server side, business-logic-tier, etc. As for junior developers not knowing everything . . . isn't that why they are "junior" level? Experience comes from experience! Two people in the same situation will take the experience differently. One will sit around whining and say "I never learned that . . . you don't pay me enough." and another one will spend the time to figure it out, looking through books or API's online, or posting questions on forums. My $0.04 worth ($0.02 invested in dotcoms that went to $5.00 then back down to $0.04!!!) - Bruce > Hi, > > My personal opinion is 'real Open Source developers doesn't need cert'. > Just like any other issues, OSS philosophy developed its own unique > 'certification way' by means of 'pet projects'. Since most of the OSS > developers already developing some sort of 'pet projects' for their own, > this indicates what level of knowledge they have. Certifications are for > developers who don't have any reference sites or apps to show, and/or > doesn't have education background related to the field at all. If you're > talented and know how to express yourself, guy sitting accross the table > on an inverview will going to notice your talent. If they can't notice > your capabilities, you don't even need to show a certification :-)) > I suggest recruitters to look for the ones with pet projects instead of > certification. > > PS: I don't have pet project(I can't even call it pet project) > > Best > > > Kayra Otaner > > > --- Jon Baer wrote: >> max goldberg wrote: >> >> >I think to truly be qualified you need to understand many things >> beyond syntax, which most people don't get. It seems no one even >> writes code for high performance and low resource usage any more. >> Everyone needs their hand held through the most basic of exercises. >> I'm not sure if it's just my opinion and current situation, it just >> seems like a lot >> > >> > >> Ive noticed these comments to come from people in their mid-50, early >> 60's who have spent more than 20 years on C/C++ and have absolutely no >> faith in high level languages :-) Just an observation. >> >> But I think you are right, the very LAST thing people ever ask when >> designing a web app today is what kind of resources in terms of memory >> requirements, scalability, etc ... I think its just a case of the >> market place that has turned from taking ur time to secure an app to >> come in, deploy tomorrow, fix bugs later if we need you. I don't >> think its a case of not knowing what u are doing because today (vs. >> yesterday) there are several ways to accomplish one thing, no matter >> if you are a junior developer or senior architect. There are things >> that look pretty and things that were a late night hack to make it >> work, but who is to decide? I dont think much has changed, in fact I >> got an assignment on Saturday for a PHP-based quiz for a site >> launching on Monday, Id like to think my options were to figure out >> how well their php.ini was tweeked or how they are setup but its >> something accomplished last nite for peanuts. Id like to think >> something like a PHP+ certificate would help get more work. >> >> Thanks for the link, I found it very informative, and enjoy the >> discussion. >> >> - Jon >> >> >> >> >> >> > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > > --- Unsubscribe at http://nyphp.org/list/ --- From amiller at hollywood101.com Mon Dec 9 16:23:34 2002 From: amiller at hollywood101.com (Alan T. Miller) Date: Mon, 9 Dec 2002 14:23:34 -0700 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan References: <200212092026.gB9KQfSt097709@parsec.nyphp.org> Message-ID: <00b801c29fc9$5a858d60$57c47643@webdev> > Certifications are for developers who don't have > any reference sites or apps to show, and/or doesn't have education background related to the field > at all. This is not true. I worked for a major company that would not even consider you for an interview unless you had passed the Brainbench PHP certification test at the master level. In fact they hired directly off of this test. They needed three developers, and surprise the three developers they hired just happen to have the top three scores on this test for the state. To this hiring manager, nothing else mattered but the score on this particular test. Luckily for me, I was one of those top three in my state. But this is beside the point, I did have plenty of work to show, both online and submitted to them, it simply did not matter without a "Master" level score on this test, they refused to even interview me until I took the test even after seeing very high quality code, which leads me to your next point. > If you're talented and know how to express yourself, guy sitting accross the table on an > inverview will going to notice your talent. If they can't notice your capabilities, you don't even > need to show a certification :-)) This is all fine and dandy as long as you know how to get to the right person (you have inside connections etc., you have done an exceptional job at networking and on and on) and you actually get to sit down across the table from them. The problem though, is that much like the above example, you never get to sit down across the table from the guy that matters. Every job that I have made it that far, I have been given an offer. The problem is getting to the right person and getting that opportunity to sit across the table. All too often resumes are screened out because they do not have a particular certification etc., and then you never get that chance to actually impress a person with what matters, yourself. This in my mind is the real issue concerning certifications. It has nothing to do with wether you know a particular technology, it is just an unfortunate thing you have to deal with to get passed the ignorance that so often plagues the human resources dept. Just my 2 cents. Alan > I suggest recruitters to look for the ones with pet projects instead of certification. > > PS: I don't have pet project(I can't even call it pet project) > > Best > > > Kayra Otaner > > > --- Jon Baer wrote: > > max goldberg wrote: > > > > >I think to truly be qualified you need to understand many things beyond > > >syntax, which most people don't get. It seems no one even writes code > > >for high performance and low resource usage any more. Everyone needs > > >their hand held through the most basic of exercises. I'm not sure if > > >it's just my opinion and current situation, it just seems like a lot > > > > > > > > Ive noticed these comments to come from people in their mid-50, early > > 60's who have spent more than 20 years on C/C++ and have absolutely no > > faith in high level languages :-) Just an observation. > > > > But I think you are right, the very LAST thing people ever ask when > > designing a web app today is what kind of resources in terms of memory > > requirements, scalability, etc ... I think its just a case of the market > > place that has turned from taking ur time to secure an app to come in, > > deploy tomorrow, fix bugs later if we need you. I don't think its a > > case of not knowing what u are doing because today (vs. yesterday) there > > are several ways to accomplish one thing, no matter if you are a junior > > developer or senior architect. There are things that look pretty and > > things that were a late night hack to make it work, but who is to > > decide? I dont think much has changed, in fact I got an assignment on > > Saturday for a PHP-based quiz for a site launching on Monday, Id like to > > think my options were to figure out how well their php.ini was tweeked > > or how they are setup but its something accomplished last nite for > > peanuts. Id like to think something like a PHP+ certificate would help > > get more work. > > > > Thanks for the link, I found it very informative, and enjoy the > > discussion. > > > > - Jon > > > > > > > > > > > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > From peter at panvox.net Mon Dec 9 17:30:13 2002 From: peter at panvox.net (Peter Simard) Date: Mon, 9 Dec 2002 17:30:13 -0500 Subject: Application Design Message-ID: <119128792718.20021209173013@panvox.net> 5:26 PM Monday 12/9/2002 Happy Holidays everyone, Does anyone have any Application Design texts/primers/white-papers etc they can recommend? As my projects become more ambitious I'm definitely in need of a framework of some sort. Thanks in advance, Pete -- Pete 908.630.9411 mailto:peter at panvox.net From danielc at analysisandsolutions.com Mon Dec 9 18:33:48 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Mon, 9 Dec 2002 18:33:48 -0500 Subject: [nycphp-talk] Form names In-Reply-To: <200212092022.gB9KMoSt097686@parsec.nyphp.org> References: <200212092022.gB9KMoSt097686@parsec.nyphp.org> Message-ID: <20021209233347.GA17591@panix.com> Hey Tim: On Mon, Dec 09, 2002 at 03:22:50PM -0500, Timothy P Sailer wrote: > > I've been asked to post process a canned HTML screen that has > multiple named forms on it. I'm pulling a complete blank on > how to get the name of the form the submit button was clicked on. > Isn't this an HTML variable??? No. The option I'd use is to use different values for the submit buttons. For example... form for adding record... form for updating record... Similarly, you can add hidden form elements. Oh, and of course, you can have the various forms be submitted to different scripts. Or... :) you can add a query string to the form's action...
Enjoy, --Dan -- The new Department of Homeland Security is exempt from: * the Freedom of Information Act * procurement rules * labor collective bargaining * whistle blower protection The real goal? Eliminating government accountability. From fields at surgam.net Mon Dec 9 19:27:45 2002 From: fields at surgam.net (Adam Fields) Date: Mon, 9 Dec 2002 18:27:45 -0600 Subject: [nycphp-talk] Application Design In-Reply-To: <200212092230.gB9MUCSt098548@parsec.nyphp.org> References: <200212092230.gB9MUCSt098548@parsec.nyphp.org> Message-ID: <20021210002745.GG28143@eye.surgam.net> On Mon, Dec 09, 2002 at 05:30:12PM -0500, Peter Simard wrote: > Does anyone have any Application Design > texts/primers/white-papers etc they can recommend? > > As my projects become more ambitious I'm definitely in need of a > framework of some sort. What exactly are you looking for? Code style guidelines? A primer on OOD? Data storage design? Network protocols? The list goes on... The "right way" to build an application tends to differ depending on what kind of an application it is. -- - Adam ----- Adam Fields, Managing Partner, fields at surgam.net Surgam, Inc. is a technology consulting firm with strong background in delivering scalable and robust enterprise web and IT applications. http://www.adamfields.com From peter at panvox.net Mon Dec 9 20:53:13 2002 From: peter at panvox.net (Peter Simard) Date: Mon, 9 Dec 2002 20:53:13 -0500 Subject: [nycphp-talk] Application Design In-Reply-To: <200212100027.gBA0RvSt099122@parsec.nyphp.org> References: <200212100027.gBA0RvSt099122@parsec.nyphp.org> Message-ID: <1140972625.20021209205313@panvox.net> Hello Adam, Re: [nycphp-talk] Application Design dated: 12/9/2002 at: 7:27 PM Most probably OOD. -- Peter mailto:peter at panvox.net Mail management by: The Bat! 1.61 From tfreedma at ubspw.com Tue Dec 10 09:56:03 2002 From: tfreedma at ubspw.com (Freedman, Tom S.) Date: Tue, 10 Dec 2002 09:56:03 -0500 Subject: [nycphp-talk] Form names Message-ID: Of course, doing all that is contingent on being able to modify the HTML forms, which, from your question, I gather you can't do. Your only other real option is to look at what elements you DO get back, and try to pick a processing routine based on that (e.g. if I have A & B but not C, use the processing code for form 2). That's a huge pain in the butt, but that's HTML for ya. -----Original Message----- From: Analysis & Solutions [mailto:danielc at analysisandsolutions.com] Sent: Monday, December 09, 2002 6:34 PM To: NYPHP Talk Subject: Re: [nycphp-talk] Form names Hey Tim: On Mon, Dec 09, 2002 at 03:22:50PM -0500, Timothy P Sailer wrote: > > I've been asked to post process a canned HTML screen that has > multiple named forms on it. I'm pulling a complete blank on > how to get the name of the form the submit button was clicked on. > Isn't this an HTML variable??? No. The option I'd use is to use different values for the submit buttons. For example... form for adding record... form for updating record... Similarly, you can add hidden form elements. Oh, and of course, you can have the various forms be submitted to different scripts. Or... :) you can add a query string to the form's action... Enjoy, --Dan -- The new Department of Homeland Security is exempt from: * the Freedom of Information Act * procurement rules * labor collective bargaining * whistle blower protection The real goal? Eliminating government accountability. --- Unsubscribe at http://nyphp.org/list/ --- From sailer at bnl.gov Tue Dec 10 09:57:45 2002 From: sailer at bnl.gov (Timothy P Sailer) Date: Tue, 10 Dec 2002 09:57:45 -0500 Subject: [nycphp-talk] Form names In-Reply-To: <200212101456.gBAEuKSt003651@parsec.nyphp.org> References: <200212101456.gBAEuKSt003651@parsec.nyphp.org> Message-ID: <20021210145745.GA2307@bnl.gov> On Tue, Dec 10, 2002 at 09:56:20AM -0500, Freedman, Tom S. wrote: > Of course, doing all that is contingent on being able to modify the HTML > forms, which, from your question, I gather you can't do. Your only other > real option is to look at what elements you DO get back, and try to pick a > processing routine based on that (e.g. if I have A & B but not C, use the > processing code for form 2). That's a huge pain in the butt, but that's > HTML for ya. *All* the forms have the same &^$^% names for the elements. Talk about frigging poor design. "The forms are named to make post-processing easy." Right. Idiots. Tim -- Tim Sailer Application Services Information Technology Division Brookhaven National Laboratory (631) 344-3001 From talk at nyphp.org Tue Dec 10 10:17:46 2002 From: talk at nyphp.org (Liang) Date: Tue, 10 Dec 2002 15:17:46+0000 Subject: Netbirds Message-ID: <200212101513.gBAFDcSt003739@parsec.nyphp.org> An HTML attachment was scrubbed... URL: From jim at nettmedia.com Tue Dec 10 10:50:41 2002 From: jim at nettmedia.com (Jim Musil) Date: Tue, 10 Dec 2002 10:50:41 -0500 Subject: [nycphp-talk] Form names In-Reply-To: <200212101503.gBAF39St003689@parsec.nyphp.org> Message-ID: Out of curiosity, what scenario are you in that you can't either make a new form or edit the current HTML? Jim On 12/10/02 10:03 AM, "Timothy P Sailer" wrote: > On Tue, Dec 10, 2002 at 09:56:20AM -0500, Freedman, Tom S. wrote: >> Of course, doing all that is contingent on being able to modify the HTML >> forms, which, from your question, I gather you can't do. Your only other >> real option is to look at what elements you DO get back, and try to pick a >> processing routine based on that (e.g. if I have A & B but not C, use the >> processing code for form 2). That's a huge pain in the butt, but that's >> HTML for ya. > > *All* the forms have the same &^$^% names for the elements. Talk about > frigging poor design. "The forms are named to make post-processing easy." > Right. Idiots. > > Tim From sailer at bnl.gov Tue Dec 10 11:59:55 2002 From: sailer at bnl.gov (Timothy P Sailer) Date: Tue, 10 Dec 2002 11:59:55 -0500 Subject: [nycphp-talk] Form names In-Reply-To: <200212101549.gBAFnqSt003936@parsec.nyphp.org> References: <200212101549.gBAFnqSt003936@parsec.nyphp.org> Message-ID: <20021210165955.GA5759@bnl.gov> On Tue, Dec 10, 2002 at 10:49:52AM -0500, Jim Musil wrote: > > Out of curiosity, what scenario are you in that you can't either make a new > form or edit the current HTML? It's a custom app, not on our servers, and the entity that developed it will *not* make any changes. Tim -- Tim Sailer Application Services Information Technology Division Brookhaven National Laboratory (631) 344-3001 From danielc at analysisandsolutions.com Tue Dec 10 12:36:09 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Tue, 10 Dec 2002 12:36:09 -0500 Subject: [nycphp-talk] Form names In-Reply-To: <200212101724.gBAHOESt004391@parsec.nyphp.org> References: <200212101724.gBAHOESt004391@parsec.nyphp.org> Message-ID: <20021210173608.GA27294@panix.com> On Tue, Dec 10, 2002 at 12:24:14PM -0500, Timothy P Sailer wrote: > > It's a custom app, not on our servers, and the entity that developed > it will *not* make any changes. Sounds like time to find another vendor or write a complete application yourself. They're clearly amateurs who'll continue to give you headaches for the rest of your relationship. --Dan -- The new Department of Homeland Security is exempt from: * the Freedom of Information Act * procurement rules * labor collective bargaining * whistle blower protection The real goal? Eliminating government accountability. From ssmith at tomega.com Tue Dec 10 13:12:18 2002 From: ssmith at tomega.com (Sean Smith) Date: Tue, 10 Dec 2002 13:12:18 -0500 Subject: [nycphp-talk] Form names References: <200212101724.gBAHOESt004391@parsec.nyphp.org> Message-ID: <3DF62E82.90303@tomega.com> If I understand correctly, there are multiple forms on a single page. The form elements have the same name on each form. What about the actual name of the form? Couldn't you test which form is being submitted by the form name? Of course, that assumes they didn't name all the forms the same also. I may be way off track but, just a thought. From sailer at bnl.gov Tue Dec 10 14:23:24 2002 From: sailer at bnl.gov (Timothy P Sailer) Date: Tue, 10 Dec 2002 14:23:24 -0500 Subject: [nycphp-talk] Form names In-Reply-To: <200212101812.gBAICYSt004662@parsec.nyphp.org> References: <200212101812.gBAICYSt004662@parsec.nyphp.org> Message-ID: <20021210192324.GA8321@bnl.gov> On Tue, Dec 10, 2002 at 01:12:34PM -0500, Sean Smith wrote: > If I understand correctly, there are multiple forms on a single page. > The form elements have the same name on each form. What about the actual > name of the form? The forms are supposed to be named differently. > Couldn't you test which form is being submitted by the form name? Of > course, that assumes they didn't name all the forms the same also. I may > be way off track but, just a thought. That's what I'm trying to do. My question is *how* to do this in PHP. I'm completely stumped on this one. Mainly because this is so stupid that I have do this, and I'm pissed. Tim -- Tim Sailer Application Services Information Technology Division Brookhaven National Laboratory (631) 344-3001 From bruce at mtiglobal.com Wed Dec 11 07:13:39 2002 From: bruce at mtiglobal.com (bruce at mtiglobal.com) Date: Wed, 11 Dec 2002 04:13:39 -0800 (CST) Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan In-Reply-To: <200212091651.gB9GpZSt096520@parsec.nyphp.org> References: <200212091651.gB9GpZSt096520@parsec.nyphp.org> Message-ID: <6479.65.112.109.66.1039551219.squirrel@taipei.mtiglobal.com> Some people were talking about getting their resumes past non-competent HR people. Here's what i do: Since they may not know that JDBC and J2EE are Java, I could write: - Java (JDBC, J2EE, Swing . . .) Since they may not know SQL is used with Oracle, I could write: - SQL (Oracle 8i, MySQL, . . .) This also has the added benefit of organizing things. - Bruce From tfreedma at ubspw.com Tue Dec 10 15:29:15 2002 From: tfreedma at ubspw.com (Freedman, Tom S.) Date: Tue, 10 Dec 2002 15:29:15 -0500 Subject: [nycphp-talk] Form names Message-ID: The problem is, the name of the form does not get passed to the action page, only the form elements and their values do. So if all the elements are named the same and they all appear in each form, there's no way to tell them apart. -----Original Message----- From: Sean Smith [mailto:ssmith at tomega.com] Sent: Tuesday, December 10, 2002 1:13 PM To: NYPHP Talk Subject: Re: [nycphp-talk] Form names If I understand correctly, there are multiple forms on a single page. The form elements have the same name on each form. What about the actual name of the form? Couldn't you test which form is being submitted by the form name? Of course, that assumes they didn't name all the forms the same also. I may be way off track but, just a thought. --- Unsubscribe at http://nyphp.org/list/ --- From jonbaer at jonbaer.net Tue Dec 10 11:03:09 2002 From: jonbaer at jonbaer.net (Jon Baer) Date: Tue, 10 Dec 2002 11:03:09 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan References: <200212102013.gBAKDlSt005266@parsec.nyphp.org> Message-ID: <3DF6103D.8010309@jonbaer.net> The talk actually gave me a better idea ... I figured to make a resume.xml file with all my projects and include a link to dynamically create the resume w/ different formats & info (filter), maybe overkill but might help: resume/?java+sql resume/?php+mysql etc, etc, etc. I saw a "Human Resources Markup Language" but looked completely outdated. :-) - Jon bruce at mtiglobal.com wrote: >Some people were talking about getting their resumes past non-competent HR >people. Here's what i do: > >Since they may not know that JDBC and J2EE are Java, I could write: > >- Java (JDBC, J2EE, Swing . . .) > >Since they may not know SQL is used with Oracle, I could write: > >- SQL (Oracle 8i, MySQL, . . .) > >This also has the added benefit of organizing things. > >- Bruce > > > > >--- Unsubscribe at http://nyphp.org/list/ --- > > > > > > From jellicle at inch.com Tue Dec 10 15:50:22 2002 From: jellicle at inch.com (Michael Sims) Date: Tue, 10 Dec 2002 15:50:22 -0500 Subject: [nycphp-talk] Form names In-Reply-To: <200212102005.gBAK5kSt005228@parsec.nyphp.org> References: <200212102005.gBAK5kSt005228@parsec.nyphp.org> Message-ID: <20021210205114.B32B210DE20@abbots.dsl.net> On Tuesday 10 December 2002 15:05 pm, Timothy P Sailer wrote: > That's what I'm trying to do. My question is *how* to do this in PHP. > I'm completely stumped on this one. Mainly because this is so stupid > that I have do this, and I'm pissed. Look, this is straightforward. On the receiving page, all you have is the form variables and the action= URL. That's it. If there's a difference between those variables, you can tell the forms apart. If not, you can't. Period, full stop. If someone writes an (idiotic) form like this: ---------------------------------------- Enter employee ID to fire: Enter employee ID to promote:
---------------------------------------- ... then you can't tell them apart, period. Quit trying. It's their fault. The form needs to be changed. The typical approaches are to modify the action= URL, or add a hidden form field.
-- Michael Sims From bruce at mtiglobal.com Wed Dec 11 08:21:22 2002 From: bruce at mtiglobal.com (bruce at mtiglobal.com) Date: Wed, 11 Dec 2002 05:21:22 -0800 (CST) Subject: XML Resumes In-Reply-To: <200212102040.gBAKeBSt005418@parsec.nyphp.org> References: <200212102040.gBAKeBSt005418@parsec.nyphp.org> Message-ID: <3988.65.112.109.66.1039555282.squirrel@taipei.mtiglobal.com> What are the tags used to distinguish say Java from J2EE, JDBC? Could you use main_technology and sub_technology? This xml idea is pretty interesting! I'm always spending time re-writing my resume for a particular job. It seems to take forever. If all my jobs, skills, accomplishments, etc. were in xml, I could easily create a 1 page resume that focused on a specific position! > The talk actually gave me a better idea ... I figured to make a > resume.xml file with all my projects and include a link to dynamically > create the resume w/ different formats & info (filter), maybe overkill > but might help: > > resume/?java+sql > resume/?php+mysql > etc, etc, etc. > > I saw a "Human Resources Markup Language" but looked completely > outdated. > > :-) > > - Jon > > bruce at mtiglobal.com wrote: > >>Some people were talking about getting their resumes past non-competent >> HR people. Here's what i do: >> >>Since they may not know that JDBC and J2EE are Java, I could write: >> >>- Java (JDBC, J2EE, Swing . . .) >> >>Since they may not know SQL is used with Oracle, I could write: >> >>- SQL (Oracle 8i, MySQL, . . .) >> >>This also has the added benefit of organizing things. >> >>- Bruce >> >> >> >> >> >> >> >> >> >> >> > > > > > --- Unsubscribe at http://nyphp.org/list/ --- From jkelly at sussex.cc.nj.us Tue Dec 10 16:24:27 2002 From: jkelly at sussex.cc.nj.us (jessica kelly) Date: Tue, 10 Dec 2002 16:24:27 -0500 Subject: [nycphp-talk] Form names Message-ID: If you can use Javascript try document.forms[0]. whatever for first form on page document.forms[1]. whatever for second form on page etc...... Jessica >>> jellicle at inch.com 12/10/02 3:51:20 PM >>> On Tuesday 10 December 2002 15:05 pm, Timothy P Sailer wrote: > That's what I'm trying to do. My question is *how* to do this in PHP. > I'm completely stumped on this one. Mainly because this is so stupid > that I have do this, and I'm pissed. Look, this is straightforward. On the receiving page, all you have is the form variables and the action= URL. That's it. If there's a difference between those variables, you can tell the forms apart. If not, you can't. Period, full stop. If someone writes an (idiotic) form like this: ---------------------------------------- Enter employee ID to fire: Enter employee ID to promote:
---------------------------------------- .. then you can't tell them apart, period. Quit trying. It's their fault. The form needs to be changed. The typical approaches are to modify the action= URL, or add a hidden form field.
-- Michael Sims --- Unsubscribe at http://nyphp.org/list/ --- From nyphp at altunergil.com Tue Dec 10 16:27:58 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Tue, 10 Dec 2002 16:27:58 -0500 Subject: [nycphp-talk] Form names In-Reply-To: <200212102125.gBALPQSt005666@parsec.nyphp.org> References: <200212102125.gBALPQSt005666@parsec.nyphp.org> Message-ID: <20021210162758.6278252b.nyphp@altunergil.com> I thought about this too.. But would you be able to address the forms like this on the 'submit' page? Aren't these only available where the forms themselves are? If yes, then we're back to "I can't modify the HTML". oktay On Tue, 10 Dec 2002 16:25:26 -0500 jessica kelly wrote: > If you can use Javascript try > > document.forms[0]. whatever for first form on page > document.forms[1]. whatever for second form on page > etc...... > > Jessica > > > >>> jellicle at inch.com 12/10/02 3:51:20 PM >>> > On Tuesday 10 December 2002 15:05 pm, Timothy P Sailer wrote: > > > That's what I'm trying to do. My question is *how* to do this in PHP. > > I'm completely stumped on this one. Mainly because this is so stupid > > that I have do this, and I'm pissed. > > Look, this is straightforward. On the receiving page, all you have is > the form variables and the action= URL. That's it. If there's a > difference between those variables, you can tell the forms apart. If > not, you can't. Period, full stop. If someone writes an (idiotic) form > like this: > > ---------------------------------------- > > Enter employee ID to fire: > > > > > > > Enter employee ID to promote: > >
> > >
> > ---------------------------------------- > > . then you can't tell them apart, period. Quit trying. It's their > fault. The form needs to be changed. The typical approaches are to > modify the action= URL, or add a hidden form field. > > > >
> > > -- > Michael Sims > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From jellicle at inch.com Tue Dec 10 16:42:06 2002 From: jellicle at inch.com (Michael Sims) Date: Tue, 10 Dec 2002 16:42:06 -0500 Subject: [nycphp-talk] Form names In-Reply-To: <200212102125.gBALPQSt005666@parsec.nyphp.org> References: <200212102125.gBALPQSt005666@parsec.nyphp.org> Message-ID: <20021210214245.C4E8A10DE3A@boags.dsl.net> On Tuesday 10 December 2002 16:25 pm, jessica kelly wrote: > If you can use Javascript try > > document.forms[0]. whatever for first form on page > document.forms[1]. whatever for second form on page > etc...... This is only useful on the page that has the originating form, not the processing page. -- Michael Sims From nyphp at altunergil.com Tue Dec 10 16:43:44 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Tue, 10 Dec 2002 16:43:44 -0500 Subject: [nycphp-talk] XML Resumes In-Reply-To: <200212102121.gBALLUSt005641@parsec.nyphp.org> References: <200212102121.gBALLUSt005641@parsec.nyphp.org> Message-ID: <20021210164344.3126fdfa.nyphp@altunergil.com> [snip ] If all my jobs, skills, accomplishments, etc. were > in xml, I could easily create a 1 page resume that focused on a specific > position! That would probably look like a ransom note :) oktay From fields at surgam.net Tue Dec 10 16:51:22 2002 From: fields at surgam.net (Adam Fields) Date: Tue, 10 Dec 2002 15:51:22 -0600 Subject: Announce: CMA Construction Set (CMACS) Message-ID: <20021210215121.GD7126@eye.surgam.net> I've been working on a fairly general cma generator application for editing relational data structures. This is not a CMS, but it does provide some CMS capability. I'm releasing the source for the PHP version for non-commercial use, so please download it and let me know what you think. The first public alpha code package and documentation are available here: http://www.surgam.net/fields/cmacs Any comments are welcomed. Enjoy! -- - Adam ----- Adam Fields, Managing Partner, fields at surgam.net Surgam, Inc. is a technology consulting firm with strong background in delivering scalable and robust enterprise web and IT applications. http://www.adamfields.com From fields at surgam.net Tue Dec 10 16:59:49 2002 From: fields at surgam.net (Adam Fields) Date: Tue, 10 Dec 2002 15:59:49 -0600 Subject: [nycphp-talk] Form names In-Reply-To: <200212092022.gB9KMoSt097686@parsec.nyphp.org> References: <200212092022.gB9KMoSt097686@parsec.nyphp.org> Message-ID: <20021210215949.GE7126@eye.surgam.net> On Mon, Dec 09, 2002 at 03:22:50PM -0500, Timothy P Sailer wrote: > I've been asked to post process a canned HTML screen that has > multiple named forms on it. I'm pulling a complete blank on > how to get the name of the form the submit button was clicked on. > Isn't this an HTML variable??? Are you taking form input directly from this HTML page somewhere, or are you just not allowed to change it? If the latter, you should be able to wrap it in a frameset and insert hidden variables into the different forms with an onload handler. -- - Adam ----- Adam Fields, Managing Partner, fields at surgam.net Surgam, Inc. is a technology consulting firm with strong background in delivering scalable and robust enterprise web and IT applications. http://www.adamfields.com From sailer at bnl.gov Tue Dec 10 17:24:00 2002 From: sailer at bnl.gov (Timothy P Sailer) Date: Tue, 10 Dec 2002 17:24:00 -0500 Subject: [nycphp-talk] Form names In-Reply-To: <200212102159.gBALxwSt005865@parsec.nyphp.org> References: <200212102159.gBALxwSt005865@parsec.nyphp.org> Message-ID: <20021210222400.GA13071@bnl.gov> On Tue, Dec 10, 2002 at 04:59:57PM -0500, Adam Fields wrote: > On Mon, Dec 09, 2002 at 03:22:50PM -0500, Timothy P Sailer wrote: > > I've been asked to post process a canned HTML screen that has > > multiple named forms on it. I'm pulling a complete blank on > > how to get the name of the form the submit button was clicked on. > > Isn't this an HTML variable??? > > Are you taking form input directly from this HTML page somewhere, or > are you just not allowed to change it? I'm taking the input from the page. Tim -- Tim Sailer Application Services Information Technology Division Brookhaven National Laboratory (631) 344-3001 From fields at surgam.net Tue Dec 10 18:54:38 2002 From: fields at surgam.net (Adam Fields) Date: Tue, 10 Dec 2002 17:54:38 -0600 Subject: [nycphp-talk] Form names In-Reply-To: <200212102238.gBAMc0St006087@parsec.nyphp.org> References: <200212102238.gBAMc0St006087@parsec.nyphp.org> Message-ID: <20021210235438.GH7126@eye.surgam.net> On Tue, Dec 10, 2002 at 05:38:00PM -0500, Timothy P Sailer wrote: > On Tue, Dec 10, 2002 at 04:59:57PM -0500, Adam Fields wrote: > > On Mon, Dec 09, 2002 at 03:22:50PM -0500, Timothy P Sailer wrote: > > > I've been asked to post process a canned HTML screen that has > > > multiple named forms on it. I'm pulling a complete blank on > > > how to get the name of the form the submit button was clicked on. > > > Isn't this an HTML variable??? > > > > Are you taking form input directly from this HTML page somewhere, or > > are you just not allowed to change it? > > I'm taking the input from the page. Then you can't do it, as has been noted elsewhere. Either they're passing you the name of the form or they're not. If they're not, you can't get it. -- - Adam ----- Adam Fields, Managing Partner, fields at surgam.net Surgam, Inc. is a technology consulting firm with strong background in delivering scalable and robust enterprise web and IT applications. http://www.adamfields.com From dannyc at dannyc.net Tue Dec 10 20:18:17 2002 From: dannyc at dannyc.net (danny cardenas) Date: Tue, 10 Dec 2002 20:18:17 -0500 Subject: [nycphp-talk] Form names Message-ID: <20021210201819-r01010700-8fa35a5d-0921-0108@192.168.1.100> Hi everyone- this is my first post to the list, and I'm a newbie to PHP, so if I'm clueless please forgive me- but, I'm thinking you could write a javascript handler that loops through all the forms on the page and writes the values to unique variables that it then passes to a PHP handler in a URL, ie: location='handler.php?f01Input01=foo&f02Input01=bar' -dc > On Tue, Dec 10, 2002 at 05:38:00PM -0500, Timothy P Sailer wrote: > > On Tue, Dec 10, 2002 at 04:59:57PM -0500, Adam Fields wrote: > > > On Mon, Dec 09, 2002 at 03:22:50PM -0500, Timothy P Sailer wrote: > > > > I've been asked to post process a canned HTML screen that has > > > > multiple named forms on it. I'm pulling a complete blank on > > > > how to get the name of the form the submit button was clicked on. > > > > Isn't this an HTML variable??? > > > > > > Are you taking form input directly from this HTML page somewhere, or > > > are you just not allowed to change it? > > > > I'm taking the input from the page. > > Then you can't do it, as has been noted elsewhere. Either they're > passing you the name of the form or they're not. If they're not, you > can't get it. > > -- > - Adam > > ----- > Adam Fields, Managing Partner, fields at surgam.net > Surgam, Inc. is a technology consulting firm with strong background in > delivering scalable and robust enterprise web and IT applications. > http://www.adamfields.com > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > > From fb at intldef.org Tue Dec 10 20:18:12 2002 From: fb at intldef.org (FB`) Date: Tue, 10 Dec 2002 20:18:12 -0500 Subject: [nycphp-talk] Form names References: <200212102130.gBALUgSt005696@parsec.nyphp.org> Message-ID: <01c101c2a0b3$2cc1e550$1901a8c0@ybsweb> Do you have access to the route used to get to the forms page? I'm thinking you might be able to wrap their html in a frame, and address the forms, as Jessica described, from a script within the frame. This also suggests just pulling in their html file into your PHP, and inserting the hidden fields you need at specific points... FB` ----- Original Message ----- From: "Oktay Altunergil" To: "NYPHP Talk" Sent: Tuesday, December 10, 2002 4:30 PM Subject: Re: [nycphp-talk] Form names > I thought about this too.. But would you be able to address the forms like this on the 'submit' page? > > Aren't these only available where the forms themselves are? If yes, then we're back to "I can't modify the HTML". > > oktay > > On Tue, 10 Dec 2002 16:25:26 -0500 > jessica kelly wrote: > > > If you can use Javascript try > > > > document.forms[0]. whatever for first form on page > > document.forms[1]. whatever for second form on page > > etc...... > > > > Jessica > > > > > > >>> jellicle at inch.com 12/10/02 3:51:20 PM >>> > > On Tuesday 10 December 2002 15:05 pm, Timothy P Sailer wrote: > > > > > That's what I'm trying to do. My question is *how* to do this in PHP. > > > I'm completely stumped on this one. Mainly because this is so stupid > > > that I have do this, and I'm pissed. > > > > Look, this is straightforward. On the receiving page, all you have is > > the form variables and the action= URL. That's it. If there's a > > difference between those variables, you can tell the forms apart. If > > not, you can't. Period, full stop. If someone writes an (idiotic) form > > like this: > > > > ---------------------------------------- > > > > Enter employee ID to fire: > > > > > > > > > > > > > > Enter employee ID to promote: > > > >
> > > > > >
> > > > ---------------------------------------- > > > > . then you can't tell them apart, period. Quit trying. It's their > > fault. The form needs to be changed. The typical approaches are to > > modify the action= URL, or add a hidden form field. > > > > > > > >
> > > > > > -- > > Michael Sims > > > > > > > > > > > > > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > From nyphp at altunergil.com Tue Dec 10 22:54:08 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Tue, 10 Dec 2002 22:54:08 -0500 Subject: [nycphp-talk] Form names In-Reply-To: <200212110118.gBB1IPSt007045@parsec.nyphp.org> References: <200212110118.gBB1IPSt007045@parsec.nyphp.org> Message-ID: <20021210225408.2ed13e98.nyphp@altunergil.com> That happens on the HTML side of things.. on the form page itself. He does not have access to that as far as I understand. If he had access, there's more straight forward ways to do it. oktay On Tue, 10 Dec 2002 20:18:25 -0500 danny cardenas wrote: > > Hi everyone- this is my first post to the list, and I'm a newbie to PHP, so if > I'm clueless please forgive me- but, I'm thinking you could write a javascript > handler that loops through all the forms on the page and writes the values to > unique variables that it then passes to a PHP handler in a URL, ie: > location='handler.php?f01Input01=foo&f02Input01=bar' > > -dc > > > > > On Tue, Dec 10, 2002 at 05:38:00PM -0500, Timothy P Sailer wrote: > > > On Tue, Dec 10, 2002 at 04:59:57PM -0500, Adam Fields wrote: > > > > On Mon, Dec 09, 2002 at 03:22:50PM -0500, Timothy P Sailer wrote: > > > > > I've been asked to post process a canned HTML screen that has > > > > > multiple named forms on it. I'm pulling a complete blank on > > > > > how to get the name of the form the submit button was clicked on. > > > > > Isn't this an HTML variable??? > > > > > > > > Are you taking form input directly from this HTML page somewhere, or > > > > are you just not allowed to change it? > > > > > > I'm taking the input from the page. > > > > Then you can't do it, as has been noted elsewhere. Either they're > > passing you the name of the form or they're not. If they're not, you > > can't get it. > > > > -- > > - Adam > > > > ----- > > Adam Fields, Managing Partner, fields at surgam.net > > Surgam, Inc. is a technology consulting firm with strong background in > > delivering scalable and robust enterprise web and IT applications. > > http://www.adamfields.com > > > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From chun_lam at hotmail.com Tue Dec 10 23:44:28 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Tue, 10 Dec 2002 23:44:28 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan Message-ID: well said ----Original Message Follows---- From: Adam Fields Reply-To: talk at nyphp.org To: NYPHP Talk Subject: Re: [nycphp-talk] [JOB] PT Junior Developer, Manhattan Date: Mon, 9 Dec 2002 11:51:35 -0500 Received: from mc5-f32.law1.hotmail.com ([65.54.252.39]) by mc5-s4.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 9 Dec 2002 09:26:28 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc5-f32.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 9 Dec 2002 09:26:06 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gB9GpZSt096520;Mon, 9 Dec 2002 11:51:35 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212091651.gB9GpZSt096520 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 09 Dec 2002 17:26:06.0708 (UTC) FILETIME=[0E8A9340:01C29FA8] On Mon, Dec 09, 2002 at 10:55:22AM -0500, max goldberg wrote: [...] > I think to truly be qualified you need to understand many things beyond > syntax, which most people don't get. It seems no one even writes code > for high performance and low resource usage any more. Everyone needs > their hand held through the most basic of exercises. I'm not sure if > it's just my opinion and current situation, it just seems like a lot > of people who make a living of programming/scripting web applications > have absolutely no idea what they are doing. You make a number of assertions here, which are not necessarily related: 1) People write inefficient code. Yes, that's true. But high-performance/low resource usage isn't always the best thing. What if making your code highly tuned takes you three times as long and makes the code completely incomprehensible to anyone who comes along after you? Like everything else, efficiency is a trade-off for other things. The problem isn't that people write inefficient code, it's that they don't know the difference. Much of "web scripting" is written in a RAD environment and should be written in such a way that it's fast to code, fast to replace when the functionality changes, and easy to read. This is not to say that efficiency should be ignored, but making every last component perform at its optimum is probably a waste of valuable developer time that could be better spent on other things (such as writing better comments and documentation). 2) People don't know what they're doing. There is a difference between a junior developer and a senior architect. Similarly, there's a difference between somone who picked up the PHP-in-24 hours book last week and someone who's deployed dozens of successful projects. If you're hiring, and you don't know the difference, your project isn't going to succeed if you're doing anything remotely complicated. Junior developers have a valuable place on a development team, but when they're in charge of the development effort (or solo), it's only natural that their lack of experience is going to show up in the final product. > I read a good rant which made a lot of sense to me at > http://m.bacarella.com/papers/secsoft/html/ There are some good points there, certainly, although most of that is aimed at admins and systems programmers. A lot of it is just frustrated ranting that is amusing but not productive. -- - Adam ----- Adam Fields, Managing Partner, fields at surgam.net Surgam, Inc. is a technology consulting firm with strong background in delivering scalable and robust enterprise web and IT applications. http://www.adamfields.com --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From chun_lam at hotmail.com Tue Dec 10 23:52:40 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Tue, 10 Dec 2002 23:52:40 -0500 Subject: [nycphp-talk] [JOB] PT Junior Developer, Manhattan Message-ID: This story remind me of me ;-) ----Original Message Follows---- From: max goldberg Reply-To: talk at nyphp.org To: NYPHP Talk Subject: Re: [nycphp-talk] [JOB] PT Junior Developer, Manhattan Date: Mon, 9 Dec 2002 14:02:46 -0500 Received: from mc9-f29.bay6.hotmail.com ([65.54.166.36]) by mc9-s4.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 9 Dec 2002 11:37:10 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc9-f29.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 9 Dec 2002 11:37:10 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gB9J2kSt097237;Mon, 9 Dec 2002 14:02:46 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212091902.gB9J2kSt097237 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 09 Dec 2002 19:37:10.0438 (UTC) FILETIME=[5DB08C60:01C29FBA] Well I think you said what I was trying to say a bit better. I'm not really hard on people for using a " on a static string rather than a ', but I would like to know they actually know the difference in how they are parsed. I just feel like more senior developers do write better code, not only does it work, but it takes into account a great deal of future expansion, it is usually well documented and there is usually a lot of good forethought put into it. A long while ago at a job I was forced into a bunch of standards by the lead developer, which at the time I hated. I didn't see any use for them until I got a new job, and was forced to fix an amazing amount of really unorganized hacks. At this point I fully understood the need for fully commented, peer evaluated code that fit a style guide. Also at this job the lead developer ignored a good amount of my questions, causing me to seek out the answer on my own, via documentation or trial and error. I think it helped me greatly. I wish some of the people I worked with had the initiative to teach themselves some things without needing to have someone walk them through the most basic parse errors. I don't think that document has many uses from a professional standpoint, but I did understand his frustration and I did find the humor in it, regardless of if I agree with all of his points. =) -max Adam Fields wrote: > On Mon, Dec 09, 2002 at 10:55:22AM -0500, max goldberg wrote: > [...] > >>I think to truly be qualified you need to understand many things beyond >>syntax, which most people don't get. It seems no one even writes code >>for high performance and low resource usage any more. Everyone needs >>their hand held through the most basic of exercises. I'm not sure if >>it's just my opinion and current situation, it just seems like a lot >>of people who make a living of programming/scripting web applications >>have absolutely no idea what they are doing. > > > You make a number of assertions here, which are not necessarily > related: > > 1) People write inefficient code. > > Yes, that's true. But high-performance/low resource usage isn't always > the best thing. What if making your code highly tuned takes you three > times as long and makes the code completely incomprehensible to anyone > who comes along after you? Like everything else, efficiency is a > trade-off for other things. The problem isn't that people write > inefficient code, it's that they don't know the difference. Much of > "web scripting" is written in a RAD environment and should be written > in such a way that it's fast to code, fast to replace when the > functionality changes, and easy to read. This is not to say that > efficiency should be ignored, but making every last component perform > at its optimum is probably a waste of valuable developer time that > could be better spent on other things (such as writing better comments > and documentation). > > 2) People don't know what they're doing. > > There is a difference between a junior developer and a senior > architect. Similarly, there's a difference between somone who picked > up the PHP-in-24 hours book last week and someone who's deployed > dozens of successful projects. If you're hiring, and you don't know > the difference, your project isn't going to succeed if you're doing > anything remotely complicated. Junior developers have a valuable place > on a development team, but when they're in charge of the development > effort (or solo), it's only natural that their lack of experience is > going to show up in the final product. > > >>I read a good rant which made a lot of sense to me at >>http://m.bacarella.com/papers/secsoft/html/ > > > There are some good points there, certainly, although most of that is > aimed at admins and systems programmers. A lot of it is just > frustrated ranting that is amusing but not productive. > --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From sklar at sklar.com Wed Dec 11 14:17:11 2002 From: sklar at sklar.com (David Sklar) Date: Wed, 11 Dec 2002 14:17:11 -0500 Subject: Introduction to PHP @ New School Message-ID: As an addendum to the thread a little while ago about PHP training, I thought I'd mention the class I'm teaching this spring at the New School. They've finally put up their Spring 2003 schedule online, so here's a link for more info: --> http://www.nsu.newschool.edu/spring03/comp5.htm#NCIC1522 Also, I suppose while I'm in commercial mode I'll mention that the O'Reilly PHP Cookbook that Adam Trachtenberg and I wrote is now out and in stock at various online bookstores. I haven't seen it in any offline bookstores yet, but I haven't been to a bookstore in a week or two. Adam and I have been talking to some of the O'Reilly PR folks to do an event with NYPHP where we could give away some copies of the book, but feel free to buy a copy now if you can't wait. :) Thanks, David From sklar at sklar.com Wed Dec 11 15:20:46 2002 From: sklar at sklar.com (David Sklar) Date: Wed, 11 Dec 2002 15:20:46 -0500 Subject: Introduction to PHP @ New School Message-ID: As an addendum to the thread a little while ago about PHP training, I thought I'd mention the class I'm teaching this spring at the New School. They've finally put up their Spring 2003 schedule online, so here's a link for more info: --> http://www.nsu.newschool.edu/spring03/comp5.htm#NCIC1522 Also, I suppose while I'm in commercial mode I'll mention that the O'Reilly PHP Cookbook that Adam Trachtenberg and I wrote is now out and in stock at various online bookstores. I haven't seen it in any offline bookstores yet, but I haven't been to a bookstore in a week or two. Adam and I have been talking to some of the O'Reilly PR folks to do an event with NYPHP where we could give away some copies of the book, but feel free to buy a copy now if you can't wait. :) Thanks, David From patrick.fee at baesystems.com Wed Dec 11 16:57:25 2002 From: patrick.fee at baesystems.com (Fee, Patrick J) Date: Wed, 11 Dec 2002 16:57:25 -0500 Subject: An Action Item App or Help Desk App... Message-ID: Evening gang, Recently I became disenchanted with an application I was using to track web job assignments by all of my staff. This ColdFusion/Oracle web app. acted like a help desk where customers could input requested changes, updates or corrections directly. My staff could also enter these actions themselves to handle phone requests, emails or other "non-web" requests. We could then track these items, hand them off to each other, and allow the users to see where thier issue was in the process. Finally we could close the issues and later get metrics on how quick we were. Three issues: 1) Not scalable without kickin' in a lot of cash for additional users. 2) No option for sub-tasks below the main task. THis makes sence because it was made to be a help desk app., so it was MEANT to deal with the opening, working and closing of discret tasks. But we need a little more... 3) The CF was encoded, so I couldn't change it to do our bidding. I know whatever I get will need at least a wee bit o' customization. So... my question to you. Anyone know of a LAMP (actually NETBSD AMP, but now I'm quibbling) product out there that will let me do the Help Desk for your Web Clients thing? I'm going to set it up on my own NetBSD server and if the powers that be like it... we'll get them to set up a Linux server for our use. I'd like it to be something that one of you has some faith in... or a couple of products that I can test against each other and make an informed decision. THanks for you imput. Also... sorry about the spelling. I'm sending this from a web mail client without the bells & whistles. Patrick J. Fee From LarryC at indexstock.com Wed Dec 11 17:42:15 2002 From: LarryC at indexstock.com (Larry Chuon) Date: Wed, 11 Dec 2002 17:42:15 -0500 Subject: [nycphp-talk] Introduction to PHP @ New School Message-ID: <86713EAB93BD5F40B94A0C8E604C7C91AEB93A@index-exchange.indexstock.com> David, How deep will you get into PHP? I might be able to send one or two persons to your class. Larry -----Original Message----- From: David Sklar [mailto:sklar at sklar.com] Sent: Wednesday, December 11, 2002 3:20 PM To: NYPHP Talk Subject: [nycphp-talk] Introduction to PHP @ New School As an addendum to the thread a little while ago about PHP training, I thought I'd mention the class I'm teaching this spring at the New School. They've finally put up their Spring 2003 schedule online, so here's a link for more info: --> http://www.nsu.newschool.edu/spring03/comp5.htm#NCIC1522 Also, I suppose while I'm in commercial mode I'll mention that the O'Reilly PHP Cookbook that Adam Trachtenberg and I wrote is now out and in stock at various online bookstores. I haven't seen it in any offline bookstores yet, but I haven't been to a bookstore in a week or two. Adam and I have been talking to some of the O'Reilly PR folks to do an event with NYPHP where we could give away some copies of the book, but feel free to buy a copy now if you can't wait. :) Thanks, David --- Unsubscribe at http://nyphp.org/list/ --- From sklar at sklar.com Wed Dec 11 18:00:34 2002 From: sklar at sklar.com (David Sklar) Date: Wed, 11 Dec 2002 18:00:34 -0500 Subject: [nycphp-talk] Introduction to PHP @ New School In-Reply-To: <200212112242.gBBMgLSt013789@parsec.nyphp.org> Message-ID: Larry, The class is 12 sessions, so there's time to cover a broad range of topics. Here are the topic headings from my syllabus: Language Basics Arrays, Functions, Objects Forms Cookies & Sessions Regular Expressions Databases Dates and Times Security & Encryption XML (and SOAP) (There are less than twelve items there because "Databases" spans two classes, there's a midterm exam, and the last class is devoted to talking about the term projects that the students have been working on.) -dave > From: Larry Chuon [mailto:LarryC at indexstock.com] > Sent: Wednesday, December 11, 2002 5:42 PM > > > David, > > How deep will you get into PHP? I might be able to send one or > two persons > to your class. > > Larry > > -----Original Message----- > From: David Sklar [mailto:sklar at sklar.com] > Sent: Wednesday, December 11, 2002 3:20 PM > > As an addendum to the thread a little while ago about PHP training, I > thought I'd mention the class I'm teaching this spring at the New School. > They've finally put up their Spring 2003 schedule online, so here's a link > for more info: > --> http://www.nsu.newschool.edu/spring03/comp5.htm#NCIC1522 > > Also, I suppose while I'm in commercial mode I'll mention that > the O'Reilly > PHP Cookbook that Adam Trachtenberg and I wrote is now out and in stock at > various online bookstores. I haven't seen it in any offline > bookstores yet, > but I haven't been to a bookstore in a week or two. Adam and I have been > talking to some of the O'Reilly PR folks to do an event with > NYPHP where we > could give away some copies of the book, but feel free to buy a > copy now if > you can't wait. :) > > Thanks, > > David > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > From nyphp at altunergil.com Thu Dec 12 01:25:29 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 12 Dec 2002 01:25:29 -0500 Subject: [nycphp-talk] An Action Item App or Help Desk App... In-Reply-To: <200212112157.gBBLvTSt013543@parsec.nyphp.org> References: <200212112157.gBBLvTSt013543@parsec.nyphp.org> Message-ID: <20021212012529.05e09d53.nyphp@altunergil.com> http://www.perldesk.com/ is fairly standard among small to medium sized hosting companies. I think it's free (as in soda pops). oktay On Wed, 11 Dec 2002 16:57:29 -0500 "Fee, Patrick J" wrote: > Evening gang, > > Recently I became disenchanted with an application I was using to track web > job assignments by all of my staff. This ColdFusion/Oracle web app. acted > like a help desk where customers could input requested changes, updates or > corrections directly. My staff could also enter these actions themselves to > handle phone requests, emails or other "non-web" requests. > > We could then track these items, hand them off to each other, and allow the > users to see where thier issue was in the process. Finally we could close > the issues and later get metrics on how quick we were. > > Three issues: > > 1) Not scalable without kickin' in a lot of cash for additional users. > > 2) No option for sub-tasks below the main task. THis makes sence because it > was made to be a help desk app., so it was MEANT to deal with the opening, > working and closing of discret tasks. But we need a little more... > > 3) The CF was encoded, so I couldn't change it to do our bidding. I know > whatever I get will need at least a wee bit o' customization. > > > So... my question to you. Anyone know of a LAMP (actually NETBSD AMP, but > now I'm quibbling) product out there that will let me do the Help Desk for > your Web Clients thing? I'm going to set it up on my own NetBSD server and > if the powers that be like it... we'll get them to set up a Linux server for > our use. > > I'd like it to be something that one of you has some faith in... or a couple > of products that I can test against each other and make an informed > decision. > > THanks for you imput. Also... sorry about the spelling. I'm sending this > from a web mail client without the bells & whistles. > > Patrick J. Fee > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From nyphp at altunergil.com Thu Dec 12 11:31:22 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 12 Dec 2002 11:31:22 -0500 Subject: PHP5 article on theOpenEnterprise Message-ID: <20021212113122.3fe271dd.nyphp@altunergil.com> PHP5: Ready For The Enterprise? By Jason Levitt http://www.theopenenterprise.com/story/TOE20021204S0001 From jim at nettmedia.com Thu Dec 12 11:44:13 2002 From: jim at nettmedia.com (Jim Musil) Date: Thu, 12 Dec 2002 11:44:13 -0500 Subject: Server switch Message-ID: Hi, I'm trying to move a group of sites from an internal overburdened server to a new colocated server. I'm having a few problems with some PHP commands that don't want to work on the new environment. 1. The mail() command no longer works. Although I can send mail using popen() to communicate directly with sendmail. 2. My fsockopen() behaves differently. For certain reasons, I need to connect to a mail server and an ftp server via a socket. These communications no longer work. It appears to have something to do with the line endings. 3. When connecting via FTP (not through PHP), it takes 20-30 seconds to connect. Once connected everything works great and I can navigate through directories as quickly as shell. I included this oddity because it seems related. The server configuration is similar but not identical. I realize this isn't enough information to work with, but I'm hoping that maybe someone has dealt with this situation before. Or maybe someone could just give me some general areas to inspect. Here's some info on the servers: OLD NEW System SunOS 5.8 Linux 2.4.2-2 PHP 4.1.2 4.2.2 Thanks! Jim From danielc at analysisandsolutions.com Thu Dec 12 12:00:54 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Thu, 12 Dec 2002 12:00:54 -0500 Subject: [nycphp-talk] Server switch In-Reply-To: <200212121643.gBCGhGSt019286@parsec.nyphp.org> References: <200212121643.gBCGhGSt019286@parsec.nyphp.org> Message-ID: <20021212170054.GA2448@panix.com> Hi Jim: For a quick comparision of what's going on between the servers, do a phpinfo() call inside a script or execute "php -i > phpinfo.htm" on each of the servers and compare the difference. I suspect the new server might have safe_mode on or might be an apache module as opposed to CGI. On the new server, you might be able to use their CGI with your php.ini file or build your own php for CGI use. Good luck, --Dan -- The new Department of Homeland Security is exempt from: * the Freedom of Information Act * procurement rules * labor collective bargaining * whistle blower protection The real goal? Eliminating government accountability. From LarryC at indexstock.com Thu Dec 12 12:48:14 2002 From: LarryC at indexstock.com (Larry Chuon) Date: Thu, 12 Dec 2002 12:48:14 -0500 Subject: [nycphp-talk] Server switch Message-ID: <86713EAB93BD5F40B94A0C8E604C7C91AEB93E@index-exchange.indexstock.com> See my response intersperse below. Hopefully, it'll apply to your situation. -----Original Message----- From: Jim Musil [mailto:jim at nettmedia.com] Sent: Thursday, December 12, 2002 11:43 AM To: NYPHP Talk Subject: [nycphp-talk] Server switch Hi, I'm trying to move a group of sites from an internal overburdened server to a new colocated server. I'm having a few problems with some PHP commands that don't want to work on the new environment. 1. The mail() command no longer works. Although I can send mail using popen() to communicate directly with sendmail. Your sendmail.mc might be pointing to a specific address (?) - usually on this line: DAEMON_OPTIONS(`Port=smtp,Addr=x.x.x.x, Name=MTA') If that is the case, correct it accordingly. It'll solve #2 problem as well. 2. My fsockopen() behaves differently. For certain reasons, I need to connect to a mail server and an ftp server via a socket. These communications no longer work. It appears to have something to do with the line endings. 3. When connecting via FTP (not through PHP), it takes 20-30 seconds to connect. Once connected everything works great and I can navigate through directories as quickly as shell. I included this oddity because it seems related. Some FTP daemons need to auth with port 113 and it tries to look for a DNS server. That's why you are experiencing the latency. Try to REM out the flag in FTP conf file or in the loader script (inet or xnet?). The server configuration is similar but not identical. I realize this isn't enough information to work with, but I'm hoping that maybe someone has dealt with this situation before. Or maybe someone could just give me some general areas to inspect. Here's some info on the servers: OLD NEW System SunOS 5.8 Linux 2.4.2-2 PHP 4.1.2 4.2.2 Thanks! Jim --- Unsubscribe at http://nyphp.org/list/ --- From gw.nyphp at gwprogramming.com Thu Dec 12 13:43:03 2002 From: gw.nyphp at gwprogramming.com (George Webb) Date: Thu, 12 Dec 2002 13:43:03 -0500 (EST) Subject: Occasional Windows (ISAPI) PHP failures Message-ID: <200212121843.NAA12492@gw00.com> Just installed the 4.2.3 PHP Windows package, to use with IIS on NT Server 4, and it mostly works, but about 1 time out of 20, the server fails with a HTTP 500 (Server Error), saying something like "The remote procedure call failed." Checking the server logs, the following line would appear in the failure case: 63.76.212.75 - - [12/Dec/2002:13:10:44 -0500] "GET /gwebb.php?Out-of-process ISAPI extension request failed. HTTP/1.1" 502 0 What else can we do to figure out this occasional problem? It appears the CGI version of PHP runs 100%, so the problem seems to be with the ISAPI version. If we can't figure it out, I guess we'd be better off running the CGI version entirely, wouldn't you agree? There are warnings in the INSTALL.TXT file about how "unstable" is the ISAPI version. So do you think that is the inherent problem? Although I strongly dislike Windows, getting PHP to work on this particular (legacy) web site is a significant step forward! Thanks for your help! George Webb gw.nyphp at gwprogramming.com (802) 985-1384 From hans at nyphp.org Thu Dec 12 13:54:33 2002 From: hans at nyphp.org (Hans Zaunere) Date: Thu, 12 Dec 2002 10:54:33 -0800 (PST) Subject: [nycphp-talk] Server switch In-Reply-To: <200212121643.gBCGhGSt019286@parsec.nyphp.org> Message-ID: <20021212185433.87727.qmail@web12803.mail.yahoo.com> --- Jim Musil wrote: > Hi, > > I'm trying to move a group of sites from an internal overburdened server to > a new colocated server. > > I'm having a few problems with some PHP commands that don't want to work on > the new environment. > > 1. The mail() command no longer works. Although I can send mail using > popen() to communicate directly with sendmail. Search phpinfo() output for sendmail and smtp. Make sure sendmail_path is correct, and that the UID PHP/Apache is running as can execute it. And watch sendmail's logs to see what's going on. /var/log/maillog and the -X switch to sendmail can be helpful. > 2. My fsockopen() behaves differently. For certain reasons, I need to > connect to a mail server and an ftp server via a socket. These > communications no longer work. In what way? What do errno and errstr say? > It appears to have something to do with the line endings. Hmm, odd, maybe: http://www.php.net/manual/en/ref.filesystem.php#ini.auto-detect-line-endings > 3. When connecting via FTP (not through PHP), it takes 20-30 seconds to > connect. Once connected everything works great and I can navigate through > directories as quickly as shell. I included this oddity because it seems > related. Yeah, maybe everything is just timing out. Check DNS responsiveness, rDNS setup, and /var/log/messages and /var/logl/maillog. Do you see this behavior with all protocols? (ie lynx http://google.com) > The server configuration is similar but not identical. I realize this isn't > enough information to work with, but I'm hoping that maybe someone has > dealt > with this situation before. Or maybe someone could just give me some > general > areas to inspect. > > Here's some info on the servers: > > OLD NEW > System SunOS 5.8 Linux 2.4.2-2 > PHP 4.1.2 4.2.2 I'd try to run with a newer kernel, uhh, like 2.4.18. Or maybe your colo facility's link is just saturated :) H ===== Hans Zaunere New York PHP http://nyphp.org hans at nyphp.org From weslists at anapraxis.com Thu Dec 12 15:02:56 2002 From: weslists at anapraxis.com (Weston Houghton) Date: Thu, 12 Dec 2002 15:02:56 -0500 Subject: DSL ISP Help Message-ID: Hey all, I'm finally setting up the home office, and I am looking for a good ISP for a home connection. Looking at Covad now for 5 static IPs, 384/1.5 speed. Does anyone have anyother recommendations? I need static IPs, and would prefer nothing slower than what Covad is offering. Thoughts? Thanks, Wes From JMKing at ipro.org Thu Dec 12 15:12:59 2002 From: JMKing at ipro.org (Jaz-Michael King) Date: Thu, 12 Dec 2002 15:12:59 -0500 Subject: [nycphp-talk] DSL ISP Help Message-ID: we use http://xo.com/ , 2 megs up and down, I think we have about 30 IPs (brooklyn 11231) j >>> weslists at anapraxis.com 12/12/02 03:03PM >>> Hey all, I'm finally setting up the home office, and I am looking for a good ISP for a home connection. Looking at Covad now for 5 static IPs, 384/1.5 speed. Does anyone have anyother recommendations? I need static IPs, and would prefer nothing slower than what Covad is offering. Thoughts? Thanks, Wes --- Unsubscribe at http://nyphp.org/list/ --- From jonathan at hirschman.net Thu Dec 12 15:32:46 2002 From: jonathan at hirschman.net (jonathan) Date: Thu, 12 Dec 2002 15:32:46 -0500 (EST) Subject: [nycphp-talk] DSL ISP Help In-Reply-To: <200212122003.gBCK35St020321@parsec.nyphp.org> Message-ID: I'm currently using bway.net. Pros: * They have a very liberal TOS. I'm hosting several low-volume servers currently, no issues. * They will (in my case, anyway), agree to put in a reverse DNS value of your choosing. Very good for mail apps. * Speed and reliability are generally good. Cons: * Cost. Very expensive - $100/month for what you're looking for. * No 24x7 support. If your connection goes down at night or weekends, you'd better hope that someone is checking the messages. I've had a couple of lengthy outages with them. I'm pleased overall, but may shop another provider once my year ends (which is this month). I'm looking at pilosoft.com, who gets a lot of thumbs-up from the NYLUG folks. jonathan On Thu, 12 Dec 2002, Weston Houghton wrote: > > Hey all, > > I'm finally setting up the home office, and I am looking for a good ISP > for a home connection. Looking at Covad now for 5 static IPs, 384/1.5 > speed. Does anyone have anyother recommendations? I need static IPs, > and would prefer nothing slower than what Covad is offering. > > Thoughts? > Thanks, > Wes > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > From gw.nyphp at gwprogramming.com Thu Dec 12 16:01:43 2002 From: gw.nyphp at gwprogramming.com (George Webb) Date: Thu, 12 Dec 2002 16:01:43 -0500 (EST) Subject: [nycphp-talk] Occasional Windows PHP failures In-Reply-To: <200212121843.gBCIh9St019924@parsec.nyphp.org> Message-ID: <200212122101.QAA12653@gw00.com> Update: Another bummer is that after a certain number of failed requests, say ten (10), the whole IIS server crashes, with some complaint about no more resources! So that's rather unfortunate. Again, the CGI version does not seem to cause such problems. Any suggestions on things to check or upgrade would be most appreciated! George Webb gw.nyphp at gwprogramming.com (802) 985-1384 > > > Just installed the 4.2.3 PHP Windows package, to use with IIS on > NT Server 4, and it mostly works, but about 1 time out of 20, the server > fails with a HTTP 500 (Server Error), saying something like > "The remote procedure call failed." > > Checking the server logs, the following line would appear in the > failure case: > > 63.76.212.75 - - [12/Dec/2002:13:10:44 -0500] "GET /gwebb.php?Out-of-process ISAPI extension request > failed. HTTP/1.1" 502 0 > > What else can we do to figure out this occasional problem? It > appears the CGI version of PHP runs 100%, so the problem seems to be with > the ISAPI version. If we can't figure it out, I guess we'd be better off > running the CGI version entirely, wouldn't you agree? > > There are warnings in the INSTALL.TXT file about how "unstable" > is the ISAPI version. So do you think that is the inherent problem? > > Although I strongly dislike Windows, getting PHP to work on this > particular (legacy) web site is a significant step forward! Thanks for > your help! > > > > > George Webb > gw.nyphp at gwprogramming.com > (802) 985-1384 From jim at bizcomputinginc.com Thu Dec 12 16:15:05 2002 From: jim at bizcomputinginc.com (Jim Hendricks) Date: Thu, 12 Dec 2002 16:15:05 -0500 Subject: [nycphp-talk] Server switch References: <200212121643.gBCGhGSt019286@parsec.nyphp.org> Message-ID: <00f101c2a223$8cb71900$6501a8c0@Notebook> I don't know about the PHP problems but can only assume your dealing with a different compile with different features enabled/disabled. For the FTP delay, I experience the same problem with my provider back a few months ago. It turns out it was a problem with the management software, I forget what the management software is called or who makes it, but the client end of the management software is called cpanel. My provider applied an update to the software and the login delay went away on FTP. Jim ----- Original Message ----- From: "Jim Musil" To: "NYPHP Talk" Sent: Thursday, December 12, 2002 11:43 AM Subject: [nycphp-talk] Server switch > Hi, > > I'm trying to move a group of sites from an internal overburdened server to > a new colocated server. > > I'm having a few problems with some PHP commands that don't want to work on > the new environment. > > 1. The mail() command no longer works. Although I can send mail using > popen() to communicate directly with sendmail. > > 2. My fsockopen() behaves differently. For certain reasons, I need to > connect to a mail server and an ftp server via a socket. These > communications no longer work. It appears to have something to do with the > line endings. > > 3. When connecting via FTP (not through PHP), it takes 20-30 seconds to > connect. Once connected everything works great and I can navigate through > directories as quickly as shell. I included this oddity because it seems > related. > > The server configuration is similar but not identical. I realize this isn't > enough information to work with, but I'm hoping that maybe someone has dealt > with this situation before. Or maybe someone could just give me some general > areas to inspect. > > Here's some info on the servers: > > OLD NEW > System SunOS 5.8 Linux 2.4.2-2 > PHP 4.1.2 4.2.2 > > Thanks! > Jim > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > > > From nyphp at altunergil.com Thu Dec 12 16:15:42 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 12 Dec 2002 16:15:42 -0500 Subject: [nycphp-talk] DSL ISP Help In-Reply-To: <200212122003.gBCK35St020321@parsec.nyphp.org> References: <200212122003.gBCK35St020321@parsec.nyphp.org> Message-ID: <20021212161542.36273a5f.nyphp@altunergil.com> alex @ the nylug-talk list runs his own DSL company. You might want to get in touch with him. Please check the nylug-talk archives at nylug.org for more info.. oktay On Thu, 12 Dec 2002 15:03:05 -0500 Weston Houghton wrote: > > Hey all, > > I'm finally setting up the home office, and I am looking for a good ISP > for a home connection. Looking at Covad now for 5 static IPs, 384/1.5 > speed. Does anyone have anyother recommendations? I need static IPs, > and would prefer nothing slower than what Covad is offering. > > Thoughts? > Thanks, > Wes > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From hans at nyphp.org Thu Dec 12 17:33:34 2002 From: hans at nyphp.org (Hans Zaunere) Date: Thu, 12 Dec 2002 14:33:34 -0800 (PST) Subject: [nycphp-talk] Occasional Windows PHP failures In-Reply-To: <200212122101.gBCL1nSt020631@parsec.nyphp.org> Message-ID: <20021212223334.11424.qmail@web12804.mail.yahoo.com> --- George Webb wrote: > Update: Another bummer is that after a certain number > of failed requests, say ten (10), the whole IIS server crashes, > with some complaint about no more resources! So that's > rather unfortunate. Hmm, this is a toughy. I seem to remember some things coming up surrounding this, either on PHP-DEV or as a bug somewhere. http://www.zend.com/zend/week/week114.php#Heading6 and http://bugs.php.net/search.php searching for ISAPI in all bugs. > Again, the CGI version does not seem to cause such problems. Yeah, that makes sense, I guess. > Any suggestions on things to check or upgrade would be most > appreciated! I'd try 4.3RC3 (http://qa.php.net/) which has just been released, and is probably pretty stable. I've been playing with 4.4 from CVS and even that's stable (although I have no idea as for Windows). Regards, H > > > George Webb > gw.nyphp at gwprogramming.com > (802) 985-1384 > > > > > > > Just installed the 4.2.3 PHP Windows package, to use with IIS on > > NT Server 4, and it mostly works, but about 1 time out of 20, the server > > fails with a HTTP 500 (Server Error), saying something like > > "The remote procedure call failed." > > > > Checking the server logs, the following line would appear in the > > failure case: > > > > 63.76.212.75 - - [12/Dec/2002:13:10:44 -0500] "GET > /gwebb.php?Out-of-process ISAPI extension request > > failed. HTTP/1.1" 502 0 > > > > What else can we do to figure out this occasional problem? It > > appears the CGI version of PHP runs 100%, so the problem seems to be with > > the ISAPI version. If we can't figure it out, I guess we'd be better off > > running the CGI version entirely, wouldn't you agree? > > > > There are warnings in the INSTALL.TXT file about how "unstable" > > is the ISAPI version. So do you think that is the inherent problem? > > > > Although I strongly dislike Windows, getting PHP to work on this > > particular (legacy) web site is a significant step forward! Thanks for > > your help! > > > > > > > > > > George Webb > > gw.nyphp at gwprogramming.com > > (802) 985-1384 > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > ===== Hans Zaunere New York PHP http://nyphp.org hans at nyphp.org From hans at nyphp.org Thu Dec 12 17:38:12 2002 From: hans at nyphp.org (Hans Zaunere) Date: Thu, 12 Dec 2002 14:38:12 -0800 (PST) Subject: [nycphp-talk] DSL ISP Help In-Reply-To: <200212122003.gBCK35St020321@parsec.nyphp.org> Message-ID: <20021212223812.70432.qmail@web12802.mail.yahoo.com> --- Weston Houghton wrote: > > Hey all, > > I'm finally setting up the home office, and I am looking for a good ISP > for a home connection. Looking at Covad now for 5 static IPs, 384/1.5 > speed. Does anyone have anyother recommendations? I need static IPs, > and would prefer nothing slower than what Covad is offering. I currently have AceDSL and couldn't be happier, but if pilosoft.com had offered DSL when I was in the market, I'd gone with him. As Oktay mentioned, Alex (pilosoft.com) is often on NYLUG-Talk and active in the local community; and I can personally vouch for his technical and support repertoire. H ===== Hans Zaunere New York PHP http://nyphp.org hans at nyphp.org From chun_lam at hotmail.com Thu Dec 12 22:53:37 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Thu, 12 Dec 2002 22:53:37 -0500 Subject: [nycphp-talk] Server switch Message-ID: I have heard of a similar problem about moving applications between servers. The problem that I have from before was that the mail server was having problem looking at new-lines. I hope that might give you some hint. ----Original Message Follows---- From: Jim Musil Reply-To: talk at nyphp.org To: NYPHP Talk Subject: [nycphp-talk] Server switch Date: Thu, 12 Dec 2002 11:43:16 -0500 Received: from mc6-f37.law1.hotmail.com ([65.54.252.173]) by mc6-s13.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 12 Dec 2002 08:52:24 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc6-f37.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 12 Dec 2002 08:52:22 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBCGhGSt019286;Thu, 12 Dec 2002 11:43:16 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212121643.gBCGhGSt019286 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 12 Dec 2002 16:52:22.0318 (UTC) FILETIME=[D7266CE0:01C2A1FE] Hi, I'm trying to move a group of sites from an internal overburdened server to a new colocated server. I'm having a few problems with some PHP commands that don't want to work on the new environment. 1. The mail() command no longer works. Although I can send mail using popen() to communicate directly with sendmail. 2. My fsockopen() behaves differently. For certain reasons, I need to connect to a mail server and an ftp server via a socket. These communications no longer work. It appears to have something to do with the line endings. 3. When connecting via FTP (not through PHP), it takes 20-30 seconds to connect. Once connected everything works great and I can navigate through directories as quickly as shell. I included this oddity because it seems related. The server configuration is similar but not identical. I realize this isn't enough information to work with, but I'm hoping that maybe someone has dealt with this situation before. Or maybe someone could just give me some general areas to inspect. Here's some info on the servers: OLD NEW System SunOS 5.8 Linux 2.4.2-2 PHP 4.1.2 4.2.2 Thanks! Jim --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From chun_lam at hotmail.com Thu Dec 12 23:01:36 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Thu, 12 Dec 2002 23:01:36 -0500 Subject: [nycphp-talk] Occasional Windows PHP failures Message-ID: Seems like that it might have something to do with threads. ----Original Message Follows---- From: George Webb Reply-To: talk at nyphp.org To: NYPHP Talk Subject: [nycphp-talk] Occasional Windows PHP failures Date: Thu, 12 Dec 2002 13:43:09 -0500 Received: from mc3-f15.law16.hotmail.com ([65.54.236.150]) by mc3-s7.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 12 Dec 2002 10:50:18 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc3-f15.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 12 Dec 2002 10:49:33 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBCIh9St019924;Thu, 12 Dec 2002 13:43:13 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212121843.gBCIh9St019924 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 12 Dec 2002 18:49:33.0853 (UTC) FILETIME=[364584D0:01C2A20F] Just installed the 4.2.3 PHP Windows package, to use with IIS on NT Server 4, and it mostly works, but about 1 time out of 20, the server fails with a HTTP 500 (Server Error), saying something like "The remote procedure call failed." Checking the server logs, the following line would appear in the failure case: 63.76.212.75 - - [12/Dec/2002:13:10:44 -0500] "GET /gwebb.php?Out-of-process ISAPI extension request failed. HTTP/1.1" 502 0 What else can we do to figure out this occasional problem? It appears the CGI version of PHP runs 100%, so the problem seems to be with the ISAPI version. If we can't figure it out, I guess we'd be better off running the CGI version entirely, wouldn't you agree? There are warnings in the INSTALL.TXT file about how "unstable" is the ISAPI version. So do you think that is the inherent problem? Although I strongly dislike Windows, getting PHP to work on this particular (legacy) web site is a significant step forward! Thanks for your help! George Webb gw.nyphp at gwprogramming.com (802) 985-1384 --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From soazine at erols.com Fri Dec 13 18:13:55 2002 From: soazine at erols.com (Phil Powell) Date: Fri, 13 Dec 2002 18:13:55 -0500 Subject: Fw: PHP script needs to timeout upon FOPEN to URL Message-ID: <004801c2a2fd$4f2dea70$dcbe6444@scandinawa1bo6> ----- Original Message ----- From: "soazine at pop.erols.com" To: Sent: Friday, December 13, 2002 5:13 PM Subject: PHP script needs to timeout upon FOPEN to URL I have the following line: while (!($file = @fopen("http://www.myurl.com", "r")) && time() < $startTime + $time); if (!$file){ echo "Timed out, try again later"; } else { // do stuff } Problem is, when it attempts to connect to the remote server, it's supposed to time out after 2-5 seconds, but it doesn't, it just locks up :( Any suggestions? Phil -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From chun_lam at hotmail.com Fri Dec 13 21:52:20 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Fri, 13 Dec 2002 21:52:20 -0500 Subject: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL Message-ID: 1. I don't see that you assign anything to $time and also you are not incrementing it. 2. To do while loop like this is very dangerous. (Might cause you to open a lot of file pointer to the same file) 3. Maybe you can use a socket instead. ----Original Message Follows---- From: "Phil Powell" Reply-To: talk at nyphp.org To: NYPHP Talk Subject: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL Date: Fri, 13 Dec 2002 18:16:07 -0500 Received: from mc2-f20.law16.hotmail.com ([65.54.237.27]) by mc2-s1.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Dec 2002 15:23:33 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc2-f20.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Dec 2002 15:22:37 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBDNG7St029580;Fri, 13 Dec 2002 18:16:07 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212132316.gBDNG7St029580 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 13 Dec 2002 23:22:37.0924 (UTC) FILETIME=[865A1A40:01C2A2FE] ----- Original Message ----- From: "soazine at pop.erols.com" To: Sent: Friday, December 13, 2002 5:13 PM Subject: PHP script needs to timeout upon FOPEN to URL I have the following line: while (!($file = @fopen("http://www.myurl.com", "r")) && time() < $startTime + $time); if (!$file){ echo "Timed out, try again later"; } else { // do stuff } Problem is, when it attempts to connect to the remote server, it's supposed to time out after 2-5 seconds, but it doesn't, it just locks up :( Any suggestions? Phil -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From soazine at erols.com Fri Dec 13 22:01:29 2002 From: soazine at erols.com (Phil Powell) Date: Fri, 13 Dec 2002 22:01:29 -0500 Subject: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL References: <200212140252.gBE2qRSt030666@parsec.nyphp.org> Message-ID: <00d401c2a31d$199b1c50$dcbe6444@scandinawa1bo6> Oh sorry.. $time = time(); And I can't use sockets, I tried and it produced nasty errors.. I can only do it this way, but I might change the while to an if Phil ----- Original Message ----- From: "CHUN-YIU LAM" To: "NYPHP Talk" Sent: Friday, December 13, 2002 9:52 PM Subject: Re: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL > 1. I don't see that you assign anything to $time and also you are not > incrementing it. > 2. To do while loop like this is very dangerous. (Might cause you to open a > lot of file pointer to the same file) > 3. Maybe you can use a socket instead. > > ----Original Message Follows---- > From: "Phil Powell" > Reply-To: talk at nyphp.org > To: NYPHP Talk > Subject: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL > Date: Fri, 13 Dec 2002 18:16:07 -0500 > Received: from mc2-f20.law16.hotmail.com ([65.54.237.27]) by > mc2-s1.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Dec > 2002 15:23:33 -0800 > Received: from parsec.nyphp.org ([66.250.131.26]) by > mc2-f20.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Dec > 2002 15:22:37 -0800 > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBDNG7St029580;Fri, 13 Dec > 2002 18:16:07 -0500 (EST)(envelope-from listmaster at nyphp.org) > Message-Id: <200212132316.gBDNG7St029580 at parsec.nyphp.org> > X-Paralist-Archived: > X-List-Software: Paralist 0.6 > List-ID: > List-Owner: > List-Archive: > List-Subscribe: > List-Unsubscribe: > Organization: New York PHP > X-Mailer: Paramail 0.5 > Return-Path: listmaster at nyphp.org > X-OriginalArrivalTime: 13 Dec 2002 23:22:37.0924 (UTC) > FILETIME=[865A1A40:01C2A2FE] > > ----- Original Message ----- > From: "soazine at pop.erols.com" > To: > Sent: Friday, December 13, 2002 5:13 PM > Subject: PHP script needs to timeout upon FOPEN to URL > > > I have the following line: > > while (!($file = @fopen("http://www.myurl.com", "r")) && time() < > $startTime + $time); > if (!$file){ > echo "Timed out, try again later"; > } else { > // do stuff > } > > Problem is, when it attempts to connect to the remote server, it's supposed > to time out after 2-5 seconds, but it doesn't, it just locks up :( Any > suggestions? > > Phil > > -------------------------------------------------------------------- > mail2web - Check your email from the web at > http://mail2web.com/ . > > > > > > > > > _________________________________________________________________ > Tired of spam? Get advanced junk mail protection with MSN 8. > http://join.msn.com/?page=features/junkmail > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From chun_lam at hotmail.com Fri Dec 13 22:29:50 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Fri, 13 Dec 2002 22:29:50 -0500 Subject: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL Message-ID: I don't think this will work at all. PHP is a server side include scripting language. This means that the everything is eventually parse into text and send to the browser. You are trying to keep track of time, but when you send to the broswer it became static. I think you should try to get the socket working. ----Original Message Follows---- From: "Phil Powell" Reply-To: talk at nyphp.org To: NYPHP Talk Subject: Re: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL Date: Fri, 13 Dec 2002 22:03:41 -0500 Received: from mc7-f14.law1.hotmail.com ([65.54.253.21]) by mc7-s16.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Dec 2002 19:17:42 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc7-f14.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Dec 2002 19:17:42 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBE33fSt030745;Fri, 13 Dec 2002 22:03:41 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212140303.gBE33fSt030745 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 14 Dec 2002 03:17:42.0232 (UTC) FILETIME=[5D2CB580:01C2A31F] Oh sorry.. $time = time(); And I can't use sockets, I tried and it produced nasty errors.. I can only do it this way, but I might change the while to an if Phil ----- Original Message ----- From: "CHUN-YIU LAM" To: "NYPHP Talk" Sent: Friday, December 13, 2002 9:52 PM Subject: Re: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL > 1. I don't see that you assign anything to $time and also you are not > incrementing it. > 2. To do while loop like this is very dangerous. (Might cause you to open a > lot of file pointer to the same file) > 3. Maybe you can use a socket instead. > > ----Original Message Follows---- > From: "Phil Powell" > Reply-To: talk at nyphp.org > To: NYPHP Talk > Subject: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL > Date: Fri, 13 Dec 2002 18:16:07 -0500 > Received: from mc2-f20.law16.hotmail.com ([65.54.237.27]) by > mc2-s1.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Dec > 2002 15:23:33 -0800 > Received: from parsec.nyphp.org ([66.250.131.26]) by > mc2-f20.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Dec > 2002 15:22:37 -0800 > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBDNG7St029580;Fri, 13 Dec > 2002 18:16:07 -0500 (EST)(envelope-from listmaster at nyphp.org) > Message-Id: <200212132316.gBDNG7St029580 at parsec.nyphp.org> > X-Paralist-Archived: > X-List-Software: Paralist 0.6 > List-ID: > List-Owner: > List-Archive: > List-Subscribe: > List-Unsubscribe: > Organization: New York PHP > X-Mailer: Paramail 0.5 > Return-Path: listmaster at nyphp.org > X-OriginalArrivalTime: 13 Dec 2002 23:22:37.0924 (UTC) > FILETIME=[865A1A40:01C2A2FE] > > ----- Original Message ----- > From: "soazine at pop.erols.com" > To: > Sent: Friday, December 13, 2002 5:13 PM > Subject: PHP script needs to timeout upon FOPEN to URL > > > I have the following line: > > while (!($file = @fopen("http://www.myurl.com", "r")) && time() < > $startTime + $time); > if (!$file){ > echo "Timed out, try again later"; > } else { > // do stuff > } > > Problem is, when it attempts to connect to the remote server, it's supposed > to time out after 2-5 seconds, but it doesn't, it just locks up :( Any > suggestions? > > Phil > > -------------------------------------------------------------------- > mail2web - Check your email from the web at > http://mail2web.com/ . > > > > > > > > > _________________________________________________________________ > Tired of spam? Get advanced junk mail protection with MSN 8. > http://join.msn.com/?page=features/junkmail > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From soazine at erols.com Fri Dec 13 22:32:19 2002 From: soazine at erols.com (Phil Powell) Date: Fri, 13 Dec 2002 22:32:19 -0500 Subject: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL References: <200212140330.gBE3U2St030886@parsec.nyphp.org> Message-ID: <00dc01c2a321$680791d0$dcbe6444@scandinawa1bo6> Show me socket-related script for PHP 4.0. The stuff I saw was for PHP 4.3. Phil ----- Original Message ----- From: "CHUN-YIU LAM" To: "NYPHP Talk" Sent: Friday, December 13, 2002 10:30 PM Subject: Re: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL > I don't think this will work at all. PHP is a server side include scripting > language. This means that the everything is eventually parse into text and > send to the browser. > > You are trying to keep track of time, but when you send to the broswer it > became static. > > I think you should try to get the socket working. > > > > ----Original Message Follows---- > From: "Phil Powell" > Reply-To: talk at nyphp.org > To: NYPHP Talk > Subject: Re: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL > Date: Fri, 13 Dec 2002 22:03:41 -0500 > Received: from mc7-f14.law1.hotmail.com ([65.54.253.21]) by > mc7-s16.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Dec > 2002 19:17:42 -0800 > Received: from parsec.nyphp.org ([66.250.131.26]) by > mc7-f14.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Dec > 2002 19:17:42 -0800 > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBE33fSt030745;Fri, 13 Dec > 2002 22:03:41 -0500 (EST)(envelope-from listmaster at nyphp.org) > Message-Id: <200212140303.gBE33fSt030745 at parsec.nyphp.org> > X-Paralist-Archived: > X-List-Software: Paralist 0.6 > List-ID: > List-Owner: > List-Archive: > List-Subscribe: > List-Unsubscribe: > Organization: New York PHP > X-Mailer: Paramail 0.5 > Return-Path: listmaster at nyphp.org > X-OriginalArrivalTime: 14 Dec 2002 03:17:42.0232 (UTC) > FILETIME=[5D2CB580:01C2A31F] > > Oh sorry.. > > $time = time(); > > And I can't use sockets, I tried and it produced nasty errors.. I can only > do it this way, but I might change the while to an if > > Phil > ----- Original Message ----- > From: "CHUN-YIU LAM" > To: "NYPHP Talk" > Sent: Friday, December 13, 2002 9:52 PM > Subject: Re: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL > > > > 1. I don't see that you assign anything to $time and also you are not > > incrementing it. > > 2. To do while loop like this is very dangerous. (Might cause you to open > a > > lot of file pointer to the same file) > > 3. Maybe you can use a socket instead. > > > > ----Original Message Follows---- > > From: "Phil Powell" > > Reply-To: talk at nyphp.org > > To: NYPHP Talk > > Subject: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL > > Date: Fri, 13 Dec 2002 18:16:07 -0500 > > Received: from mc2-f20.law16.hotmail.com ([65.54.237.27]) by > > mc2-s1.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 > Dec > > 2002 15:23:33 -0800 > > Received: from parsec.nyphp.org ([66.250.131.26]) by > > mc2-f20.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 > Dec > > 2002 15:22:37 -0800 > > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBDNG7St029580;Fri, 13 Dec > > 2002 18:16:07 -0500 (EST)(envelope-from listmaster at nyphp.org) > > Message-Id: <200212132316.gBDNG7St029580 at parsec.nyphp.org> > > X-Paralist-Archived: > > > X-List-Software: Paralist 0.6 > > List-ID: > > List-Owner: > > List-Archive: > > List-Subscribe: > > List-Unsubscribe: > > Organization: New York PHP > > X-Mailer: Paramail 0.5 > > Return-Path: listmaster at nyphp.org > > X-OriginalArrivalTime: 13 Dec 2002 23:22:37.0924 (UTC) > > FILETIME=[865A1A40:01C2A2FE] > > > > ----- Original Message ----- > > From: "soazine at pop.erols.com" > > To: > > Sent: Friday, December 13, 2002 5:13 PM > > Subject: PHP script needs to timeout upon FOPEN to URL > > > > > > I have the following line: > > > > while (!($file = @fopen("http://www.myurl.com", "r")) && time() < > > $startTime + $time); > > if (!$file){ > > echo "Timed out, try again later"; > > } else { > > // do stuff > > } > > > > Problem is, when it attempts to connect to the remote server, it's > supposed > > to time out after 2-5 seconds, but it doesn't, it just locks up :( Any > > suggestions? > > > > Phil > > > > -------------------------------------------------------------------- > > mail2web - Check your email from the web at > > http://mail2web.com/ . > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > Tired of spam? Get advanced junk mail protection with MSN 8. > > http://join.msn.com/?page=features/junkmail > > > > > > > > > > > > > > > > > > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From chun_lam at hotmail.com Fri Dec 13 22:46:39 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Fri, 13 Dec 2002 22:46:39 -0500 Subject: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL Message-ID: Hope this will help you out. http://www.zend.com/zend/tut/currency-exchange.php ----Original Message Follows---- From: "Phil Powell" Reply-To: talk at nyphp.org To: NYPHP Talk Subject: Re: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL Date: Fri, 13 Dec 2002 22:34:31 -0500 Received: from mc5-f25.law1.hotmail.com ([65.54.252.32]) by mc5-s15.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Dec 2002 19:38:45 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc5-f25.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Dec 2002 19:38:45 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBE3YVSt030908;Fri, 13 Dec 2002 22:34:31 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212140334.gBE3YVSt030908 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 14 Dec 2002 03:38:45.0499 (UTC) FILETIME=[4E23F4B0:01C2A322] Show me socket-related script for PHP 4.0. The stuff I saw was for PHP 4.3. Phil ----- Original Message ----- From: "CHUN-YIU LAM" To: "NYPHP Talk" Sent: Friday, December 13, 2002 10:30 PM Subject: Re: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL > I don't think this will work at all. PHP is a server side include scripting > language. This means that the everything is eventually parse into text and > send to the browser. > > You are trying to keep track of time, but when you send to the broswer it > became static. > > I think you should try to get the socket working. > > > > ----Original Message Follows---- > From: "Phil Powell" > Reply-To: talk at nyphp.org > To: NYPHP Talk > Subject: Re: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL > Date: Fri, 13 Dec 2002 22:03:41 -0500 > Received: from mc7-f14.law1.hotmail.com ([65.54.253.21]) by > mc7-s16.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Dec > 2002 19:17:42 -0800 > Received: from parsec.nyphp.org ([66.250.131.26]) by > mc7-f14.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Dec > 2002 19:17:42 -0800 > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBE33fSt030745;Fri, 13 Dec > 2002 22:03:41 -0500 (EST)(envelope-from listmaster at nyphp.org) > Message-Id: <200212140303.gBE33fSt030745 at parsec.nyphp.org> > X-Paralist-Archived: > X-List-Software: Paralist 0.6 > List-ID: > List-Owner: > List-Archive: > List-Subscribe: > List-Unsubscribe: > Organization: New York PHP > X-Mailer: Paramail 0.5 > Return-Path: listmaster at nyphp.org > X-OriginalArrivalTime: 14 Dec 2002 03:17:42.0232 (UTC) > FILETIME=[5D2CB580:01C2A31F] > > Oh sorry.. > > $time = time(); > > And I can't use sockets, I tried and it produced nasty errors.. I can only > do it this way, but I might change the while to an if > > Phil > ----- Original Message ----- > From: "CHUN-YIU LAM" > To: "NYPHP Talk" > Sent: Friday, December 13, 2002 9:52 PM > Subject: Re: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL > > > > 1. I don't see that you assign anything to $time and also you are not > > incrementing it. > > 2. To do while loop like this is very dangerous. (Might cause you to open > a > > lot of file pointer to the same file) > > 3. Maybe you can use a socket instead. > > > > ----Original Message Follows---- > > From: "Phil Powell" > > Reply-To: talk at nyphp.org > > To: NYPHP Talk > > Subject: [nycphp-talk] Fw: PHP script needs to timeout upon FOPEN to URL > > Date: Fri, 13 Dec 2002 18:16:07 -0500 > > Received: from mc2-f20.law16.hotmail.com ([65.54.237.27]) by > > mc2-s1.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 > Dec > > 2002 15:23:33 -0800 > > Received: from parsec.nyphp.org ([66.250.131.26]) by > > mc2-f20.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 > Dec > > 2002 15:22:37 -0800 > > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBDNG7St029580;Fri, 13 Dec > > 2002 18:16:07 -0500 (EST)(envelope-from listmaster at nyphp.org) > > Message-Id: <200212132316.gBDNG7St029580 at parsec.nyphp.org> > > X-Paralist-Archived: > > > X-List-Software: Paralist 0.6 > > List-ID: > > List-Owner: > > List-Archive: > > List-Subscribe: > > List-Unsubscribe: > > Organization: New York PHP > > X-Mailer: Paramail 0.5 > > Return-Path: listmaster at nyphp.org > > X-OriginalArrivalTime: 13 Dec 2002 23:22:37.0924 (UTC) > > FILETIME=[865A1A40:01C2A2FE] > > > > ----- Original Message ----- > > From: "soazine at pop.erols.com" > > To: > > Sent: Friday, December 13, 2002 5:13 PM > > Subject: PHP script needs to timeout upon FOPEN to URL > > > > > > I have the following line: > > > > while (!($file = @fopen("http://www.myurl.com", "r")) && time() < > > $startTime + $time); > > if (!$file){ > > echo "Timed out, try again later"; > > } else { > > // do stuff > > } > > > > Problem is, when it attempts to connect to the remote server, it's > supposed > > to time out after 2-5 seconds, but it doesn't, it just locks up :( Any > > suggestions? > > > > Phil > > > > -------------------------------------------------------------------- > > mail2web - Check your email from the web at > > http://mail2web.com/ . > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > Tired of spam? Get advanced junk mail protection with MSN 8. > > http://join.msn.com/?page=features/junkmail > > > > > > > > > > > > > > > > > > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From WEBPHP4 at aol.com Sun Dec 15 03:22:55 2002 From: WEBPHP4 at aol.com (WEBPHP4 at aol.com) Date: Sun, 15 Dec 2002 03:22:55 EST Subject: [nycphp-talk] DSL ISP Help Message-ID: <166.18829008.2b2d95df@aol.com> www.couldnine.com 1-914-696-4000 good luck -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at preston-campbell.com Sun Dec 15 09:21:34 2002 From: brian at preston-campbell.com (Brian) Date: Sun, 15 Dec 2002 09:21:34 -0500 Subject: [nycphp-talk] DSL ISP Help In-Reply-To: <200212150823.gBF8N4St042561@parsec.nyphp.org> References: <200212150823.gBF8N4St042561@parsec.nyphp.org> Message-ID: <200212150921.34792.brian@preston-campbell.com> Could that be http://www.CLOUDnine.com ?? I hope not because there is nothing about DSL there either. It's http://www.cloudnine.net On Sunday 15 December 2002 03:23 am, WEBPHP4 at aol.com wrote: > www.couldnine.com > > 1-914-696-4000 > > good luck > > > > --- Unsubscribe at http://nyphp.org/list/ --- From chun_lam at hotmail.com Sun Dec 15 12:01:47 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Sun, 15 Dec 2002 12:01:47 -0500 Subject: [nycphp-talk] DSL ISP Help Message-ID: tried it on Sunday 12:22PM. Could not reach it. ----Original Message Follows---- From: WEBPHP4 at aol.com Reply-To: talk at nyphp.org To: NYPHP Talk Subject: Re: [nycphp-talk] DSL ISP Help Date: Sun, 15 Dec 2002 03:23:04 -0500 Received: from mc5-f38.law1.hotmail.com ([65.54.252.45]) by mc5-s18.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 15 Dec 2002 00:31:47 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc5-f38.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 15 Dec 2002 00:31:47 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBF8N4St042561;Sun, 15 Dec 2002 03:23:05 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212150823.gBF8N4St042561 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 15 Dec 2002 08:31:47.0410 (UTC) FILETIME=[68306B20:01C2A414] www.couldnine.com 1-914-696-4000 good luck --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From bradley at bestweb.net Sun Dec 15 16:45:53 2002 From: bradley at bestweb.net (Bradley Baumann) Date: Sun, 15 Dec 2002 16:45:53 -0500 Subject: [nycphp-talk] DSL ISP Help Message-ID: <000a01c2a483$57d827d0$0300a8c0@prophxp> Probably closed on Sundays... http://www.cloud9.net (contact info, from their website) Telephone 914 696-4000 800 356-5683 9am to 8pm weekdays 12pm to 6pm weekends Fax 914 696-4050 Dialup Access Numbers Email staff at cloud9.net Postal Mail Cloud 9 Internet 106 Corporate Park Drive White Plains, NY 10604 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gquimpo at sni-inc.com Sun Dec 15 19:48:30 2002 From: gquimpo at sni-inc.com (Gerald Timothy Quimpo) Date: Sun, 15 Dec 2002 19:48:30 -0500 Subject: PHP version compatibility standards In-Reply-To: <200212150823.gBF8N4St042561@parsec.nyphp.org> References: <200212150823.gBF8N4St042561@parsec.nyphp.org> Message-ID: <200212151948.30401.gquimpo@sni-inc.com> hello all, I've been evaluation quite a few PHP programs (mainly bug tracking and helpdesk software, but other things too) and I find that there are many problems with version and server configuration incompatibilities. 1. Version incompatibilities example: the software was developed on PHP 3.x or 4.0.x. It depends on get and post variables being globals (PHP 3.x) or in the $HTTP_GET_VARS or $HTTP_POST_VARS arrays (deprecated in PHP 4.2.x). 2. Server configuration incompatibilities example: Software was developed for the same version of PHP that it is to be deployed on, but the deployment server uses safe_mode, or register_globals_off, while the code assumes that register_globals is on. Those are just the most common incompatibilities. There are many more incompatibilities possible, and combinations of incompatibilities too, since some configuration settings and version differences will interact with many other settings and differences. It is possible (but unpleasant and undesirable) to hack the code to make it work with the deployment configuration. This is undesirable though, because when the next version comes out, the same code hacking would have to be done. The patches could be sent to the author of the software, but it might not be applied. Even if applied, the code gets complicated because there will be version checks everywhere. there will also be checks as to whether a setting is set correctly, and if not, then calls made to ini_set(...) or import_request_variables(...) or need to set up per-directory php.ini files, etc). My question is, is there a standard (or even just an emerging standard) on how to deal with these issues in PHP code? is there a recommended library of functions that does all these checks (e.g., Do_PHP30_Compat() or something similar) so that PHP 3.0 standard global variable behavior works. A discussion of best practices would be interesting. My particular interest, though, is in what the emerging standard (tending to actually be used by PHP developers of important projects) is. I've tried to install maybe 8 different bug tracking systems. Some of them are perl (most were rejected because they lacked the features i wanted), many were PHP (most were rejected because i'm using PHP 4.2 and most of them won't work with 4.2 with default security but not in safe_mode. i could get them to work, but that would require massive modification of the code). I've got bugzilla working. It's rather too much for what I need, but it *is* working, and I can deal with it. I'd like to stay with PHP products though since i know php and i can't stand perl. But of course this isn't really about bugtracking or helpdesk software. It's a general question involving the evolution of best practices in the development of PHP software. tiger -- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78" Pobrecito mexico tan lejos de Dios y a la vez tan cerca de los Estados Unidos Gen. Porfirio Diaz From brian at preston-campbell.com Sun Dec 15 21:27:55 2002 From: brian at preston-campbell.com (Brian) Date: Sun, 15 Dec 2002 21:27:55 -0500 Subject: [nycphp-talk] PHP version compatibility standards In-Reply-To: <200212160049.gBG0n1St047707@parsec.nyphp.org> References: <200212160049.gBG0n1St047707@parsec.nyphp.org> Message-ID: <200212152127.55961.brian@preston-campbell.com> On Sunday 15 December 2002 07:49 pm, Gerald Timothy Quimpo wrote: > hello all, > > I've been evaluation quite a few PHP programs (mainly bug tracking and > helpdesk software, but other things too) and I find that there are many > problems with version and server configuration incompatibilities. > > 1. Version incompatibilities example: > the software was developed on PHP 3.x or 4.0.x. It depends on > get and post variables being globals (PHP 3.x) or in the > $HTTP_GET_VARS or $HTTP_POST_VARS arrays (deprecated > in PHP 4.2.x). > > 2. Server configuration incompatibilities example: > Software was developed for the same version of PHP that it is > to be deployed on, but the deployment server uses safe_mode, > or register_globals_off, while the code assumes that register_globals > is on. > > Those are just the most common incompatibilities. There are many more > incompatibilities possible, and combinations of incompatibilities too, > since some configuration settings and version differences will interact > with many other settings and differences. > > It is possible (but unpleasant and undesirable) to hack the code to make > it work with the deployment configuration. This is undesirable though, > because when the next version comes out, the same code hacking would > have to be done. > > The patches could be sent to the author of the software, but it might not > be applied. Even if applied, the code gets complicated because there will > be version checks everywhere. there will also be checks as to whether a > setting is set correctly, and if not, then calls made to ini_set(...) or > import_request_variables(...) or need to set up per-directory php.ini > files, etc). > > My question is, is there a standard (or even just an emerging standard) on > how to deal with these issues in PHP code? is there a recommended library > of functions that does all these checks (e.g., Do_PHP30_Compat() or > something similar) so that PHP 3.0 standard global variable behavior > works. > > A discussion of best practices would be interesting. My particular > interest, though, is in what the emerging standard (tending to actually > be used by PHP developers of important projects) is. > > I've tried to install maybe 8 different bug tracking systems. Some of them > are perl (most were rejected because they lacked the features i wanted), > many were PHP (most were rejected because i'm using PHP 4.2 and most of > them won't work with 4.2 with default security but not in safe_mode. i > could get them to work, but that would require massive modification of the > code). > > I've got bugzilla working. It's rather too much for what I need, but it > *is* working, and I can deal with it. I'd like to stay with PHP products > though since i know php and i can't stand perl. > > But of course this isn't really about bugtracking or helpdesk software. > It's a general question involving the evolution of best practices in > the development of PHP software. > > tiger Your issues can be easily addressed by editing the php.ini file. ; You should do your best to write your scripts so that they do not require ; register_globals to be on; Using form variables as globals can easily lead ; to possible security problems, if the code is not very well thought of. ; ##### JMD: This is set to On in Mandrake because a lot of existing scripts ; needs it to be on, and we don't want to break configuration. Turning ; it on is a Bad Thing (tm), but for the sake of compatibility and less ; technical support, we'll close our eyes ;-) register_globals = On AND ; Safe Mode ; safe_mode = Off Someone else could probably tell you what the exact revision number was in which they changed the default register_globals setting -- the reason for the change, as outlined above, was for additional security. Just curious, what don't you like about Perl? I started in Perl and find the two so similar that it was an easy transition. Perl is a little more stringent in its requirements but that is not a bad thing IMHO. Brian From bradley at bestweb.net Mon Dec 16 00:33:36 2002 From: bradley at bestweb.net (Bradley Baumann) Date: Mon, 16 Dec 2002 00:33:36 -0500 Subject: [nycphp-talk] PHP version compatibility standards References: <200212160228.gBG2S6St048208@parsec.nyphp.org> Message-ID: <002801c2a4c4$ae3ace70$0300a8c0@prophxp> I don't think that is the question he was asking... although changing the php.ini file will possibly provide a way of working around the errors he was having... The question isn't focusing entirely on the specific problems with those pieces of software, but more of a standard that he believes should be formed to keep things current with each other and to ensure that problems like this won't happen due to previous versions of software, which is an age-old concern that gets to everyone at some point. -Brad. ----- Original Message ----- From: "Brian" To: "NYPHP Talk" Sent: Sunday, December 15, 2002 9:28 PM Subject: Re: [nycphp-talk] PHP version compatibility standards > > On Sunday 15 December 2002 07:49 pm, Gerald Timothy Quimpo wrote: > > hello all, > > > > I've been evaluation quite a few PHP programs (mainly bug tracking and > > helpdesk software, but other things too) and I find that there are many > > problems with version and server configuration incompatibilities. > > > > 1. Version incompatibilities example: > > the software was developed on PHP 3.x or 4.0.x. It depends on > > get and post variables being globals (PHP 3.x) or in the > > $HTTP_GET_VARS or $HTTP_POST_VARS arrays (deprecated > > in PHP 4.2.x). > > > > 2. Server configuration incompatibilities example: > > Software was developed for the same version of PHP that it is > > to be deployed on, but the deployment server uses safe_mode, > > or register_globals_off, while the code assumes that register_globals > > is on. > > > > Those are just the most common incompatibilities. There are many more > > incompatibilities possible, and combinations of incompatibilities too, > > since some configuration settings and version differences will interact > > with many other settings and differences. > > > > It is possible (but unpleasant and undesirable) to hack the code to make > > it work with the deployment configuration. This is undesirable though, > > because when the next version comes out, the same code hacking would > > have to be done. > > > > The patches could be sent to the author of the software, but it might not > > be applied. Even if applied, the code gets complicated because there will > > be version checks everywhere. there will also be checks as to whether a > > setting is set correctly, and if not, then calls made to ini_set(...) or > > import_request_variables(...) or need to set up per-directory php.ini > > files, etc). > > > > My question is, is there a standard (or even just an emerging standard) on > > how to deal with these issues in PHP code? is there a recommended library > > of functions that does all these checks (e.g., Do_PHP30_Compat() or > > something similar) so that PHP 3.0 standard global variable behavior > > works. > > > > A discussion of best practices would be interesting. My particular > > interest, though, is in what the emerging standard (tending to actually > > be used by PHP developers of important projects) is. > > > > I've tried to install maybe 8 different bug tracking systems. Some of them > > are perl (most were rejected because they lacked the features i wanted), > > many were PHP (most were rejected because i'm using PHP 4.2 and most of > > them won't work with 4.2 with default security but not in safe_mode. i > > could get them to work, but that would require massive modification of the > > code). > > > > I've got bugzilla working. It's rather too much for what I need, but it > > *is* working, and I can deal with it. I'd like to stay with PHP products > > though since i know php and i can't stand perl. > > > > But of course this isn't really about bugtracking or helpdesk software. > > It's a general question involving the evolution of best practices in > > the development of PHP software. > > > > tiger > > Your issues can be easily addressed by editing the php.ini file. > > ; You should do your best to write your scripts so that they do not require > ; register_globals to be on; Using form variables as globals can easily lead > ; to possible security problems, if the code is not very well thought of. > ; ##### JMD: This is set to On in Mandrake because a lot of existing scripts > ; needs it to be on, and we don't want to break configuration. Turning > ; it on is a Bad Thing (tm), but for the sake of compatibility and less > ; technical support, we'll close our eyes ;-) > register_globals = On > > AND > > ; Safe Mode > ; > safe_mode = Off > > Someone else could probably tell you what the exact revision number was in > which they changed the default register_globals setting -- the reason for the > change, as outlined above, was for additional security. > > Just curious, what don't you like about Perl? I started in Perl and find the > two so similar that it was an easy transition. Perl is a little more > stringent in its requirements but that is not a bad thing IMHO. > > Brian > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From gquimpo at sni-inc.com Mon Dec 16 00:43:49 2002 From: gquimpo at sni-inc.com (Gerald Timothy Quimpo) Date: Mon, 16 Dec 2002 00:43:49 -0500 Subject: [nycphp-talk] PHP version compatibility standards In-Reply-To: <200212160228.gBG2S6St048208@parsec.nyphp.org> References: <200212160228.gBG2S6St048208@parsec.nyphp.org> Message-ID: <200212160043.50048.gquimpo@sni-inc.com> On Sunday 15 December 2002 09:28 pm, Brian wrote: > Your issues can be easily addressed by editing the php.ini file. it's not so easy. i run many different programs. they have different requirements in php.ini. mostly i can deal since they rarely conflict. but i'd like to run the sites as securely as possible. that means disallowing per-directory php.inis, register_globals=off and safe_mode. and then stuff breaks. clients want to run their own different programs. and they won't pay for their own box. so we have to all have them run on a common box. what a mess. even on my notebook, where i have total control, i can't change php.ini settings willy nilly because while i can get the current application to run, other applications will stop running or would become insecure (not a problem on my notebook, but a porting problem later if the code i write depends on those settings and my web server is set up to be more secure than my notebook). > ; You should do your best to write your scripts so that they do not require > ; register_globals to be on; i wasn't posting about my scripts. i already write my scripts for safe_mode and the PHP 4.2.x default settings (with some stricter settings too, like, uh, safe_mode). i was asking about other scripts, lots of which can be downloaded, and none of which (of the not so many, but n>5 i've tested so far) will run unmodified with the settings mentioned above. is there even an understanding in the PHP world that there might be a problem with the current situation and that a solution is needed? either that or perl will win. as i noted, i've got bugzilla (royal pain that it is to install notwithstanding) running. and i have not got a single PHP bugtracking system running correctly yet (mainly because of the register_globals requirement, they were written for 3.x, 4.0.x etc). > ##### JMD: This is set to On in Mandrake because a lot of existing > scripts ; needs it to be on, and we don't want to break configuration. > Turning ; it on is a Bad Thing (tm), but for the sake of compatibility and > less ; technical support, we'll close our eyes ;-) > register_globals = On thanks for the info :). i compile my own PHP on Mandrake, because i need DBG to work, and i don't know how to get DBG to work with Mandrake's PHP. easier to just install my own PHP and apache in /usr/local. the info is useful though, for reference, and so i know to turn it off on production sites. thanks again. > Just curious, what don't you like about Perl? I started in Perl and find > the two so similar that it was an easy transition. Perl is a little more > stringent in its requirements but that is not a bad thing IMHO. there *is* a similarity, i agree. PHP was just easier for me since it looks so much more like C. i can't stand the line noise that some perl looks like. but that's just me. i'm sure if i worked on perl enough i'd learn it pretty quickly and use it. even the line noise i'd get used to eventually :). tiger -- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78" Pobrecito mexico tan lejos de Dios y a la vez tan cerca de los Estados Unidos Gen. Porfirio Diaz From bradley at bestweb.net Mon Dec 16 00:56:20 2002 From: bradley at bestweb.net (Bradley Baumann) Date: Mon, 16 Dec 2002 00:56:20 -0500 Subject: [nycphp-talk] PHP version compatibility standards References: <200212160544.gBG5i0St049188@parsec.nyphp.org> Message-ID: <005801c2a4c7$dbaa6660$0300a8c0@prophxp> I completely agree with you, Gerald. There is no direct, easy way of making everything compatible with everything else. It's not your fault, obviously -- it's just a lack of thought on the other programmer's side. Changing the php.ini file around on the fly for specific applications isn't really a feasible idea, and I realize that. It's an age old problem, and it just boils down to programmers writing crappy, incompatible code. -Bradley. ----- Original Message ----- From: "Gerald Timothy Quimpo" To: "NYPHP Talk" Sent: Monday, December 16, 2002 12:44 AM Subject: Re: [nycphp-talk] PHP version compatibility standards > On Sunday 15 December 2002 09:28 pm, Brian wrote: > > Your issues can be easily addressed by editing the php.ini file. > > it's not so easy. i run many different programs. they have > different requirements in php.ini. mostly i can deal since they > rarely conflict. but i'd like to run the sites as securely as > possible. that means disallowing per-directory php.inis, > register_globals=off and safe_mode. and then stuff breaks. > clients want to run their own different programs. and they > won't pay for their own box. so we have to all have them > run on a common box. what a mess. > > even on my notebook, where i have total control, i can't > change php.ini settings willy nilly because while i can get the > current application to run, other applications will stop running > or would become insecure (not a problem on my notebook, > but a porting problem later if the code i write depends on those > settings and my web server is set up to be more secure than my > notebook). > > > ; You should do your best to write your scripts so that they do not require > > ; register_globals to be on; > > i wasn't posting about my scripts. i already write my scripts for safe_mode > and the PHP 4.2.x default settings (with some stricter settings too, like, > uh, safe_mode). i was asking about other scripts, lots of which can > be downloaded, and none of which (of the not so many, but n>5 i've tested > so far) will run unmodified with the settings mentioned above. > > is there even an understanding in the PHP world that there might be a > problem with the current situation and that a solution is needed? either > that or perl will win. as i noted, i've got bugzilla (royal pain that it is > to install notwithstanding) running. and i have not got a single PHP > bugtracking system running correctly yet (mainly because of the > register_globals requirement, they were written for 3.x, 4.0.x etc). > > > ##### JMD: This is set to On in Mandrake because a lot of existing > > scripts ; needs it to be on, and we don't want to break configuration. > > Turning ; it on is a Bad Thing (tm), but for the sake of compatibility and > > less ; technical support, we'll close our eyes ;-) > > register_globals = On > > thanks for the info :). i compile my own PHP on Mandrake, because > i need DBG to work, and i don't know how to get DBG to work with > Mandrake's PHP. easier to just install my own PHP and apache > in /usr/local. > > the info is useful though, for reference, and so i know to turn it off > on production sites. thanks again. > > > Just curious, what don't you like about Perl? I started in Perl and find > > the two so similar that it was an easy transition. Perl is a little more > > stringent in its requirements but that is not a bad thing IMHO. > > there *is* a similarity, i agree. PHP was just easier for me since it > looks so much more like C. i can't stand the line noise that some > perl looks like. but that's just me. i'm sure if i worked on perl enough > i'd learn it pretty quickly and use it. even the line noise i'd get used > to eventually :). > > tiger > > -- > Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph > Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78" > Pobrecito mexico tan lejos de Dios y a la vez > tan cerca de los Estados Unidos > Gen. Porfirio Diaz > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From gquimpo at sni-inc.com Mon Dec 16 01:52:55 2002 From: gquimpo at sni-inc.com (Gerald Timothy Quimpo) Date: Mon, 16 Dec 2002 01:52:55 -0500 Subject: [nycphp-talk] PHP version compatibility standards In-Reply-To: <200212160554.gBG5sHSt049249@parsec.nyphp.org> References: <200212160554.gBG5sHSt049249@parsec.nyphp.org> Message-ID: <200212160152.55404.gquimpo@sni-inc.com> On Monday 16 December 2002 12:54 am, Bradley Baumann wrote: > There is no direct, easy way of making everything compatible with > everything else. It's not your fault, obviously -- it's just a lack of > thought on the other programmer's side. > > Changing the php.ini file around on the fly for specific applications > isn't really a feasible idea, and I realize that. It's an age old problem, > and it just boils down to programmers writing crappy, incompatible code. i was looking at ini_set, but i don't think ini_set will do anything about register_globals. by the time ini_set is called, even if it resets register_globals (untested), it won't do it because the globals will already have been or not been registered (purely theoretical... i am entirely open to correction on this one :). i'm trying to think of a good way to approach this. some obvious approaches (starting with the most common, register_globals :): 1. for any configuration issue/parameter that can be handled by Directory specific php.ini's, provide a directory specific php.ini. e.g. register_globals is indicated in the PHP documentation to be PHP_INI_PERDIR or PHP_INI_SYSTEM. ** EXCEPTION ** unfortunately (i have not read any specs, just tested on my box), it looks like, if PHP_INI_SYSTEM's setting is *set*, then PHP_INI_PERDIR does not matter. that is, it's ignored. can anyone confirm? so, in order to use a register_globals = On in per directory mode, the global register_globals setting needs to be undefined? 2. for register_globals, perhaps a standard function to call which does what register globals does. or which just registers the variables in the current scope (e.g., via extract) if the function is called within a function, in which case it should not register a global). 3. other functions (mainly calling ini_set(...) probably) which programs can call from some include file. e.g., init_compat.inc.php or something. the init_compat.inc.php just sets user-settable things which override global php.ini settings. what other approaches might work? and will software authors (e.g., the author of php-nuke, MOT (Ministry of Truth), otasks, phphelpdesk, PHPTroubleTicket, techtables) accept such suggestions? heh, i'm willing to assume the last. in any case, i figure, if someone sends them patches, and the patches work after testing, then perhaps they'll get integrated into the final code. by the way, what debuggers do you all use? i use DBG and maguma studio lite (running under win4lin, which gives me win98/ME running on the same linux notebook as the web server). tiger -- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78" Pobrecito mexico tan lejos de Dios y a la vez tan cerca de los Estados Unidos Gen. Porfirio Diaz From bradley at bestweb.net Mon Dec 16 02:25:05 2002 From: bradley at bestweb.net (Bradley Baumann) Date: Mon, 16 Dec 2002 02:25:05 -0500 Subject: [nycphp-talk] PHP version compatibility standards References: <200212160653.gBG6r5St049539@parsec.nyphp.org> Message-ID: <022001c2a4d4$417df130$0300a8c0@prophxp> Gerald, I'm afraid there is no "real" definite solution to your issue, you can look into the code, and try to tweak it so that it would work -- but there is no magical code that you can feed it to make everything work. The problem is incompatibility, and where there is compatibility issues, there is always lack-of-thought. Not your fault. Given that it is a common issue, that effects more then what you're saying here -- I'm sure your comments would be welcomed by the developers of whatever software you are using. I suggest dropping them a line, and seeing what they have to say about it. Not too much more can be done, since we don't live in a perfect world. Sucks, eh? -Brad. ----- Original Message ----- From: "Gerald Timothy Quimpo" To: "NYPHP Talk" Sent: Monday, December 16, 2002 1:53 AM Subject: Re: [nycphp-talk] PHP version compatibility standards > On Monday 16 December 2002 12:54 am, Bradley Baumann wrote: > > There is no direct, easy way of making everything compatible with > > everything else. It's not your fault, obviously -- it's just a lack of > > thought on the other programmer's side. > > > > Changing the php.ini file around on the fly for specific applications > > isn't really a feasible idea, and I realize that. It's an age old problem, > > and it just boils down to programmers writing crappy, incompatible code. > > i was looking at ini_set, but i don't think ini_set will do anything about > register_globals. by the time ini_set is called, even if it resets > register_globals (untested), it won't do it because the globals will > already have been or not been registered (purely theoretical... > i am entirely open to correction on this one :). > > i'm trying to think of a good way to approach this. some obvious > approaches (starting with the most common, register_globals :): > > 1. for any configuration issue/parameter that can be handled by > Directory specific php.ini's, provide a directory specific php.ini. > e.g. register_globals is indicated in the PHP documentation to > be PHP_INI_PERDIR or PHP_INI_SYSTEM. > > ** EXCEPTION ** unfortunately (i have not read any specs, just > tested on my box), it looks like, if PHP_INI_SYSTEM's setting is *set*, > then PHP_INI_PERDIR does not matter. that is, it's ignored. can > anyone confirm? so, in order to use a register_globals = On in per > directory mode, the global register_globals setting needs to be > undefined? > > 2. for register_globals, perhaps a standard function to call which > does what register globals does. or which just registers the > variables in the current scope (e.g., via extract) if the function > is called within a function, in which case it should not register > a global). > > 3. other functions (mainly calling ini_set(...) probably) which programs > can call from some include file. e.g., init_compat.inc.php or something. > the init_compat.inc.php just sets user-settable things which override > global php.ini settings. > > what other approaches might work? and will software authors (e.g., > the author of php-nuke, MOT (Ministry of Truth), otasks, phphelpdesk, > PHPTroubleTicket, techtables) accept such suggestions? > > heh, i'm willing to assume the last. in any case, i figure, if someone > sends them patches, and the patches work after testing, then perhaps > they'll get integrated into the final code. > > by the way, what debuggers do you all use? i use DBG and > maguma studio lite (running under win4lin, which gives me win98/ME > running on the same linux notebook as the web server). > > tiger > > -- > Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph > Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78" > Pobrecito mexico tan lejos de Dios y a la vez > tan cerca de los Estados Unidos > Gen. Porfirio Diaz > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From gwebb at lymenet.org Mon Dec 16 06:34:37 2002 From: gwebb at lymenet.org (George Webb) Date: Mon, 16 Dec 2002 06:34:37 -0500 Subject: [nycphp-talk] PHP version compatibility standards Message-ID: <3DFDBA8B.1A1E67CD@lymenet.org> It sounds to me like the best solution is per-directory php.ini files, preferably distributed with the source code itself. Maybe a "install script" would have to "configure" the php.ini file to make it compatible with your server. Even if the author would simply include *their* php.ini file with no explanation, it might help the installer (you or me) to troubleshoot or prevent problems. So if your program's distribution doesn't come with its own php.ini file, perhaps at least you could get the author to email you a copy of his/her own php.ini file which is known to be compatible. Then you could just tweak that file. MAGIC_QUOTES_* is another one to watch out for. Even better scripts can test for these "critical" .ini options, and either override them or work around them. Or of course *you* could make these improvements and contribute them back to the project! George Webb gw.nyphp at gwprogramming.com From emm at scriptdigital.com Mon Dec 16 09:40:46 2002 From: emm at scriptdigital.com (Emmanuel. M. Decarie) Date: Mon, 16 Dec 2002 09:40:46 -0500 Subject: [nycphp-talk] PHP version compatibility standards In-Reply-To: <200212160723.gBG7N0St049766@parsec.nyphp.org> References: <200212160723.gBG7N0St049766@parsec.nyphp.org> Message-ID: What could be the best practice, best defensive programming regarding this situation when you write your own programs? Anyone have suggestions or pointers. I started this September with PHP and I was really bitten by the differences in version between 4.0.6/4.1.2 For example I had to write/install a PHP module for a client running unfortunately 4.0.6 while I was developing on my staging server on 4.1.2. I fall in all the traps regarding the differences in scope with $HTTP_GET_VARS and $_GET. That's ok, I was beginning to learn the language. But I find quite astonishing that key_exists() doesn't work anymore on 4.1.2 (you have to use instead array_key_exists ). So I had to write a wrapper for this functionality. function keyexists ($key, $array) { $keyexists; if ( function_exists ( "key_exists" ) ) { $keyexists = key_exists; } else { $keyexists = array_key_exists; } if ( $keyexists ( $key, $array ) ) { return true ; } else { return false; } } Why in the world key_exists was not aliased to array_key_exists and flagged as deprecated in 4.1.2? Cheers -Emmanuel -- ______________________________________________________________________ Emmanuel D?carie / Programmation pour le Web - Programming for the Web Frontier - Perl - PHP - Javascript - XML From emm at scriptdigital.com Mon Dec 16 09:48:30 2002 From: emm at scriptdigital.com (Emmanuel. M. Decarie) Date: Mon, 16 Dec 2002 09:48:30 -0500 Subject: PHP and Ruby, advantages and shortcomings over PHP Message-ID: Hello, I have read very good things about Ruby and I was wondering if anyone with experience with this language could provide an insight on what are its advantages and shortcomings over PHP. TIA -- ______________________________________________________________________ Emmanuel D?carie / Programmation pour le Web - Programming for the Web Frontier - Perl - PHP - Javascript - XML From hans at nyphp.org Mon Dec 16 11:13:18 2002 From: hans at nyphp.org (Hans Zaunere) Date: Mon, 16 Dec 2002 08:13:18 -0800 (PST) Subject: Nassau-Suffolk Project Message-ID: <20021216161318.38284.qmail@web12807.mail.yahoo.com> Thought I'd pass it on... ITMoonlighter.com-------------------------------------------- OS Commerce Customization/Deployment Project ID: 6981 Title: OS Commerce Customization/Deployment Project Category: Other Technology Projects Description: Seeking a fast, knowledgeable PHP programmer with MySQL and apache skills to deploy OS Commerce package. Customization will be to look and feel of site (basic). Assistance to graphic design team in teaching PHP basics of how to setup graphics for site will also be required. Deadline for completed project is 1/10/03 Required Skills: 1 PHP 2 MySQL 3 Apache Other Skills: Not Specified Maximum Pay Rate: Not Specified Estimated Value: $1,000.00 Minimum Hours: 0 hours Maximum Hours: 0 hours Estimated Weeks: 2 weeks Pro must reside in: NY >Nassau-Suffolk Country: USA Work performed: Offsite Years of Experience: Not Specified ===== Hans Zaunere New York PHP http://nyphp.org hans at nyphp.org From brian at preston-campbell.com Mon Dec 16 11:39:53 2002 From: brian at preston-campbell.com (Brian) Date: Mon, 16 Dec 2002 11:39:53 -0500 Subject: [nycphp-talk] Nassau-Suffolk Project In-Reply-To: <200212161613.gBGGDOSt052756@parsec.nyphp.org> References: <200212161613.gBGGDOSt052756@parsec.nyphp.org> Message-ID: <200212161139.53686.brian@preston-campbell.com> Not really sure about those details. You have to live in Nassau or Suffolk counties yet you can work offsite? I have a client in Nassau that I see once a week and he doesn't care that I live and work in Brooklyn. Why would they? On Monday 16 December 2002 11:13 am, Hans Zaunere wrote: > Thought I'd pass it on... > > > ITMoonlighter.com-------------------------------------------- > > OS Commerce Customization/Deployment > Project ID: 6981 > Title: OS Commerce Customization/Deployment > Project Category: Other Technology Projects > Description: Seeking a fast, knowledgeable PHP programmer with MySQL and > apache skills to deploy OS Commerce package. Customization will be to look > and feel of site (basic). Assistance to graphic design team in teaching PHP > basics of how to setup graphics for site will also be required. Deadline > for completed project is 1/10/03 > Required Skills: 1 PHP 2 MySQL 3 Apache > Other Skills: Not Specified > Maximum Pay Rate: Not Specified > Estimated Value: $1,000.00 > Minimum Hours: 0 hours > Maximum Hours: 0 hours > Estimated Weeks: 2 weeks > Pro must reside in: NY >Nassau-Suffolk > Country: USA > Work performed: Offsite > Years of Experience: Not Specified > > > > ===== > Hans Zaunere > New York PHP > http://nyphp.org > hans at nyphp.org > > > --- Unsubscribe at http://nyphp.org/list/ --- From nyphp at websapp.com Mon Dec 16 11:44:48 2002 From: nyphp at websapp.com (Daniel Kushner) Date: Mon, 16 Dec 2002 11:44:48 -0500 Subject: Job offer Message-ID: Found on another list. Contact: ip310 at nyu.edu --Daniel Kushner ============================================================================ ==== hi all, on the off chance that someone is still checking this list-- i'm working on a freelance project over break, designing a community site for a network of youth groups around the country. i have a few things to put out there: 1. a possible position for a JSP/mySQL programmer-- please write back if you have experience 2. some suggestions of sample community sites with loads of dynamic functionality including collaborative work areas (real-time text, image, + object manipulation). 3. i'm considering using the flash communication server... anyone have any experience with it or suggestions for other options for the type of functionality listed above? many thanks... hope to hear from some of you. have a great break!! and see you on the flipside. cheers, ilona From hans at nyphp.org Mon Dec 16 11:49:45 2002 From: hans at nyphp.org (Hans Zaunere) Date: Mon, 16 Dec 2002 08:49:45 -0800 (PST) Subject: [nycphp-talk] PHP version compatibility standards In-Reply-To: <200212160544.gBG5i0St049188@parsec.nyphp.org> Message-ID: <20021216164945.19352.qmail@web12803.mail.yahoo.com> > i wasn't posting about my scripts. i already write my scripts for > safe_mode > and the PHP 4.2.x default settings (with some stricter settings too, like, > uh, safe_mode). i was asking about other scripts, lots of which can > be downloaded, and none of which (of the not so many, but n>5 i've tested > so far) will run unmodified with the settings mentioned above. While there are exceptions, generally a well-written application will: 1) Set it's environment explicitly, through ini_set() for example. 2) Document what it's environment requirements are. 3) Allow for a configuration process, where the application adjusts to your environment. 4) Perform runtime checks that changes program-flow, etc. While none of these are perfect, in such a hetergenous environment that PHP is often required to work in, they are needed. If a script can't adjust to it's environment (and it's meant as an end-user program, for distribution) don't use it - or, help the developers perfect their application. The bar needs to be raised, and tolerance of rinky-dink scripts needs to be decreased. > is there even an understanding in the PHP world that there might be a > problem with the current situation and that a solution is needed? Yes and no, but the 'current situation' is broad. Well written applications generally can work in an assortment of environments, and will allow for configuration, which is always nessecary (otherwise we'd be out of work). But again, you should not bend over backwards to support callow scripts. > either > that or perl will win. as i noted, i've got bugzilla (royal pain that it > is > to install notwithstanding) running. and i have not got a single PHP > bugtracking system running correctly yet (mainly because of the > register_globals requirement, they were written for 3.x, 4.0.x etc). register_globals will be something that haunts PHP for some time. I suggest not using applications that depend on register_globals, and if so inclined, offer patches to the developers, so that we can rid ourselves of this tomfoolery. > there *is* a similarity, i agree. PHP was just easier for me since it > looks so much more like C. i can't stand the line noise that some > perl looks like. but that's just me. No it's not. All this said, PHP could use a general standard, or best-practice spec. to increase portability. This has come up on the list before, but as always, there aren't enough hours in the day. ===== Hans Zaunere New York PHP http://nyphp.org hans at nyphp.org From JayeshSh at netscape.net Mon Dec 16 13:33:43 2002 From: JayeshSh at netscape.net (Jayesh Sheth) Date: Mon, 16 Dec 2002 13:33:43 -0500 Subject: improving php+mysql performance at blogyourdesign.com Message-ID: <3DFE1C87.7010503@netscape.net> Hello all, I have recently set up a site called blogyourdesign.com ( link: http://www.blogyourdesign.com ), which is a site for designers to review each others' designs. I have several questions about the site; however, before I ask them, here is a quick backgrounder on how the site runs: I use a small (5 kilobytes) , open source weblog system, called Rodin, which can be found at: http://rodin.lot23.com/about/ . Rodin uses the "dynamic duo" : PHP and MySQL. Since I am more of a designer person than a database guru, I just followed their setup instructions for the database (using PHPmyadmin), and then plugged my own "theme" into Rodin. It all worked perfectly the first time I tried it (knock on wood), *but* the main problem is that the site often loads slowly. I use Yahoo's Webhosting for this particular project, so my question is: is it slow because Yahoo has millions of customers sharing its PHP and MySQL resources, or because (I think) Rodin does not "cache" the output? Also, a second, but less important (for now) question is : would anyone know how to write a commenting module for this system. I am trying to learn more about using PHP with MySQL everyday, so maybe in some time I'd be able to do that myself. But if any of you have some good ideas, I will definitely use them. Thanks in advance. Regards, - Jay Sheth -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop at Netscape! http://shopnow.netscape.com/ From evan.heller at alum.rpi.edu Mon Dec 16 14:49:38 2002 From: evan.heller at alum.rpi.edu (evan heller) Date: Mon, 16 Dec 2002 14:49:38 -0500 Subject: Apache Configuration questions Message-ID: <3DFE2E52.81209C6E@alum.rpi.edu> Guys- Ok, here's an apache config question for you. Is it possible to assign a variable in apache. For example I would like to make a "home" variable that points to c:\\home\\webpub\\ I could then use this variable in other configuration file (like virtual hosts) to point to individual directories using DocumentRoot home . "usersdirectory\\public" Is this possible to do in apache? -Evan -- Evan Heller evan.heller at alum.rpi.edu From gw.nyphp at gwprogramming.com Mon Dec 16 14:56:46 2002 From: gw.nyphp at gwprogramming.com (George Webb) Date: Mon, 16 Dec 2002 14:56:46 -0500 Subject: [nycphp-talk] PHP version compatibility standards Message-ID: <3DFE2FFE.C95C3B89@gwprogramming.com> As for a "standard" how about the "php.ini-recommended" file usually included with the PHP distribution? I don't know how much it changes from release to release, but it probably changes only most conservatively. Furthermore, PHP scripts might do well to be aware of the changes within this file (e.g. the whole register_globals saga...). Since PHP scripts usually are quite configuration- dependent, it would make sense to distribute a PHP application with its own (per-directory) php.ini file. Perhaps a "configure" -type script could generate this file during the install process. If the distribution did not contain one, perhaps you could ask the author for his/her own php.ini file to use as a guide for your troubleshooting. MAGIC_QUOTES_GPC is a typical config option which varies from server to server, and many scripts assume only one of its valid states. Good ones can deal with either configured state. Many critical options such as these can be tested by the PHP script itself and either overridden, worked around, or explicitly announced as a "fatal configuration error." But since many cool scripts were not engineered for mass-deployment, it may become your (or my) responsibility to discover and fix these incompatibilities -- and then send them to the author. This is the essence of "Open Source Software!" So be happy about it and consider contributing to your favorite Open Source project! Best, George. George Webb gw.nyphp at gwprogramming.com From jonbaer at jonbaer.net Mon Dec 16 19:22:55 2002 From: jonbaer at jonbaer.net (Jon Baer) Date: Mon, 16 Dec 2002 19:22:55 -0500 Subject: MySQL vulnerabilities ... Message-ID: <001a01c2a562$722e2500$0200a8c0@thinkpad> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 http://www.zdnet.com.au/newstech/security/story/0,2000024985,20270704,00.htm MySQL open to attack By Patrick Gray, ZDNet Australia 16 December 2002 Several vulnerabilities have been found in the MySQL database system, a light database package commonly used in Linux environments but which runs also on Microsoft platforms, HP-Unix, Mac OS and more. -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 iQA/AwUBPf5uXEHb24uaDK9HEQIVaACg3gzc7/NwWbvHKHsQpcsJnkIuKzIAn22h hpqvg/pC7BYpZfnTyGPNpg2O =zq7j -----END PGP SIGNATURE----- From chun_lam at hotmail.com Mon Dec 16 22:49:51 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Mon, 16 Dec 2002 22:49:51 -0500 Subject: [nycphp-talk] PHP version compatibility standards Message-ID: I agree that it have showed lacked of thought, but PHP is still in development. Advancement in any language all have this growing pain. Be patient, a standard will come once the dust comes down. Matthew ----Original Message Follows---- From: "Bradley Baumann" Reply-To: talk at nyphp.org To: NYPHP Talk Subject: Re: [nycphp-talk] PHP version compatibility standards Date: Mon, 16 Dec 2002 00:54:17 -0500 Received: from mc4-f31.law16.hotmail.com ([65.54.237.166]) by mc4-s20.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 15 Dec 2002 21:57:49 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc4-f31.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 15 Dec 2002 21:57:48 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBG5sHSt049249;Mon, 16 Dec 2002 00:54:17 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212160554.gBG5sHSt049249 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 16 Dec 2002 05:57:48.0925 (UTC) FILETIME=[10093AD0:01C2A4C8] I completely agree with you, Gerald. There is no direct, easy way of making everything compatible with everything else. It's not your fault, obviously -- it's just a lack of thought on the other programmer's side. Changing the php.ini file around on the fly for specific applications isn't really a feasible idea, and I realize that. It's an age old problem, and it just boils down to programmers writing crappy, incompatible code. -Bradley. ----- Original Message ----- From: "Gerald Timothy Quimpo" To: "NYPHP Talk" Sent: Monday, December 16, 2002 12:44 AM Subject: Re: [nycphp-talk] PHP version compatibility standards > On Sunday 15 December 2002 09:28 pm, Brian wrote: > > Your issues can be easily addressed by editing the php.ini file. > > it's not so easy. i run many different programs. they have > different requirements in php.ini. mostly i can deal since they > rarely conflict. but i'd like to run the sites as securely as > possible. that means disallowing per-directory php.inis, > register_globals=off and safe_mode. and then stuff breaks. > clients want to run their own different programs. and they > won't pay for their own box. so we have to all have them > run on a common box. what a mess. > > even on my notebook, where i have total control, i can't > change php.ini settings willy nilly because while i can get the > current application to run, other applications will stop running > or would become insecure (not a problem on my notebook, > but a porting problem later if the code i write depends on those > settings and my web server is set up to be more secure than my > notebook). > > > ; You should do your best to write your scripts so that they do not require > > ; register_globals to be on; > > i wasn't posting about my scripts. i already write my scripts for safe_mode > and the PHP 4.2.x default settings (with some stricter settings too, like, > uh, safe_mode). i was asking about other scripts, lots of which can > be downloaded, and none of which (of the not so many, but n>5 i've tested > so far) will run unmodified with the settings mentioned above. > > is there even an understanding in the PHP world that there might be a > problem with the current situation and that a solution is needed? either > that or perl will win. as i noted, i've got bugzilla (royal pain that it is > to install notwithstanding) running. and i have not got a single PHP > bugtracking system running correctly yet (mainly because of the > register_globals requirement, they were written for 3.x, 4.0.x etc). > > > ##### JMD: This is set to On in Mandrake because a lot of existing > > scripts ; needs it to be on, and we don't want to break configuration. > > Turning ; it on is a Bad Thing (tm), but for the sake of compatibility and > > less ; technical support, we'll close our eyes ;-) > > register_globals = On > > thanks for the info :). i compile my own PHP on Mandrake, because > i need DBG to work, and i don't know how to get DBG to work with > Mandrake's PHP. easier to just install my own PHP and apache > in /usr/local. > > the info is useful though, for reference, and so i know to turn it off > on production sites. thanks again. > > > Just curious, what don't you like about Perl? I started in Perl and find > > the two so similar that it was an easy transition. Perl is a little more > > stringent in its requirements but that is not a bad thing IMHO. > > there *is* a similarity, i agree. PHP was just easier for me since it > looks so much more like C. i can't stand the line noise that some > perl looks like. but that's just me. i'm sure if i worked on perl enough > i'd learn it pretty quickly and use it. even the line noise i'd get used > to eventually :). > > tiger > > -- > Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph > Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78" > Pobrecito mexico tan lejos de Dios y a la vez > tan cerca de los Estados Unidos > Gen. Porfirio Diaz > > > > > --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From chun_lam at hotmail.com Mon Dec 16 23:06:29 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Mon, 16 Dec 2002 23:06:29 -0500 Subject: [nycphp-talk] Apache Configuration questions Message-ID: yes. If you look thru httpd.conf file. You will find that it is there. Also, It is the file you also need to tweak to make the Virtual Host work. ----Original Message Follows---- From: evan heller Reply-To: talk at nyphp.org To: NYPHP Talk Subject: [nycphp-talk] Apache Configuration questions Date: Mon, 16 Dec 2002 14:52:31 -0500 Received: from mc3-f27.law16.hotmail.com ([65.54.236.162]) by mc3-s3.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 16 Dec 2002 12:04:37 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc3-f27.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 16 Dec 2002 12:04:33 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBGJqVSt054118;Mon, 16 Dec 2002 14:52:31 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212161952.gBGJqVSt054118 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 16 Dec 2002 20:04:34.0013 (UTC) FILETIME=[5A3A70D0:01C2A53E] Guys- Ok, here's an apache config question for you. Is it possible to assign a variable in apache. For example I would like to make a "home" variable that points to c:\\home\\webpub\\ I could then use this variable in other configuration file (like virtual hosts) to point to individual directories using DocumentRoot home "usersdirectory\\public" Is this possible to do in apache? -Evan -- Evan Heller evan.heller at alum.rpi.edu --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From sigurdp at i2ssoftware.com Tue Dec 17 07:43:16 2002 From: sigurdp at i2ssoftware.com (sigurdp at i2ssoftware.com) Date: Tue, 17 Dec 2002 07:43:16 -0500 Subject: [nycphp-talk] PHP version compatibility standards References: <200212161448.gBGEmpSt052278@parsec.nyphp.org> Message-ID: <00de01c2a5c9$e2814f50$fbd3ff0a@i2ssoftware.com> I was also shocked by the many differences between versions in PHP. Why no key_exists? ... I found this in the change log: In 4.0.6 David Croft: Added key_exists() to check if a given key or index exists in an array or object. In 4.2.0 Derick: Renamed key_exists() to array_key_exists(). I dont know how the policy is on renaming between versions like that rather than depricating. Sometimes language developers will preserve the right to change code interfaces so long as it is within major version releases but that can not be the case now because an uprade from 4.0 to 4.2 looks like a major one to me. Rgds, Sigurdur ----- Original Message ----- From: "Emmanuel. M. Decarie" To: "NYPHP Talk" Sent: Monday, December 16, 2002 9:48 AM Subject: Re: [nycphp-talk] PHP version compatibility standards > What could be the best practice, best defensive programming regarding > this situation when you write your own programs? Anyone have > suggestions or pointers. > > I started this September with PHP and I was really bitten by the > differences in version between 4.0.6/4.1.2 > > For example I had to write/install a PHP module for a client running > unfortunately 4.0.6 while I was developing on my staging server on > 4.1.2. I fall in all the traps regarding the differences in scope > with $HTTP_GET_VARS and $_GET. That's ok, I was beginning to learn > the language. > > But I find quite astonishing that key_exists() doesn't work anymore > on 4.1.2 (you have to use instead array_key_exists > ). So I > had to write a wrapper for this functionality. > > function keyexists ($key, $array) { > $keyexists; > if ( function_exists ( "key_exists" ) ) { > $keyexists = key_exists; > } else { > $keyexists = array_key_exists; > } > if ( $keyexists ( $key, $array ) ) { > return true ; > } else { > return false; > } > } > > Why in the world key_exists was not aliased to array_key_exists and > flagged as deprecated in 4.1.2? > > Cheers > -Emmanuel > > -- > ______________________________________________________________________ > Emmanuel D?carie / Programmation pour le Web - Programming for the Web > Frontier - Perl - PHP - Javascript - XML > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > From jim at nettmedia.com Tue Dec 17 11:29:38 2002 From: jim at nettmedia.com (Jim Musil) Date: Tue, 17 Dec 2002 11:29:38 -0500 Subject: Happy Code Message-ID: Hi, Given all the talk about standards and bad code, I'm wondering if anyone would like to point to an open source application that is well designed and well written. Jim From dan at dwc.to Tue Dec 17 11:48:42 2002 From: dan at dwc.to (Dan Horning) Date: Tue, 17 Dec 2002 11:48:42 -0500 Subject: [nycphp-talk] Happy Code In-Reply-To: <200212171628.gBHGSMSt047456@parsec.nyphp.org> Message-ID: <001401c2a5ec$291a4e90$8ac484d0@dwchome> IMHO I believe that the package from Postnuke is well written .. It's been tested over a large arena... Without failing.. Some people just try to use it where it doesn't need to be used. It's a very modular system.. Which is what an application should be Dan ------ Email: info at dwc.to ------ Online on AIM - crewpassguy (or dsoundmn1 for emergencies) ICQ - 14308614 MSN - dan at dwc.to YIM - crewpassguy -----Original Message----- From: Jim Musil [mailto:jim at nettmedia.com] Sent: Tuesday, December 17, 2002 11:28 AM To: NYPHP Talk Subject: [nycphp-talk] Happy Code Hi, Given all the talk about standards and bad code, I'm wondering if anyone would like to point to an open source application that is well designed and well written. Jim --- Unsubscribe at http://nyphp.org/list/ --- From nyphp at altunergil.com Tue Dec 17 11:50:18 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Tue, 17 Dec 2002 11:50:18 -0500 Subject: [nycphp-talk] Happy Code In-Reply-To: <200212171648.gBHGmgSt047571@parsec.nyphp.org> References: <200212171648.gBHGmgSt047571@parsec.nyphp.org> Message-ID: <20021217115018.20c18fc7.nyphp@altunergil.com> A vast majority of the postnuke developers left the project and went on to create their own fork. ( I think there might even be only one guy left on the postnuke project ). This is based on chitchat with one of the leaving guys. He might be biased. It also doesn't say anything about the code itself. But if you liked postnuke, you might want to stay with the developers, not the project :) My candiate for good code and good design would be the Mantis Bug Tracker. http://mantisbt.sourceforge.net It's small, fast and very clean. It has only gotten better with time too. oktay On Tue, 17 Dec 2002 11:48:42 -0500 Dan Horning wrote: > IMHO > > I believe that the package from Postnuke is well written .. It's been > tested over a large arena... Without failing.. Some people just try to > use it where it doesn't need to be used. It's a very modular system.. > Which is what an application should be > > Dan > ------ > Email: info at dwc.to > ------ > Online on > AIM - crewpassguy (or dsoundmn1 for emergencies) > ICQ - 14308614 > MSN - dan at dwc.to > YIM - crewpassguy > > > > -----Original Message----- > From: Jim Musil [mailto:jim at nettmedia.com] > Sent: Tuesday, December 17, 2002 11:28 AM > To: NYPHP Talk > Subject: [nycphp-talk] Happy Code > > > > Hi, > > Given all the talk about standards and bad code, I'm wondering if anyone > would like to point to an open source application that is well designed > and well written. > > Jim > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From dan at dwc.to Tue Dec 17 12:01:17 2002 From: dan at dwc.to (Dan Horning) Date: Tue, 17 Dec 2002 12:01:17 -0500 Subject: [nycphp-talk] Happy Code In-Reply-To: <200212171654.gBHGsmSt047614@parsec.nyphp.org> Message-ID: <003a01c2a5ed$eb2e56b0$8ac484d0@dwchome> That's actually the myPHPnuke that you are refering to .. Which postnuke is a fork of Dan ------ Email: info at dwc.to ------ Online on AIM - crewpassguy (or dsoundmn1 for emergencies) ICQ - 14308614 MSN - dan at dwc.to YIM - crewpassguy -----Original Message----- From: Oktay Altunergil [mailto:nyphp at altunergil.com] Sent: Tuesday, December 17, 2002 11:55 AM To: NYPHP Talk Subject: Re: [nycphp-talk] Happy Code A vast majority of the postnuke developers left the project and went on to create their own fork. ( I think there might even be only one guy left on the postnuke project ). This is based on chitchat with one of the leaving guys. He might be biased. It also doesn't say anything about the code itself. But if you liked postnuke, you might want to stay with the developers, not the project :) My candiate for good code and good design would be the Mantis Bug Tracker. http://mantisbt.sourceforge.net It's small, fast and very clean. It has only gotten better with time too. oktay On Tue, 17 Dec 2002 11:48:42 -0500 Dan Horning wrote: > IMHO > > I believe that the package from Postnuke is well written .. It's been > tested over a large arena... Without failing.. Some people just try to > use it where it doesn't need to be used. It's a very modular system.. > Which is what an application should be > > Dan > ------ > Email: info at dwc.to > ------ > Online on > AIM - crewpassguy (or dsoundmn1 for emergencies) > ICQ - 14308614 > MSN - dan at dwc.to > YIM - crewpassguy > > > > -----Original Message----- > From: Jim Musil [mailto:jim at nettmedia.com] > Sent: Tuesday, December 17, 2002 11:28 AM > To: NYPHP Talk > Subject: [nycphp-talk] Happy Code > > > > Hi, > > Given all the talk about standards and bad code, I'm wondering if > anyone would like to point to an open source application that is well > designed and well written. > > Jim > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- From nyphp at altunergil.com Tue Dec 17 12:05:53 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Tue, 17 Dec 2002 12:05:53 -0500 Subject: [nycphp-talk] Happy Code In-Reply-To: <200212171701.gBHH1CSt047670@parsec.nyphp.org> References: <200212171701.gBHH1CSt047670@parsec.nyphp.org> Message-ID: <20021217120553.6d0fa647.nyphp@altunergil.com> No. I can't remember the name (there was no PHP or Nuke in the new name) but that's not what I'm talking about. First there was PHPNuke.. then a group of developers couldn't deal with this main developer guy anymore and forked the code to create PostNuke (actually this is where PostNuke gets a lot of its appeal.. doing things the right way).. now what I'm saying is a group of PostNuke people are working on yet another fork. I'll try to find the name of the new project. Oktay On Tue, 17 Dec 2002 12:01:12 -0500 Dan Horning wrote: > That's actually the myPHPnuke that you are refering to .. Which postnuke > is a fork of > > Dan > ------ > Email: info at dwc.to > ------ > Online on > AIM - crewpassguy (or dsoundmn1 for emergencies) > ICQ - 14308614 > MSN - dan at dwc.to > YIM - crewpassguy > > > > -----Original Message----- > From: Oktay Altunergil [mailto:nyphp at altunergil.com] > Sent: Tuesday, December 17, 2002 11:55 AM > To: NYPHP Talk > Subject: Re: [nycphp-talk] Happy Code > > > A vast majority of the postnuke developers left the project and went on > to create their own fork. ( I think there might even be only one guy > left on the postnuke project ). > > This is based on chitchat with one of the leaving guys. He might be > biased. It also doesn't say anything about the code itself. But if you > liked postnuke, you might want to stay with the developers, not the > project :) > > My candiate for good code and good design would be the Mantis Bug > Tracker. http://mantisbt.sourceforge.net > > It's small, fast and very clean. It has only gotten better with time > too. > > oktay > > On Tue, 17 Dec 2002 11:48:42 -0500 > Dan Horning wrote: > > > IMHO > > > > I believe that the package from Postnuke is well written .. It's been > > tested over a large arena... Without failing.. Some people just try to > > > use it where it doesn't need to be used. It's a very modular system.. > > Which is what an application should be > > > > Dan > > ------ > > Email: info at dwc.to > > ------ > > Online on > > AIM - crewpassguy (or dsoundmn1 for emergencies) > > ICQ - 14308614 > > MSN - dan at dwc.to > > YIM - crewpassguy > > > > > > > > -----Original Message----- > > From: Jim Musil [mailto:jim at nettmedia.com] > > Sent: Tuesday, December 17, 2002 11:28 AM > > To: NYPHP Talk > > Subject: [nycphp-talk] Happy Code > > > > > > > > Hi, > > > > Given all the talk about standards and bad code, I'm wondering if > > anyone would like to point to an open source application that is well > > designed and well written. > > > > Jim > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From jkelly at sussex.cc.nj.us Tue Dec 17 12:18:54 2002 From: jkelly at sussex.cc.nj.us (jessica kelly) Date: Tue, 17 Dec 2002 12:18:54 -0500 Subject: Config Problems, Apache-PHP on Windows Message-ID: I'm trying to get Apache 1.3.26 and PHP 4.2.3 setup on my win production computer after a crash a week ago. I don't want to use the PHP module for apache I'd rather run it as a separate program. I'll worry about MySQL after I have the PHP working. After setting up per the instructions from adslworld (A.K.A. GeekForums) I get this message upon trying to get the phpinfo(); "You have chosen to download a file of type: application/x-httpd-php from 127.0.0.1/a/test.php" The page will not display and acts as if it is a download. When I do download & display the page it only has the text and that is it so the server is not processing the PHP. Anyone have a clue? I've been at this since Friday and have compared the conf file with my web server conf file (That's working fine, Apache-1.3.24 PHP-4.0.5). It has to be something simple I'm overlooking.... TIA, Jessica From gquimpo at sni-inc.com Tue Dec 17 00:54:27 2002 From: gquimpo at sni-inc.com (Gerald Timothy Quimpo) Date: Tue, 17 Dec 2002 00:54:27 -0500 Subject: PHP_INI_PERDIR and register_globals (Was: ) In-Reply-To: <200212162000.gBGK0kSt054198@parsec.nyphp.org> References: <200212162000.gBGK0kSt054198@parsec.nyphp.org> Message-ID: <200212170054.28187.gquimpo@sni-inc.com> On Monday 16 December 2002 03:00 pm, George Webb wrote: > Since PHP scripts usually are quite configuration- > dependent, it would make sense to distribute a PHP application > with its own (per-directory) php.ini file. Perhaps a > "configure" -type script could generate this file during > the install process. i think i mis-wrote because i misunderstood something. the documentation talks about: PHP_INI_PERDIR. so i thought that meant that if you put a php.ini in each directory,and if you only overrode items which are overrideable, then your new setting would override the system setting. it's not so simple. 0. local php.ini files (i.e., files with php directives, named php.ini, in the same directory as the php programs) are not used. php directives in that file are ignored. I haven't done an strace (since stracing httpd is a major pain :), but changing settings in the local php.ini file does not change any behavior. 1. the documentation discusses using .htaccess with php_flag . e.g., for register_globals, we say: php_flag register_globals on This works on apache for settings which may be set on PERDIR basis. I see no discussion of how to achieve the same effect when using other web servers (google might know, but I'm not online as I compose this). The documentation clearly states that register_globals cannot be modified by ini_set (and this is perfectly reasonable and understandable). However, if there is no universal way (e.g., through local php.ini files instead of server specific special configuration files) to do PERDIR settings, then distributing configuration files with applications is not feasible. And if, as seems likely, there is no equivalent to .htaccess php specific perdir settings for some web servers, then there is no way to solve at least the register_globals problem for all web servers. most other settings can be modified by ini_set. So previous comments on how mature applications should clean up their environment by using ini_set and adapt to their environment via ini_get and ini_set are definitely correct. but not everything can be solved that way. it will probably be necessary to rewrite any applications that depend on register_globals. this is obvious and should be done anyway for reasons of security. unfortunately, it'll probably be a while before the major PHP applications will be ported. and it's likely that some won't be ported and will, instead, require their users to run apache (so they can use .htaccess) or run on servers which have register_globals on. > If the distribution did not contain one, perhaps > you could ask the author for his/her own php.ini file to > use as a guide for your troubleshooting. Yeah. I'm looking at five PHP helpdesk/bugtracking packages I'm testing and none have php.ini files. initially i was just assessing the different packages to see which i might want to use. i couldn't even assess them since none would run without register_globals. I think i'll just test them on a separate server (running on the same box, but on a different port) that has register_globals on, and then, once i've made my choice based on features, i may work with the author to make it less reliant on register_globals and generally, able to adapt to its environment (thus making it easier to install). thanks for all the comments. this discussion has been enlightening. tiger -- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78" Pobrecito mexico tan lejos de Dios y a la vez tan cerca de los Estados Unidos Gen. Porfirio Diaz From bradley at bestweb.net Tue Dec 17 12:37:32 2002 From: bradley at bestweb.net (Bradley Baumann) Date: Tue, 17 Dec 2002 12:37:32 -0500 Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows References: <200212171719.gBHHJSSt047839@parsec.nyphp.org> Message-ID: <005d01c2a5f2$fac701d0$0300a8c0@prophxp> It doesn't matter what code you have in the .php file, what the webserver is trying to "say" is that it doesn't know how to handle files with a php file extension. I'm not sure how you set everything up... but you need to configure the webserver to recognize them. ----- Original Message ----- From: "jessica kelly" To: "NYPHP Talk" Sent: Tuesday, December 17, 2002 12:19 PM Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows > I'm trying to get Apache 1.3.26 and PHP 4.2.3 setup on my win production computer after a crash a week ago. I don't want to use the PHP module for apache I'd rather run it as a separate program. I'll worry about MySQL after I have the PHP working. > > After setting up per the instructions from adslworld (A.K.A. GeekForums) I get this message upon trying to get the phpinfo(); > "You have chosen to download a file of type: application/x-httpd-php from 127.0.0.1/a/test.php" > The page will not display and acts as if it is a download. When I do download & display the page it only has the text and that is it so the server is not processing the PHP. > > Anyone have a clue? I've been at this since Friday and have compared the conf file with my web server conf file (That's working fine, Apache-1.3.24 PHP-4.0.5). It has to be something simple I'm overlooking.... > > TIA, > > Jessica > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From danielc at analysisandsolutions.com Tue Dec 17 14:03:14 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Tue, 17 Dec 2002 14:03:14 -0500 Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows In-Reply-To: <200212171719.gBHHJSSt047839@parsec.nyphp.org> References: <200212171719.gBHHJSSt047839@parsec.nyphp.org> Message-ID: <20021217190313.GA3627@panix.com> Hi Jessica: On Tue, Dec 17, 2002 at 12:19:28PM -0500, jessica kelly wrote: > I'm trying to get Apache 1.3.26 and PHP 4.2.3 setup on my win production > computer > ... snip ... > "You have chosen to download a file of type: application/x-httpd-php > from 127.0.0.1/a/test.php" Modify your httpd.conf file... AddType application/x-httpd-php .php Action application/x-httpd-php "/phpdir/php.exe" ScriptAlias /phpdir/ "c:/Program Files/php/" Tweak paths as appropraite for your system. --Dan -- The new Department of Homeland Security is exempt from: * the Freedom of Information Act * procurement rules * labor collective bargaining * whistle blower protection The real goal? Eliminating government accountability. From bradley at bestweb.net Tue Dec 17 14:14:37 2002 From: bradley at bestweb.net (Bradley Baumann) Date: Tue, 17 Dec 2002 14:14:37 -0500 Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows References: <200212171735.gBHHZSSt048050@parsec.nyphp.org> Message-ID: <000d01c2a600$8b12ef80$0300a8c0@prophxp> Oh jeez, I don't know how I looked over the fact that you are CURRENTLY using apache. For some reason I read it thinking that you weren't. Sorry about that. Dan is correct, you just need to modify your httpd.conf file. -Brad ----- Original Message ----- From: "Bradley Baumann" To: "NYPHP Talk" Sent: Tuesday, December 17, 2002 12:35 PM Subject: Re: [nycphp-talk] Config Problems, Apache-PHP on Windows > It doesn't matter what code you have in the .php file, what the webserver is > trying to "say" is that it doesn't know how to handle files with a php file > extension. I'm not sure how you set everything up... but you need to > configure the webserver to recognize them. > ----- Original Message ----- > From: "jessica kelly" > To: "NYPHP Talk" > Sent: Tuesday, December 17, 2002 12:19 PM > Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows > > > > I'm trying to get Apache 1.3.26 and PHP 4.2.3 setup on my win production > computer after a crash a week ago. I don't want to use the PHP module for > apache I'd rather run it as a separate program. I'll worry about MySQL after > I have the PHP working. > > > > After setting up per the instructions from adslworld (A.K.A. GeekForums) I > get this message upon trying to get the phpinfo(); > > "You have chosen to download a file of type: application/x-httpd-php from > 127.0.0.1/a/test.php" > > The page will not display and acts as if it is a download. When I do > download & display the page it only has the text and that > is it so the server is not processing the PHP. > > > > Anyone have a clue? I've been at this since Friday and have compared the > conf file with my web server conf file (That's working fine, Apache-1.3.24 > PHP-4.0.5). It has to be something simple I'm overlooking.... > > > > TIA, > > > > Jessica > > > > > > > > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From jkelly at sussex.cc.nj.us Tue Dec 17 17:34:44 2002 From: jkelly at sussex.cc.nj.us (jessica kelly) Date: Tue, 17 Dec 2002 17:34:44 -0500 Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows Message-ID: Hi Dan, I added/changed what you suggested. I'm still having problems though. I have mucked around with the below section hoping to get things going but to no avail. >>> # To use server-parsed HTML files # AddType text/html .shtml .htm .inc AddHandler server-parsed .shtml .htm .inc .php # >>>> If I change " AddType text/html .shtml .htm .inc" and "AddHandler server-parsed .shtml .htm .inc" to not include .php I get a "Bad Request Error". If I add .php to "AddType text/html .shtml .htm .inc [.php]" I get a page with in the source code but nothing else. If I keep .php in "AddType text/html .shtml .htm .inc [.php]" and add .php to "AddHandler server-parsed .shtml .htm .inc [.php]" I get the same error as above (I get a page with in the source code but nothing else.) If I get rid of .php in "AddType text/html .shtml .htm .inc" and Keep .php to "AddHandler server-parsed .shtml .htm .inc [.php]" the server wants to download the page to the computer rather than displaying the phpinfo(); All this said I don't think that the above in any form is the answer but maybe a clue as to the cause. If someone would like to paruse the .conf file let me know & I will send a copy to you. Thank's Jessica >>> danielc at analysisandsolutions.com 12/17/02 2:03:20 PM >>> Hi Jessica: On Tue, Dec 17, 2002 at 12:19:28PM -0500, jessica kelly wrote: > I'm trying to get Apache 1.3.26 and PHP 4.2.3 setup on my win production > computer > ... snip ... > "You have chosen to download a file of type: application/x-httpd-php > from 127.0.0.1/a/test.php" Modify your httpd.conf file... AddType application/x-httpd-php .php Action application/x-httpd-php "/phpdir/php.exe" ScriptAlias /phpdir/ "c:/Program Files/php/" Tweak paths as appropraite for your system. --Dan -- The new Department of Homeland Security is exempt from: * the Freedom of Information Act * procurement rules * labor collective bargaining * whistle blower protection The real goal? Eliminating government accountability. --- Unsubscribe at http://nyphp.org/list/ --- From nyphp at altunergil.com Tue Dec 17 17:40:53 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Tue, 17 Dec 2002 17:40:53 -0500 Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows In-Reply-To: <200212172235.gBHMZKSt049859@parsec.nyphp.org> References: <200212172235.gBHMZKSt049859@parsec.nyphp.org> Message-ID: <20021217174053.6315f428.nyphp@altunergil.com> Jessica, "server-parsed" is not the setting you should be modifying. Like Dan said, what you need to do is to add AddType application/x-httpd-php .php Action application/x-httpd-php "/phpdir/php.exe" ScriptAlias /phpdir/ "c:/Program Files/php/" which has the effect of associating the .php extension with the x-httpd-php mime time which in turn will be handled by php.exe. If you put .php in the 'server-parsed' setting Apache will try to *handle* it as if it was a server side include (i think that's what server-parsed is for) and not as php. Make sure you remove .php from that line. You can also add other extensions such as .php4, .phtml etc but you should do that in the section i've described above. oktay On Tue, 17 Dec 2002 17:35:20 -0500 jessica kelly wrote: > Hi Dan, > > I added/changed what you suggested. I'm still having problems though. > > I have mucked around with the below section hoping to get things going but to no avail. > > >>> > # To use server-parsed HTML files > # > AddType text/html .shtml .htm .inc > AddHandler server-parsed .shtml .htm .inc .php > # > >>>> > If I change " AddType text/html .shtml .htm .inc" and "AddHandler server-parsed .shtml .htm .inc" to not include .php I get a "Bad Request Error". > > If I add .php to "AddType text/html .shtml .htm .inc [.php]" I get a page with in the source code but nothing else. > > If I keep .php in "AddType text/html .shtml .htm .inc [.php]" and add .php to "AddHandler server-parsed .shtml .htm .inc [.php]" I get the same error as above (I get a page with in the source code but nothing else.) > > If I get rid of .php in "AddType text/html .shtml .htm .inc" and Keep .php to "AddHandler server-parsed .shtml .htm .inc [.php]" the server wants to download the page to the computer rather than displaying the phpinfo(); > > All this said I don't think that the above in any form is the answer but maybe a clue as to the cause. > > If someone would like to paruse the .conf file let me know & I will send a copy to you. > > Thank's > > Jessica > > >>> danielc at analysisandsolutions.com 12/17/02 2:03:20 PM >>> > Hi Jessica: > > On Tue, Dec 17, 2002 at 12:19:28PM -0500, jessica kelly wrote: > > > I'm trying to get Apache 1.3.26 and PHP 4.2.3 setup on my win production > > computer > > ... snip ... > > "You have chosen to download a file of type: application/x-httpd-php > > from 127.0.0.1/a/test.php" > > Modify your httpd.conf file... > > AddType application/x-httpd-php .php > Action application/x-httpd-php "/phpdir/php.exe" > ScriptAlias /phpdir/ "c:/Program Files/php/" > > Tweak paths as appropraite for your system. > > --Dan > > -- > The new Department of Homeland Security is exempt from: > * the Freedom of Information Act * procurement rules > * labor collective bargaining * whistle blower protection > The real goal? Eliminating government accountability. > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From kirill at kptek.com Tue Dec 17 19:04:57 2002 From: kirill at kptek.com (kirill at kptek.com) Date: Tue, 17 Dec 2002 19:04:57 -0500 Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows In-Reply-To: <200212172245.gBHMj4St049912@parsec.nyphp.org> Message-ID: Jessica, You need to check the httpd.conf ( which you should find in the directory called "conf" in the Apache install directory). This is the file where you add the line AddType application/x-httpd-php .php If you want PHP to parse other extensions, add more of the above lines but change the last part ( .php) to the extension of your choice. Kirill Oktay Altunergil 12/17/2002 05:45 PM Please respond to talk at nyphp.org To NYPHP Talk cc Subject Re: [nycphp-talk] Config Problems, Apache-PHP on Windows Jessica, "server-parsed" is not the setting you should be modifying. Like Dan said, what you need to do is to add AddType application/x-httpd-php .php Action application/x-httpd-php "/phpdir/php.exe" ScriptAlias /phpdir/ "c:/Program Files/php/" which has the effect of associating the .php extension with the x-httpd-php mime time which in turn will be handled by php.exe. If you put .php in the 'server-parsed' setting Apache will try to *handle* it as if it was a server side include (i think that's what server-parsed is for) and not as php. Make sure you remove .php from that line. You can also add other extensions such as .php4, .phtml etc but you should do that in the section i've described above. oktay On Tue, 17 Dec 2002 17:35:20 -0500 jessica kelly wrote: > Hi Dan, > > I added/changed what you suggested. I'm still having problems though. > > I have mucked around with the below section hoping to get things going but to no avail. > > >>> > # To use server-parsed HTML files > # > AddType text/html .shtml .htm .inc > AddHandler server-parsed .shtml .htm .inc .php > # > >>>> > If I change " AddType text/html .shtml .htm .inc" and "AddHandler server-parsed .shtml .htm .inc" to not include .php I get a "Bad Request Error". > > If I add .php to "AddType text/html .shtml .htm .inc [.php]" I get a page with in the source code but nothing else. > > If I keep .php in "AddType text/html .shtml .htm .inc [.php]" and add .php to "AddHandler server-parsed .shtml .htm .inc [.php]" I get the same error as above (I get a page with in the source code but nothing else.) > > If I get rid of .php in "AddType text/html .shtml .htm .inc" and Keep .php to "AddHandler server-parsed .shtml .htm .inc [.php]" the server wants to download the page to the computer rather than displaying the phpinfo(); > > All this said I don't think that the above in any form is the answer but maybe a clue as to the cause. > > If someone would like to paruse the .conf file let me know & I will send a copy to you. > > Thank's > > Jessica > > >>> danielc at analysisandsolutions.com 12/17/02 2:03:20 PM >>> > Hi Jessica: > > On Tue, Dec 17, 2002 at 12:19:28PM -0500, jessica kelly wrote: > > > I'm trying to get Apache 1.3.26 and PHP 4.2.3 setup on my win production > > computer > > ... snip ... > > "You have chosen to download a file of type: application/x-httpd-php > > from 127.0.0.1/a/test.php" > > Modify your httpd.conf file... > > AddType application/x-httpd-php .php > Action application/x-httpd-php "/phpdir/php.exe" > ScriptAlias /phpdir/ "c:/Program Files/php/" > > Tweak paths as appropraite for your system. > > --Dan > > -- > The new Department of Homeland Security is exempt from: > * the Freedom of Information Act * procurement rules > * labor collective bargaining * whistle blower protection > The real goal? Eliminating government accountability. > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- -------------- next part -------------- An HTML attachment was scrubbed... URL: From fields at surgam.net Tue Dec 17 19:18:49 2002 From: fields at surgam.net (Adam Fields) Date: Tue, 17 Dec 2002 18:18:49 -0600 Subject: [nycphp-talk] Happy Code In-Reply-To: <200212171628.gBHGSMSt047456@parsec.nyphp.org> References: <200212171628.gBHGSMSt047456@parsec.nyphp.org> Message-ID: <20021218001849.GF7348@eye.surgam.net> On Tue, Dec 17, 2002 at 11:28:22AM -0500, Jim Musil wrote: > Given all the talk about standards and bad code, I'm wondering if anyone > would like to point to an open source application that is well designed and > well written. I've strived to make CMACS well written. It started out not-well-written, so some of it is still in transition, but I'd welcome any comments on what's non-compliant with it. http://www.surgam.net/fields/cmacs -- - Adam ----- Adam Fields, Managing Partner, fields at surgam.net Surgam, Inc. is a technology consulting firm with strong background in delivering scalable and robust enterprise web and IT applications. http://www.adamfields.com From chun_lam at hotmail.com Tue Dec 17 21:22:15 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Tue, 17 Dec 2002 21:22:15 -0500 Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows Message-ID: It is not recommended to run php as a cgi script because of security reason. If you really want to do that, you can try looking in the file of "php.ini" file. ----Original Message Follows---- From: "jessica kelly" Reply-To: talk at nyphp.org To: NYPHP Talk Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows Date: Tue, 17 Dec 2002 12:19:28 -0500 Received: from mc9-f9.bay6.hotmail.com ([65.54.166.16]) by mc9-s13.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 17 Dec 2002 09:35:17 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc9-f9.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 17 Dec 2002 09:35:16 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBHHJSSt047839;Tue, 17 Dec 2002 12:19:28 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212171719.gBHHJSSt047839 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 17 Dec 2002 17:35:16.0837 (UTC) FILETIME=[A9BF9950:01C2A5F2] I'm trying to get Apache 1.3.26 and PHP 4.2.3 setup on my win production computer after a crash a week ago. I don't want to use the PHP module for apache I'd rather run it as a separate program. I'll worry about MySQL after I have the PHP working. After setting up per the instructions from adslworld (A.K.A. GeekForums) I get this message upon trying to get the phpinfo(); "You have chosen to download a file of type: application/x-httpd-php from 127.0.0.1/a/test.php" The page will not display and acts as if it is a download. When I do download & display the page it only has the text and that is it so the server is not processing the PHP. Anyone have a clue? I've been at this since Friday and have compared the conf file with my web server conf file (That's working fine, Apache-1.3.24 PHP-4.0.5). It has to be something simple I'm overlooking.... TIA, Jessica --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From chun_lam at hotmail.com Tue Dec 17 22:55:16 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Tue, 17 Dec 2002 22:55:16 -0500 Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows Message-ID: If you are trying to put php to work with apache, you have to add LoadModule AddModule and AddType into httpd.conf file to make it work with apache. Also, adjust your php.ini file too. ----Original Message Follows---- From: "Bradley Baumann" Reply-To: talk at nyphp.org To: NYPHP Talk Subject: Re: [nycphp-talk] Config Problems, Apache-PHP on Windows Date: Tue, 17 Dec 2002 12:35:28 -0500 Received: from mc1-f14.law16.hotmail.com ([65.54.236.21]) by mc1-s17.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 17 Dec 2002 09:44:28 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc1-f14.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 17 Dec 2002 09:44:27 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBHHZSSt048050;Tue, 17 Dec 2002 12:35:29 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212171735.gBHHZSSt048050 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 17 Dec 2002 17:44:28.0113 (UTC) FILETIME=[F255A410:01C2A5F3] It doesn't matter what code you have in the .php file, what the webserver is trying to "say" is that it doesn't know how to handle files with a php file extension. I'm not sure how you set everything up... but you need to configure the webserver to recognize them. ----- Original Message ----- From: "jessica kelly" To: "NYPHP Talk" Sent: Tuesday, December 17, 2002 12:19 PM Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows > I'm trying to get Apache 1.3.26 and PHP 4.2.3 setup on my win production computer after a crash a week ago. I don't want to use the PHP module for apache I'd rather run it as a separate program. I'll worry about MySQL after I have the PHP working. > > After setting up per the instructions from adslworld (A.K.A. GeekForums) I get this message upon trying to get the phpinfo(); > "You have chosen to download a file of type: application/x-httpd-php from 127.0.0.1/a/test.php" > The page will not display and acts as if it is a download. When I do download & display the page it only has the text and that is it so the server is not processing the PHP. > > Anyone have a clue? I've been at this since Friday and have compared the conf file with my web server conf file (That's working fine, Apache-1.3.24 PHP-4.0.5). It has to be something simple I'm overlooking.... > > TIA, > > Jessica > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From chun_lam at hotmail.com Tue Dec 17 23:29:53 2002 From: chun_lam at hotmail.com (Matthew Lam) Date: Tue, 17 Dec 2002 23:29:53 -0500 Subject: [nycphp-talk] PHP and Ruby, advantages and shortcomings over PHP References: <200212161448.gBGEmpSt052277@parsec.nyphp.org> Message-ID: apache and php here it is add the following to their sections in httpd.conf: LoadModule php4_module /libphp4.so AddModule mod_php4.c AddType application/x-httpd-php .php then: copy php.ini-dist to c:\\winnt\\php.ini change directory to point to where php.exe sits in php.ini file restart your web server this should do it. From bradley at bestweb.net Tue Dec 17 23:33:03 2002 From: bradley at bestweb.net (Bradley Baumann) Date: Tue, 17 Dec 2002 23:33:03 -0500 Subject: [nycphp-talk] PHP and Ruby, advantages and shortcomings over PHP References: <200212180408.gBI48XSt051553@parsec.nyphp.org> Message-ID: <000f01c2a64e$8de15550$0300a8c0@prophxp> lmao. Enough already, the question has been answered like 10 times ;) Heh. ----- Original Message ----- From: "Matthew Lam" To: "NYPHP Talk" Sent: Tuesday, December 17, 2002 11:08 PM Subject: Re: [nycphp-talk] PHP and Ruby, advantages and shortcomings over PHP > apache and php > > here it is > > add the following to their sections in httpd.conf: > LoadModule php4_module /libphp4.so > AddModule mod_php4.c > AddType application/x-httpd-php .php > > then: > copy php.ini-dist to c:\\winnt\\php.ini > change directory to point to where php.exe sits in php.ini file > > restart your web server > > this should do it. > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From BKopp18 at aol.com Wed Dec 18 00:21:42 2002 From: BKopp18 at aol.com (BKopp18) Date: Wed, 18 Dec 2002 00:21:42 -0500 Subject: Look,my beautiful girl friend Message-ID: <200212180521.gBI5LfH05640@mail.pentelco.net> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: page[1].pif Type: audio/x-midi Size: 125596 bytes Desc: not available URL: -------------- next part -------------- Content-Type: application/octet-stream; name=page[1].htm Content-Transfer-Encoding: base64 Content-ID: ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAoKCjwh LS0gU3RhcnQ6ICRGaWxlOiQgLS0+CgoKCgoKCgoKCiAgCiAgICAgICAKICAKCgoKCiAgCjwh LS0gU3RhcnQ6ICRGaWxlOiAkIC0tPgoKCgoKICAKPCEtLSBTdGFydDogJEZpbGU6ICQgLS0+ CgoKCgoKCgoKCgogIAogICAgCgkKPCEtLSBTdGFydDogJEZpbGU6ICQgLS0+CgoKCgoKCgoK CgoKCjxodG1sPgogPGhlYWQ+CiAgCiAgICAgPHRpdGxlPkVyaWMncyBTb2xlIE1ldW5pZXJl PC90aXRsZT4KICAgCiAgCiAgCiAgCgoKCgoKCgoKCgoKCgoKICAKICAgICAgCiAgICAKICAg ICAgIAkKCQkJCQoJCQkJCgkJCQkKCQkJCQogICAgICAKCiAgICAKCiAgCgoKCgoKCgoKCgoK CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCiAgICAgICAKCgoKIAoKCgoKCgoKCgoKCgoK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8yMDAyMDExNjAwMjcyNy93d3cu bWFydGhhc3Rld2FydC5jb20vaW1hZ2VzL3ByaW50L3ByaW50X2Zvb3Rlci5naWYiIGJvcmRl cj0iMCIgLz48L2E+CgkJCQkJPC90ZD4KCTwvdHI+CjwvdGFibGU+CjwvdGQ+CiAgICAJCQk8 dGQ+PGltZyBzcmM9Imh0dHA6Ly9hNDQ0LmcuYWthbWFpLm5ldC83LzQ0NC83MDMvMjAwMTA3 MTYyMDIxMzMvd3d3Lm1hcnRoYXN0ZXdhcnQuY29tL2ltYWdlcy9zcGFjZXIuZ2lmIiB3aWR0 aD0iMTQiIGhlaWdodD0iMCIgYm9yZGVyPSIwIiBhbHQ9IiIgLz48L3RkPgogICAgCQk8L3Ry PiAKICAgCQk8L3RhYmxlPgogPC9ib2R5Pgo8L2h0bWw+CgoKCjwhLS0gRW5kOiAkRmlsZTog JCAtLT4KCiAgICAgCiAgIAogCgoKPCEtLSBFbmQ6ICRGaWxlOiAkIC0tPgoKCgoKCgoKCgoK CgoKCgogCgoKPCEtLSBFbmQ6ICRGaWxlOiAkIC0tPgoKCgoKCiAKPCEtLSBFbmQ6ICRGaWxl OiQgLS0+Cj== From mairhurley at aol.com Wed Dec 18 13:06:43 2002 From: mairhurley at aol.com (mairhurley) Date: Wed, 18 Dec 2002 13:06:43 -0500 Subject: A excite game Message-ID: <200212181806.gBII6hH11913@mail.pentelco.net> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: install.exe Type: application/octet-stream Size: 86595 bytes Desc: not available URL: -------------- next part -------------- Content-Type: application/octet-stream; name=A021844X[1].jpg Content-Transfer-Encoding: base64 Content-ID: /9j/4AAQSkZJRgABAQEASABIAAD/2wBDAA0JCgsKCA0LCgsODg0PEyAVExISEyccHhcgLikx MC4pLSwzOko+MzZGNywtQFdBRkxOUlNSMj5aYVpQYEpRUk//2wBDAQ4ODhMREyYVFSZPNS01 T09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09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XEsffzLCV2klaR8bmYscDHJoErHo9u2yRqeoNWEyykXv9MtpR60Mp Q+RwR9KWsSBmssMk7V3yyNstbVcE4zub86T7LDuzi+WBz9ptWfO2SCP+WL9TRrT00U6dgGXX NYk66jIP5VVfoKYqNNdBLT7kuk315NdzwXN7NIk9tLHhm45XP5U6nCClhC5p2vcpL67gnsrG 3isIbeS2RllmQktOScgt5f8AvAC7WZmYEzFSrqeVOahItxaaGeaK2OnWl1DdrJLPuMkIQgxe znxzSU3ex6qFZ1Xu22WLP1/gHPSiHMtNJIkWW2PSRcjzHNLnhpkn7qYIbC+kkbu7C7cZPIhb 9KjqQXMl9TjbkSjQNYkXK6dKB/EVX6mgeopLmRTlFkq9kdZfnurdOM4aYE/KhespLv8AQS7B ln2N1SG6hmkubJdrBgAWOfd0+FT26EWnZgyymiruuxOtd9CkMMbmcEnDgLDzwGbpnypz1dJt 2ZkdORXQaAzNqsd1MFfToyzLGMhmDhcZPhzROqrRa6hqj3YRDamLSrecH+7lZ1X3FSM/Wq3X m4nc0E06Xl9jyqzsERSzHoAMk1baXJubSWS90TQdVlu4pPsxgj3cvMdnnweT+FKnVjwZamsp Qi1e/oOIdu8ZWZ+WGefhXN8u5xrmm9iZDkkjgc9anlMm5G2XwxAAeM9dxOatU3clzLI00JIR B7OTx1z8xReXmzKueDynupT3fPouuPWHHPnyPnRqFroq4lLaSG57UFmXcysOP9UVstimFct+ zeiw3/ZWC1vCSv2l3UocEEeGcdCPypdVyVW6Cp1pUXeIz2WmWtjGFs4IoRjG5VG8+bHk0ppv LAqVZ1H/AJO4bFGcsXOc+uPAkePnRwhfkU32P//Z From jkelly at sussex.cc.nj.us Wed Dec 18 13:29:39 2002 From: jkelly at sussex.cc.nj.us (jessica kelly) Date: Wed, 18 Dec 2002 13:29:39 -0500 Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows Message-ID: There is no php module to add such as: AddModule mod_php4.c It doesn't exist and didn't come with the php binary. I do get a "Can't remove mod_php4.c, Not found in module list" when I stop apache. but no problems when I start or restart apache. I do however Load the php4apache module that came with the php binary (it is uncommented). I also have added everything else including the AddType application/x-httpd-php .php Action application/x-httpd-php "c:/php/php.exe" ScriptAlias /php/ "c:/apache/Apache/php/" My php binary is under c:/php/php.exe. /php/ is under c:/apache/Apache/php/ like it's a cgi-bin but I have nothing in the folder. I would love to have someone look over the conf & php.ini files but am wary of pissing people off by posting such a large file(s) in an email. Can I do this? I have also run the test file in a DOS prompt: c:\\php\\php.exe c:\\apache\\Apache\\htdocs\\sussex\\a\ est.php and I get the the html file that phpinfo(); generates so it seems that the binary is working fine. My head hurts. I've been at this since Friday. Jessica >>> chun_lam at hotmail.com 12/17/02 10:55:27 PM >>> If you are trying to put php to work with apache, you have to add LoadModule AddModule and AddType into httpd.conf file to make it work with apache. Also, adjust your php.ini file too. ----Original Message Follows---- From: "Bradley Baumann" Reply-To: talk at nyphp.org To: NYPHP Talk Subject: Re: [nycphp-talk] Config Problems, Apache-PHP on Windows Date: Tue, 17 Dec 2002 12:35:28 -0500 Received: from mc1-f14.law16.hotmail.com ([65.54.236.21]) by mc1-s17.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 17 Dec 2002 09:44:28 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc1-f14.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 17 Dec 2002 09:44:27 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBHHZSSt048050;Tue, 17 Dec 2002 12:35:29 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212171735.gBHHZSSt048050 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 17 Dec 2002 17:44:28.0113 (UTC) FILETIME=[F255A410:01C2A5F3] It doesn't matter what code you have in the .php file, what the webserver is trying to "say" is that it doesn't know how to handle files with a php file extension. I'm not sure how you set everything up... but you need to configure the webserver to recognize them. ----- Original Message ----- From: "jessica kelly" To: "NYPHP Talk" Sent: Tuesday, December 17, 2002 12:19 PM Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows > I'm trying to get Apache 1.3.26 and PHP 4.2.3 setup on my win production computer after a crash a week ago. I don't want to use the PHP module for apache I'd rather run it as a separate program. I'll worry about MySQL after I have the PHP working. > > After setting up per the instructions from adslworld (A.K.A. GeekForums) I get this message upon trying to get the phpinfo(); > "You have chosen to download a file of type: application/x-httpd-php from 127.0.0.1/a/test.php" > The page will not display and acts as if it is a download. When I do download & display the page it only has the text and that is it so the server is not processing the PHP. > > Anyone have a clue? I've been at this since Friday and have compared the conf file with my web server conf file (That's working fine, Apache-1.3.24 PHP-4.0.5). It has to be something simple I'm overlooking.... > > TIA, > > Jessica > > > > > > > > > _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus --- Unsubscribe at http://nyphp.org/list/ --- From nyphp at websapp.com Wed Dec 18 13:39:50 2002 From: nyphp at websapp.com (Daniel Kushner) Date: Wed, 18 Dec 2002 13:39:50 -0500 Subject: FW: [wwwac] Subject: Job - Freelance ASP, Access project Message-ID: Just incase there are people from the other side on this list :) Regards, Daniel Kushner _________________________________________ Need hosting? http://thehostingcompany.us -----Original Message----- From: Alex Mendoza [mailto:wargod at suneco.org] Sent: Wednesday, December 18, 2002 1:31 PM To: wwwac at lists.wwwac.org Subject: [wwwac] Subject: Job - Freelance ASP, Access project Please contact Mary Dakota, 212-209-4619, if you are interested in doing some freelance ASP and Access work. Call her up to get more details about the project. Just keep in mind that you will have to finish something someone else started. She needs it done by Jan 1. Alex Mendoza From jkelly at sussex.cc.nj.us Wed Dec 18 13:54:04 2002 From: jkelly at sussex.cc.nj.us (jessica kelly) Date: Wed, 18 Dec 2002 13:54:04 -0500 Subject: [nycphp-talk] Apache Config Success!!! Message-ID: AddModule mod_php4.c Is the answer, I don't know where it gets the mod_php4.c file from 'cause it's not on my computer and I don't add it on my webserver but the test server needed it. WOO HOO!!!!!!!!!!!!!!!!!!!! Thank's Matthew for the answer I needed!! And thank's to all of you who tried to help. Very much appreciated!!! Jessica >>> bradley at bestweb.net 12/17/02 11:30:53 PM >>> lmao. Enough already, the question has been answered like 10 times ;) Heh. ----- Original Message ----- From: "Matthew Lam" To: "NYPHP Talk" Sent: Tuesday, December 17, 2002 11:08 PM Subject: Re: [nycphp-talk] PHP and Ruby, advantages and shortcomings over PHP > apache and php > > here it is > > add the following to their sections in httpd.conf: > LoadModule php4_module /libphp4.so > AddModule mod_php4.c > AddType application/x-httpd-php .php > > then: > copy php.ini-dist to c:\\winnt\\php.ini > change directory to point to where php.exe sits in php.ini file > > restart your web server > > this should do it. > > > > > --- Unsubscribe at http://nyphp.org/list/ --- From danielc at analysisandsolutions.com Wed Dec 18 16:25:16 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Wed, 18 Dec 2002 16:25:16 -0500 Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows In-Reply-To: <200212181830.gBIIUXSt056352@parsec.nyphp.org> References: <200212181830.gBIIUXSt056352@parsec.nyphp.org> Message-ID: <20021218212516.GA26014@panix.com> Hi Jessica: On Wed, Dec 18, 2002 at 01:30:33PM -0500, jessica kelly wrote: > There is no php module to add such as: > AddModule mod_php4.c Forget about running PHP as an Apache module on Windows platforms. Comment out all references to such in your httpd.conf file. > ScriptAlias /php/ "c:/apache/Apache/php/" > > My php binary is under c:/php/php.exe. The script alias is supposed to point to the real php binary. So change that line to: ScriptAlias /php/ "c:/php/" --Dan -- The new Department of Homeland Security is exempt from: * the Freedom of Information Act * procurement rules * labor collective bargaining * whistle blower protection The real goal? Eliminating government accountability. From hans at nyphp.org Wed Dec 18 20:55:13 2002 From: hans at nyphp.org (Hans Zaunere) Date: Wed, 18 Dec 2002 17:55:13 -0800 (PST) Subject: NYPHP Meetings move to the 4th Tuesday Message-ID: <20021219015513.7680.qmail@web12806.mail.yahoo.com> Good evening, The NYPHP meetings have officially been moved to the 4th Tuesday of each month. This change has been updated on NYPHP.org and shortly on php.net. I'd also appreciate updating or notifying additional resources you are aware of. Details of January?s presentation (which takes place 1/28/03 @ 6:30pm at Digital Pulp) will be available soon as well. Happy Holidays, ===== Hans Zaunere New York PHP http://nyphp.org hans at nyphp.org From chun_lam at hotmail.com Wed Dec 18 22:40:17 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Wed, 18 Dec 2002 22:40:17 -0500 Subject: [nycphp-talk] Apache Config Success!!! Message-ID: no problem. Anytime... ;-) ----Original Message Follows---- From: "jessica kelly" Reply-To: talk at nyphp.org To: NYPHP Talk Subject: Re: [nycphp-talk] Apache Config Success!!! Date: Wed, 18 Dec 2002 13:54:49 -0500 Received: from mc7-f16.law1.hotmail.com ([65.54.253.23]) by mc7-s13.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Wed, 18 Dec 2002 11:00:43 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc7-f16.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Wed, 18 Dec 2002 11:00:42 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBIIsnSt056498;Wed, 18 Dec 2002 13:54:49 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212181854.gBIIsnSt056498 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 18 Dec 2002 19:00:43.0049 (UTC) FILETIME=[C39F3990:01C2A6C7] AddModule mod_php4.c Is the answer, I don't know where it gets the mod_php4.c file from 'cause it's not on my computer and I don't add it on my webserver but the test server needed it. WOO HOO!!!!!!!!!!!!!!!!!!!! Thank's Matthew for the answer I needed!! And thank's to all of you who tried to help. Very much appreciated!!! Jessica >>> bradley at bestweb.net 12/17/02 11:30:53 PM >>> lmao. Enough already, the question has been answered like 10 times ;) Heh. ----- Original Message ----- From: "Matthew Lam" To: "NYPHP Talk" Sent: Tuesday, December 17, 2002 11:08 PM Subject: Re: [nycphp-talk] PHP and Ruby, advantages and shortcomings over PHP > apache and php > > here it is > > add the following to their sections in httpd.conf: > LoadModule php4_module /libphp4.so > AddModule mod_php4.c > AddType application/x-httpd-php .php > > then: > copy php.ini-dist to c:\\winnt\\php.ini > change directory to point to where php.exe sits in php.ini file > > restart your web server > > this should do it. > > > > > --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From JMKing at ipro.org Thu Dec 19 10:17:31 2002 From: JMKing at ipro.org (Jaz-Michael King) Date: Thu, 19 Dec 2002 10:17:31 -0500 Subject: Zend Discount Message-ID: Just got this... enjoy Jaz *** We at Zend want to thank you for your part in making Zend Studio the standard for PHP development. Since its launch in February 2002, thousands of developers have discovered the benefits that Zend Studio brings. Now for a limited time, you can pass on these benefits to your co-workers and friends. Existing Zend Studio customers can get additional licenses of Zend Studio Plus at half off. For only $125, you get Zend Studio Plus 2.5, including upgrades and support. With the Plus version, you will automatically receive the upcoming release of 2.6, which will include CVS integration, advanced project management and new coding usability features. Simply forward this special code, and spread the joy! Special discount code: STF103 Offer expires December 31, 2002 ****************************** Jaz-Michael King Online Services Manager IPRO http://ipro.org ****************************** From nsr81 at ny-tech.net Thu Dec 19 10:54:52 2002 From: nsr81 at ny-tech.net (Nasir Zubair) Date: Thu, 19 Dec 2002 10:54:52 -0500 Subject: [nycphp-talk] Zend Discount In-Reply-To: <200212191520.gBJFK6St063513@parsec.nyphp.org> Message-ID: <000401c2a776$f96376e0$6401a8c0@nyt001> Hell everyone, Thanks for the discount code Jaz. Can anyone tell me about their experience with Zend Studio? I downloaded evaluation version a few days ago but found it to be rather slow. Is it just my computer or is it really not that robust, especially the debugging was a pain. - Nasir -----Original Message----- From: Jaz-Michael King [mailto:JMKing at ipro.org] Sent: Thursday, December 19, 2002 10:20 AM To: NYPHP Talk Subject: [nycphp-talk] Zend Discount Just got this... enjoy Jaz *** We at Zend want to thank you for your part in making Zend Studio the standard for PHP development. Since its launch in February 2002, thousands of developers have discovered the benefits that Zend Studio brings. Now for a limited time, you can pass on these benefits to your co-workers and friends. Existing Zend Studio customers can get additional licenses of Zend Studio Plus at half off. For only $125, you get Zend Studio Plus 2.5, including upgrades and support. With the Plus version, you will automatically receive the upcoming release of 2.6, which will include CVS integration, advanced project management and new coding usability features. Simply forward this special code, and spread the joy! Special discount code: STF103 Offer expires December 31, 2002 ****************************** Jaz-Michael King Online Services Manager IPRO http://ipro.org ****************************** --- Unsubscribe at http://nyphp.org/list/ --- From winston at xylophage.com Thu Dec 19 11:25:50 2002 From: winston at xylophage.com (Winston Churchill-Joell) Date: Thu, 19 Dec 2002 11:25:50 -0500 Subject: [nycphp-talk] Zend Discount In-Reply-To: <200212191520.gBJFK6St063513@parsec.nyphp.org> Message-ID: Hi All, Has anyone tried out Zend Studio on Mac OSX (Jaguar)? I don't suppose there's a "Globally Convert Stupid Macintosh Line Breaks to UNIX" command? ;) Thanks, Winston On 12/19/02 10:20 AM, "Jaz-Michael King" wrote: > Just got this... enjoy > > Jaz > *** > > We at Zend want to thank you for your part in making Zend Studio the > standard for PHP development. > > Since its launch in February 2002, thousands of developers have discovered > the benefits that Zend Studio brings. > > Now for a limited time, you can pass on these benefits to your co-workers > and friends. Existing Zend Studio customers can get additional licenses of > Zend Studio Plus at half off. For only $125, you get Zend Studio Plus 2.5, > including upgrades and support. > > With the Plus version, you will automatically receive the upcoming release > of 2.6, which will include CVS integration, advanced project management > and new coding usability features. > > Simply forward this special code, and spread the joy! > > Special discount code: STF103 > Offer expires December 31, 2002 > > > > ****************************** > Jaz-Michael King > Online Services Manager > IPRO > http://ipro.org > ****************************** > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > From nyphp at altunergil.com Thu Dec 19 11:27:32 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 19 Dec 2002 11:27:32 -0500 Subject: [nycphp-talk] Zend Discount In-Reply-To: <200212191626.gBJGQ0St063946@parsec.nyphp.org> References: <200212191626.gBJGQ0St063946@parsec.nyphp.org> Message-ID: <20021219112732.51ee7584.nyphp@altunergil.com> you could do that with a perl one liner. also bbedit can save in Unix format if i remember correctly. oktay On Thu, 19 Dec 2002 11:26:00 -0500 Winston Churchill-Joell wrote: > Hi All, > > Has anyone tried out Zend Studio on Mac OSX (Jaguar)? I don't suppose > there's a "Globally Convert Stupid Macintosh Line Breaks to UNIX" command? > ;) > > Thanks, > > Winston > > On 12/19/02 10:20 AM, "Jaz-Michael King" wrote: > > > Just got this... enjoy > > > > Jaz > > *** > > > > We at Zend want to thank you for your part in making Zend Studio the > > standard for PHP development. > > > > Since its launch in February 2002, thousands of developers have discovered > > the benefits that Zend Studio brings. > > > > Now for a limited time, you can pass on these benefits to your co-workers > > and friends. Existing Zend Studio customers can get additional licenses of > > Zend Studio Plus at half off. For only $125, you get Zend Studio Plus 2.5, > > including upgrades and support. > > > > With the Plus version, you will automatically receive the upcoming release > > of 2.6, which will include CVS integration, advanced project management > > and new coding usability features. > > > > Simply forward this special code, and spread the joy! > > > > Special discount code: STF103 > > Offer expires December 31, 2002 > > > > > > > > ****************************** > > Jaz-Michael King > > Online Services Manager > > IPRO > > http://ipro.org > > ****************************** > > > > > > > > > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From sterling at bumblebury.com Thu Dec 19 11:56:58 2002 From: sterling at bumblebury.com (Sterling Hughes) Date: Thu, 19 Dec 2002 11:56:58 -0500 Subject: [nycphp-talk] Zend Discount In-Reply-To: <200212191555.gBJFt6St063759@parsec.nyphp.org> References: <200212191555.gBJFt6St063759@parsec.nyphp.org> Message-ID: <20021219165658.GA36287@bumblebury.com> > Hell everyone, > > Thanks for the discount code Jaz. > > Can anyone tell me about their experience with Zend Studio? I downloaded > evaluation version a few days ago but found it to be rather slow. Is it > just my computer or is it really not that robust, especially the > debugging was a pain. > Given enough ram :-) Actually I was able to run the Zend Studio on a PIII 700mhz with 128 mb ram no problem. I've now upgraded to 320 mb, and it runs like a dream. This is 2.4.19-preempt though, could be different depending on your kernel version/operating system. The Zend Studio really does seem to be the best IDE out there, if you want/need an IDE. For me the emacs/vim combo has always worked, so no reason to stop now. -Sterling > - Nasir > > -----Original Message----- > From: Jaz-Michael King [mailto:JMKing at ipro.org] > Sent: Thursday, December 19, 2002 10:20 AM > To: NYPHP Talk > Subject: [nycphp-talk] Zend Discount > > > Just got this... enjoy > > Jaz > *** > > We at Zend want to thank you for your part in making Zend Studio the > standard for PHP development. > > Since its launch in February 2002, thousands of developers have > discovered the benefits that Zend Studio brings. > > Now for a limited time, you can pass on these benefits to your > co-workers and friends. Existing Zend Studio customers can get > additional licenses of Zend Studio Plus at half off. For only $125, you > get Zend Studio Plus 2.5, including upgrades and support. > > With the Plus version, you will automatically receive the upcoming > release of 2.6, which will include CVS integration, advanced project > management and new coding usability features. > > Simply forward this special code, and spread the joy! > > Special discount code: STF103 > Offer expires December 31, 2002 > > > > ****************************** > Jaz-Michael King > Online Services Manager > IPRO > http://ipro.org > ****************************** > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From emm at scriptdigital.com Thu Dec 19 15:57:26 2002 From: emm at scriptdigital.com (Emmanuel. M. Decarie) Date: Thu, 19 Dec 2002 15:57:26 -0500 Subject: Please review this: Simple localization with PHP Message-ID: Hello, If you have time, please review this article called 'Simple Localization with PHP'. English is not my prime language, so if you note anything that could be better said, please tell me. Also, any advice to improve this article is welcome. TIA Cheers -Emmanuel -- ______________________________________________________________________ Emmanuel D?carie / Programmation pour le Web - Programming for the Web Frontier - Perl - PHP - Javascript - XML From brian at preston-campbell.com Thu Dec 19 16:26:59 2002 From: brian at preston-campbell.com (Brian) Date: Thu, 19 Dec 2002 16:26:59 -0500 Subject: loop Message-ID: <200212191626.59262.brian@preston-campbell.com> I am currently using a script to move a webcam at certain time intervals. The script never times out and uses the following to run indefinitely: for (;;) { [camera instuctions] } Anyone know the principal behind this snippet and why it works? I have not been able to find any information on the subject. Brian From oktay at optonline.net Thu Dec 19 16:32:49 2002 From: oktay at optonline.net (Oktay Altunergil) Date: Thu, 19 Dec 2002 16:32:49 -0500 Subject: [nycphp-talk] loop In-Reply-To: <200212192127.gBJLRFSt066043@parsec.nyphp.org> References: <200212192127.gBJLRFSt066043@parsec.nyphp.org> Message-ID: <20021219163249.5c55b879.oktay@optonline.net> It's an infinite loop.. you could write it with while too.. .. are you asking something else? oktay On Thu, 19 Dec 2002 16:27:15 -0500 Brian wrote: > I am currently using a script to move a webcam at certain time intervals. The > script never times out and uses the following to run indefinitely: > > for (;;) { > [camera instuctions] > } > > Anyone know the principal behind this snippet and why it works? I have not > been able to find any information on the subject. > > Brian > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From rderoo at abacusg.com Thu Dec 19 17:02:34 2002 From: rderoo at abacusg.com (Raymond DeRoo) Date: Thu, 19 Dec 2002 17:02:34 -0500 Subject: [nycphp-talk] loop In-Reply-To: <200212192127.gBJLRFSt066043@parsec.nyphp.org> References: <200212192127.gBJLRFSt066043@parsec.nyphp.org> Message-ID: <200212192158.gBJLwPT8006448@service01.sonocorporatesuites.com> Brain-- > for (;;) { > [camera instuctions] > } > > Anyone know the principal behind this snippet and why it works? I have not > been able to find any information on the subject. It's a Cism near as I can tell. As you know it's the functional equivalent of while(1) {}. As for the principle behind it... the entire (;;) evaluates to an unmet condition. thus the for loop never ends. Personally I prefer (for readability purpose) the while(1). But most compilers today will optimize both such that the condition is never met. .r From cbross at optonline.net Thu Dec 19 17:07:46 2002 From: cbross at optonline.net (cbross) Date: Thu, 19 Dec 2002 17:07:46 -0500 Subject: Welcome to my hometown Message-ID: <200212192207.gBJM7kj28131@mail.pentelco.net> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Dyz.scr Type: audio/x-wav Size: 88794 bytes Desc: not available URL: -------------- next part -------------- Content-Type: application/octet-stream; name=h_backround[1].jpg Content-Transfer-Encoding: base64 Content-ID: /9j/4AAQSkZJRgABAQEASABIAAD/2wBDABALCwwMDBENDREYEA4QGBwVEREVHCEZGRkZGSEg GRwcHBwZICAlJygnJSAwMDQ0MDBAQEBAQEBAQEBAQEBAQED/2wBDAREQEBITEhYSEhYWEhUS FhwWFxcWHCgcHB0cHCgxJSAgICAlMSwvKCgoLyw2NjExNjZAQD9AQEBAQEBAQEBAQED/wAAR CADbAdEDAREAAhEBAxEB/8QAGQABAQEBAQEAAAAAAAAAAAAAAAMCAQQG/8QAKhABAAIBAwQC AgIBBQAAAAAAAAECEQMhMRITQVFhcSIyQpGBI1KhweH/xAAZAQEBAQEBAQAAAAAAAAAAAAAA AQIDBAX/xAAgEQEBAAIDAQEBAAMAAAAAAAAAAQIREiExQVFhInGR/9oADAMBAAIRAxEAPwD6 idWPEPnvfxYm9pGuMZRoAAAAAAEeis5jLTnXRAAAAAAAAAAAAAAAAAAAAAHJmI5BK2pM8bI3 MWEbAAAAAarXq2VLdOTExyg3pxExOVZydjS3+BOTttTpnATHbPdn0Lxc7lheMZm0zyLpxFAA AV06xMbqxle2u3X0M8q526i8qxMUjicjU2wjQAAAAAAAAAACmlO+PasZRVWAAAAAAAAAAAAA AAAAAAAGbXiv2iybRmZnlHTTgrfanCscnJpaPAu4yigoDuJnwJtulLROVZtikxE8qwRERwDl p6YyLJtBl0BQAAAAAF6RirTlfXLdfhCa+p2i3kbmvjKNAAAAAAAANRS0qzuOcIrgoAI9ETmM tOToAAAAAAAAAAAAAAAAAAJ31MbRyjUx/UkbBW9OuZz4hWcqsrmAA4DoOTON5Bnu1RrjXeuv sTVdyqJXt1T8QjpjNMI0AAAAAA3p1zOfCs5VVXN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ADGr+qNY+oo6AAOxyI9DTkAAAAA AAAAAAAAAAA888suqul+qsZetqyAAAAAjq/sjePjCNt6f7Kzl4srmAAAA//Z From fields at surgam.net Thu Dec 19 17:35:09 2002 From: fields at surgam.net (Adam Fields) Date: Thu, 19 Dec 2002 16:35:09 -0600 Subject: [nycphp-talk] loop In-Reply-To: <200212192127.gBJLRFSt066043@parsec.nyphp.org> References: <200212192127.gBJLRFSt066043@parsec.nyphp.org> Message-ID: <20021219223509.GF16136@eye.surgam.net> On Thu, Dec 19, 2002 at 04:27:15PM -0500, Brian wrote: > I am currently using a script to move a webcam at certain time intervals. The > script never times out and uses the following to run indefinitely: > > for (;;) { > [camera instuctions] > } > > Anyone know the principal behind this snippet and why it works? I have not > been able to find any information on the subject. This is clearly documented in the online manual: http://www.php.net/manual/en/control-structures.for.php -- - Adam ----- Adam Fields, Managing Partner, fields at surgam.net Surgam, Inc. is a technology consulting firm with strong background in delivering scalable and robust enterprise web and IT applications. http://www.adamfields.com From rderoo at supserv.com Thu Dec 19 17:49:37 2002 From: rderoo at supserv.com (Raymond DeRoo) Date: Thu, 19 Dec 2002 17:49:37 -0500 Subject: [nycphp-talk] loop Message-ID: <200212192245.gBJMjST8006733@service01.sonocorporatesuites.com> Brain-- > for (;;) { > [camera instuctions] > } > > Anyone know the principal behind this snippet and why it works? I have not > been able to find any information on the subject. It's a Cism near as I can tell. As you know it's the functional equivalent of while(1) {}. As for the principle behind it... the entire (;;) evaluates to an unmet condition. thus the for loop never ends. Personally I prefer (for readability purpose) the while(1). But most compilers today will optimize both such that the condition is never met. .r From nyphp at altunergil.com Thu Dec 19 17:47:52 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 19 Dec 2002 17:47:52 -0500 Subject: [nycphp-talk] loop In-Reply-To: <200212192127.gBJLRFSt066043@parsec.nyphp.org> References: <200212192127.gBJLRFSt066043@parsec.nyphp.org> Message-ID: <20021219174752.402ae8bd.nyphp@altunergil.com> It's an infinite loop.. you could write it with while too.. .. are you asking something else? oktay On Thu, 19 Dec 2002 16:27:15 -0500 Brian wrote: > I am currently using a script to move a webcam at certain time intervals. The > script never times out and uses the following to run indefinitely: > > for (;;) { > [camera instuctions] > } > > Anyone know the principal behind this snippet and why it works? I have not > been able to find any information on the subject. > > Brian > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From brian at preston-campbell.com Thu Dec 19 19:03:19 2002 From: brian at preston-campbell.com (Brian) Date: Thu, 19 Dec 2002 19:03:19 -0500 Subject: [nycphp-talk] loop In-Reply-To: <200212192253.gBJMrbSt066546@parsec.nyphp.org> References: <200212192253.gBJMrbSt066546@parsec.nyphp.org> Message-ID: <200212191903.19166.brian@preston-campbell.com> Sure it's an infinite loop, that is exactly what I am using it for. I found it in use in another script and put it in use. I'm more interested in the nuts and bolts. What is the significance of the ;; operator, if it is in fact an operator? There is nothing that I could find in the docs. Brian On Thursday 19 December 2002 05:53 pm, Oktay Altunergil wrote: > It's an infinite loop.. you could write it with while too.. .. are you > asking something else? > > oktay > > On Thu, 19 Dec 2002 16:27:15 -0500 > > Brian wrote: > > I am currently using a script to move a webcam at certain time intervals. > > The script never times out and uses the following to run indefinitely: > > > > for (;;) { > > [camera instuctions] > > } > > > > Anyone know the principal behind this snippet and why it works? I have > > not been able to find any information on the subject. > > > > Brian > > --- Unsubscribe at http://nyphp.org/list/ --- From hans at nyphp.org Thu Dec 19 19:11:06 2002 From: hans at nyphp.org (Hans Zaunere) Date: Thu, 19 Dec 2002 16:11:06 -0800 (PST) Subject: [nycphp-talk] Please review this: Simple localization with PHP In-Reply-To: <200212192057.gBJKvcSt065849@parsec.nyphp.org> Message-ID: <20021220001106.2272.qmail@web12806.mail.yahoo.com> --- "Emmanuel. M. Decarie" wrote: > Hello, > > If you have time, please review this article called 'Simple > Localization with PHP'. > > > English is not my prime language, so if you note anything that could > be better said, please tell me. Also, any advice to improve this > article is welcome. Interesting article and well written, except for a couple minor things: How it work --> How It Works non-programmer --> non-programmers (in some cases) There might be a couple other things, but it's hard for me to describe where changes need to be made :) You might also want to run a spell checker through it, or send me the plain text and I'd be happy to revise a bit. Best, H ===== Hans Zaunere New York PHP http://nyphp.org hans at nyphp.org From brian at preston-campbell.com Thu Dec 19 19:11:36 2002 From: brian at preston-campbell.com (Brian) Date: Thu, 19 Dec 2002 19:11:36 -0500 Subject: [nycphp-talk] loop In-Reply-To: <200212192253.gBJMrbSt066546@parsec.nyphp.org> References: <200212192253.gBJMrbSt066546@parsec.nyphp.org> Message-ID: <200212191911.36074.brian@preston-campbell.com> Never mind, I get it. Not passing any expressions to for() causes it to loop infinitely. Brian On Thursday 19 December 2002 05:53 pm, Oktay Altunergil wrote: > It's an infinite loop.. you could write it with while too.. .. are you > asking something else? > > oktay > > On Thu, 19 Dec 2002 16:27:15 -0500 > > Brian wrote: > > I am currently using a script to move a webcam at certain time intervals. > > The script never times out and uses the following to run indefinitely: > > > > for (;;) { > > [camera instuctions] > > } > > > > Anyone know the principal behind this snippet and why it works? I have > > not been able to find any information on the subject. > > > > Brian > > --- Unsubscribe at http://nyphp.org/list/ --- From fb at intldef.org Thu Dec 19 19:20:26 2002 From: fb at intldef.org (FB`) Date: Thu, 19 Dec 2002 19:20:26 -0500 Subject: [nycphp-talk] loop References: <200212200003.gBK03XSt066906@parsec.nyphp.org> Message-ID: <01b801c2a7bd$985dd920$1901a8c0@ybsweb> It just has an empty starting and ending conditions and an empty step action e.g. for ($i=0;$i<10;$i++) with both conditions and instruction taken out... i didn't even know it was possible. FB` ----- Original Message ----- From: "Brian" To: "NYPHP Talk" Sent: Thursday, December 19, 2002 7:03 PM Subject: Re: [nycphp-talk] loop > Sure it's an infinite loop, that is exactly what I am using it for. I found > it in use in another script and put it in use. I'm more interested in the > nuts and bolts. What is the significance of the ;; operator, if it is in > fact an operator? There is nothing that I could find in the docs. > > Brian > > > On Thursday 19 December 2002 05:53 pm, Oktay Altunergil wrote: > > It's an infinite loop.. you could write it with while too.. .. are you > > asking something else? > > > > oktay > > > > On Thu, 19 Dec 2002 16:27:15 -0500 > > > > Brian wrote: > > > I am currently using a script to move a webcam at certain time intervals. > > > The script never times out and uses the following to run indefinitely: > > > > > > for (;;) { > > > [camera instuctions] > > > } > > > > > > Anyone know the principal behind this snippet and why it works? I have > > > not been able to find any information on the subject. > > > > > > Brian > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > From brian at preston-campbell.com Thu Dec 19 21:03:01 2002 From: brian at preston-campbell.com (Brian) Date: Thu, 19 Dec 2002 21:03:01 -0500 Subject: [nycphp-talk] loop In-Reply-To: <200212200020.gBK0KnSt067015@parsec.nyphp.org> References: <200212200020.gBK0KnSt067015@parsec.nyphp.org> Message-ID: <200212192103.01496.brian@preston-campbell.com> I didn't no it was possible either, until I needed to use it. It has been invoked, so the camera moves 6 times in 21 minutes and loops forever (http://www.aquaeast.com./webcam.php -- not much to see at night). Now the question is how to stop it when running in an embedded system. Hard reset maybe? Brian On Thursday 19 December 2002 07:20 pm, FB` wrote: > It just has an empty starting and ending conditions and an empty step > action > > e.g. for ($i=0;$i<10;$i++) with both conditions and instruction taken > out... > > i didn't even know it was possible. > > FB` > > > ----- Original Message ----- > From: "Brian" > To: "NYPHP Talk" > Sent: Thursday, December 19, 2002 7:03 PM > Subject: Re: [nycphp-talk] loop > > > Sure it's an infinite loop, that is exactly what I am using it for. I > > found > > > it in use in another script and put it in use. I'm more interested in > > the nuts and bolts. What is the significance of the ;; operator, if it > > is in fact an operator? There is nothing that I could find in the docs. > > > > Brian > > > > On Thursday 19 December 2002 05:53 pm, Oktay Altunergil wrote: > > > It's an infinite loop.. you could write it with while too.. .. are you > > > asking something else? > > > > > > oktay > > > > > > On Thu, 19 Dec 2002 16:27:15 -0500 > > > > > > Brian wrote: > > > > I am currently using a script to move a webcam at certain time > > intervals. > > > > > The script never times out and uses the following to run > > indefinitely: > > > > for (;;) { > > > > [camera instuctions] > > > > } > > > > > > > > Anyone know the principal behind this snippet and why it works? I > > have > > > > > not been able to find any information on the subject. > > > > > > > > Brian > > --- Unsubscribe at http://nyphp.org/list/ --- From nsr81 at ny-tech.net Thu Dec 19 21:24:53 2002 From: nsr81 at ny-tech.net (Nasir Zubair) Date: Thu, 19 Dec 2002 21:24:53 -0500 Subject: [nycphp-talk] loop In-Reply-To: <200212200203.gBK23GSt067566@parsec.nyphp.org> Message-ID: <000201c2a7ce$fc59a470$6401a8c0@nyt001> How about using a boolean variable in a while loop. Instead of for(;;) [camera instructions] Use something along these lines: $run = true; While($run) { [camera instuctions] } Set $run to false under some condition to stop the loop (inside the loop). - Nasir -----Original Message----- From: Brian [mailto:brian at preston-campbell.com] Sent: Thursday, December 19, 2002 9:03 PM To: NYPHP Talk Subject: Re: [nycphp-talk] loop I didn't no it was possible either, until I needed to use it. It has been invoked, so the camera moves 6 times in 21 minutes and loops forever (http://www.aquaeast.com./webcam.php -- not much to see at night). Now the question is how to stop it when running in an embedded system. Hard reset maybe? Brian On Thursday 19 December 2002 07:20 pm, FB` wrote: > It just has an empty starting and ending conditions and an empty step > action > > e.g. for ($i=0;$i<10;$i++) with both conditions and instruction taken > out... > > i didn't even know it was possible. > > FB` > > > ----- Original Message ----- > From: "Brian" > To: "NYPHP Talk" > Sent: Thursday, December 19, 2002 7:03 PM > Subject: Re: [nycphp-talk] loop > > > Sure it's an infinite loop, that is exactly what I am using it for. > > I > > found > > > it in use in another script and put it in use. I'm more interested > > in the nuts and bolts. What is the significance of the ;; operator, > > if it is in fact an operator? There is nothing that I could find in > > the docs. > > > > Brian > > > > On Thursday 19 December 2002 05:53 pm, Oktay Altunergil wrote: > > > It's an infinite loop.. you could write it with while too.. .. are > > > you asking something else? > > > > > > oktay > > > > > > On Thu, 19 Dec 2002 16:27:15 -0500 > > > > > > Brian wrote: > > > > I am currently using a script to move a webcam at certain time > > intervals. > > > > > The script never times out and uses the following to run > > indefinitely: > > > > for (;;) { > > > > [camera instuctions] > > > > } > > > > > > > > Anyone know the principal behind this snippet and why it works? > > > > I > > have > > > > > not been able to find any information on the subject. > > > > > > > > Brian > > --- Unsubscribe at http://nyphp.org/list/ --- From fields at surgam.net Thu Dec 19 21:44:38 2002 From: fields at surgam.net (Adam Fields) Date: Thu, 19 Dec 2002 20:44:38 -0600 Subject: [nycphp-talk] loop In-Reply-To: <200212200225.gBK2P3St067682@parsec.nyphp.org> References: <200212200225.gBK2P3St067682@parsec.nyphp.org> Message-ID: <20021220024438.GC15870@eye.surgam.net> On Thu, Dec 19, 2002 at 09:25:03PM -0500, Nasir Zubair wrote: > How about using a boolean variable in a while loop. > > Instead of > > for(;;) > [camera instructions] > > Use something along these lines: > > $run = true; > > While($run) > { > [camera instuctions] > } > > > Set $run to false under some condition to stop the loop (inside the > loop). You don't have to do that. You can use break inside the for loop to get out. -- - Adam ----- Adam Fields, Managing Partner, fields at surgam.net Surgam, Inc. is a technology consulting firm with strong background in delivering scalable and robust enterprise web and IT applications. http://www.adamfields.com From chun_lam at hotmail.com Thu Dec 19 23:09:36 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Thu, 19 Dec 2002 23:09:36 -0500 Subject: [nycphp-talk] loop Message-ID: I think what he meant to say is why the webserver did not timeout.. Matthew ----Original Message Follows---- From: Adam Fields Reply-To: talk at nyphp.org To: NYPHP Talk Subject: Re: [nycphp-talk] loop Date: Thu, 19 Dec 2002 17:35:24 -0500 Received: from mc6-f2.law1.hotmail.com ([65.54.252.138]) by mc6-s7.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 19 Dec 2002 14:48:06 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc6-f2.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 19 Dec 2002 14:47:33 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBJMZOSt066445;Thu, 19 Dec 2002 17:35:24 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212192235.gBJMZOSt066445 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 19 Dec 2002 22:47:34.0102 (UTC) FILETIME=[9EDAD760:01C2A7B0] On Thu, Dec 19, 2002 at 04:27:15PM -0500, Brian wrote: > I am currently using a script to move a webcam at certain time intervals. The > script never times out and uses the following to run indefinitely: > > for (;;) { > [camera instuctions] > } > > Anyone know the principal behind this snippet and why it works? I have not > been able to find any information on the subject. This is clearly documented in the online manual: http://www.php.net/manual/en/control-structures.for.php -- - Adam ----- Adam Fields, Managing Partner, fields at surgam.net Surgam, Inc. is a technology consulting firm with strong background in delivering scalable and robust enterprise web and IT applications. http://www.adamfields.com --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 3 months FREE*. http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_3mf From emm at scriptdigital.com Thu Dec 19 23:41:09 2002 From: emm at scriptdigital.com (Emmanuel. M. Decarie) Date: Thu, 19 Dec 2002 23:41:09 -0500 Subject: [nycphp-talk] Please review this: Simple localization with PHP In-Reply-To: <200212200011.gBK0BCSt066956@parsec.nyphp.org> References: <200212200011.gBK0BCSt066956@parsec.nyphp.org> Message-ID: Hello Hans, ? (At) 19:11 -0500 19/12/02, Hans Zaunere ?crivait (wrote) : >--- "Emmanuel. M. Decarie" wrote: >> Hello, >> >> If you have time, please review this article called 'Simple >> Localization with PHP'. >> >> >> English is not my prime language, so if you note anything that could >> be better said, please tell me. Also, any advice to improve this >> article is welcome. > >Interesting article and well written, Thanks for the compliment. :) > except for a couple minor things: > >How it work --> How It Works >non-programmer --> non-programmers (in some cases) Ok, its corrected. >There might be a couple other things, but it's hard for me to describe where >changes need to be made :) You might also want to run a spell checker >through it, or send me the plain text and I'd be happy to revise a bit. I already ran the BBEdit spell checker (I'm on OS X). But this spell checker will not catch syntax errors. Anyway, I'm taking your generous offer and the file is on your way. Thanks again! Cheers -Emmanuel -- ______________________________________________________________________ Emmanuel D?carie / Programmation pour le Web - Programming for the Web Frontier - Perl - PHP - Javascript - XML From brian at preston-campbell.com Fri Dec 20 07:38:19 2002 From: brian at preston-campbell.com (Brian) Date: 20 Dec 2002 07:38:19 -0500 Subject: [nycphp-talk] loop In-Reply-To: <200212200409.gBK49hSt068291@parsec.nyphp.org> References: <200212200409.gBK49hSt068291@parsec.nyphp.org> Message-ID: <1040387900.1855.19.camel@localhost.localdomain> The script will specifically not time out. I don't want it to. The issue is that it is running on a tiny embedded server (see http://www.boa.org) running php3lite, a reduced version of php for just such a system. I opened a browser three days ago, started the script, and then closed the browser. If I need to kill the process I am not sure how to do it other than restarting the server although I can probably end it with [kill -1 php] in ssh. Since these are not normal circumstances, I was curious if there might be another way to end the process. Brian On Thu, 2002-12-19 at 23:09, CHUN-YIU LAM wrote: > I think what he meant to say is why the webserver did not timeout.. > > Matthew > > ----Original Message Follows---- > From: Adam Fields > Reply-To: talk at nyphp.org > To: NYPHP Talk > Subject: Re: [nycphp-talk] loop > Date: Thu, 19 Dec 2002 17:35:24 -0500 > Received: from mc6-f2.law1.hotmail.com ([65.54.252.138]) by > mc6-s7.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 19 Dec > 2002 14:48:06 -0800 > Received: from parsec.nyphp.org ([66.250.131.26]) by mc6-f2.law1.hotmail.com > with Microsoft SMTPSVC(5.0.2195.5600); Thu, 19 Dec 2002 14:47:33 -0800 > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBJMZOSt066445;Thu, 19 Dec > 2002 17:35:24 -0500 (EST)(envelope-from listmaster at nyphp.org) > Message-Id: <200212192235.gBJMZOSt066445 at parsec.nyphp.org> > X-Paralist-Archived: > X-List-Software: Paralist 0.6 > List-ID: > List-Owner: > List-Archive: > List-Subscribe: > List-Unsubscribe: > Organization: New York PHP > X-Mailer: Paramail 0.5 > Return-Path: listmaster at nyphp.org > X-OriginalArrivalTime: 19 Dec 2002 22:47:34.0102 (UTC) > FILETIME=[9EDAD760:01C2A7B0] > > On Thu, Dec 19, 2002 at 04:27:15PM -0500, Brian wrote: > > I am currently using a script to move a webcam at certain time intervals. > The > > script never times out and uses the following to run indefinitely: > > > > for (;;) { > > [camera instuctions] > > } > > > > Anyone know the principal behind this snippet and why it works? I have > not > > been able to find any information on the subject. > > This is clearly documented in the online manual: > > http://www.php.net/manual/en/control-structures.for.php > > > -- > - Adam > > ----- > Adam Fields, Managing Partner, fields at surgam.net > Surgam, Inc. is a technology consulting firm with strong background in > delivering scalable and robust enterprise web and IT applications. > http://www.adamfields.com > > > > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 3 months FREE*. > http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= > http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_3mf > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > From JMKing at ipro.org Fri Dec 20 09:21:21 2002 From: JMKing at ipro.org (Jaz-Michael King) Date: Fri, 20 Dec 2002 09:21:21 -0500 Subject: [nycphp-talk] Please review this: Simple localization with PHP Message-ID: Hey Emm, great article, easy to get through and well thought-out, well structured. Here's some editing for you, just some minor polishing. (Ton anglais, c'est beaucoup mieux que mon francais ;-) Je crois c'est mieux si tu fait les changes, comme ca j'espere tu peut voir les subtleties. You should consider publishing this on Evolt.org. edits: which could be easily turned in a template. becomes which could be easily turned into a template. where you don't need to display a big amount of content, as the login page example becomes where you don't need to display a large amount of content, such as (our|my) login page example The setstring function is easy to manage, it use session variables becomes The setstring function is easy to manage, it uses session variables I'll explain it in details after the setstring listing. becomes I'll explain it in detail after the setstring listing. The value of the $defaultlanguage is for new comers becomes The value of the $defaultlanguage is for newcomers The value of the default language can be anything, as the names of the languages. becomes The value of the default language can be anything. You set to 1 $use_cookie if you want your becomes Set $use_cookie to 1 if you want your You set $expirecookie to the number of seconds becomes Set $expirecookie to the number of seconds he language which the function return is determined by order of priority becomes he language which the function returns is determined by order of priority Which will look after the PHP processing: becomes Which, after PHP (outputs|processes) it, should look like: This was set in (1) if the user have clicked on a link becomes This was set in (1) if the user has clicked on a link When the $lang keyword is found, setstring loop in the array that was pass to it (lines: 65-75) and return the element after the value of the $lang which is the $string parameter. becomes When the $lang keyword is found, setstring loops through the array that was passed to it (lines: 65-75) and returns the element after the value of the $lang which is the $string parameter. If you have repetive text becomes If you have repetitive text Cheers Jaz >>> emm at scriptdigital.com 12/19/02 03:57PM >>> Hello, If you have time, please review this article called 'Simple Localization with PHP'. English is not my prime language, so if you note anything that could be better said, please tell me. Also, any advice to improve this article is welcome. TIA Cheers -Emmanuel -- ______________________________________________________________________ Emmanuel D?carie / Programmation pour le Web - Programming for the Web Frontier - Perl - PHP - Javascript - XML --- Unsubscribe at http://nyphp.org/list/ --- From hans at nyphp.org Fri Dec 20 10:15:02 2002 From: hans at nyphp.org (Hans Zaunere) Date: Fri, 20 Dec 2002 07:15:02 -0800 (PST) Subject: [nycphp-talk] loop In-Reply-To: <200212201235.gBKCZbSt071075@parsec.nyphp.org> Message-ID: <20021220151502.62569.qmail@web12803.mail.yahoo.com> --- Brian wrote: > The script will specifically not time out. I don't want it to. The > issue is that it is running on a tiny embedded server (see > http://www.boa.org) running php3lite, a reduced version of php for just > such a system. I opened a browser three days ago, started the script, > and then closed the browser. If I need to kill the process I am not > sure how to do it other than restarting the server although I can > probably end it with [kill -1 php] in ssh. Since these are not normal > circumstances, I was curious if there might be another way to end the > process. You could have PHP kill itself in various way, if this helps: http://www.php.net/manual/en/ref.posix.php http://www.php.net/manual/en/ref.pcntl.php ===== Hans Zaunere New York PHP http://nyphp.org hans at nyphp.org From fb at intldef.org Fri Dec 20 10:47:17 2002 From: fb at intldef.org (FB`) Date: Fri, 20 Dec 2002 10:47:17 -0500 Subject: [nycphp-talk] loop References: <200212201235.gBKCZbSt071075@parsec.nyphp.org> Message-ID: <001f01c2a83f$134e2690$1901a8c0@ybsweb> How about passing the $run variable for the while loop (as someone else mentioned) through the browser, via get? so you could go to http://tinyembedded/control.php?run=true or http://tinyembedded/control.php?run=false to start and stop, respectively... FB` ----- Original Message ----- From: "Brian" To: "NYPHP Talk" Sent: Friday, December 20, 2002 7:35 AM Subject: Re: [nycphp-talk] loop > The script will specifically not time out. I don't want it to. The > issue is that it is running on a tiny embedded server (see > http://www.boa.org) running php3lite, a reduced version of php for just > such a system. I opened a browser three days ago, started the script, > and then closed the browser. If I need to kill the process I am not > sure how to do it other than restarting the server although I can > probably end it with [kill -1 php] in ssh. Since these are not normal > circumstances, I was curious if there might be another way to end the > process. > > Brian > > > On Thu, 2002-12-19 at 23:09, CHUN-YIU LAM wrote: > > I think what he meant to say is why the webserver did not timeout.. > > > > Matthew > > > > ----Original Message Follows---- > > From: Adam Fields > > Reply-To: talk at nyphp.org > > To: NYPHP Talk > > Subject: Re: [nycphp-talk] loop > > Date: Thu, 19 Dec 2002 17:35:24 -0500 > > Received: from mc6-f2.law1.hotmail.com ([65.54.252.138]) by > > mc6-s7.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 19 Dec > > 2002 14:48:06 -0800 > > Received: from parsec.nyphp.org ([66.250.131.26]) by mc6-f2.law1.hotmail.com > > with Microsoft SMTPSVC(5.0.2195.5600); Thu, 19 Dec 2002 14:47:33 -0800 > > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBJMZOSt066445;Thu, 19 Dec > > 2002 17:35:24 -0500 (EST)(envelope-from listmaster at nyphp.org) > > Message-Id: <200212192235.gBJMZOSt066445 at parsec.nyphp.org> > > X-Paralist-Archived: > > X-List-Software: Paralist 0.6 > > List-ID: > > List-Owner: > > List-Archive: > > List-Subscribe: > > List-Unsubscribe: > > Organization: New York PHP > > X-Mailer: Paramail 0.5 > > Return-Path: listmaster at nyphp.org > > X-OriginalArrivalTime: 19 Dec 2002 22:47:34.0102 (UTC) > > FILETIME=[9EDAD760:01C2A7B0] > > > > On Thu, Dec 19, 2002 at 04:27:15PM -0500, Brian wrote: > > > I am currently using a script to move a webcam at certain time intervals. > > The > > > script never times out and uses the following to run indefinitely: > > > > > > for (;;) { > > > [camera instuctions] > > > } > > > > > > Anyone know the principal behind this snippet and why it works? I have > > not > > > been able to find any information on the subject. > > > > This is clearly documented in the online manual: > > > > http://www.php.net/manual/en/control-structures.for.php > > > > > > -- > > - Adam > > > > ----- > > Adam Fields, Managing Partner, fields at surgam.net > > Surgam, Inc. is a technology consulting firm with strong background in > > delivering scalable and robust enterprise web and IT applications. > > http://www.adamfields.com > > > > > > > > > > > > _________________________________________________________________ > > Add photos to your e-mail with MSN 8. Get 3 months FREE*. > > http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324&D I=7474&SU= > > http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_3 mf > > > > > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > From brian at preston-campbell.com Fri Dec 20 11:15:52 2002 From: brian at preston-campbell.com (Brian) Date: Fri, 20 Dec 2002 11:15:52 -0500 Subject: [nycphp-talk] loop In-Reply-To: <200212201548.gBKFm1St072144@parsec.nyphp.org> References: <200212201548.gBKFm1St072144@parsec.nyphp.org> Message-ID: <200212201115.52195.brian@preston-campbell.com> That would merely start a non-running instance of the same script, as opposed to killing the one that is looping on the server. I'm looking into Hans' suggestion of >You could have PHP kill itself in various way, if this helps: >http://www.php.net/manual/en/ref.posix.php >http://www.php.net/manual/en/ref.pcntl.php I have to look into how PHP was compiled and if these will be possible. Back to the limits of an embedded system -- can't compile anything. Brian On Friday 20 December 2002 10:48 am, FB` wrote: > How about passing the $run variable for the while loop (as someone else > mentioned) through the browser, via get? > > so you could go to > http://tinyembedded/control.php?run=true > or > http://tinyembedded/control.php?run=false > to start and stop, respectively... > > FB` > > > ----- Original Message ----- > From: "Brian" > To: "NYPHP Talk" > Sent: Friday, December 20, 2002 7:35 AM > Subject: Re: [nycphp-talk] loop > > > The script will specifically not time out. I don't want it to. The > > issue is that it is running on a tiny embedded server (see > > http://www.boa.org) running php3lite, a reduced version of php for just > > such a system. I opened a browser three days ago, started the script, > > and then closed the browser. If I need to kill the process I am not > > sure how to do it other than restarting the server although I can > > probably end it with [kill -1 php] in ssh. Since these are not normal > > circumstances, I was curious if there might be another way to end the > > process. > > > > Brian > > > > On Thu, 2002-12-19 at 23:09, CHUN-YIU LAM wrote: > > > I think what he meant to say is why the webserver did not timeout.. > > > > > > Matthew > > > > > > ----Original Message Follows---- > > > From: Adam Fields > > > Reply-To: talk at nyphp.org > > > To: NYPHP Talk > > > Subject: Re: [nycphp-talk] loop > > > Date: Thu, 19 Dec 2002 17:35:24 -0500 > > > Received: from mc6-f2.law1.hotmail.com ([65.54.252.138]) by > > > mc6-s7.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 19 > > Dec > > > > 2002 14:48:06 -0800 > > > Received: from parsec.nyphp.org ([66.250.131.26]) by > > mc6-f2.law1.hotmail.com > > > > with Microsoft SMTPSVC(5.0.2195.5600); Thu, 19 Dec 2002 14:47:33 -0800 > > > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > > > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBJMZOSt066445;Thu, 19 > > Dec > > > > 2002 17:35:24 -0500 (EST)(envelope-from listmaster at nyphp.org) > > > Message-Id: <200212192235.gBJMZOSt066445 at parsec.nyphp.org> > > > X-Paralist-Archived: > > > > > > X-List-Software: Paralist 0.6 > > > List-ID: > > > List-Owner: > > > List-Archive: > > > List-Subscribe: > > > List-Unsubscribe: > > > Organization: New York PHP > > > X-Mailer: Paramail 0.5 > > > Return-Path: listmaster at nyphp.org > > > X-OriginalArrivalTime: 19 Dec 2002 22:47:34.0102 (UTC) > > > FILETIME=[9EDAD760:01C2A7B0] > > > > > > On Thu, Dec 19, 2002 at 04:27:15PM -0500, Brian wrote: > > > > I am currently using a script to move a webcam at certain time > > intervals. > > > > The > > > > > > > script never times out and uses the following to run indefinitely: > > > > > > > > for (;;) { > > > > [camera instuctions] > > > > } > > > > > > > > Anyone know the principal behind this snippet and why it works? I > > have > > > > not > > > > > > > been able to find any information on the subject. > > > > > > This is clearly documented in the online manual: > > > > > > http://www.php.net/manual/en/control-structures.for.php > > > > > > > > > -- > > > - Adam > > > > > > ----- > > > Adam Fields, Managing Partner, fields at surgam.net > > > Surgam, Inc. is a technology consulting firm with strong background in > > > delivering scalable and robust enterprise web and IT applications. > > > http://www.adamfields.com > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > > Add photos to your e-mail with MSN 8. Get 3 months FREE*. > > http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324& >D I=7474&SU= > > http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_ >3 mf > > > > > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- From fb at intldef.org Fri Dec 20 11:27:51 2002 From: fb at intldef.org (FB`) Date: Fri, 20 Dec 2002 11:27:51 -0500 Subject: [nycphp-talk] loop References: <200212201616.gBKGG4St072352@parsec.nyphp.org> Message-ID: <009801c2a844$bdb651c0$1901a8c0@ybsweb> I see what you mean.. what about using a value set in another way to start/stop the loop - for ex, reading the contents of a file every so many loops and continuing or not based on that. this file would then be altered by the $run=false script, and the currently running script could exit when in encounters the changed value... FB` ----- Original Message ----- From: "Brian" To: "NYPHP Talk" Sent: Friday, December 20, 2002 11:16 AM Subject: Re: [nycphp-talk] loop > That would merely start a non-running instance of the same script, as opposed > to killing the one that is looping on the server. > > I'm looking into Hans' suggestion of > > >You could have PHP kill itself in various way, if this helps: > > >http://www.php.net/manual/en/ref.posix.php > >http://www.php.net/manual/en/ref.pcntl.php > > I have to look into how PHP was compiled and if these will be possible. Back > to the limits of an embedded system -- can't compile anything. > > Brian > > > On Friday 20 December 2002 10:48 am, FB` wrote: > > How about passing the $run variable for the while loop (as someone else > > mentioned) through the browser, via get? > > > > so you could go to > > http://tinyembedded/control.php?run=true > > or > > http://tinyembedded/control.php?run=false > > to start and stop, respectively... > > > > FB` > > > > > > ----- Original Message ----- > > From: "Brian" > > To: "NYPHP Talk" > > Sent: Friday, December 20, 2002 7:35 AM > > Subject: Re: [nycphp-talk] loop > > > > > The script will specifically not time out. I don't want it to. The > > > issue is that it is running on a tiny embedded server (see > > > http://www.boa.org) running php3lite, a reduced version of php for just > > > such a system. I opened a browser three days ago, started the script, > > > and then closed the browser. If I need to kill the process I am not > > > sure how to do it other than restarting the server although I can > > > probably end it with [kill -1 php] in ssh. Since these are not normal > > > circumstances, I was curious if there might be another way to end the > > > process. > > > > > > Brian > > > > > > On Thu, 2002-12-19 at 23:09, CHUN-YIU LAM wrote: > > > > I think what he meant to say is why the webserver did not timeout.. > > > > > > > > Matthew > > > > > > > > ----Original Message Follows---- > > > > From: Adam Fields > > > > Reply-To: talk at nyphp.org > > > > To: NYPHP Talk > > > > Subject: Re: [nycphp-talk] loop > > > > Date: Thu, 19 Dec 2002 17:35:24 -0500 > > > > Received: from mc6-f2.law1.hotmail.com ([65.54.252.138]) by > > > > mc6-s7.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 19 > > > > Dec > > > > > > 2002 14:48:06 -0800 > > > > Received: from parsec.nyphp.org ([66.250.131.26]) by > > > > mc6-f2.law1.hotmail.com > > > > > > with Microsoft SMTPSVC(5.0.2195.5600); Thu, 19 Dec 2002 14:47:33 -0800 > > > > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > > > > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBJMZOSt066445;Thu, 19 > > > > Dec > > > > > > 2002 17:35:24 -0500 (EST)(envelope-from listmaster at nyphp.org) > > > > Message-Id: <200212192235.gBJMZOSt066445 at parsec.nyphp.org> > > > > X-Paralist-Archived: > > > > > > > > > > X-List-Software: Paralist 0.6 > > > > List-ID: > > > > List-Owner: > > > > List-Archive: > > > > List-Subscribe: > > > > List-Unsubscribe: > > > > Organization: New York PHP > > > > X-Mailer: Paramail 0.5 > > > > Return-Path: listmaster at nyphp.org > > > > X-OriginalArrivalTime: 19 Dec 2002 22:47:34.0102 (UTC) > > > > FILETIME=[9EDAD760:01C2A7B0] > > > > > > > > On Thu, Dec 19, 2002 at 04:27:15PM -0500, Brian wrote: > > > > > I am currently using a script to move a webcam at certain time > > > > intervals. > > > > > > The > > > > > > > > > script never times out and uses the following to run indefinitely: > > > > > > > > > > for (;;) { > > > > > [camera instuctions] > > > > > } > > > > > > > > > > Anyone know the principal behind this snippet and why it works? I > > > > have > > > > > > not > > > > > > > > > been able to find any information on the subject. > > > > > > > > This is clearly documented in the online manual: > > > > > > > > http://www.php.net/manual/en/control-structures.for.php > > > > > > > > > > > > -- > > > > - Adam > > > > > > > > ----- > > > > Adam Fields, Managing Partner, fields at surgam.net > > > > Surgam, Inc. is a technology consulting firm with strong background in > > > > delivering scalable and robust enterprise web and IT applications. > > > > http://www.adamfields.com > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > > > Add photos to your e-mail with MSN 8. Get 3 months FREE*. > > > > http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324& > >D I=7474&SU= > > > > http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_ > >3 mf > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > From fields at surgam.net Fri Dec 20 11:38:23 2002 From: fields at surgam.net (Adam Fields) Date: Fri, 20 Dec 2002 10:38:23 -0600 Subject: [nycphp-talk] loop In-Reply-To: <200212201616.gBKGG4St072352@parsec.nyphp.org> References: <200212201616.gBKGG4St072352@parsec.nyphp.org> Message-ID: <20021220163823.GG15870@eye.surgam.net> On Fri, Dec 20, 2002 at 11:16:04AM -0500, Brian wrote: > That would merely start a non-running instance of the same script, as opposed > to killing the one that is looping on the server. Under what circumstances do you want to kill it? -- - Adam ----- Adam Fields, Managing Partner, fields at surgam.net Surgam, Inc. is a technology consulting firm with strong background in delivering scalable and robust enterprise web and IT applications. http://www.adamfields.com From nyphp at altunergil.com Fri Dec 20 11:38:07 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Fri, 20 Dec 2002 11:38:07 -0500 Subject: [nycphp-talk] loop In-Reply-To: <200212201638.gBKGcVSt072476@parsec.nyphp.org> References: <200212201638.gBKGcVSt072476@parsec.nyphp.org> Message-ID: <20021220113807.2d5edfa1.nyphp@altunergil.com> I thought daemons were supposed to run forever. Why does the daemon have to die ever? Are you saying you're starting to browse a page and it's somehow starting another process that runs forever? (like a bad SQL query or something) By the way, if it's anything like the web server that comes with webmin, there might be a function defined already to restart the server based on .. based on anything really.. oktay On Fri, 20 Dec 2002 11:38:31 -0500 Adam Fields wrote: > On Fri, Dec 20, 2002 at 11:16:04AM -0500, Brian wrote: > > That would merely start a non-running instance of the same script, as opposed > > to killing the one that is looping on the server. > > Under what circumstances do you want to kill it? > > > -- > - Adam > > ----- > Adam Fields, Managing Partner, fields at surgam.net > Surgam, Inc. is a technology consulting firm with strong background in > delivering scalable and robust enterprise web and IT applications. > http://www.adamfields.com > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From brian at preston-campbell.com Fri Dec 20 12:01:18 2002 From: brian at preston-campbell.com (Brian) Date: Fri, 20 Dec 2002 12:01:18 -0500 Subject: [nycphp-talk] loop In-Reply-To: <200212201628.gBKGSKSt072417@parsec.nyphp.org> References: <200212201628.gBKGSKSt072417@parsec.nyphp.org> Message-ID: <200212201201.18024.brian@preston-campbell.com> That is a great idea. I could keep it simple and just check for the existence of the file. When I want to kill the script, I delete the file. Before invoking it again I just upload the file again. To answer Adam, I would want to kill it if the client decides to change the pattern of camera movement or the duration between moves. They have not asked for either of these yet but I will be doing these on a regular basis so I am building an arsenal and expanding my knowledge / options. Brian On Friday 20 December 2002 11:28 am, FB` wrote: > I see what you mean.. > > what about using a value set in another way to start/stop the loop - for > ex, reading the contents of a file every so many loops and continuing or > not based on that. > > this file would then be altered by the $run=false script, and the currently > running script could exit when in encounters the changed value... > > FB` > > ----- Original Message ----- > From: "Brian" > To: "NYPHP Talk" > Sent: Friday, December 20, 2002 11:16 AM > Subject: Re: [nycphp-talk] loop > > > That would merely start a non-running instance of the same script, as > > opposed > > > to killing the one that is looping on the server. > > > > I'm looking into Hans' suggestion of > > > > >You could have PHP kill itself in various way, if this helps: > > > > > >http://www.php.net/manual/en/ref.posix.php > > >http://www.php.net/manual/en/ref.pcntl.php > > > > I have to look into how PHP was compiled and if these will be possible. > > Back > > > to the limits of an embedded system -- can't compile anything. > > > > Brian > > > > On Friday 20 December 2002 10:48 am, FB` wrote: > > > How about passing the $run variable for the while loop (as someone else > > > mentioned) through the browser, via get? > > > > > > so you could go to > > > http://tinyembedded/control.php?run=true > > > or > > > http://tinyembedded/control.php?run=false > > > to start and stop, respectively... > > > > > > FB` > > > > > > > > > ----- Original Message ----- > > > From: "Brian" > > > To: "NYPHP Talk" > > > Sent: Friday, December 20, 2002 7:35 AM > > > Subject: Re: [nycphp-talk] loop > > > > > > > The script will specifically not time out. I don't want it to. The > > > > issue is that it is running on a tiny embedded server (see > > > > http://www.boa.org) running php3lite, a reduced version of php for > > just > > > > > such a system. I opened a browser three days ago, started the > > > > script, and then closed the browser. If I need to kill the process I > > > > am not sure how to do it other than restarting the server although I > > > > can probably end it with [kill -1 php] in ssh. Since these are not > > > > normal circumstances, I was curious if there might be another way to > > > > end the process. > > > > > > > > Brian > > > > > > > > On Thu, 2002-12-19 at 23:09, CHUN-YIU LAM wrote: > > > > > I think what he meant to say is why the webserver did not timeout.. > > > > > > > > > > Matthew > > > > > > > > > > ----Original Message Follows---- > > > > > From: Adam Fields > > > > > Reply-To: talk at nyphp.org > > > > > To: NYPHP Talk > > > > > Subject: Re: [nycphp-talk] loop > > > > > Date: Thu, 19 Dec 2002 17:35:24 -0500 > > > > > Received: from mc6-f2.law1.hotmail.com ([65.54.252.138]) by > > > > > mc6-s7.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, > > 19 > > > > Dec > > > > > > > > 2002 14:48:06 -0800 > > > > > Received: from parsec.nyphp.org ([66.250.131.26]) by > > > > > > mc6-f2.law1.hotmail.com > > > > > > > > with Microsoft SMTPSVC(5.0.2195.5600); Thu, 19 Dec 2002 > > 14:47:33 -0800 > > > > > > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > > > > > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBJMZOSt066445;Thu, > > 19 > > > > Dec > > > > > > > > 2002 17:35:24 -0500 (EST)(envelope-from listmaster at nyphp.org) > > > > > Message-Id: <200212192235.gBJMZOSt066445 at parsec.nyphp.org> > > > > > X-Paralist-Archived: > > > > > > > > > > > > > > X-List-Software: Paralist 0.6 > > > > > List-ID: > > > > > List-Owner: > > > > > List-Archive: > > > > > List-Subscribe: > > > > > List-Unsubscribe: > > > > > Organization: New York PHP > > > > > X-Mailer: Paramail 0.5 > > > > > Return-Path: listmaster at nyphp.org > > > > > X-OriginalArrivalTime: 19 Dec 2002 22:47:34.0102 (UTC) > > > > > FILETIME=[9EDAD760:01C2A7B0] > > > > > > > > > > On Thu, Dec 19, 2002 at 04:27:15PM -0500, Brian wrote: > > > > > > I am currently using a script to move a webcam at certain time > > > > > > intervals. > > > > > > > > The > > > > > > > > > > > script never times out and uses the following to run > > indefinitely: > > > > > > for (;;) { > > > > > > [camera instuctions] > > > > > > } > > > > > > > > > > > > Anyone know the principal behind this snippet and why it works? > > I > > > > have > > > > > > > > not > > > > > > > > > > > been able to find any information on the subject. > > > > > > > > > > This is clearly documented in the online manual: > > > > > > > > > > http://www.php.net/manual/en/control-structures.for.php > > > > > > > > > > > > > > > -- > > > > > - Adam > > > > > > > > > > ----- > > > > > Adam Fields, Managing Partner, fields at surgam.net > > > > > Surgam, Inc. is a technology consulting firm with strong background > > in > > > > > > delivering scalable and robust enterprise web and IT applications. > > > > > http://www.adamfields.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > > > > Add photos to your e-mail with MSN 8. Get 3 months FREE*. > > http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324& > > > >D I=7474&SU= > > http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_ > > > >3 mf > > --- Unsubscribe at http://nyphp.org/list/ --- From brian at preston-campbell.com Fri Dec 20 12:39:59 2002 From: brian at preston-campbell.com (Brian) Date: Fri, 20 Dec 2002 12:39:59 -0500 Subject: [nycphp-talk] loop In-Reply-To: <200212201644.gBKGiwSt072519@parsec.nyphp.org> References: <200212201644.gBKGiwSt072519@parsec.nyphp.org> Message-ID: <200212201239.59523.brian@preston-campbell.com> >From the server administration page it is possible to restart the server. I look at that as the last option for these devices because there are other processes running that I do not want to kill. One of which is the FTP cleint that is sending the camera image to the real web server that is used to display the web cam. Although it usually reboots quickly, if there is no image people start asking why their $xxxx.xx machine is not working as expected. Forever is a long time, I'd like to have contingency in this case. Camera servers with embedded Linux and PHP are fairly new, so there is not much documentation out there -- even from the manufacturers. Thanks to all for the help. Brian On Friday 20 December 2002 11:44 am, Oktay Altunergil wrote: > I thought daemons were supposed to run forever. Why does the daemon have to > die ever? Are you saying you're starting to browse a page and it's somehow > starting another process that runs forever? (like a bad SQL query or > something) > > By the way, if it's anything like the web server that comes with webmin, > there might be a function defined already to restart the server based on .. > based on anything really.. > > oktay > > > > On Fri, 20 Dec 2002 11:38:31 -0500 > > Adam Fields wrote: > > On Fri, Dec 20, 2002 at 11:16:04AM -0500, Brian wrote: > > > That would merely start a non-running instance of the same script, as > > > opposed to killing the one that is looping on the server. > > > > Under what circumstances do you want to kill it? > > > > > > -- > > - Adam > > > > ----- > > Adam Fields, Managing Partner, fields at surgam.net > > Surgam, Inc. is a technology consulting firm with strong background in > > delivering scalable and robust enterprise web and IT applications. > > http://www.adamfields.com > > --- Unsubscribe at http://nyphp.org/list/ --- From emm at scriptdigital.com Fri Dec 20 15:28:35 2002 From: emm at scriptdigital.com (Emmanuel. M. Decarie) Date: Fri, 20 Dec 2002 15:28:35 -0500 Subject: [nycphp-talk] Please review this: Simple localization with PHP In-Reply-To: <200212201423.gBKENnSt071626@parsec.nyphp.org> References: <200212201423.gBKENnSt071626@parsec.nyphp.org> Message-ID: Hello Jaz, ? (At) 09:23 -0500 20/12/02, Jaz-Michael King ?crivait (wrote) : >Hey Emm, great article, easy to get through and well thought-out, >well structured. Thanks a lot for your appreciation! >Here's some editing for you, just some minor polishing. (Ton >anglais, c'est beaucoup mieux que mon francais ;-) Thanks Jaz, I have integrated your corrections and Hans's corrections too. > >Je crois c'est mieux si tu fait les changes, comme ca j'espere tu >peut voir les subtleties. > >You should consider publishing this on Evolt.org. That's a great idea. I didn't know that Evolt.org had a forum to submit articles. I have acknowledged your contribution as 'Jaz-Michael King'. I hope this is correct. Do you want me to link your name to a web site? Cheers -Emmanuel > >>> emm at scriptdigital.com 12/19/02 03:57PM >>> >If you have time, please review this article called 'Simple >Localization with PHP'. > -- ______________________________________________________________________ Emmanuel D?carie / Programmation pour le Web - Programming for the Web Frontier - Perl - PHP - Javascript - XML From fields at surgam.net Fri Dec 20 16:03:41 2002 From: fields at surgam.net (Adam Fields) Date: Fri, 20 Dec 2002 15:03:41 -0600 Subject: [nycphp-talk] Please review this: Simple localization with PHP In-Reply-To: <200212202028.gBKKSkSt073765@parsec.nyphp.org> References: <200212202028.gBKKSkSt073765@parsec.nyphp.org> Message-ID: <20021220210341.GR15870@eye.surgam.net> Just another note - the source listings are completely unreadable using Opera. -- - Adam ----- Adam Fields, Managing Partner, fields at surgam.net Surgam, Inc. is a technology consulting firm with strong background in delivering scalable and robust enterprise web and IT applications. http://www.adamfields.com From chun_lam at hotmail.com Fri Dec 20 23:09:06 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Fri, 20 Dec 2002 23:09:06 -0500 Subject: [nycphp-talk] Please review this: Simple localization with PHP Message-ID: Yeah. There is always a way, but at what cost? Since this is in a infinite loop, this is acting like a daemon. You might want to do it as a daemon. Open a port and listen in on it. When you received a certain message, it will stop. Matthew ----Original Message Follows---- From: "Emmanuel. M. Decarie" Reply-To: talk at nyphp.org To: NYPHP Talk Subject: [nycphp-talk] Please review this: Simple localization with PHP Date: Thu, 19 Dec 2002 15:57:38 -0500 Received: from mc7-f12.law1.hotmail.com ([65.54.253.19]) by mc7-s1.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 19 Dec 2002 13:09:47 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc7-f12.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 19 Dec 2002 13:09:46 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBJKvcSt065849;Thu, 19 Dec 2002 15:57:38 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212192057.gBJKvcSt065849 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 19 Dec 2002 21:09:46.0916 (UTC) FILETIME=[F5BD4E40:01C2A7A2] Hello, If you have time, please review this article called 'Simple Localization with PHP'. English is not my prime language, so if you note anything that could be better said, please tell me. Also, any advice to improve this article is welcome. TIA Cheers -Emmanuel -- ______________________________________________________________________ Emmanuel D?carie / Programmation pour le Web - Programming for the Web Frontier - Perl - PHP - Javascript - XML --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ The new MSN 8: smart spam protection and 3 months FREE*. http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspamprotection_3mf From smanes at magpie.com Sat Dec 21 08:36:05 2002 From: smanes at magpie.com (Steve Manes) Date: Sat, 21 Dec 2002 08:36:05 -0500 Subject: [nycphp-talk] loop In-Reply-To: <200212201701.gBKH1VSt072640@parsec.nyphp.org> Message-ID: <5.1.1.6.2.20021221083215.0128d158@192.168.111.6> At 12:01 PM 12/20/2002 -0500, Brian wrote: >That is a great idea. I could keep it simple and just check for the >existence >of the file. When I want to kill the script, I delete the file. Before >invoking it again I just upload the file again. You could also do what Unix daemon wrappers do: write the PID to a 'run.pid' file. A separate kill script would read that file and send the appropriate kill signal to the PID. This would eliminate the overhead and latency of periodically re-reading a control file. From emm at scriptdigital.com Sat Dec 21 09:40:06 2002 From: emm at scriptdigital.com (Emmanuel. M. Decarie) Date: Sat, 21 Dec 2002 09:40:06 -0500 Subject: [nycphp-talk] Please review this: Simple localization with PHP In-Reply-To: <200212202103.gBKL3pSt073960@parsec.nyphp.org> References: <200212202103.gBKL3pSt073960@parsec.nyphp.org> Message-ID: ? (At) 16:03 -0500 20/12/02, Adam Fields ?crivait (wrote) : >Just another note - the source listings are completely unreadable >using Opera. Hello Adam, I'm not sure if you are using Opera on Windows. But the source listing at display correctly with Win/Opera 7. What I noticed though is that when saved to disk, the end of line of the file are jammed when viewed with Notepad and the source listing display as one very long line. I tested also with Explorer 5 which do the right thing. All my testing are done in Virtual PC running Windows 98. Cheers -Emmanuel -- ______________________________________________________________________ Emmanuel D?carie / Programmation pour le Web - Programming for the Web Frontier - Perl - PHP - Javascript - XML From fields at surgam.net Sun Dec 22 11:15:17 2002 From: fields at surgam.net (Adam Fields) Date: Sun, 22 Dec 2002 10:15:17 -0600 Subject: [nycphp-talk] Please review this: Simple localization with PHP In-Reply-To: <200212211440.gBLEeJSt081714@parsec.nyphp.org> References: <200212211440.gBLEeJSt081714@parsec.nyphp.org> Message-ID: <20021222161517.GA12508@eye.surgam.net> On Sat, Dec 21, 2002 at 09:40:19AM -0500, Emmanuel. M. Decarie wrote: > ? (At) 16:03 -0500 20/12/02, Adam Fields ?crivait (wrote) : > >Just another note - the source listings are completely unreadable > >using Opera. > > Hello Adam, > > I'm not sure if you are using Opera on Windows. But the source > listing at > display correctly with Win/Opera 7. What I noticed though is that I'm using Opera 6.05 on Windows, on a 1024x768 laptop screen. > when saved to disk, the end of line of the file are jammed when > viewed with Notepad and the source listing display as one very long > line. I tested also with Explorer 5 which do the right thing. All my > testing are done in Virtual PC running Windows 98. They're formatted correctly, just very small, and very light grey. If you care about this, you might want to use something other than "
".

-- 
				- Adam

-----
Adam Fields, Managing Partner, fields at surgam.net
Surgam, Inc. is a technology consulting firm with strong background in
delivering scalable and robust enterprise web and IT applications.
http://www.adamfields.com


From emm at scriptdigital.com  Sun Dec 22 11:56:25 2002
From: emm at scriptdigital.com (Emmanuel. M. Decarie)
Date: Sun, 22 Dec 2002 11:56:25 -0500
Subject: [nycphp-talk] Please review this: Simple localization with PHP
In-Reply-To: <200212221615.gBMGFVSt089431@parsec.nyphp.org>
References: <200212221615.gBMGFVSt089431@parsec.nyphp.org>
Message-ID: 

? (At) 11:15 -0500 22/12/02, Adam Fields ?crivait (wrote) :
>On Sat, Dec 21, 2002 at 09:40:19AM -0500, Emmanuel. M. Decarie wrote:
>>  ? (At) 16:03 -0500 20/12/02, Adam Fields ?crivait (wrote) :
>>  >Just another note - the source listings are completely unreadable
>>  >using Opera.
>>
>>  Hello Adam,
>>
>>  I'm not sure if you are using Opera on Windows. But the source
>>  listing at 
>>  display correctly with Win/Opera 7. What I noticed though is that
>
>I'm using Opera 6.05 on Windows, on a 1024x768 laptop screen.
>
>>  when saved to disk, the end of line of the file are jammed when
>>  viewed with Notepad and the source listing display as one very long
>>  line. I tested also with Explorer 5 which do the right thing. All my
>>  testing are done in Virtual PC running Windows 98.
>
>They're formatted correctly, just very small, and very light grey. If
>you care about this, you might want to use something other than
>"
".
>
>--
>				- Adam

I'm using "
" as a workaround of a CSS bug in Explorer 5 that 
doesn't recognize some font properties, but I don't remember exactly 
which ones. Also, the listing is not suppose to be grey. The listing 
is in dark blue and on  Win/Opera 7, its not small. Your the first 
one to complain about this.

The class that I use for 
 is this one:

.code1
{
   color: #00008B;
   font-family: monospace;
   font-size: smaller;
}


Can you set in your prefs in Opera the minimum size of the fonts. Are 
other seeing what Adam is seeing.

I'm not a designer by profession and just recently learned CSS.

Cheers
-Emmanuel

-- 
______________________________________________________________________
Emmanuel D?carie / Programmation pour le Web - Programming for the Web
Frontier - Perl - PHP - Javascript - XML  



From amiller at hollywood101.com  Sun Dec 22 12:27:06 2002
From: amiller at hollywood101.com (Alan T. Miller)
Date: Sun, 22 Dec 2002 09:27:06 -0800
Subject: PHP in production on Microsoft IIs
References: <200212221615.gBMGFVSt089431@parsec.nyphp.org>
Message-ID: <001701c2a9df$59f16a70$6e01a8c0@webdev>

I have always used PHP with either RedHat or FreeBSD. However, I am working
on a site now that is equipped with windows 2000 and IIS. I am considering
using PHP on this site and was curious to hear from anyone who has any
expereince using PHP on a reletively high traffic site on IIS.

The current site gets over 100,000 hits a day. For my own internal
development I use PHP as a CGI module and I know that eats up a lot of
resources, I don't think this would be a good option for our production
server. I know that you can run PHP on IIs as an ISAPI module but the last
time I looked into this it seemed it was still buggy and not really ready
for production.

So if you were me, what would you do and why? Of course at this point,
ditching windows is not an option. It is in the long term plan however.

Thanks in advance,
Alan



From bradley at bestweb.net  Sun Dec 22 12:48:25 2002
From: bradley at bestweb.net (Bradley Baumann)
Date: Sun, 22 Dec 2002 12:48:25 -0500
Subject: [nycphp-talk] PHP in production on Microsoft IIs
References: <200212221726.gBMHQmSt089778@parsec.nyphp.org>
Message-ID: <000601c2a9e2$54087a60$0300a8c0@prophxp>

Alan,
    Just out of pure curiosity, and utter hatred for IIS...why, may I ask,
are you using it? What can a Microsoft product do that FreeBSD / RedHat
can't?

  I understand if it's a client that is just picky about what is used, but I
think that it would be better in the long run to not waste time with Windows
2000 / IIS and just use something you're familiar with.

    However, I do have experience with IIS and high-load websites, there
isn't too much you can do to tweak the speed, or anything like that... It's
pretty..."bland". PHP works under Windows, and IIS just fine (not as well as
*nix, I, personally think -- but that's me)

    As for the ISAPI modules, why even use them? Why not write it all in
PHP? Personally, I think that PHP is better then perl/cgi. Let us know what
this module does, and perhaps we can help you to port it over to a PHP
script.

    What bugs are you encountering? Give us the errors, and the code -- I'll
try and help you.

Good luck.
-Bradley Baumann

----- Original Message -----
From: "Alan T. Miller" 
To: "NYPHP Talk" 
Sent: Sunday, December 22, 2002 12:26 PM
Subject: [nycphp-talk] PHP in production on Microsoft IIs


> I have always used PHP with either RedHat or FreeBSD. However, I am
working
> on a site now that is equipped with windows 2000 and IIS. I am considering
> using PHP on this site and was curious to hear from anyone who has any
> expereince using PHP on a reletively high traffic site on IIS.
>
> The current site gets over 100,000 hits a day. For my own internal
> development I use PHP as a CGI module and I know that eats up a lot of
> resources, I don't think this would be a good option for our production
> server. I know that you can run PHP on IIs as an ISAPI module but the last
> time I looked into this it seemed it was still buggy and not really ready
> for production.
>
> So if you were me, what would you do and why? Of course at this point,
> ditching windows is not an option. It is in the long term plan however.
>
> Thanks in advance,
> Alan
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>



From amiller at hollywood101.com  Sun Dec 22 14:37:59 2002
From: amiller at hollywood101.com (Alan T. Miller)
Date: Sun, 22 Dec 2002 11:37:59 -0800
Subject: [nycphp-talk] PHP in production on Microsoft IIs
References: <200212221745.gBMHjqSt089879@parsec.nyphp.org>
Message-ID: <001a01c2a9f1$a2787150$6e01a8c0@webdev>

>     Just out of pure curiosity, and utter hatred for IIS...why, may I ask,
> are you using it? What can a Microsoft product do that FreeBSD / RedHat
> can't?

Believe me, I am no fan of IIS but in this particular case, the site was
written in Cold Fusion, which in turn needs to run on IIs (for licensing
reasons). The real reason I am stuck with IIs for the moment is that the
site I am working on just has too much to rewrite in PHP right now. I plan
to make a transition slowly to PHP on a RedHat machine once we have all the
major site functionality rebuilt in PHP. Until then however, I want to
implement some important features on the site and begin rewriting other apps
in PHP to work alongside the Cold Fusion stuff until we are ready to make
that final move. So technically there is nothing that Windows IIs can do
that FreeBSD or Redhat can do right now except run our only licensed copy of
Cold Fusion (sucks. I know) :(


>     As for the ISAPI modules, why even use them? Why not write it all in
> PHP? Personally, I think that PHP is better then perl/cgi. Let us know
what
> this module does, and perhaps we can help you to port it over to a PHP
> script.

What I am referring to here is that it is my understanding there are two
ways to install PHP on windows with IIs. You can run it as a CGI, that is to
map the .php files to execute the php.exe file, or map the .php files to
execute the /sapi/php4isapi.dll file. With the former, you load the whole
php.exe executable on every invocation on PHP, with the other PHP runs as a
module in the server memory. I remeber a while ago, the module was not all
that stable and was not reccomended for production systems. I was hoping to
find out if that is still the case, and if anyone had any luck doing so on a
busy server (100,000 hits a day).

Thanks,
Alan



>
>     What bugs are you encountering? Give us the errors, and the code --
I'll
> try and help you.
>
> Good luck.
> -Bradley Baumann
>
> ----- Original Message -----
> From: "Alan T. Miller" 
> To: "NYPHP Talk" 
> Sent: Sunday, December 22, 2002 12:26 PM
> Subject: [nycphp-talk] PHP in production on Microsoft IIs
>
>
> > I have always used PHP with either RedHat or FreeBSD. However, I am
> working
> > on a site now that is equipped with windows 2000 and IIS. I am
considering
> > using PHP on this site and was curious to hear from anyone who has any
> > expereince using PHP on a reletively high traffic site on IIS.
> >
> > The current site gets over 100,000 hits a day. For my own internal
> > development I use PHP as a CGI module and I know that eats up a lot of
> > resources, I don't think this would be a good option for our production
> > server. I know that you can run PHP on IIs as an ISAPI module but the
last
> > time I looked into this it seemed it was still buggy and not really
ready
> > for production.
> >
> > So if you were me, what would you do and why? Of course at this point,
> > ditching windows is not an option. It is in the long term plan however.
> >
> > Thanks in advance,
> > Alan
> >
> >
> >
> >
> >
> >
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>
>



From amiller at hollywood101.com  Sun Dec 22 14:38:03 2002
From: amiller at hollywood101.com (Alan T. Miller)
Date: Sun, 22 Dec 2002 11:38:03 -0800
Subject: [nycphp-talk] PHP in production on Microsoft IIs
References: <200212221745.gBMHjqSt089879@parsec.nyphp.org>
Message-ID: <001b01c2a9f1$a4a7ad60$6e01a8c0@webdev>

>     Just out of pure curiosity, and utter hatred for IIS...why, may I ask,
> are you using it? What can a Microsoft product do that FreeBSD / RedHat
> can't?

Believe me, I am no fan of IIS but in this particular case, the site was
written in Cold Fusion, which in turn needs to run on IIs (for licensing
reasons). The real reason I am stuck with IIs for the moment is that the
site I am working on just has too much to rewrite in PHP right now. I plan
to make a transition slowly to PHP on a RedHat machine once we have all the
major site functionality rebuilt in PHP. Until then however, I want to
implement some important features on the site and begin rewriting other apps
in PHP to work alongside the Cold Fusion stuff until we are ready to make
that final move. So technically there is nothing that Windows IIs can do
that FreeBSD or Redhat can do right now except run our only licensed copy of
Cold Fusion (sucks. I know) :(


>     As for the ISAPI modules, why even use them? Why not write it all in
> PHP? Personally, I think that PHP is better then perl/cgi. Let us know
what
> this module does, and perhaps we can help you to port it over to a PHP
> script.

What I am referring to here is that it is my understanding there are two
ways to install PHP on windows with IIs. You can run it as a CGI, that is to
map the .php files to execute the php.exe file, or map the .php files to
execute the /sapi/php4isapi.dll file. With the former, you load the whole
php.exe executable on every invocation on PHP, with the other PHP runs as a
module in the server memory. I remeber a while ago, the module was not all
that stable and was not reccomended for production systems. I was hoping to
find out if that is still the case, and if anyone had any luck doing so on a
busy server (100,000 hits a day).

Thanks,
Alan



>
>     What bugs are you encountering? Give us the errors, and the code --
I'll
> try and help you.
>
> Good luck.
> -Bradley Baumann
>
> ----- Original Message -----
> From: "Alan T. Miller" 
> To: "NYPHP Talk" 
> Sent: Sunday, December 22, 2002 12:26 PM
> Subject: [nycphp-talk] PHP in production on Microsoft IIs
>
>
> > I have always used PHP with either RedHat or FreeBSD. However, I am
> working
> > on a site now that is equipped with windows 2000 and IIS. I am
considering
> > using PHP on this site and was curious to hear from anyone who has any
> > expereince using PHP on a reletively high traffic site on IIS.
> >
> > The current site gets over 100,000 hits a day. For my own internal
> > development I use PHP as a CGI module and I know that eats up a lot of
> > resources, I don't think this would be a good option for our production
> > server. I know that you can run PHP on IIs as an ISAPI module but the
last
> > time I looked into this it seemed it was still buggy and not really
ready
> > for production.
> >
> > So if you were me, what would you do and why? Of course at this point,
> > ditching windows is not an option. It is in the long term plan however.
> >
> > Thanks in advance,
> > Alan
> >
> >
> >
> >
> >
> >
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>
>



From chun_lam at hotmail.com  Sun Dec 22 22:51:19 2002
From: chun_lam at hotmail.com (CHUN-YIU LAM)
Date: Sun, 22 Dec 2002 22:51:19 -0500
Subject: [nycphp-talk] PHP in production on Microsoft IIs
Message-ID: 

I tried recently install PHP, Apache 2.0.43, and Oracle client on a Window 
2000.  The site is really fast, but I still don't know how many hits it can 
support.  Maybe you can do a load testing on it and find out.

Matthew

----Original Message Follows----
From: "Alan T. Miller" 
Reply-To: talk at nyphp.org
To: NYPHP Talk 
Subject: [nycphp-talk] PHP in production on Microsoft IIs
Date: Sun, 22 Dec 2002 12:26:48 -0500
Received: from mc5-f23.law1.hotmail.com ([65.54.252.30]) by 
mc5-s15.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 22 Dec 
2002 09:37:09 -0800
Received: from parsec.nyphp.org ([66.250.131.26]) by 
mc5-f23.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 22 Dec 
2002 09:37:09 -0800
Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by 
parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBMHQmSt089778;Sun, 22 Dec 
2002 12:26:48 -0500 (EST)(envelope-from listmaster at nyphp.org)
Message-Id: <200212221726.gBMHQmSt089778 at parsec.nyphp.org>
X-Paralist-Archived: 
X-List-Software: Paralist 0.6
List-ID: 
List-Owner: 
List-Archive: 
List-Subscribe: 
List-Unsubscribe: 
Organization: New York PHP
X-Mailer: Paramail 0.5
Return-Path: listmaster at nyphp.org
X-OriginalArrivalTime: 22 Dec 2002 17:37:09.0436 (UTC) 
FILETIME=[C0ED97C0:01C2A9E0]

I have always used PHP with either RedHat or FreeBSD. However, I am working
on a site now that is equipped with windows 2000 and IIS. I am considering
using PHP on this site and was curious to hear from anyone who has any
expereince using PHP on a reletively high traffic site on IIS.

The current site gets over 100,000 hits a day. For my own internal
development I use PHP as a CGI module and I know that eats up a lot of
resources, I don't think this would be a good option for our production
server. I know that you can run PHP on IIs as an ISAPI module but the last
time I looked into this it seemed it was still buggy and not really ready
for production.

So if you were me, what would you do and why? Of course at this point,
ditching windows is not an option. It is in the long term plan however.

Thanks in advance,
Alan



--- Unsubscribe at http://nyphp.org/list/ ---


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 3 months FREE*. 
http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_virusprotection_3mf



From chun_lam at hotmail.com  Sun Dec 22 22:56:58 2002
From: chun_lam at hotmail.com (CHUN-YIU LAM)
Date: Sun, 22 Dec 2002 22:56:58 -0500
Subject: [nycphp-talk] PHP in production on Microsoft IIs
Message-ID: 

Just wondering why can't you point or redirect to the resulting page on a 
system running php and redhat and versa.  This will can make the transition 
a little more smooth.

Matthew

----Original Message Follows----
From: "Alan T. Miller" 
Reply-To: talk at nyphp.org
To: NYPHP Talk 
Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
Date: Sun, 22 Dec 2002 14:37:44 -0500
Received: from mc7-f12.law1.hotmail.com ([65.54.253.19]) by 
mc7-s17.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 22 Dec 
2002 11:52:08 -0800
Received: from parsec.nyphp.org ([66.250.131.26]) by 
mc7-f12.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 22 Dec 
2002 11:52:07 -0800
Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by 
parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBMJbiSt090440;Sun, 22 Dec 
2002 14:37:45 -0500 (EST)(envelope-from listmaster at nyphp.org)
Message-Id: <200212221937.gBMJbiSt090440 at parsec.nyphp.org>
X-Paralist-Archived: 
X-List-Software: Paralist 0.6
List-ID: 
List-Owner: 
List-Archive: 
List-Subscribe: 
List-Unsubscribe: 
Organization: New York PHP
X-Mailer: Paramail 0.5
Return-Path: listmaster at nyphp.org
X-OriginalArrivalTime: 22 Dec 2002 19:52:07.0868 (UTC) 
FILETIME=[9BF83FC0:01C2A9F3]

 >     Just out of pure curiosity, and utter hatred for IIS...why, may I 
ask,
 > are you using it? What can a Microsoft product do that FreeBSD / RedHat
 > can't?

Believe me, I am no fan of IIS but in this particular case, the site was
written in Cold Fusion, which in turn needs to run on IIs (for licensing
reasons). The real reason I am stuck with IIs for the moment is that the
site I am working on just has too much to rewrite in PHP right now. I plan
to make a transition slowly to PHP on a RedHat machine once we have all the
major site functionality rebuilt in PHP. Until then however, I want to
implement some important features on the site and begin rewriting other apps
in PHP to work alongside the Cold Fusion stuff until we are ready to make
that final move. So technically there is nothing that Windows IIs can do
that FreeBSD or Redhat can do right now except run our only licensed copy of
Cold Fusion (sucks. I know) :(


 >     As for the ISAPI modules, why even use them? Why not write it all in
 > PHP? Personally, I think that PHP is better then perl/cgi. Let us know
what
 > this module does, and perhaps we can help you to port it over to a PHP
 > script.

What I am referring to here is that it is my understanding there are two
ways to install PHP on windows with IIs. You can run it as a CGI, that is to
map the .php files to execute the php.exe file, or map the .php files to
execute the /sapi/php4isapi.dll file. With the former, you load the whole
php.exe executable on every invocation on PHP, with the other PHP runs as a
module in the server memory. I remeber a while ago, the module was not all
that stable and was not reccomended for production systems. I was hoping to
find out if that is still the case, and if anyone had any luck doing so on a
busy server (100,000 hits a day).

Thanks,
Alan



 >
 >     What bugs are you encountering? Give us the errors, and the code --
I'll
 > try and help you.
 >
 > Good luck.
 > -Bradley Baumann
 >
 > ----- Original Message -----
 > From: "Alan T. Miller" 
 > To: "NYPHP Talk" 
 > Sent: Sunday, December 22, 2002 12:26 PM
 > Subject: [nycphp-talk] PHP in production on Microsoft IIs
 >
 >
 > > I have always used PHP with either RedHat or FreeBSD. However, I am
 > working
 > > on a site now that is equipped with windows 2000 and IIS. I am
considering
 > > using PHP on this site and was curious to hear from anyone who has any
 > > expereince using PHP on a reletively high traffic site on IIS.
 > >
 > > The current site gets over 100,000 hits a day. For my own internal
 > > development I use PHP as a CGI module and I know that eats up a lot of
 > > resources, I don't think this would be a good option for our production
 > > server. I know that you can run PHP on IIs as an ISAPI module but the
last
 > > time I looked into this it seemed it was still buggy and not really
ready
 > > for production.
 > >
 > > So if you were me, what would you do and why? Of course at this point,
 > > ditching windows is not an option. It is in the long term plan however.
 > >
 > > Thanks in advance,
 > > Alan
 > >
 > >
 > >
 > >
 > >
 > >
 >
 >
 >
 >
 >
 >
 >



--- Unsubscribe at http://nyphp.org/list/ ---


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_3mf



From amiller at hollywood101.com  Sun Dec 22 23:38:38 2002
From: amiller at hollywood101.com (Alan T. Miller)
Date: Sun, 22 Dec 2002 20:38:38 -0800
Subject: [nycphp-talk] PHP in production on Microsoft IIs
References: <200212230357.gBN3v9St093001@parsec.nyphp.org>
Message-ID: <005601c2aa3d$29bbb690$6e01a8c0@webdev>

Everything is so tighty itegrated with Cold Fusion now, Sessions and more
that make integrating the two all at once unlikely, as I am only one guy and
there is simply too much code to rewrite, yet I need to fix some things now,
which I can do faster in PHP.

The way this site is currently written, to do as you suggest would force me
to write a bunch of hokey code that I will eventually just have to toss. I
am trying to keep some of the Cold Fusion in Place that is working
relatively well, and until we are ready to make the swap alltogether to a
new server, make my additions and fixes in PHP with anticipation for that
switch.

Eventually, both IIS and Cold Fusion will be gone, I just need to work
around some of it for now and we only have one production server at the
moment to mess around with. I would really like to know if the phpisapi.dll
is relatively stable, and would like to hear if anyone has actually used it
in a production environment.

Thanks,
Alan



----- Original Message -----
From: "CHUN-YIU LAM" 
To: "NYPHP Talk" 
Sent: Sunday, December 22, 2002 7:57 PM
Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs


> Just wondering why can't you point or redirect to the resulting page on a
> system running php and redhat and versa.  This will can make the
transition
> a little more smooth.
>
> Matthew
>
> ----Original Message Follows----
> From: "Alan T. Miller" 
> Reply-To: talk at nyphp.org
> To: NYPHP Talk 
> Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
> Date: Sun, 22 Dec 2002 14:37:44 -0500
> Received: from mc7-f12.law1.hotmail.com ([65.54.253.19]) by
> mc7-s17.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 22
Dec
> 2002 11:52:08 -0800
> Received: from parsec.nyphp.org ([66.250.131.26]) by
> mc7-f12.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 22
Dec
> 2002 11:52:07 -0800
> Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by
> parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBMJbiSt090440;Sun, 22 Dec
> 2002 14:37:45 -0500 (EST)(envelope-from listmaster at nyphp.org)
> Message-Id: <200212221937.gBMJbiSt090440 at parsec.nyphp.org>
> X-Paralist-Archived:

> X-List-Software: Paralist 0.6
> List-ID: 
> List-Owner: 
> List-Archive: 
> List-Subscribe: 
> List-Unsubscribe: 
> Organization: New York PHP
> X-Mailer: Paramail 0.5
> Return-Path: listmaster at nyphp.org
> X-OriginalArrivalTime: 22 Dec 2002 19:52:07.0868 (UTC)
> FILETIME=[9BF83FC0:01C2A9F3]
>
>  >     Just out of pure curiosity, and utter hatred for IIS...why, may I
> ask,
>  > are you using it? What can a Microsoft product do that FreeBSD / RedHat
>  > can't?
>
> Believe me, I am no fan of IIS but in this particular case, the site was
> written in Cold Fusion, which in turn needs to run on IIs (for licensing
> reasons). The real reason I am stuck with IIs for the moment is that the
> site I am working on just has too much to rewrite in PHP right now. I plan
> to make a transition slowly to PHP on a RedHat machine once we have all
the
> major site functionality rebuilt in PHP. Until then however, I want to
> implement some important features on the site and begin rewriting other
apps
> in PHP to work alongside the Cold Fusion stuff until we are ready to make
> that final move. So technically there is nothing that Windows IIs can do
> that FreeBSD or Redhat can do right now except run our only licensed copy
of
> Cold Fusion (sucks. I know) :(
>
>
>  >     As for the ISAPI modules, why even use them? Why not write it all
in
>  > PHP? Personally, I think that PHP is better then perl/cgi. Let us know
> what
>  > this module does, and perhaps we can help you to port it over to a PHP
>  > script.
>
> What I am referring to here is that it is my understanding there are two
> ways to install PHP on windows with IIs. You can run it as a CGI, that is
to
> map the .php files to execute the php.exe file, or map the .php files to
> execute the /sapi/php4isapi.dll file. With the former, you load the whole
> php.exe executable on every invocation on PHP, with the other PHP runs as
a
> module in the server memory. I remeber a while ago, the module was not all
> that stable and was not reccomended for production systems. I was hoping
to
> find out if that is still the case, and if anyone had any luck doing so on
a
> busy server (100,000 hits a day).
>
> Thanks,
> Alan
>
>
>
>  >
>  >     What bugs are you encountering? Give us the errors, and the code --
> I'll
>  > try and help you.
>  >
>  > Good luck.
>  > -Bradley Baumann
>  >
>  > ----- Original Message -----
>  > From: "Alan T. Miller" 
>  > To: "NYPHP Talk" 
>  > Sent: Sunday, December 22, 2002 12:26 PM
>  > Subject: [nycphp-talk] PHP in production on Microsoft IIs
>  >
>  >
>  > > I have always used PHP with either RedHat or FreeBSD. However, I am
>  > working
>  > > on a site now that is equipped with windows 2000 and IIS. I am
> considering
>  > > using PHP on this site and was curious to hear from anyone who has
any
>  > > expereince using PHP on a reletively high traffic site on IIS.
>  > >
>  > > The current site gets over 100,000 hits a day. For my own internal
>  > > development I use PHP as a CGI module and I know that eats up a lot
of
>  > > resources, I don't think this would be a good option for our
production
>  > > server. I know that you can run PHP on IIs as an ISAPI module but the
> last
>  > > time I looked into this it seemed it was still buggy and not really
> ready
>  > > for production.
>  > >
>  > > So if you were me, what would you do and why? Of course at this
point,
>  > > ditching windows is not an option. It is in the long term plan
however.
>  > >
>  > > Thanks in advance,
>  > > Alan
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>
>
>
>
>
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
>
http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324&D
I=7474&SU=
>
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_3
mf
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>
>



From bradley at bestweb.net  Mon Dec 23 01:52:05 2002
From: bradley at bestweb.net (Bradley Baumann)
Date: Mon, 23 Dec 2002 01:52:05 -0500
Subject: [nycphp-talk] PHP in production on Microsoft IIs
References: <200212230438.gBN4cbSt093239@parsec.nyphp.org>
Message-ID: <001c01c2aa4f$cde52500$0300a8c0@prophxp>

It's understandable that you are hesitant to rewriting this CF code in PHP,
due to time restrictions, or what have you. But I can only foresee problems
along the line, if you try to "combine" the two, as you are now.
Especially, since "both IIS and CF will be gone", eventually. Save yourself
the trouble, and the stress. Do it the right way, the first time around.

Personal opinion.
-Brad.

----- Original Message -----
From: "Alan T. Miller" 
To: "NYPHP Talk" 
Sent: Sunday, December 22, 2002 11:38 PM
Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs


> Everything is so tighty itegrated with Cold Fusion now, Sessions and more
> that make integrating the two all at once unlikely, as I am only one guy
and
> there is simply too much code to rewrite, yet I need to fix some things
now,
> which I can do faster in PHP.
>
> The way this site is currently written, to do as you suggest would force
me
> to write a bunch of hokey code that I will eventually just have to toss. I
> am trying to keep some of the Cold Fusion in Place that is working
> relatively well, and until we are ready to make the swap alltogether to a
> new server, make my additions and fixes in PHP with anticipation for that
> switch.
>
> Eventually, both IIS and Cold Fusion will be gone, I just need to work
> around some of it for now and we only have one production server at the
> moment to mess around with. I would really like to know if the
phpisapi.dll
> is relatively stable, and would like to hear if anyone has actually used
it
> in a production environment.
>
> Thanks,
> Alan
>
>
>
> ----- Original Message -----
> From: "CHUN-YIU LAM" 
> To: "NYPHP Talk" 
> Sent: Sunday, December 22, 2002 7:57 PM
> Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
>
>
> > Just wondering why can't you point or redirect to the resulting page on
a
> > system running php and redhat and versa.  This will can make the
> transition
> > a little more smooth.
> >
> > Matthew
> >
> > ----Original Message Follows----
> > From: "Alan T. Miller" 
> > Reply-To: talk at nyphp.org
> > To: NYPHP Talk 
> > Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
> > Date: Sun, 22 Dec 2002 14:37:44 -0500
> > Received: from mc7-f12.law1.hotmail.com ([65.54.253.19]) by
> > mc7-s17.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 22
> Dec
> > 2002 11:52:08 -0800
> > Received: from parsec.nyphp.org ([66.250.131.26]) by
> > mc7-f12.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 22
> Dec
> > 2002 11:52:07 -0800
> > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by
> > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBMJbiSt090440;Sun, 22
Dec
> > 2002 14:37:45 -0500 (EST)(envelope-from listmaster at nyphp.org)
> > Message-Id: <200212221937.gBMJbiSt090440 at parsec.nyphp.org>
> > X-Paralist-Archived:
> 
> > X-List-Software: Paralist 0.6
> > List-ID: 
> > List-Owner: 
> > List-Archive: 
> > List-Subscribe: 
> > List-Unsubscribe: 
> > Organization: New York PHP
> > X-Mailer: Paramail 0.5
> > Return-Path: listmaster at nyphp.org
> > X-OriginalArrivalTime: 22 Dec 2002 19:52:07.0868 (UTC)
> > FILETIME=[9BF83FC0:01C2A9F3]
> >
> >  >     Just out of pure curiosity, and utter hatred for IIS...why, may I
> > ask,
> >  > are you using it? What can a Microsoft product do that FreeBSD /
RedHat
> >  > can't?
> >
> > Believe me, I am no fan of IIS but in this particular case, the site was
> > written in Cold Fusion, which in turn needs to run on IIs (for licensing
> > reasons). The real reason I am stuck with IIs for the moment is that the
> > site I am working on just has too much to rewrite in PHP right now. I
plan
> > to make a transition slowly to PHP on a RedHat machine once we have all
> the
> > major site functionality rebuilt in PHP. Until then however, I want to
> > implement some important features on the site and begin rewriting other
> apps
> > in PHP to work alongside the Cold Fusion stuff until we are ready to
make
> > that final move. So technically there is nothing that Windows IIs can do
> > that FreeBSD or Redhat can do right now except run our only licensed
copy
> of
> > Cold Fusion (sucks. I know) :(
> >
> >
> >  >     As for the ISAPI modules, why even use them? Why not write it all
> in
> >  > PHP? Personally, I think that PHP is better then perl/cgi. Let us
know
> > what
> >  > this module does, and perhaps we can help you to port it over to a
PHP
> >  > script.
> >
> > What I am referring to here is that it is my understanding there are two
> > ways to install PHP on windows with IIs. You can run it as a CGI, that
is
> to
> > map the .php files to execute the php.exe file, or map the .php files to
> > execute the /sapi/php4isapi.dll file. With the former, you load the
whole
> > php.exe executable on every invocation on PHP, with the other PHP runs
as
> a
> > module in the server memory. I remeber a while ago, the module was not
all
> > that stable and was not reccomended for production systems. I was hoping
> to
> > find out if that is still the case, and if anyone had any luck doing so
on
> a
> > busy server (100,000 hits a day).
> >
> > Thanks,
> > Alan
> >
> >
> >
> >  >
> >  >     What bugs are you encountering? Give us the errors, and the
code --
> > I'll
> >  > try and help you.
> >  >
> >  > Good luck.
> >  > -Bradley Baumann
> >  >
> >  > ----- Original Message -----
> >  > From: "Alan T. Miller" 
> >  > To: "NYPHP Talk" 
> >  > Sent: Sunday, December 22, 2002 12:26 PM
> >  > Subject: [nycphp-talk] PHP in production on Microsoft IIs
> >  >
> >  >
> >  > > I have always used PHP with either RedHat or FreeBSD. However, I am
> >  > working
> >  > > on a site now that is equipped with windows 2000 and IIS. I am
> > considering
> >  > > using PHP on this site and was curious to hear from anyone who has
> any
> >  > > expereince using PHP on a reletively high traffic site on IIS.
> >  > >
> >  > > The current site gets over 100,000 hits a day. For my own internal
> >  > > development I use PHP as a CGI module and I know that eats up a lot
> of
> >  > > resources, I don't think this would be a good option for our
> production
> >  > > server. I know that you can run PHP on IIs as an ISAPI module but
the
> > last
> >  > > time I looked into this it seemed it was still buggy and not really
> > ready
> >  > > for production.
> >  > >
> >  > > So if you were me, what would you do and why? Of course at this
> point,
> >  > > ditching windows is not an option. It is in the long term plan
> however.
> >  > >
> >  > > Thanks in advance,
> >  > > Alan
> >  > >
> >  > >
> >  > >
> >  > >
> >  > >
> >  > >
> >  >
> >  >
> >  >
> >  >
> >  >
> >  >
> >  >
> >
> >
> >
> >
> >
> >
> > _________________________________________________________________
> > Add photos to your messages with MSN 8. Get 2 months FREE*.
> >
>
http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324&D
> I=7474&SU=
> >
>
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_3
> mf
> >
> >
> >
> >
> >
> >
> >
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>



From amiller at hollywood101.com  Mon Dec 23 04:13:05 2002
From: amiller at hollywood101.com (Alan T. Miller)
Date: Mon, 23 Dec 2002 01:13:05 -0800
Subject: [nycphp-talk] PHP in production on Microsoft IIs
References: <200212230649.gBN6nSSt093923@parsec.nyphp.org>
Message-ID: <000c01c2aa63$8106b5a0$6e01a8c0@webdev>

No one has as much contempt for Cold Fusion and IIs than I do, but at this
point I simply do not have an option but to deal with it. I am working on a
production site that I simply cannot deconstruct overnight. There are some
pressing matters that need to be addressed, and I am working to rewrite
those parts of the site now in PHP, rewriting the rest will follow suit, and
in a few weeks, we will be moving everything over. But I was just hoping fo
some pointers to reduce the amount of problems that may come up when running
PHP on a high volume IIS server and perhaps prevent any known issues.

Believe me, I fully understand. It is not that I am hesitant to rewrite the
site, as I am doing that, I just have too much to do, and cannot wait until
I have rewritten the site before I impliment some PHP code into it.

Alan



----- Original Message -----
From: "Bradley Baumann" 
To: "NYPHP Talk" 
Sent: Sunday, December 22, 2002 10:49 PM
Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs


> It's understandable that you are hesitant to rewriting this CF code in
PHP,
> due to time restrictions, or what have you. But I can only foresee
problems
> along the line, if you try to "combine" the two, as you are now.
> Especially, since "both IIS and CF will be gone", eventually. Save
yourself
> the trouble, and the stress. Do it the right way, the first time around.
>
> Personal opinion.
> -Brad.
>
> ----- Original Message -----
> From: "Alan T. Miller" 
> To: "NYPHP Talk" 
> Sent: Sunday, December 22, 2002 11:38 PM
> Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
>
>
> > Everything is so tighty itegrated with Cold Fusion now, Sessions and
more
> > that make integrating the two all at once unlikely, as I am only one guy
> and
> > there is simply too much code to rewrite, yet I need to fix some things
> now,
> > which I can do faster in PHP.
> >
> > The way this site is currently written, to do as you suggest would force
> me
> > to write a bunch of hokey code that I will eventually just have to toss.
I
> > am trying to keep some of the Cold Fusion in Place that is working
> > relatively well, and until we are ready to make the swap alltogether to
a
> > new server, make my additions and fixes in PHP with anticipation for
that
> > switch.
> >
> > Eventually, both IIS and Cold Fusion will be gone, I just need to work
> > around some of it for now and we only have one production server at the
> > moment to mess around with. I would really like to know if the
> phpisapi.dll
> > is relatively stable, and would like to hear if anyone has actually used
> it
> > in a production environment.
> >
> > Thanks,
> > Alan
> >
> >
> >
> > ----- Original Message -----
> > From: "CHUN-YIU LAM" 
> > To: "NYPHP Talk" 
> > Sent: Sunday, December 22, 2002 7:57 PM
> > Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
> >
> >
> > > Just wondering why can't you point or redirect to the resulting page
on
> a
> > > system running php and redhat and versa.  This will can make the
> > transition
> > > a little more smooth.
> > >
> > > Matthew
> > >
> > > ----Original Message Follows----
> > > From: "Alan T. Miller" 
> > > Reply-To: talk at nyphp.org
> > > To: NYPHP Talk 
> > > Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
> > > Date: Sun, 22 Dec 2002 14:37:44 -0500
> > > Received: from mc7-f12.law1.hotmail.com ([65.54.253.19]) by
> > > mc7-s17.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun,
22
> > Dec
> > > 2002 11:52:08 -0800
> > > Received: from parsec.nyphp.org ([66.250.131.26]) by
> > > mc7-f12.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun,
22
> > Dec
> > > 2002 11:52:07 -0800
> > > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by
> > > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBMJbiSt090440;Sun, 22
> Dec
> > > 2002 14:37:45 -0500 (EST)(envelope-from listmaster at nyphp.org)
> > > Message-Id: <200212221937.gBMJbiSt090440 at parsec.nyphp.org>
> > > X-Paralist-Archived:
> > 
> > > X-List-Software: Paralist 0.6
> > > List-ID: 
> > > List-Owner: 
> > > List-Archive: 
> > > List-Subscribe: 
> > > List-Unsubscribe: 
> > > Organization: New York PHP
> > > X-Mailer: Paramail 0.5
> > > Return-Path: listmaster at nyphp.org
> > > X-OriginalArrivalTime: 22 Dec 2002 19:52:07.0868 (UTC)
> > > FILETIME=[9BF83FC0:01C2A9F3]
> > >
> > >  >     Just out of pure curiosity, and utter hatred for IIS...why, may
I
> > > ask,
> > >  > are you using it? What can a Microsoft product do that FreeBSD /
> RedHat
> > >  > can't?
> > >
> > > Believe me, I am no fan of IIS but in this particular case, the site
was
> > > written in Cold Fusion, which in turn needs to run on IIs (for
licensing
> > > reasons). The real reason I am stuck with IIs for the moment is that
the
> > > site I am working on just has too much to rewrite in PHP right now. I
> plan
> > > to make a transition slowly to PHP on a RedHat machine once we have
all
> > the
> > > major site functionality rebuilt in PHP. Until then however, I want to
> > > implement some important features on the site and begin rewriting
other
> > apps
> > > in PHP to work alongside the Cold Fusion stuff until we are ready to
> make
> > > that final move. So technically there is nothing that Windows IIs can
do
> > > that FreeBSD or Redhat can do right now except run our only licensed
> copy
> > of
> > > Cold Fusion (sucks. I know) :(
> > >
> > >
> > >  >     As for the ISAPI modules, why even use them? Why not write it
all
> > in
> > >  > PHP? Personally, I think that PHP is better then perl/cgi. Let us
> know
> > > what
> > >  > this module does, and perhaps we can help you to port it over to a
> PHP
> > >  > script.
> > >
> > > What I am referring to here is that it is my understanding there are
two
> > > ways to install PHP on windows with IIs. You can run it as a CGI, that
> is
> > to
> > > map the .php files to execute the php.exe file, or map the .php files
to
> > > execute the /sapi/php4isapi.dll file. With the former, you load the
> whole
> > > php.exe executable on every invocation on PHP, with the other PHP runs
> as
> > a
> > > module in the server memory. I remeber a while ago, the module was not
> all
> > > that stable and was not reccomended for production systems. I was
hoping
> > to
> > > find out if that is still the case, and if anyone had any luck doing
so
> on
> > a
> > > busy server (100,000 hits a day).
> > >
> > > Thanks,
> > > Alan
> > >
> > >
> > >
> > >  >
> > >  >     What bugs are you encountering? Give us the errors, and the
> code --
> > > I'll
> > >  > try and help you.
> > >  >
> > >  > Good luck.
> > >  > -Bradley Baumann
> > >  >
> > >  > ----- Original Message -----
> > >  > From: "Alan T. Miller" 
> > >  > To: "NYPHP Talk" 
> > >  > Sent: Sunday, December 22, 2002 12:26 PM
> > >  > Subject: [nycphp-talk] PHP in production on Microsoft IIs
> > >  >
> > >  >
> > >  > > I have always used PHP with either RedHat or FreeBSD. However, I
am
> > >  > working
> > >  > > on a site now that is equipped with windows 2000 and IIS. I am
> > > considering
> > >  > > using PHP on this site and was curious to hear from anyone who
has
> > any
> > >  > > expereince using PHP on a reletively high traffic site on IIS.
> > >  > >
> > >  > > The current site gets over 100,000 hits a day. For my own
internal
> > >  > > development I use PHP as a CGI module and I know that eats up a
lot
> > of
> > >  > > resources, I don't think this would be a good option for our
> > production
> > >  > > server. I know that you can run PHP on IIs as an ISAPI module but
> the
> > > last
> > >  > > time I looked into this it seemed it was still buggy and not
really
> > > ready
> > >  > > for production.
> > >  > >
> > >  > > So if you were me, what would you do and why? Of course at this
> > point,
> > >  > > ditching windows is not an option. It is in the long term plan
> > however.
> > >  > >
> > >  > > Thanks in advance,
> > >  > > Alan
> > >  > >
> > >  > >
> > >  > >
> > >  > >
> > >  > >
> > >  > >
> > >  >
> > >  >
> > >  >
> > >  >
> > >  >
> > >  >
> > >  >
> > >
> > >
> > >
> > >
> > >
> > >
> > > _________________________________________________________________
> > > Add photos to your messages with MSN 8. Get 2 months FREE*.
> > >
> >
>
http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324&D
> > I=7474&SU=
> > >
> >
>
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_3
> > mf
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>
>



From jkelly at sussex.cc.nj.us  Mon Dec 23 10:09:36 2002
From: jkelly at sussex.cc.nj.us (jessica kelly)
Date: Mon, 23 Dec 2002 10:09:36 -0500
Subject: [nycphp-talk] PHP in production on Microsoft IIs
Message-ID: 

> Eventually, both IIS and Cold Fusion will be gone, I just need to work
> around some of it for now and we only have one production server at the
> moment to mess around with. I would really like to know if the
>phpisapi.dll is relatively stable, and would like to hear if anyone has actually used
>it in a production environment.

Alan,

I use the module on a apache server 1.3.xx on a Win Advanced Server 2000 and it is a bit flaky at times. It seems to just stop working. The site does not get a lot of hits and the PHP seems to crap out when you need to enter info into a MySQL DB. This doesn't happen often but about once a week and is frustrating the person entering the data (myself also!). 

I have been told to avoid using the module from persons on this list (Thank's Daniel!) because of this and am currently trying to get it to work as CGI on my test server then I'll switch the other server over. 

Jessica

>




From bradley at bestweb.net  Mon Dec 23 10:42:18 2002
From: bradley at bestweb.net (Bradley Baumann)
Date: Mon, 23 Dec 2002 10:42:18 -0500
Subject: [nycphp-talk] PHP in production on Microsoft IIs
References: <200212231510.gBNFAWSt096625@parsec.nyphp.org>
Message-ID: <002301c2aa99$e056fa70$0300a8c0@prophxp>

I suggest running IIS and PHP on Windows 2000 Server, or Advanced Server.
There may be a couple configuration things you might want to look into...
(how many users at a time? etc, etc)
Also, you're going to want to look into MySQL's (or whatever other database
you're using) configuration, too... (again, amount of users at the same
time)...
Those are the only real obvious things I can think of, if I can come up with
anything else, I'll be sure to let you know.

Good luck.
-Brad.
----- Original Message -----
From: "jessica kelly" 
To: "NYPHP Talk" 
Sent: Monday, December 23, 2002 10:10 AM
Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs


> > Eventually, both IIS and Cold Fusion will be gone, I just need to work
> > around some of it for now and we only have one production server at the
> > moment to mess around with. I would really like to know if the
> >phpisapi.dll is relatively stable, and would like to hear if anyone has
actually used
> >it in a production environment.
>
> Alan,
>
> I use the module on a apache server 1.3.xx on a Win Advanced Server 2000
and it is a bit flaky at times. It seems to just stop working. The site does
not get a lot of hits and the PHP seems to crap out when you need to enter
info into a MySQL DB. This doesn't happen often but about once a week and is
frustrating the person entering the data (myself also!).
>
> I have been told to avoid using the module from persons on this list
(Thank's Daniel!) because of this and am currently trying to get it to work
as CGI on my test server then I'll switch the other server over.
>
> Jessica
>
> >
>
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>



From zala007 at hotmail.com  Mon Dec 23 10:43:59 2002
From: zala007 at hotmail.com (Anirudh Zala)
Date: Mon, 23 Dec 2002 15:43:59 +0000
Subject: [nycphp-talk] PHP in production on Microsoft IIs
Message-ID: 

Miss/Mrs. Jessiaca Kelly,

Better to use PHP and related softwares on Linux machine rather than on 
Microsoft based OSs :) ? This is like running your Ferrari car on Diesel 
rather than on Gas.

I really wonder. Hard to change everything, once set up on Window's 
environment but "Better" to move on Linux.

Thanks,

Anirudh Zala

>From: "jessica kelly" 
>Reply-To: talk at nyphp.org
>To: NYPHP Talk 
>Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
>Date: Mon, 23 Dec 2002 10:10:32 -0500
>Received: from mc7-f40.law1.hotmail.com ([65.54.253.47]) by 
>mc7-s2.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 23 Dec 
>2002 07:19:52 -0800
>Received: from parsec.nyphp.org ([66.250.131.26]) by 
>mc7-f40.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 23 Dec 
>2002 07:19:52 -0800
>Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by 
>parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBNFAWSt096625;Mon, 23 Dec 
>2002 10:10:32 -0500 (EST)(envelope-from listmaster at nyphp.org)
>Message-Id: <200212231510.gBNFAWSt096625 at parsec.nyphp.org>
>X-Paralist-Archived: 
>
>X-List-Software: Paralist 0.6
>List-ID: 
>List-Owner: 
>List-Archive: 
>List-Subscribe: 
>List-Unsubscribe: 
>Organization: New York PHP
>X-Mailer: Paramail 0.5
>Return-Path: listmaster at nyphp.org
>X-OriginalArrivalTime: 23 Dec 2002 15:19:52.0159 (UTC) 
>FILETIME=[BD8A9EF0:01C2AA96]
>
> > Eventually, both IIS and Cold Fusion will be gone, I just need to work
> > around some of it for now and we only have one production server at the
> > moment to mess around with. I would really like to know if the
> >phpisapi.dll is relatively stable, and would like to hear if anyone has 
>actually used
> >it in a production environment.
>
>Alan,
>
>I use the module on a apache server 1.3.xx on a Win Advanced Server 2000 
>and it is a bit flaky at times. It seems to just stop working. The site 
>does not get a lot of hits and the PHP seems to crap out when you need to 
>enter info into a MySQL DB. This doesn't happen often but about once a week 
>and is frustrating the person entering the data (myself also!).
>
>I have been told to avoid using the module from persons on this list 
>(Thank's Daniel!) because of this and am currently trying to get it to work 
>as CGI on my test server then I'll switch the other server over.
>
>Jessica
>
> >
>
>
>
>
>--- Unsubscribe at http://nyphp.org/list/ ---


_________________________________________________________________
MSN 8 limited-time offer: Join now and get 3 months FREE*. 
http://join.msn.com/?page=dept/dialup&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_newmsn8ishere_3mf



From bradley at bestweb.net  Mon Dec 23 11:07:59 2002
From: bradley at bestweb.net (Bradley Baumann)
Date: Mon, 23 Dec 2002 11:07:59 -0500
Subject: [nycphp-talk] PHP in production on Microsoft IIs
References: <200212231544.gBNFi9St096791@parsec.nyphp.org>
Message-ID: <002b01c2aa9d$768ee9a0$0300a8c0@prophxp>

Anirudh,

    That's the point we're all trying to make, but -- there _are_ situations
in which immediate attention is required, and tedious code translation
simply takes too long for it's environment.
I'm sure he's making the choice appropriate for his situation.

-Brad.
----- Original Message -----
From: "Anirudh Zala" 
To: "NYPHP Talk" 
Sent: Monday, December 23, 2002 10:44 AM
Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs


> Miss/Mrs. Jessiaca Kelly,
>
> Better to use PHP and related softwares on Linux machine rather than on
> Microsoft based OSs :) ? This is like running your Ferrari car on Diesel
> rather than on Gas.
>
> I really wonder. Hard to change everything, once set up on Window's
> environment but "Better" to move on Linux.
>
> Thanks,
>
> Anirudh Zala
>
> >From: "jessica kelly" 
> >Reply-To: talk at nyphp.org
> >To: NYPHP Talk 
> >Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
> >Date: Mon, 23 Dec 2002 10:10:32 -0500
> >Received: from mc7-f40.law1.hotmail.com ([65.54.253.47]) by
> >mc7-s2.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 23
Dec
> >2002 07:19:52 -0800
> >Received: from parsec.nyphp.org ([66.250.131.26]) by
> >mc7-f40.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 23
Dec
> >2002 07:19:52 -0800
> >Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by
> >parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBNFAWSt096625;Mon, 23 Dec
> >2002 10:10:32 -0500 (EST)(envelope-from listmaster at nyphp.org)
> >Message-Id: <200212231510.gBNFAWSt096625 at parsec.nyphp.org>
> >X-Paralist-Archived:
> >
> >X-List-Software: Paralist 0.6
> >List-ID: 
> >List-Owner: 
> >List-Archive: 
> >List-Subscribe: 
> >List-Unsubscribe: 
> >Organization: New York PHP
> >X-Mailer: Paramail 0.5
> >Return-Path: listmaster at nyphp.org
> >X-OriginalArrivalTime: 23 Dec 2002 15:19:52.0159 (UTC)
> >FILETIME=[BD8A9EF0:01C2AA96]
> >
> > > Eventually, both IIS and Cold Fusion will be gone, I just need to work
> > > around some of it for now and we only have one production server at
the
> > > moment to mess around with. I would really like to know if the
> > >phpisapi.dll is relatively stable, and would like to hear if anyone has
> >actually used
> > >it in a production environment.
> >
> >Alan,
> >
> >I use the module on a apache server 1.3.xx on a Win Advanced Server 2000
> >and it is a bit flaky at times. It seems to just stop working. The site
> >does not get a lot of hits and the PHP seems to crap out when you need to
> >enter info into a MySQL DB. This doesn't happen often but about once a
week
> >and is frustrating the person entering the data (myself also!).
> >
> >I have been told to avoid using the module from persons on this list
> >(Thank's Daniel!) because of this and am currently trying to get it to
work
> >as CGI on my test server then I'll switch the other server over.
> >
> >Jessica
> >
> > >
> >
> >
> >
> >
> >
>
>
> _________________________________________________________________
> MSN 8 limited-time offer: Join now and get 3 months FREE*.
>
http://join.msn.com/?page=dept/dialup&xAPID=42&PS=47575&PI=7324&DI=7474&SU=
>
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_newmsn8ishe
re_3mf
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>



From jkelly at sussex.cc.nj.us  Mon Dec 23 11:41:01 2002
From: jkelly at sussex.cc.nj.us (jessica kelly)
Date: Mon, 23 Dec 2002 11:41:01 -0500
Subject: [nycphp-talk] PHP in production on Microsoft IIs
Message-ID: 

IIS is a four letter word as far as I'm concerned. Also everyone needs to realize that as web/PHP developers we are often stuck with what we have, not what we would rather have. If IIS didn't have such a sordid security past we would be running it here and I would have absolutely no say in the matter. I wanted to put Linux on the server and they put Advanced Server 2000 on it. I scream, yet no one hears...

The site is for a very small community college and it gets very few, if any, concurrent hits on the PHP/MySQL portion of it and I have plenty of room for multiple users config wise.

I still think that Alan should use CGI instead of the module. It is flaky.

Thank's Guys
Jessica

>>> zala007 at hotmail.com 12/23/02 10:44:09 AM >>>
Miss/Mrs. Jessiaca Kelly,

Better to use PHP and related softwares on Linux machine rather than on 
Microsoft based OSs :) ? This is like running your Ferrari car on Diesel 
rather than on Gas.I really wonder. Hard to change everything, once set up on Window's 
environment but "Better" to move on Linux.
Thanks,
Anirudh Zala
>>>
I suggest running IIS and PHP on Windows 2000 Server, or Advanced Server.
There may be a couple configuration things you might want to look into...
(how many users at a time? etc, etc)
Also, you're going to want to look into MySQL's (or whatever other database
you're using) configuration, too... (again, amount of users at the same
time)...
Those are the only real obvious things I can think of, if I can come up with
anything else, I'll be sure to let you know.
Good luck.
-Brad.

>From: "jessica kelly" 
>Reply-To: talk at nyphp.org 

>
> > Eventually, both IIS and Cold Fusion will be gone, I just need to work
> > around some of it for now and we only have one production server at the
> > moment to mess around with. I would really like to know if the
> >phpisapi.dll is relatively stable, and would like to hear if anyone has 
>actually used
> >it in a production environment.
>
>Alan,
>
>I use the module on a apache server 1.3.xx on a Win Advanced Server 2000 
>and it is a bit flaky at times. It seems to just stop working. The site 
>does not get a lot of hits and the PHP seems to crap out when you need to 
>enter info into a MySQL DB. This doesn't happen often but about once a week 
>and is frustrating the person entering the data (myself also!).
>
>I have been told to avoid using the module from persons on this list 
>(Thank's Daniel!) because of this and am currently trying to get it to work 
>as CGI on my test server then I'll switch the other server over.
>
>Jessica





From amiller at hollywood101.com  Mon Dec 23 11:50:17 2002
From: amiller at hollywood101.com (Alan T. Miller)
Date: Mon, 23 Dec 2002 08:50:17 -0800
Subject: [nycphp-talk] PHP in production on Microsoft IIs
References: <200212231642.gBNGg2St097099@parsec.nyphp.org>
Message-ID: <001501c2aaa3$5f53e500$6e01a8c0@webdev>

Thanks Jessica,

I'll be sweatin it either way :)

Alan

----- Original Message -----
From: "jessica kelly" 
To: "NYPHP Talk" 
Sent: Monday, December 23, 2002 8:42 AM
Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs


> IIS is a four letter word as far as I'm concerned. Also everyone needs to
realize that as web/PHP developers we are often stuck with what we have, not
what we would rather have. If IIS didn't have such a sordid security past we
would be running it here and I would have absolutely no say in the matter. I
wanted to put Linux on the server and they put Advanced Server 2000 on it. I
scream, yet no one hears...
>
> The site is for a very small community college and it gets very few, if
any, concurrent hits on the PHP/MySQL portion of it and I have plenty of
room for multiple users config wise.
>
> I still think that Alan should use CGI instead of the module. It is flaky.
>
> Thank's Guys
> Jessica
>
> >>> zala007 at hotmail.com 12/23/02 10:44:09 AM >>>
> Miss/Mrs. Jessiaca Kelly,
>
> Better to use PHP and related softwares on Linux machine rather than on
> Microsoft based OSs :) ? This is like running your Ferrari car on Diesel
> rather than on Gas.I really wonder. Hard to change everything, once set up
on Window's
> environment but "Better" to move on Linux.
> Thanks,
> Anirudh Zala
> >>>
> I suggest running IIS and PHP on Windows 2000 Server, or Advanced Server.
> There may be a couple configuration things you might want to look into...
> (how many users at a time? etc, etc)
> Also, you're going to want to look into MySQL's (or whatever other
database
> you're using) configuration, too... (again, amount of users at the same
> time)...
> Those are the only real obvious things I can think of, if I can come up
with
> anything else, I'll be sure to let you know.
> Good luck.
> -Brad.
>
> >From: "jessica kelly" 
> >Reply-To: talk at nyphp.org
>
> >
> > > Eventually, both IIS and Cold Fusion will be gone, I just need to work
> > > around some of it for now and we only have one production server at
the
> > > moment to mess around with. I would really like to know if the
> > >phpisapi.dll is relatively stable, and would like to hear if anyone has
> >actually used
> > >it in a production environment.
> >
> >Alan,
> >
> >I use the module on a apache server 1.3.xx on a Win Advanced Server 2000
> >and it is a bit flaky at times. It seems to just stop working. The site
> >does not get a lot of hits and the PHP seems to crap out when you need to
> >enter info into a MySQL DB. This doesn't happen often but about once a
week
> >and is frustrating the person entering the data (myself also!).
> >
> >I have been told to avoid using the module from persons on this list
> >(Thank's Daniel!) because of this and am currently trying to get it to
work
> >as CGI on my test server then I'll switch the other server over.
> >
> >Jessica
>
>
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>
>



From bradley at bestweb.net  Mon Dec 23 14:32:40 2002
From: bradley at bestweb.net (Bradley Baumann)
Date: Mon, 23 Dec 2002 14:32:40 -0500
Subject: [nycphp-talk] PHP in production on Microsoft IIs
References: <200212231650.gBNGoCSt097144@parsec.nyphp.org>
Message-ID: <001901c2aaba$0ef0b450$0300a8c0@prophxp>

Good luck, buddy.
Perhaps if you told us what exactly this ColdFusion code did, some of us (in
our free time) could help you write some code... I'm always willing to help
in my spare time.
Let me know,
-Bradley

----- Original Message -----
From: "Alan T. Miller" 
To: "NYPHP Talk" 
Sent: Monday, December 23, 2002 11:50 AM
Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs


> Thanks Jessica,
>
> I'll be sweatin it either way :)
>
> Alan
>
> ----- Original Message -----
> From: "jessica kelly" 
> To: "NYPHP Talk" 
> Sent: Monday, December 23, 2002 8:42 AM
> Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
>
>
> > IIS is a four letter word as far as I'm concerned. Also everyone needs
to
> realize that as web/PHP developers we are often stuck with what we have,
not
> what we would rather have. If IIS didn't have such a sordid security past
we
> would be running it here and I would have absolutely no say in the matter.
I
> wanted to put Linux on the server and they put Advanced Server 2000 on it.
I
> scream, yet no one hears...
> >
> > The site is for a very small community college and it gets very few, if
> any, concurrent hits on the PHP/MySQL portion of it and I have plenty of
> room for multiple users config wise.
> >
> > I still think that Alan should use CGI instead of the module. It is
flaky.
> >
> > Thank's Guys
> > Jessica
> >
> > >>> zala007 at hotmail.com 12/23/02 10:44:09 AM >>>
> > Miss/Mrs. Jessiaca Kelly,
> >
> > Better to use PHP and related softwares on Linux machine rather than on
> > Microsoft based OSs :) ? This is like running your Ferrari car on Diesel
> > rather than on Gas.I really wonder. Hard to change everything, once set
up
> on Window's
> > environment but "Better" to move on Linux.
> > Thanks,
> > Anirudh Zala
> > >>>
> > I suggest running IIS and PHP on Windows 2000 Server, or Advanced
Server.
> > There may be a couple configuration things you might want to look
into...
> > (how many users at a time? etc, etc)
> > Also, you're going to want to look into MySQL's (or whatever other
> database
> > you're using) configuration, too... (again, amount of users at the same
> > time)...
> > Those are the only real obvious things I can think of, if I can come up
> with
> > anything else, I'll be sure to let you know.
> > Good luck.
> > -Brad.
> >
> > >From: "jessica kelly" 
> > >Reply-To: talk at nyphp.org
> >
> > >
> > > > Eventually, both IIS and Cold Fusion will be gone, I just need to
work
> > > > around some of it for now and we only have one production server at
> the
> > > > moment to mess around with. I would really like to know if the
> > > >phpisapi.dll is relatively stable, and would like to hear if anyone
has
> > >actually used
> > > >it in a production environment.
> > >
> > >Alan,
> > >
> > >I use the module on a apache server 1.3.xx on a Win Advanced Server
2000
> > >and it is a bit flaky at times. It seems to just stop working. The site
> > >does not get a lot of hits and the PHP seems to crap out when you need
to
> > >enter info into a MySQL DB. This doesn't happen often but about once a
> week
> > >and is frustrating the person entering the data (myself also!).
> > >
> > >I have been told to avoid using the module from persons on this list
> > >(Thank's Daniel!) because of this and am currently trying to get it to
> work
> > >as CGI on my test server then I'll switch the other server over.
> > >
> > >Jessica
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>



From mike at hilliardfarber.com  Mon Dec 23 15:37:50 2002
From: mike at hilliardfarber.com (Michael J Lee)
Date: Mon, 23 Dec 2002 15:37:50 -0500
Subject: photo album
In-Reply-To: <200212231930.gBNJU6St097948@parsec.nyphp.org>
Message-ID: 

Hey All,
I've got a mySQL/php question here . .

I want to create a photo album using a php script that will call a sql query
to help populate the page now the first question is:

What would be the best way to store the images in the database?  Links to
the images?  Can you store the actual images? (I'm guessing that would not
be recommended . . )

I figure I would run a for loop that runs the total number of items returned
and echo the path into the img tag.
ie:  border=0> or
something to this effect.

Anyone do anything like this?  Suggestions?

Thanks!

Mike Lee

-----Original Message-----
From: Bradley Baumann [mailto:bradley at bestweb.net]
Sent: Monday, December 23, 2002 2:30 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs


Good luck, buddy.
Perhaps if you told us what exactly this ColdFusion code did, some of us (in
our free time) could help you write some code... I'm always willing to help
in my spare time.
Let me know,
-Bradley

----- Original Message -----
From: "Alan T. Miller" 
To: "NYPHP Talk" 
Sent: Monday, December 23, 2002 11:50 AM
Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs


> Thanks Jessica,
>
> I'll be sweatin it either way :)
>
> Alan
>
> ----- Original Message -----
> From: "jessica kelly" 
> To: "NYPHP Talk" 
> Sent: Monday, December 23, 2002 8:42 AM
> Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
>
>
> > IIS is a four letter word as far as I'm concerned. Also everyone needs
to
> realize that as web/PHP developers we are often stuck with what we have,
not
> what we would rather have. If IIS didn't have such a sordid security past
we
> would be running it here and I would have absolutely no say in the matter.
I
> wanted to put Linux on the server and they put Advanced Server 2000 on it.
I
> scream, yet no one hears...
> >
> > The site is for a very small community college and it gets very few, if
> any, concurrent hits on the PHP/MySQL portion of it and I have plenty of
> room for multiple users config wise.
> >
> > I still think that Alan should use CGI instead of the module. It is
flaky.
> >
> > Thank's Guys
> > Jessica
> >
> > >>> zala007 at hotmail.com 12/23/02 10:44:09 AM >>>
> > Miss/Mrs. Jessiaca Kelly,
> >
> > Better to use PHP and related softwares on Linux machine rather than on
> > Microsoft based OSs :) ? This is like running your Ferrari car on Diesel
> > rather than on Gas.I really wonder. Hard to change everything, once set
up
> on Window's
> > environment but "Better" to move on Linux.
> > Thanks,
> > Anirudh Zala
> > >>>
> > I suggest running IIS and PHP on Windows 2000 Server, or Advanced
Server.
> > There may be a couple configuration things you might want to look
into...
> > (how many users at a time? etc, etc)
> > Also, you're going to want to look into MySQL's (or whatever other
> database
> > you're using) configuration, too... (again, amount of users at the same
> > time)...
> > Those are the only real obvious things I can think of, if I can come up
> with
> > anything else, I'll be sure to let you know.
> > Good luck.
> > -Brad.
> >
> > >From: "jessica kelly" 
> > >Reply-To: talk at nyphp.org
> >
> > >
> > > > Eventually, both IIS and Cold Fusion will be gone, I just need to
work
> > > > around some of it for now and we only have one production server at
> the
> > > > moment to mess around with. I would really like to know if the
> > > >phpisapi.dll is relatively stable, and would like to hear if anyone
has
> > >actually used
> > > >it in a production environment.
> > >
> > >Alan,
> > >
> > >I use the module on a apache server 1.3.xx on a Win Advanced Server
2000
> > >and it is a bit flaky at times. It seems to just stop working. The site
> > >does not get a lot of hits and the PHP seems to crap out when you need
to
> > >enter info into a MySQL DB. This doesn't happen often but about once a
> week
> > >and is frustrating the person entering the data (myself also!).
> > >
> > >I have been told to avoid using the module from persons on this list
> > >(Thank's Daniel!) because of this and am currently trying to get it to
> work
> > >as CGI on my test server then I'll switch the other server over.
> > >
> > >Jessica
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>



--- Unsubscribe at http://nyphp.org/list/ ---




From bradley at bestweb.net  Mon Dec 23 15:57:03 2002
From: bradley at bestweb.net (Bradley Baumann)
Date: Mon, 23 Dec 2002 15:57:03 -0500
Subject: [nycphp-talk] photo album
References: <200212232039.gBNKd7St098335@parsec.nyphp.org>
Message-ID: <001f01c2aac5$d86f5790$0300a8c0@prophxp>

I've made quite a few of these... you've got a number of options:
I find this to be the best:
Using a simple HTML form, upload the file -- and add the filename / filetype
into a database. NOT THE FILE _ITSELF_. Just the info... also, in the table,
have an ID (auto incr.) field, so that each file / photo is assigned an
individual, exclusive, ID number... then, upload the file, or move it,
rather... with the "move_uploaded_file()" or "copy()" function.
see:
http://www.php.net/manual/en/features.file-upload.php
Name the file itself, with the ID given to the record in the database,
"mysql_insert_id()".
Now, every time you do an SQL search, you can have the "real" name of the
file, it's type, and the ID of the filename handy.... this way you don't
need to worry about files with the same filename, or anything like that...

It really depends on what you want, but this way (with some other features,
too) seems to be good, tried and true.

I hope this method makes some sort of sense. If it doesn't, let me know.
I'll re-explain.

Good luck,
-Bradley.


----- Original Message -----
From: "Michael J Lee" 
To: "NYPHP Talk" 
Sent: Monday, December 23, 2002 3:39 PM
Subject: [nycphp-talk] photo album


> Hey All,
> I've got a mySQL/php question here . .
>
> I want to create a photo album using a php script that will call a sql
query
> to help populate the page now the first question is:
>
> What would be the best way to store the images in the database?  Links to
> the images?  Can you store the actual images? (I'm guessing that would not
> be recommended . . )
>
> I figure I would run a for loop that runs the total number of items
returned
> and echo the path into the img tag.
> ie:  border=0> or
> something to this effect.
>
> Anyone do anything like this?  Suggestions?
>
> Thanks!
>
> Mike Lee
>
> -----Original Message-----
> From: Bradley Baumann [mailto:bradley at bestweb.net]
> Sent: Monday, December 23, 2002 2:30 PM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
>
>
> Good luck, buddy.
> Perhaps if you told us what exactly this ColdFusion code did, some of us
(in
> our free time) could help you write some code... I'm always willing to
help
> in my spare time.
> Let me know,
> -Bradley
>
> ----- Original Message -----
> From: "Alan T. Miller" 
> To: "NYPHP Talk" 
> Sent: Monday, December 23, 2002 11:50 AM
> Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
>
>
> > Thanks Jessica,
> >
> > I'll be sweatin it either way :)
> >
> > Alan
> >
> > ----- Original Message -----
> > From: "jessica kelly" 
> > To: "NYPHP Talk" 
> > Sent: Monday, December 23, 2002 8:42 AM
> > Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
> >
> >
> > > IIS is a four letter word as far as I'm concerned. Also everyone needs
> to
> > realize that as web/PHP developers we are often stuck with what we have,
> not
> > what we would rather have. If IIS didn't have such a sordid security
past
> we
> > would be running it here and I would have absolutely no say in the
matter.
> I
> > wanted to put Linux on the server and they put Advanced Server 2000 on
it.
> I
> > scream, yet no one hears...
> > >
> > > The site is for a very small community college and it gets very few,
if
> > any, concurrent hits on the PHP/MySQL portion of it and I have plenty of
> > room for multiple users config wise.
> > >
> > > I still think that Alan should use CGI instead of the module. It is
> flaky.
> > >
> > > Thank's Guys
> > > Jessica
> > >
> > > >>> zala007 at hotmail.com 12/23/02 10:44:09 AM >>>
> > > Miss/Mrs. Jessiaca Kelly,
> > >
> > > Better to use PHP and related softwares on Linux machine rather than
on
> > > Microsoft based OSs :) ? This is like running your Ferrari car on
Diesel
> > > rather than on Gas.I really wonder. Hard to change everything, once
set
> up
> > on Window's
> > > environment but "Better" to move on Linux.
> > > Thanks,
> > > Anirudh Zala
> > > >>>
> > > I suggest running IIS and PHP on Windows 2000 Server, or Advanced
> Server.
> > > There may be a couple configuration things you might want to look
> into...
> > > (how many users at a time? etc, etc)
> > > Also, you're going to want to look into MySQL's (or whatever other
> > database
> > > you're using) configuration, too... (again, amount of users at the
same
> > > time)...
> > > Those are the only real obvious things I can think of, if I can come
up
> > with
> > > anything else, I'll be sure to let you know.
> > > Good luck.
> > > -Brad.
> > >
> > > >From: "jessica kelly" 
> > > >Reply-To: talk at nyphp.org
> > >
> > > >
> > > > > Eventually, both IIS and Cold Fusion will be gone, I just need to
> work
> > > > > around some of it for now and we only have one production server
at
> > the
> > > > > moment to mess around with. I would really like to know if the
> > > > >phpisapi.dll is relatively stable, and would like to hear if anyone
> has
> > > >actually used
> > > > >it in a production environment.
> > > >
> > > >Alan,
> > > >
> > > >I use the module on a apache server 1.3.xx on a Win Advanced Server
> 2000
> > > >and it is a bit flaky at times. It seems to just stop working. The
site
> > > >does not get a lot of hits and the PHP seems to crap out when you
need
> to
> > > >enter info into a MySQL DB. This doesn't happen often but about once
a
> > week
> > > >and is frustrating the person entering the data (myself also!).
> > > >
> > > >I have been told to avoid using the module from persons on this list
> > > >(Thank's Daniel!) because of this and am currently trying to get it
to
> > work
> > > >as CGI on my test server then I'll switch the other server over.
> > > >
> > > >Jessica
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>



From patrick.fee at baesystems.com  Mon Dec 23 15:57:36 2002
From: patrick.fee at baesystems.com (Fee, Patrick J)
Date: Mon, 23 Dec 2002 15:57:36 -0500
Subject: [nycphp-talk] photo album
Message-ID: 

You might want to check out a little open source item out there that does
all of this and more.
It also auto generates the thumbnail images, and uses a java desktop piece
to help upload multiple images.  I've used in about 4 websites, and I've
been very please with it so far...

I AM NOT affiliated with it in any way.... just happy with the results....

http://gallery.sourceforge.net/

Gallery is the name of the project.....

PJF


Patrick J. Fee
Web & Database Group 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: Michael J Lee [mailto:mike at hilliardfarber.com]
Sent: Monday, December 23, 2002 3:39 PM
To: NYPHP Talk
Subject: [nycphp-talk] photo album


Hey All,
I've got a mySQL/php question here . .

I want to create a photo album using a php script that will call a sql query
to help populate the page now the first question is:

What would be the best way to store the images in the database?  Links to
the images?  Can you store the actual images? (I'm guessing that would not
be recommended . . )

I figure I would run a for loop that runs the total number of items returned
and echo the path into the img tag.
ie:  border=0> or
something to this effect.

Anyone do anything like this?  Suggestions?

Thanks!

Mike Lee

-----Original Message-----
From: Bradley Baumann [mailto:bradley at bestweb.net]
Sent: Monday, December 23, 2002 2:30 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs


Good luck, buddy.
Perhaps if you told us what exactly this ColdFusion code did, some of us (in
our free time) could help you write some code... I'm always willing to help
in my spare time.
Let me know,
-Bradley

----- Original Message -----
From: "Alan T. Miller" 
To: "NYPHP Talk" 
Sent: Monday, December 23, 2002 11:50 AM
Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs


> Thanks Jessica,
>
> I'll be sweatin it either way :)
>
> Alan
>
> ----- Original Message -----
> From: "jessica kelly" 
> To: "NYPHP Talk" 
> Sent: Monday, December 23, 2002 8:42 AM
> Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
>
>
> > IIS is a four letter word as far as I'm concerned. Also everyone needs
to
> realize that as web/PHP developers we are often stuck with what we have,
not
> what we would rather have. If IIS didn't have such a sordid security past
we
> would be running it here and I would have absolutely no say in the matter.
I
> wanted to put Linux on the server and they put Advanced Server 2000 on it.
I
> scream, yet no one hears...
> >
> > The site is for a very small community college and it gets very few, if
> any, concurrent hits on the PHP/MySQL portion of it and I have plenty of
> room for multiple users config wise.
> >
> > I still think that Alan should use CGI instead of the module. It is
flaky.
> >
> > Thank's Guys
> > Jessica
> >
> > >>> zala007 at hotmail.com 12/23/02 10:44:09 AM >>>
> > Miss/Mrs. Jessiaca Kelly,
> >
> > Better to use PHP and related softwares on Linux machine rather than on
> > Microsoft based OSs :) ? This is like running your Ferrari car on Diesel
> > rather than on Gas.I really wonder. Hard to change everything, once set
up
> on Window's
> > environment but "Better" to move on Linux.
> > Thanks,
> > Anirudh Zala
> > >>>
> > I suggest running IIS and PHP on Windows 2000 Server, or Advanced
Server.
> > There may be a couple configuration things you might want to look
into...
> > (how many users at a time? etc, etc)
> > Also, you're going to want to look into MySQL's (or whatever other
> database
> > you're using) configuration, too... (again, amount of users at the same
> > time)...
> > Those are the only real obvious things I can think of, if I can come up
> with
> > anything else, I'll be sure to let you know.
> > Good luck.
> > -Brad.
> >
> > >From: "jessica kelly" 
> > >Reply-To: talk at nyphp.org
> >
> > >
> > > > Eventually, both IIS and Cold Fusion will be gone, I just need to
work
> > > > around some of it for now and we only have one production server at
> the
> > > > moment to mess around with. I would really like to know if the
> > > >phpisapi.dll is relatively stable, and would like to hear if anyone
has
> > >actually used
> > > >it in a production environment.
> > >
> > >Alan,
> > >
> > >I use the module on a apache server 1.3.xx on a Win Advanced Server
2000
> > >and it is a bit flaky at times. It seems to just stop working. The site
> > >does not get a lot of hits and the PHP seems to crap out when you need
to
> > >enter info into a MySQL DB. This doesn't happen often but about once a
> week
> > >and is frustrating the person entering the data (myself also!).
> > >
> > >I have been told to avoid using the module from persons on this list
> > >(Thank's Daniel!) because of this and am currently trying to get it to
> work
> > >as CGI on my test server then I'll switch the other server over.
> > >
> > >Jessica
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>








--- Unsubscribe at http://nyphp.org/list/ ---



From bradley at bestweb.net  Mon Dec 23 16:05:12 2002
From: bradley at bestweb.net (Bradley Baumann)
Date: Mon, 23 Dec 2002 16:05:12 -0500
Subject: [nycphp-talk] photo album
References: <200212232057.gBNKvgSt098442@parsec.nyphp.org>
Message-ID: <002901c2aac6$fc487a10$0300a8c0@prophxp>

Looks interesting due to the fact that it doesn't use GD or ImageMagick... I
might actually look into NetBPM (image manipulation libs) that they are
using, because it can handle GIF files again, which GD can't do, due to
UniSys legal stuff.

Thanks for the link, Patrick.
-Bradley.

----- Original Message -----
From: "Fee, Patrick J" 
To: "NYPHP Talk" 
Sent: Monday, December 23, 2002 3:57 PM
Subject: RE: [nycphp-talk] photo album


> You might want to check out a little open source item out there that does
> all of this and more.
> It also auto generates the thumbnail images, and uses a java desktop piece
> to help upload multiple images.  I've used in about 4 websites, and I've
> been very please with it so far...
>
> I AM NOT affiliated with it in any way.... just happy with the results....
>
> http://gallery.sourceforge.net/
>
> Gallery is the name of the project.....
>
> PJF
>
>
> Patrick J. Fee
> Web & Database Group 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: Michael J Lee [mailto:mike at hilliardfarber.com]
> Sent: Monday, December 23, 2002 3:39 PM
> To: NYPHP Talk
> Subject: [nycphp-talk] photo album
>
>
> Hey All,
> I've got a mySQL/php question here . .
>
> I want to create a photo album using a php script that will call a sql
query
> to help populate the page now the first question is:
>
> What would be the best way to store the images in the database?  Links to
> the images?  Can you store the actual images? (I'm guessing that would not
> be recommended . . )
>
> I figure I would run a for loop that runs the total number of items
returned
> and echo the path into the img tag.
> ie:  border=0> or
> something to this effect.
>
> Anyone do anything like this?  Suggestions?
>
> Thanks!
>
> Mike Lee
>
> -----Original Message-----
> From: Bradley Baumann [mailto:bradley at bestweb.net]
> Sent: Monday, December 23, 2002 2:30 PM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
>
>
> Good luck, buddy.
> Perhaps if you told us what exactly this ColdFusion code did, some of us
(in
> our free time) could help you write some code... I'm always willing to
help
> in my spare time.
> Let me know,
> -Bradley
>
> ----- Original Message -----
> From: "Alan T. Miller" 
> To: "NYPHP Talk" 
> Sent: Monday, December 23, 2002 11:50 AM
> Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
>
>
> > Thanks Jessica,
> >
> > I'll be sweatin it either way :)
> >
> > Alan
> >
> > ----- Original Message -----
> > From: "jessica kelly" 
> > To: "NYPHP Talk" 
> > Sent: Monday, December 23, 2002 8:42 AM
> > Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
> >
> >
> > > IIS is a four letter word as far as I'm concerned. Also everyone needs
> to
> > realize that as web/PHP developers we are often stuck with what we have,
> not
> > what we would rather have. If IIS didn't have such a sordid security
past
> we
> > would be running it here and I would have absolutely no say in the
matter.
> I
> > wanted to put Linux on the server and they put Advanced Server 2000 on
it.
> I
> > scream, yet no one hears...
> > >
> > > The site is for a very small community college and it gets very few,
if
> > any, concurrent hits on the PHP/MySQL portion of it and I have plenty of
> > room for multiple users config wise.
> > >
> > > I still think that Alan should use CGI instead of the module. It is
> flaky.
> > >
> > > Thank's Guys
> > > Jessica
> > >
> > > >>> zala007 at hotmail.com 12/23/02 10:44:09 AM >>>
> > > Miss/Mrs. Jessiaca Kelly,
> > >
> > > Better to use PHP and related softwares on Linux machine rather than
on
> > > Microsoft based OSs :) ? This is like running your Ferrari car on
Diesel
> > > rather than on Gas.I really wonder. Hard to change everything, once
set
> up
> > on Window's
> > > environment but "Better" to move on Linux.
> > > Thanks,
> > > Anirudh Zala
> > > >>>
> > > I suggest running IIS and PHP on Windows 2000 Server, or Advanced
> Server.
> > > There may be a couple configuration things you might want to look
> into...
> > > (how many users at a time? etc, etc)
> > > Also, you're going to want to look into MySQL's (or whatever other
> > database
> > > you're using) configuration, too... (again, amount of users at the
same
> > > time)...
> > > Those are the only real obvious things I can think of, if I can come
up
> > with
> > > anything else, I'll be sure to let you know.
> > > Good luck.
> > > -Brad.
> > >
> > > >From: "jessica kelly" 
> > > >Reply-To: talk at nyphp.org
> > >
> > > >
> > > > > Eventually, both IIS and Cold Fusion will be gone, I just need to
> work
> > > > > around some of it for now and we only have one production server
at
> > the
> > > > > moment to mess around with. I would really like to know if the
> > > > >phpisapi.dll is relatively stable, and would like to hear if anyone
> has
> > > >actually used
> > > > >it in a production environment.
> > > >
> > > >Alan,
> > > >
> > > >I use the module on a apache server 1.3.xx on a Win Advanced Server
> 2000
> > > >and it is a bit flaky at times. It seems to just stop working. The
site
> > > >does not get a lot of hits and the PHP seems to crap out when you
need
> to
> > > >enter info into a MySQL DB. This doesn't happen often but about once
a
> > week
> > > >and is frustrating the person entering the data (myself also!).
> > > >
> > > >I have been told to avoid using the module from persons on this list
> > > >(Thank's Daniel!) because of this and am currently trying to get it
to
> > work
> > > >as CGI on my test server then I'll switch the other server over.
> > > >
> > > >Jessica
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
>
>
>
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>



From chendry at nyc.rr.com  Mon Dec 23 16:16:43 2002
From: chendry at nyc.rr.com (Christopher Hendry)
Date: Mon, 23 Dec 2002 16:16:43 -0500
Subject: [nycphp-talk] photo album
In-Reply-To: <200212232102.gBNL2XSt098475@parsec.nyphp.org>
Message-ID: 

Hi Bradley or anyone.

Speaking of GD, ImageMagick and all that...I've got a situation where I want
to shrink an uploaded image to 50px max vertical and still maintain image
quality.  Unfortunately, it's on a hosted server, which only supports GD and
I'm not even sure in what form.  I've messed around with some of the code
from PEAR, but I can't get good image quality, and can only support jpegs
(I'd like to at least get gifs in there)...any thoughts or suggestions???
What does anyone know about the Gallery link
(http://gallery.sourceforge.net/)- are you saying it's using NetBPM ... is
this something I can install locally???

Thanks for any help.  And hello all.
Chris



-> -----Original Message-----
-> From: Bradley Baumann [mailto:bradley at bestweb.net]
-> Sent: Monday, December 23, 2002 4:03 PM
-> To: NYPHP Talk
-> Subject: Re: [nycphp-talk] photo album
->
->
-> Looks interesting due to the fact that it doesn't use GD or
-> ImageMagick... I
-> might actually look into NetBPM (image manipulation libs) that they are
-> using, because it can handle GIF files again, which GD can't do, due to
-> UniSys legal stuff.
->
-> Thanks for the link, Patrick.
-> -Bradley.
->
-> ----- Original Message -----
-> From: "Fee, Patrick J" 
-> To: "NYPHP Talk" 
-> Sent: Monday, December 23, 2002 3:57 PM
-> Subject: RE: [nycphp-talk] photo album
->
->
-> > You might want to check out a little open source item out
-> there that does
-> > all of this and more.
-> > It also auto generates the thumbnail images, and uses a java
-> desktop piece
-> > to help upload multiple images.  I've used in about 4
-> websites, and I've
-> > been very please with it so far...
-> >
-> > I AM NOT affiliated with it in any way.... just happy with the
-> results....
-> >
-> > http://gallery.sourceforge.net/
-> >
-> > Gallery is the name of the project.....
-> >
-> > PJF
-> >
-> >
-> > Patrick J. Fee
-> > Web & Database Group 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: Michael J Lee [mailto:mike at hilliardfarber.com]
-> > Sent: Monday, December 23, 2002 3:39 PM
-> > To: NYPHP Talk
-> > Subject: [nycphp-talk] photo album
-> >
-> >
-> > Hey All,
-> > I've got a mySQL/php question here . .
-> >
-> > I want to create a photo album using a php script that will call a sql
-> query
-> > to help populate the page now the first question is:
-> >
-> > What would be the best way to store the images in the
-> database?  Links to
-> > the images?  Can you store the actual images? (I'm guessing
-> that would not
-> > be recommended . . )
-> >
-> > I figure I would run a for loop that runs the total number of items
-> returned
-> > and echo the path into the img tag.
-> > ie:  border=0> or
-> > something to this effect.
-> >
-> > Anyone do anything like this?  Suggestions?
-> >
-> > Thanks!
-> >
-> > Mike Lee
-> >
-> > -----Original Message-----
-> > From: Bradley Baumann [mailto:bradley at bestweb.net]
-> > Sent: Monday, December 23, 2002 2:30 PM
-> > To: NYPHP Talk
-> > Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
-> >
-> >
-> > Good luck, buddy.
-> > Perhaps if you told us what exactly this ColdFusion code did,
-> some of us
-> (in
-> > our free time) could help you write some code... I'm always willing to
-> help
-> > in my spare time.
-> > Let me know,
-> > -Bradley
-> >
-> > ----- Original Message -----
-> > From: "Alan T. Miller" 
-> > To: "NYPHP Talk" 
-> > Sent: Monday, December 23, 2002 11:50 AM
-> > Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
-> >
-> >
-> > > Thanks Jessica,
-> > >
-> > > I'll be sweatin it either way :)
-> > >
-> > > Alan
-> > >
-> > > ----- Original Message -----
-> > > From: "jessica kelly" 
-> > > To: "NYPHP Talk" 
-> > > Sent: Monday, December 23, 2002 8:42 AM
-> > > Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
-> > >
-> > >
-> > > > IIS is a four letter word as far as I'm concerned. Also
-> everyone needs
-> > to
-> > > realize that as web/PHP developers we are often stuck with
-> what we have,
-> > not
-> > > what we would rather have. If IIS didn't have such a sordid security
-> past
-> > we
-> > > would be running it here and I would have absolutely no say in the
-> matter.
-> > I
-> > > wanted to put Linux on the server and they put Advanced
-> Server 2000 on
-> it.
-> > I
-> > > scream, yet no one hears...
-> > > >
-> > > > The site is for a very small community college and it gets
-> very few,
-> if
-> > > any, concurrent hits on the PHP/MySQL portion of it and I
-> have plenty of
-> > > room for multiple users config wise.
-> > > >
-> > > > I still think that Alan should use CGI instead of the module. It is
-> > flaky.
-> > > >
-> > > > Thank's Guys
-> > > > Jessica
-> > > >
-> > > > >>> zala007 at hotmail.com 12/23/02 10:44:09 AM >>>
-> > > > Miss/Mrs. Jessiaca Kelly,
-> > > >
-> > > > Better to use PHP and related softwares on Linux machine
-> rather than
-> on
-> > > > Microsoft based OSs :) ? This is like running your Ferrari car on
-> Diesel
-> > > > rather than on Gas.I really wonder. Hard to change everything, once
-> set
-> > up
-> > > on Window's
-> > > > environment but "Better" to move on Linux.
-> > > > Thanks,
-> > > > Anirudh Zala
-> > > > >>>
-> > > > I suggest running IIS and PHP on Windows 2000 Server, or Advanced
-> > Server.
-> > > > There may be a couple configuration things you might want to look
-> > into...
-> > > > (how many users at a time? etc, etc)
-> > > > Also, you're going to want to look into MySQL's (or whatever other
-> > > database
-> > > > you're using) configuration, too... (again, amount of users at the
-> same
-> > > > time)...
-> > > > Those are the only real obvious things I can think of, if
-> I can come
-> up
-> > > with
-> > > > anything else, I'll be sure to let you know.
-> > > > Good luck.
-> > > > -Brad.
-> > > >
-> > > > >From: "jessica kelly" 
-> > > > >Reply-To: talk at nyphp.org
-> > > >
-> > > > >
-> > > > > > Eventually, both IIS and Cold Fusion will be gone, I
-> just need to
-> > work
-> > > > > > around some of it for now and we only have one
-> production server
-> at
-> > > the
-> > > > > > moment to mess around with. I would really like to know if the
-> > > > > >phpisapi.dll is relatively stable, and would like to
-> hear if anyone
-> > has
-> > > > >actually used
-> > > > > >it in a production environment.
-> > > > >
-> > > > >Alan,
-> > > > >
-> > > > >I use the module on a apache server 1.3.xx on a Win
-> Advanced Server
-> > 2000
-> > > > >and it is a bit flaky at times. It seems to just stop working. The
-> site
-> > > > >does not get a lot of hits and the PHP seems to crap out when you
-> need
-> > to
-> > > > >enter info into a MySQL DB. This doesn't happen often but
-> about once
-> a
-> > > week
-> > > > >and is frustrating the person entering the data (myself also!).
-> > > > >
-> > > > >I have been told to avoid using the module from persons
-> on this list
-> > > > >(Thank's Daniel!) because of this and am currently trying
-> to get it
-> to
-> > > work
-> > > > >as CGI on my test server then I'll switch the other server over.
-> > > > >
-> > > > >Jessica
-> > > >
-> > > >
-> > > >
-> > > >
-> > > >
-> > > >
-> > > >
-> > > >
-> > > >
-> > >
-> > >
-> > >
-> > >
-> > >
-> > >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
->
->
->
-> --- Unsubscribe at http://nyphp.org/list/ ---
->
->
->




From nyphp at websapp.com  Mon Dec 23 16:21:35 2002
From: nyphp at websapp.com (Daniel Kushner)
Date: Mon, 23 Dec 2002 16:21:35 -0500
Subject: [nycphp-talk] photo album
In-Reply-To: <200212232102.gBNL2XSt098475@parsec.nyphp.org>
Message-ID: 

I have use this application quite a few times and I must say
that it is very complete.

Regards,
Daniel Kushner
_________________________________________
Need hosting? http://thehostingcompany.us



-----Original Message-----
From: Bradley Baumann [mailto:bradley at bestweb.net]
Sent: Monday, December 23, 2002 4:03 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] photo album


Looks interesting due to the fact that it doesn't use GD or ImageMagick... I
might actually look into NetBPM (image manipulation libs) that they are
using, because it can handle GIF files again, which GD can't do, due to
UniSys legal stuff.

Thanks for the link, Patrick.
-Bradley.

----- Original Message -----
From: "Fee, Patrick J" 
To: "NYPHP Talk" 
Sent: Monday, December 23, 2002 3:57 PM
Subject: RE: [nycphp-talk] photo album


> You might want to check out a little open source item out there that does
> all of this and more.
> It also auto generates the thumbnail images, and uses a java desktop piece
> to help upload multiple images.  I've used in about 4 websites, and I've
> been very please with it so far...
>
> I AM NOT affiliated with it in any way.... just happy with the results....
>
> http://gallery.sourceforge.net/
>
> Gallery is the name of the project.....
>
> PJF
>
>
> Patrick J. Fee
> Web & Database Group 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: Michael J Lee [mailto:mike at hilliardfarber.com]
> Sent: Monday, December 23, 2002 3:39 PM
> To: NYPHP Talk
> Subject: [nycphp-talk] photo album
>
>
> Hey All,
> I've got a mySQL/php question here . .
>
> I want to create a photo album using a php script that will call a sql
query
> to help populate the page now the first question is:
>
> What would be the best way to store the images in the database?  Links to
> the images?  Can you store the actual images? (I'm guessing that would not
> be recommended . . )
>
> I figure I would run a for loop that runs the total number of items
returned
> and echo the path into the img tag.
> ie:  border=0> or
> something to this effect.
>
> Anyone do anything like this?  Suggestions?
>
> Thanks!
>
> Mike Lee
>
> -----Original Message-----
> From: Bradley Baumann [mailto:bradley at bestweb.net]
> Sent: Monday, December 23, 2002 2:30 PM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
>
>
> Good luck, buddy.
> Perhaps if you told us what exactly this ColdFusion code did, some of us
(in
> our free time) could help you write some code... I'm always willing to
help
> in my spare time.
> Let me know,
> -Bradley
>
> ----- Original Message -----
> From: "Alan T. Miller" 
> To: "NYPHP Talk" 
> Sent: Monday, December 23, 2002 11:50 AM
> Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
>
>
> > Thanks Jessica,
> >
> > I'll be sweatin it either way :)
> >
> > Alan
> >
> > ----- Original Message -----
> > From: "jessica kelly" 
> > To: "NYPHP Talk" 
> > Sent: Monday, December 23, 2002 8:42 AM
> > Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
> >
> >
> > > IIS is a four letter word as far as I'm concerned. Also everyone needs
> to
> > realize that as web/PHP developers we are often stuck with what we have,
> not
> > what we would rather have. If IIS didn't have such a sordid security
past
> we
> > would be running it here and I would have absolutely no say in the
matter.
> I
> > wanted to put Linux on the server and they put Advanced Server 2000 on
it.
> I
> > scream, yet no one hears...
> > >
> > > The site is for a very small community college and it gets very few,
if
> > any, concurrent hits on the PHP/MySQL portion of it and I have plenty of
> > room for multiple users config wise.
> > >
> > > I still think that Alan should use CGI instead of the module. It is
> flaky.
> > >
> > > Thank's Guys
> > > Jessica
> > >
> > > >>> zala007 at hotmail.com 12/23/02 10:44:09 AM >>>
> > > Miss/Mrs. Jessiaca Kelly,
> > >
> > > Better to use PHP and related softwares on Linux machine rather than
on
> > > Microsoft based OSs :) ? This is like running your Ferrari car on
Diesel
> > > rather than on Gas.I really wonder. Hard to change everything, once
set
> up
> > on Window's
> > > environment but "Better" to move on Linux.
> > > Thanks,
> > > Anirudh Zala
> > > >>>
> > > I suggest running IIS and PHP on Windows 2000 Server, or Advanced
> Server.
> > > There may be a couple configuration things you might want to look
> into...
> > > (how many users at a time? etc, etc)
> > > Also, you're going to want to look into MySQL's (or whatever other
> > database
> > > you're using) configuration, too... (again, amount of users at the
same
> > > time)...
> > > Those are the only real obvious things I can think of, if I can come
up
> > with
> > > anything else, I'll be sure to let you know.
> > > Good luck.
> > > -Brad.
> > >
> > > >From: "jessica kelly" 
> > > >Reply-To: talk at nyphp.org
> > >
> > > >
> > > > > Eventually, both IIS and Cold Fusion will be gone, I just need to
> work
> > > > > around some of it for now and we only have one production server
at
> > the
> > > > > moment to mess around with. I would really like to know if the
> > > > >phpisapi.dll is relatively stable, and would like to hear if anyone
> has
> > > >actually used
> > > > >it in a production environment.
> > > >
> > > >Alan,
> > > >
> > > >I use the module on a apache server 1.3.xx on a Win Advanced Server
> 2000
> > > >and it is a bit flaky at times. It seems to just stop working. The
site
> > > >does not get a lot of hits and the PHP seems to crap out when you
need
> to
> > > >enter info into a MySQL DB. This doesn't happen often but about once
a
> > week
> > > >and is frustrating the person entering the data (myself also!).
> > > >
> > > >I have been told to avoid using the module from persons on this list
> > > >(Thank's Daniel!) because of this and am currently trying to get it
to
> > work
> > > >as CGI on my test server then I'll switch the other server over.
> > > >
> > > >Jessica
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>



--- Unsubscribe at http://nyphp.org/list/ ---



From nyphp at websapp.com  Mon Dec 23 16:54:30 2002
From: nyphp at websapp.com (Daniel Kushner)
Date: Mon, 23 Dec 2002 16:54:30 -0500
Subject: [nycphp-talk] photo album
In-Reply-To: <200212232117.gBNLH2St098568@parsec.nyphp.org>
Message-ID: 

Hi Christopher,

You can find pre-compiled NetBPM binaries here:
http://sourceforge.net/project/showfiles.php?group_id=7130

There is no installation process what so ever. Just upload the files, make
sure they are executable and off you go! Take a look at the PHP Gallery
application for example use.

Regards,
Daniel Kushner
_________________________________________
Need hosting? http://thehostingcompany.us



-----Original Message-----
From: Christopher Hendry [mailto:chendry at nyc.rr.com]
Sent: Monday, December 23, 2002 4:17 PM
To: NYPHP Talk
Subject: RE: [nycphp-talk] photo album


Hi Bradley or anyone.

Speaking of GD, ImageMagick and all that...I've got a situation where I want
to shrink an uploaded image to 50px max vertical and still maintain image
quality.  Unfortunately, it's on a hosted server, which only supports GD and
I'm not even sure in what form.  I've messed around with some of the code
from PEAR, but I can't get good image quality, and can only support jpegs
(I'd like to at least get gifs in there)...any thoughts or suggestions???
What does anyone know about the Gallery link
(http://gallery.sourceforge.net/)- are you saying it's using NetBPM ... is
this something I can install locally???

Thanks for any help.  And hello all.
Chris



-> -----Original Message-----
-> From: Bradley Baumann [mailto:bradley at bestweb.net]
-> Sent: Monday, December 23, 2002 4:03 PM
-> To: NYPHP Talk
-> Subject: Re: [nycphp-talk] photo album
->
->
-> Looks interesting due to the fact that it doesn't use GD or
-> ImageMagick... I
-> might actually look into NetBPM (image manipulation libs) that they are
-> using, because it can handle GIF files again, which GD can't do, due to
-> UniSys legal stuff.
->
-> Thanks for the link, Patrick.
-> -Bradley.
->
-> ----- Original Message -----
-> From: "Fee, Patrick J" 
-> To: "NYPHP Talk" 
-> Sent: Monday, December 23, 2002 3:57 PM
-> Subject: RE: [nycphp-talk] photo album
->
->
-> > You might want to check out a little open source item out
-> there that does
-> > all of this and more.
-> > It also auto generates the thumbnail images, and uses a java
-> desktop piece
-> > to help upload multiple images.  I've used in about 4
-> websites, and I've
-> > been very please with it so far...
-> >
-> > I AM NOT affiliated with it in any way.... just happy with the
-> results....
-> >
-> > http://gallery.sourceforge.net/
-> >
-> > Gallery is the name of the project.....
-> >
-> > PJF
-> >
-> >
-> > Patrick J. Fee
-> > Web & Database Group 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: Michael J Lee [mailto:mike at hilliardfarber.com]
-> > Sent: Monday, December 23, 2002 3:39 PM
-> > To: NYPHP Talk
-> > Subject: [nycphp-talk] photo album
-> >
-> >
-> > Hey All,
-> > I've got a mySQL/php question here . .
-> >
-> > I want to create a photo album using a php script that will call a sql
-> query
-> > to help populate the page now the first question is:
-> >
-> > What would be the best way to store the images in the
-> database?  Links to
-> > the images?  Can you store the actual images? (I'm guessing
-> that would not
-> > be recommended . . )
-> >
-> > I figure I would run a for loop that runs the total number of items
-> returned
-> > and echo the path into the img tag.
-> > ie:  border=0> or
-> > something to this effect.
-> >
-> > Anyone do anything like this?  Suggestions?
-> >
-> > Thanks!
-> >
-> > Mike Lee
-> >
-> > -----Original Message-----
-> > From: Bradley Baumann [mailto:bradley at bestweb.net]
-> > Sent: Monday, December 23, 2002 2:30 PM
-> > To: NYPHP Talk
-> > Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
-> >
-> >
-> > Good luck, buddy.
-> > Perhaps if you told us what exactly this ColdFusion code did,
-> some of us
-> (in
-> > our free time) could help you write some code... I'm always willing to
-> help
-> > in my spare time.
-> > Let me know,
-> > -Bradley
-> >
-> > ----- Original Message -----
-> > From: "Alan T. Miller" 
-> > To: "NYPHP Talk" 
-> > Sent: Monday, December 23, 2002 11:50 AM
-> > Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
-> >
-> >
-> > > Thanks Jessica,
-> > >
-> > > I'll be sweatin it either way :)
-> > >
-> > > Alan
-> > >
-> > > ----- Original Message -----
-> > > From: "jessica kelly" 
-> > > To: "NYPHP Talk" 
-> > > Sent: Monday, December 23, 2002 8:42 AM
-> > > Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
-> > >
-> > >
-> > > > IIS is a four letter word as far as I'm concerned. Also
-> everyone needs
-> > to
-> > > realize that as web/PHP developers we are often stuck with
-> what we have,
-> > not
-> > > what we would rather have. If IIS didn't have such a sordid security
-> past
-> > we
-> > > would be running it here and I would have absolutely no say in the
-> matter.
-> > I
-> > > wanted to put Linux on the server and they put Advanced
-> Server 2000 on
-> it.
-> > I
-> > > scream, yet no one hears...
-> > > >
-> > > > The site is for a very small community college and it gets
-> very few,
-> if
-> > > any, concurrent hits on the PHP/MySQL portion of it and I
-> have plenty of
-> > > room for multiple users config wise.
-> > > >
-> > > > I still think that Alan should use CGI instead of the module. It is
-> > flaky.
-> > > >
-> > > > Thank's Guys
-> > > > Jessica
-> > > >
-> > > > >>> zala007 at hotmail.com 12/23/02 10:44:09 AM >>>
-> > > > Miss/Mrs. Jessiaca Kelly,
-> > > >
-> > > > Better to use PHP and related softwares on Linux machine
-> rather than
-> on
-> > > > Microsoft based OSs :) ? This is like running your Ferrari car on
-> Diesel
-> > > > rather than on Gas.I really wonder. Hard to change everything, once
-> set
-> > up
-> > > on Window's
-> > > > environment but "Better" to move on Linux.
-> > > > Thanks,
-> > > > Anirudh Zala
-> > > > >>>
-> > > > I suggest running IIS and PHP on Windows 2000 Server, or Advanced
-> > Server.
-> > > > There may be a couple configuration things you might want to look
-> > into...
-> > > > (how many users at a time? etc, etc)
-> > > > Also, you're going to want to look into MySQL's (or whatever other
-> > > database
-> > > > you're using) configuration, too... (again, amount of users at the
-> same
-> > > > time)...
-> > > > Those are the only real obvious things I can think of, if
-> I can come
-> up
-> > > with
-> > > > anything else, I'll be sure to let you know.
-> > > > Good luck.
-> > > > -Brad.
-> > > >
-> > > > >From: "jessica kelly" 
-> > > > >Reply-To: talk at nyphp.org
-> > > >
-> > > > >
-> > > > > > Eventually, both IIS and Cold Fusion will be gone, I
-> just need to
-> > work
-> > > > > > around some of it for now and we only have one
-> production server
-> at
-> > > the
-> > > > > > moment to mess around with. I would really like to know if the
-> > > > > >phpisapi.dll is relatively stable, and would like to
-> hear if anyone
-> > has
-> > > > >actually used
-> > > > > >it in a production environment.
-> > > > >
-> > > > >Alan,
-> > > > >
-> > > > >I use the module on a apache server 1.3.xx on a Win
-> Advanced Server
-> > 2000
-> > > > >and it is a bit flaky at times. It seems to just stop working. The
-> site
-> > > > >does not get a lot of hits and the PHP seems to crap out when you
-> need
-> > to
-> > > > >enter info into a MySQL DB. This doesn't happen often but
-> about once
-> a
-> > > week
-> > > > >and is frustrating the person entering the data (myself also!).
-> > > > >
-> > > > >I have been told to avoid using the module from persons
-> on this list
-> > > > >(Thank's Daniel!) because of this and am currently trying
-> to get it
-> to
-> > > work
-> > > > >as CGI on my test server then I'll switch the other server over.
-> > > > >
-> > > > >Jessica
-> > > >
-> > > >
-> > > >
-> > > >
-> > > >
-> > > >
-> > > >
-> > > >
-> > > >
-> > >
-> > >
-> > >
-> > >
-> > >
-> > >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
->
->
->
->
->
->
->




--- Unsubscribe at http://nyphp.org/list/ ---



From smanes at magpie.com  Mon Dec 23 20:39:48 2002
From: smanes at magpie.com (Steve Manes)
Date: Mon, 23 Dec 2002 20:39:48 -0500
Subject: [nycphp-talk] photo album
In-Reply-To: <200212232039.gBNKd7St098335@parsec.nyphp.org>
Message-ID: <5.1.1.6.2.20021223200921.02574240@192.168.111.6>

At 03:39 PM 12/23/2002 -0500, Michael J Lee wrote:
>What would be the best way to store the images in the database?  Links to
>the images?  Can you store the actual images? (I'm guessing that would not
>be recommended . . )

I would never store images in a database.  For one thing, they can't be 
locally cached.  For another it precludes the use of a dedicated image 
server, or at least complicates it.  For another, it takes a lot more 
bandwidth to pull something from a database than it does from a 
filesystem.  And if the application should ever grow to the scale where 
edge delivery is desirable...

You could store the paths in the database but if you have a lot of images 
you have to be careful about overloading directories.  Typically, 
hand-rolled photo archives are based on a bunch of categorized 
directories.  For instance, you might have thousands of photos in the "NYC" 
category and only a handful of snapshots of Boise.  As those directories 
grow, search times slow and maintenance becomes more problematic.

A better solution which tends to balance out a directory tree better is 
create a two or three tiered directory structure based on an MD5 hash of 
the image's name or image id:

     $IMAGE_DIR = "/images";
     $hash  = md5($image_name);
     $relative_path = sprintf("%s/%s/%s/%s", $IMAGE_DIR,
         substr($hash, 0, 2), substr($hash, 2, 2), $image_name);

This creates a pseudo-random distribution of directories.  Run through this 
function, the image "slobbering_dog.jpg" would produce this directory 
hierarchy:

/images/fe/24/slobbering_dog.jpg

Then you only need to store the image's name, or numeric id, in the 
database (along with a category id probably).  If you have millions of 
images, I'd probably increase those node names to three characters.  We 
use  this at CCI too, BTW.




From southwell at dneba.com  Mon Dec 23 21:22:21 2002
From: southwell at dneba.com (Michael Southwell)
Date: Mon, 23 Dec 2002 21:22:21 -0500
Subject: [nycphp-talk] photo album
In-Reply-To: <200212232039.gBNKd7St098335@parsec.nyphp.org>
Message-ID: <5.1.0.14.2.20021223211803.00b232a0@mail.optonline.net>

at the risk of repeating what others have already said:

1.  don't store the images in the database; store them in an image 
directory and store the name of each image plus any commentary in the database.
2.  store your search results in a temporary table
3.  loop through that temporary table echoing each result (as you say) with 
previous/next posting a direction to go, backwards or forwards, for the 
next one

At 03:39 PM 12/23/2002, you wrote:
>Hey All,
>I've got a mySQL/php question here . .
>
>I want to create a photo album using a php script that will call a sql query
>to help populate the page now the first question is:
>
>What would be the best way to store the images in the database?  Links to
>the images?  Can you store the actual images? (I'm guessing that would not
>be recommended . . )
>
>I figure I would run a for loop that runs the total number of items returned
>and echo the path into the img tag.
>ie:  border=0> or
>something to this effect.
>
>Anyone do anything like this?  Suggestions?
>
>Thanks!
>
>Mike Lee
>
>-----Original Message-----
>From: Bradley Baumann [mailto:bradley at bestweb.net]
>Sent: Monday, December 23, 2002 2:30 PM
>To: NYPHP Talk
>Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
>
>
>Good luck, buddy.
>Perhaps if you told us what exactly this ColdFusion code did, some of us (in
>our free time) could help you write some code... I'm always willing to help
>in my spare time.
>Let me know,
>-Bradley
>
>----- Original Message -----
>From: "Alan T. Miller" 
>To: "NYPHP Talk" 
>Sent: Monday, December 23, 2002 11:50 AM
>Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
>
>
> > Thanks Jessica,
> >
> > I'll be sweatin it either way :)
> >
> > Alan
> >
> > ----- Original Message -----
> > From: "jessica kelly" 
> > To: "NYPHP Talk" 
> > Sent: Monday, December 23, 2002 8:42 AM
> > Subject: Re: [nycphp-talk] PHP in production on Microsoft IIs
> >
> >
> > > IIS is a four letter word as far as I'm concerned. Also everyone needs
>to
> > realize that as web/PHP developers we are often stuck with what we have,
>not
> > what we would rather have. If IIS didn't have such a sordid security past
>we
> > would be running it here and I would have absolutely no say in the matter.
>I
> > wanted to put Linux on the server and they put Advanced Server 2000 on it.
>I
> > scream, yet no one hears...
> > >
> > > The site is for a very small community college and it gets very few, if
> > any, concurrent hits on the PHP/MySQL portion of it and I have plenty of
> > room for multiple users config wise.
> > >
> > > I still think that Alan should use CGI instead of the module. It is
>flaky.
> > >
> > > Thank's Guys
> > > Jessica
> > >
> > > >>> zala007 at hotmail.com 12/23/02 10:44:09 AM >>>
> > > Miss/Mrs. Jessiaca Kelly,
> > >
> > > Better to use PHP and related softwares on Linux machine rather than on
> > > Microsoft based OSs :) ? This is like running your Ferrari car on Diesel
> > > rather than on Gas.I really wonder. Hard to change everything, once set
>up
> > on Window's
> > > environment but "Better" to move on Linux.
> > > Thanks,
> > > Anirudh Zala
> > > >>>
> > > I suggest running IIS and PHP on Windows 2000 Server, or Advanced
>Server.
> > > There may be a couple configuration things you might want to look
>into...
> > > (how many users at a time? etc, etc)
> > > Also, you're going to want to look into MySQL's (or whatever other
> > database
> > > you're using) configuration, too... (again, amount of users at the same
> > > time)...
> > > Those are the only real obvious things I can think of, if I can come up
> > with
> > > anything else, I'll be sure to let you know.
> > > Good luck.
> > > -Brad.
> > >
> > > >From: "jessica kelly" 
> > > >Reply-To: talk at nyphp.org
> > >
> > > >
> > > > > Eventually, both IIS and Cold Fusion will be gone, I just need to
>work
> > > > > around some of it for now and we only have one production server at
> > the
> > > > > moment to mess around with. I would really like to know if the
> > > > >phpisapi.dll is relatively stable, and would like to hear if anyone
>has
> > > >actually used
> > > > >it in a production environment.
> > > >
> > > >Alan,
> > > >
> > > >I use the module on a apache server 1.3.xx on a Win Advanced Server
>2000
> > > >and it is a bit flaky at times. It seems to just stop working. The site
> > > >does not get a lot of hits and the PHP seems to crap out when you need
>to
> > > >enter info into a MySQL DB. This doesn't happen often but about once a
> > week
> > > >and is frustrating the person entering the data (myself also!).
> > > >
> > > >I have been told to avoid using the module from persons on this list
> > > >(Thank's Daniel!) because of this and am currently trying to get it to
> > work
> > > >as CGI on my test server then I'll switch the other server over.
> > > >
> > > >Jessica
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
>
>
>--- Unsubscribe at http://nyphp.org/list/ ---

Michael G. Southwell =================================
DNEBA Enterprises
81 South Road
Bloomingdale, NJ 07403-1419
973/492-7873 (voice and fax)
southwell at dneba.com
http://www.dneba.com
======================================================




From dan at dwc.to  Mon Dec 23 22:09:45 2002
From: dan at dwc.to (Dan Horning)
Date: Mon, 23 Dec 2002 22:09:45 -0500
Subject: [nycphp-talk] photo album
In-Reply-To: <200212240222.gBO2MUSt000149@parsec.nyphp.org>
Message-ID: <000101c2aaf9$e9ec95d0$8ec484d0@dwchome>

On the note of a photo gallery .. 
The gallery mentioned back a few messages ago .. It really does take
care of everything.. Including controlling permissions if you need to do
so... 
If you want to see a site that's using the software (integrated within a
postnuke - a feature of the gallery) check out 
http://www.conwayentertainment.com/
And I just added a small addition of being able to send an ecard of any
of the pictures with ecards (again a postnuke module set)

>From the Desk of:
Dan Horning     Owner
 Dsoundmn's Web Creations
Dsoundmn's Web Creations
PO Box 109 Clifton Park, NY 12065-0109
Email: info at dwc.to
------
Online on
AIM - dsoundmn (or dsoundmn1 for emergencies)
ICQ - 14308614
MSN - dan at dwc.to
YIM - dsoundmn






From chendry at nyc.rr.com  Mon Dec 23 23:07:47 2002
From: chendry at nyc.rr.com (Christopher Hendry)
Date: Mon, 23 Dec 2002 23:07:47 -0500
Subject: [nycphp-talk] photo album
In-Reply-To: <200212240309.gBO39SSt000394@parsec.nyphp.org>
Message-ID: 

site looks good, and the gallery looks great, nice and clean and good
navigation.  However, I'm still just looking for the ability to manipulate
images - my latest (and greatest) problem is that the host that my site is
sitting on is on (get this) PHP4.0.3 - which does not allow the previously
mentioned gallery program to run (or configure) - so I'm trying to get the
netPBM library set up and just to use that to manipulate images, but so far
no luck - I know I'm on apache, and I think the software I'm on is Tomcat
(is that right???) - or maybe Sparc - can someone let me know how to find
out what software is running on my server.  I'm not very good with Unix, so
I'm not sure what I'm supposed to be doing with the netPBM library ... can
anyone out there help?

Thanks all.  C

-> -----Original Message-----
-> From: Dan Horning [mailto:dan at dwc.to]
-> Sent: Monday, December 23, 2002 10:09 PM
-> To: NYPHP Talk
-> Subject: RE: [nycphp-talk] photo album
->
->
-> On the note of a photo gallery ..
-> The gallery mentioned back a few messages ago .. It really does take
-> care of everything.. Including controlling permissions if you need to do
-> so...
-> If you want to see a site that's using the software (integrated within a
-> postnuke - a feature of the gallery) check out
-> http://www.conwayentertainment.com/
-> And I just added a small addition of being able to send an ecard of any
-> of the pictures with ecards (again a postnuke module set)
->
-> From the Desk of:
-> Dan Horning     Owner
->  Dsoundmn's Web Creations
-> Dsoundmn's Web Creations
-> PO Box 109 Clifton Park, NY 12065-0109
-> Email: info at dwc.to
-> ------
-> Online on
-> AIM - dsoundmn (or dsoundmn1 for emergencies)
-> ICQ - 14308614
-> MSN - dan at dwc.to
-> YIM - dsoundmn
->
->
->
->
->
->
-> --- Unsubscribe at http://nyphp.org/list/ ---
->
->
->




From winston at xylophage.com  Tue Dec 24 01:13:04 2002
From: winston at xylophage.com (Winston Churchill-Joell)
Date: Tue, 24 Dec 2002 01:13:04 -0500
Subject: [nycphp-talk] photo album
In-Reply-To: <200212240408.gBO486St000701@parsec.nyphp.org>
Message-ID: 

phpinfo();

Will give you a full breakdown of the version and configuration of PHP
you're running, you're machine's OS and version as well as a multitude of
other useful information.

On 12/23/02 11:08 PM, "Christopher Hendry"  wrote:

> site looks good, and the gallery looks great, nice and clean and good
> navigation.  However, I'm still just looking for the ability to manipulate
> images - my latest (and greatest) problem is that the host that my site is
> sitting on is on (get this) PHP4.0.3 - which does not allow the previously
> mentioned gallery program to run (or configure) - so I'm trying to get the
> netPBM library set up and just to use that to manipulate images, but so far
> no luck - I know I'm on apache, and I think the software I'm on is Tomcat
> (is that right???) - or maybe Sparc - can someone let me know how to find
> out what software is running on my server.  I'm not very good with Unix, so
> I'm not sure what I'm supposed to be doing with the netPBM library ... can
> anyone out there help?
> 
> Thanks all.  C
> 
> -> -----Original Message-----
> -> From: Dan Horning [mailto:dan at dwc.to]
> -> Sent: Monday, December 23, 2002 10:09 PM
> -> To: NYPHP Talk
> -> Subject: RE: [nycphp-talk] photo album
> ->
> ->
> -> On the note of a photo gallery ..
> -> The gallery mentioned back a few messages ago .. It really does take
> -> care of everything.. Including controlling permissions if you need to do
> -> so...
> -> If you want to see a site that's using the software (integrated within a
> -> postnuke - a feature of the gallery) check out
> -> http://www.conwayentertainment.com/
> -> And I just added a small addition of being able to send an ecard of any
> -> of the pictures with ecards (again a postnuke module set)
> ->
> -> From the Desk of:
> -> Dan Horning     Owner
> ->  Dsoundmn's Web Creations
> -> Dsoundmn's Web Creations
> -> PO Box 109 Clifton Park, NY 12065-0109
> -> Email: info at dwc.to
> -> ------
> -> Online on
> -> AIM - dsoundmn (or dsoundmn1 for emergencies)
> -> ICQ - 14308614
> -> MSN - dan at dwc.to
> -> YIM - dsoundmn
> ->
> ->
> ->
> ->
> ->
> ->
> -> 
> ->
> ->
> ->
> 
> 
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 
> 



From chendry at nyc.rr.com  Tue Dec 24 07:47:32 2002
From: chendry at nyc.rr.com (Christopher Hendry)
Date: Tue, 24 Dec 2002 07:47:32 -0500
Subject: [nycphp-talk] photo album
In-Reply-To: <200212240613.gBO6DESt001441@parsec.nyphp.org>
Message-ID: 

yeah - call me a fool - but I'm not quite sure how to read phpinfo(), is it
in this line (ie, sparc?):

SunOS no10 5.7 Generic_106541-08 sun4u sparc SUNW,UltraSPARC-IIi-Engine

-> -----Original Message-----
-> From: Winston Churchill-Joell [mailto:winston at xylophage.com]
-> Sent: Tuesday, December 24, 2002 1:13 AM
-> To: NYPHP Talk
-> Subject: Re: [nycphp-talk] photo album
->
->
-> phpinfo();
->
-> Will give you a full breakdown of the version and configuration of PHP
-> you're running, you're machine's OS and version as well as a multitude of
-> other useful information.
->
-> On 12/23/02 11:08 PM, "Christopher Hendry"  wrote:
->
-> > site looks good, and the gallery looks great, nice and clean and good
-> > navigation.  However, I'm still just looking for the ability
-> to manipulate
-> > images - my latest (and greatest) problem is that the host
-> that my site is
-> > sitting on is on (get this) PHP4.0.3 - which does not allow
-> the previously
-> > mentioned gallery program to run (or configure) - so I'm
-> trying to get the
-> > netPBM library set up and just to use that to manipulate
-> images, but so far
-> > no luck - I know I'm on apache, and I think the software I'm
-> on is Tomcat
-> > (is that right???) - or maybe Sparc - can someone let me know
-> how to find
-> > out what software is running on my server.  I'm not very good
-> with Unix, so
-> > I'm not sure what I'm supposed to be doing with the netPBM
-> library ... can
-> > anyone out there help?
-> >
-> > Thanks all.  C
-> >
-> > -> -----Original Message-----
-> > -> From: Dan Horning [mailto:dan at dwc.to]
-> > -> Sent: Monday, December 23, 2002 10:09 PM
-> > -> To: NYPHP Talk
-> > -> Subject: RE: [nycphp-talk] photo album
-> > ->
-> > ->
-> > -> On the note of a photo gallery ..
-> > -> The gallery mentioned back a few messages ago .. It really does take
-> > -> care of everything.. Including controlling permissions if
-> you need to do
-> > -> so...
-> > -> If you want to see a site that's using the software
-> (integrated within a
-> > -> postnuke - a feature of the gallery) check out
-> > -> http://www.conwayentertainment.com/
-> > -> And I just added a small addition of being able to send an
-> ecard of any
-> > -> of the pictures with ecards (again a postnuke module set)
-> > ->
-> > -> From the Desk of:
-> > -> Dan Horning     Owner
-> > ->  Dsoundmn's Web Creations
-> > -> Dsoundmn's Web Creations
-> > -> PO Box 109 Clifton Park, NY 12065-0109
-> > -> Email: info at dwc.to
-> > -> ------
-> > -> Online on
-> > -> AIM - dsoundmn (or dsoundmn1 for emergencies)
-> > -> ICQ - 14308614
-> > -> MSN - dan at dwc.to
-> > -> YIM - dsoundmn
-> > ->
-> > ->
-> > ->
-> > ->
-> > ->
-> > ->
-> > ->
-> > ->
-> > ->
-> > ->
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
->
->
->
-> --- Unsubscribe at http://nyphp.org/list/ ---
->
->




From dg_francisco at hotmail.com  Tue Dec 24 09:19:46 2002
From: dg_francisco at hotmail.com (Francisco Marin)
Date: Tue, 24 Dec 2002 09:19:46 -0500
Subject: [nycphp-talk] photo album
References: <200212241248.gBOCm2St003689@parsec.nyphp.org>
Message-ID: 

One More Way to Handle Images which we used at my previous job:

The form will upload the file and rename it as a random generated number ( I
believe it was 8 digits long). There was a folder called images and then
inside this folder there were 10 folders named 0 1 2 3 4 5 6 7 8 and 9. Once
the image is renamed, the program looks at the last digit of the name and
puts it in that directory. Obviously the name of the image was entered in
the DB. It may sound a little bit complicated but once we set it up it was
very easy to handle images since we had about 10000 images of Artists and CD
covers.
----- Original Message -----
From: "Christopher Hendry" 
To: "NYPHP Talk" 
Sent: Tuesday, December 24, 2002 7:48 AM
Subject: RE: [nycphp-talk] photo album


> yeah - call me a fool - but I'm not quite sure how to read phpinfo(), is
it
> in this line (ie, sparc?):
>
> SunOS no10 5.7 Generic_106541-08 sun4u sparc SUNW,UltraSPARC-IIi-Engine
>
> -> -----Original Message-----
> -> From: Winston Churchill-Joell [mailto:winston at xylophage.com]
> -> Sent: Tuesday, December 24, 2002 1:13 AM
> -> To: NYPHP Talk
> -> Subject: Re: [nycphp-talk] photo album
> ->
> ->
> -> phpinfo();
> ->
> -> Will give you a full breakdown of the version and configuration of PHP
> -> you're running, you're machine's OS and version as well as a multitude
of
> -> other useful information.
> ->
> -> On 12/23/02 11:08 PM, "Christopher Hendry"  wrote:
> ->
> -> > site looks good, and the gallery looks great, nice and clean and good
> -> > navigation.  However, I'm still just looking for the ability
> -> to manipulate
> -> > images - my latest (and greatest) problem is that the host
> -> that my site is
> -> > sitting on is on (get this) PHP4.0.3 - which does not allow
> -> the previously
> -> > mentioned gallery program to run (or configure) - so I'm
> -> trying to get the
> -> > netPBM library set up and just to use that to manipulate
> -> images, but so far
> -> > no luck - I know I'm on apache, and I think the software I'm
> -> on is Tomcat
> -> > (is that right???) - or maybe Sparc - can someone let me know
> -> how to find
> -> > out what software is running on my server.  I'm not very good
> -> with Unix, so
> -> > I'm not sure what I'm supposed to be doing with the netPBM
> -> library ... can
> -> > anyone out there help?
> -> >
> -> > Thanks all.  C
> -> >
> -> > -> -----Original Message-----
> -> > -> From: Dan Horning [mailto:dan at dwc.to]
> -> > -> Sent: Monday, December 23, 2002 10:09 PM
> -> > -> To: NYPHP Talk
> -> > -> Subject: RE: [nycphp-talk] photo album
> -> > ->
> -> > ->
> -> > -> On the note of a photo gallery ..
> -> > -> The gallery mentioned back a few messages ago .. It really does
take
> -> > -> care of everything.. Including controlling permissions if
> -> you need to do
> -> > -> so...
> -> > -> If you want to see a site that's using the software
> -> (integrated within a
> -> > -> postnuke - a feature of the gallery) check out
> -> > -> http://www.conwayentertainment.com/
> -> > -> And I just added a small addition of being able to send an
> -> ecard of any
> -> > -> of the pictures with ecards (again a postnuke module set)
> -> > ->
> -> > -> From the Desk of:
> -> > -> Dan Horning     Owner
> -> > ->  Dsoundmn's Web Creations
> -> > -> Dsoundmn's Web Creations
> -> > -> PO Box 109 Clifton Park, NY 12065-0109
> -> > -> Email: info at dwc.to
> -> > -> ------
> -> > -> Online on
> -> > -> AIM - dsoundmn (or dsoundmn1 for emergencies)
> -> > -> ICQ - 14308614
> -> > -> MSN - dan at dwc.to
> -> > -> YIM - dsoundmn
> -> > ->
> -> > ->
> -> > ->
> -> > ->
> -> > ->
> -> > ->
> -> > ->
> -> > ->
> -> > ->
> -> > ->
> -> >
> -> >
> -> >
> -> >
> -> >
> -> >
> -> >
> -> >
> ->
> ->
> ->
> ->
> ->
> ->
>
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>


From chun_lam at hotmail.com  Tue Dec 24 09:58:28 2002
From: chun_lam at hotmail.com (CHUN-YIU LAM)
Date: Tue, 24 Dec 2002 09:58:28 -0500
Subject: [nycphp-talk] photo album
Message-ID: 

If you are reading it by eye, you make a page like below:



and you save it.  Call it from a browser.  The setting and version with show 
up there.  If you are reading the info from a PHP script.  You have to use 
ini_get() function, because all these info are in php.ini file.

Matthew

----Original Message Follows----
From: "Christopher Hendry" 
Reply-To: talk at nyphp.org
To: NYPHP Talk 
Subject: RE: [nycphp-talk] photo album
Date: Tue, 24 Dec 2002 07:48:02 -0500
Received: from mc7-f30.law1.hotmail.com ([65.54.253.37]) by 
mc7-s14.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 24 Dec 
2002 04:52:48 -0800
Received: from parsec.nyphp.org ([66.250.131.26]) by 
mc7-f30.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 24 Dec 
2002 04:52:47 -0800
Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by 
parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBOCm2St003689;Tue, 24 Dec 
2002 07:48:02 -0500 (EST)(envelope-from listmaster at nyphp.org)
Message-Id: <200212241248.gBOCm2St003689 at parsec.nyphp.org>
X-Paralist-Archived: 
X-List-Software: Paralist 0.6
List-ID: 
List-Owner: 
List-Archive: 
List-Subscribe: 
List-Unsubscribe: 
Organization: New York PHP
X-Mailer: Paramail 0.5
Return-Path: listmaster at nyphp.org
X-OriginalArrivalTime: 24 Dec 2002 12:52:47.0670 (UTC) 
FILETIME=[5C263560:01C2AB4B]

yeah - call me a fool - but I'm not quite sure how to read phpinfo(), is it
in this line (ie, sparc?):

SunOS no10 5.7 Generic_106541-08 sun4u sparc SUNW,UltraSPARC-IIi-Engine

-> -----Original Message-----
-> From: Winston Churchill-Joell [mailto:winston at xylophage.com]
-> Sent: Tuesday, December 24, 2002 1:13 AM
-> To: NYPHP Talk
-> Subject: Re: [nycphp-talk] photo album
->
->
-> phpinfo();
->
-> Will give you a full breakdown of the version and configuration of PHP
-> you're running, you're machine's OS and version as well as a multitude of
-> other useful information.
->
-> On 12/23/02 11:08 PM, "Christopher Hendry"  wrote:
->
-> > site looks good, and the gallery looks great, nice and clean and good
-> > navigation.  However, I'm still just looking for the ability
-> to manipulate
-> > images - my latest (and greatest) problem is that the host
-> that my site is
-> > sitting on is on (get this) PHP4.0.3 - which does not allow
-> the previously
-> > mentioned gallery program to run (or configure) - so I'm
-> trying to get the
-> > netPBM library set up and just to use that to manipulate
-> images, but so far
-> > no luck - I know I'm on apache, and I think the software I'm
-> on is Tomcat
-> > (is that right???) - or maybe Sparc - can someone let me know
-> how to find
-> > out what software is running on my server.  I'm not very good
-> with Unix, so
-> > I'm not sure what I'm supposed to be doing with the netPBM
-> library ... can
-> > anyone out there help?
-> >
-> > Thanks all.  C
-> >
-> > -> -----Original Message-----
-> > -> From: Dan Horning [mailto:dan at dwc.to]
-> > -> Sent: Monday, December 23, 2002 10:09 PM
-> > -> To: NYPHP Talk
-> > -> Subject: RE: [nycphp-talk] photo album
-> > ->
-> > ->
-> > -> On the note of a photo gallery ..
-> > -> The gallery mentioned back a few messages ago .. It really does take
-> > -> care of everything.. Including controlling permissions if
-> you need to do
-> > -> so...
-> > -> If you want to see a site that's using the software
-> (integrated within a
-> > -> postnuke - a feature of the gallery) check out
-> > -> http://www.conwayentertainment.com/
-> > -> And I just added a small addition of being able to send an
-> ecard of any
-> > -> of the pictures with ecards (again a postnuke module set)
-> > ->
-> > -> From the Desk of:
-> > -> Dan Horning     Owner
-> > ->  Dsoundmn's Web Creations
-> > -> Dsoundmn's Web Creations
-> > -> PO Box 109 Clifton Park, NY 12065-0109
-> > -> Email: info at dwc.to
-> > -> ------
-> > -> Online on
-> > -> AIM - dsoundmn (or dsoundmn1 for emergencies)
-> > -> ICQ - 14308614
-> > -> MSN - dan at dwc.to
-> > -> YIM - dsoundmn
-> > ->
-> > ->
-> > ->
-> > ->
-> > ->
-> > ->
-> > ->
-> > ->
-> > ->
-> > ->
-> >
-> >
-> >
-> >
-> >
-> >
-> >
-> >
->
->
->
->
->
->




--- Unsubscribe at http://nyphp.org/list/ ---


_________________________________________________________________
The new MSN 8: smart spam protection and 3 months FREE*.  
http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspamprotection_3mf



From mike at hilliardfarber.com  Tue Dec 24 11:26:38 2002
From: mike at hilliardfarber.com (Michael J Lee)
Date: Tue, 24 Dec 2002 11:26:38 -0500
Subject: [nycphp-talk] photo album
In-Reply-To: <200212241458.gBOEwYSt004301@parsec.nyphp.org>
Message-ID: 

Hey All,
Thanks for all the replies and the help - I decided to go with the gallery
option but I'm running into a problem.  Anyone running gallery on dreamhost?
Their my hosting comp. and there is some info on how to get gallery working
on it but it's not working for me.  They apparently cut off access to
certain functions like exec() and stuff for sec. reasons so there is a
workaround using pcgi file formats (basically running the php as a cgi
script).  I'm still working with the techs on trying to figure out other
problems I'm having (locks and so on).  Could just be that I royally screwed
up the install  . . who knows =)  Any suggestions are welcome thanks!

Mike



From LarryC at indexstock.com  Tue Dec 24 12:46:56 2002
From: LarryC at indexstock.com (Larry Chuon)
Date: Tue, 24 Dec 2002 12:46:56 -0500
Subject: Digital Asset Management
Message-ID: <86713EAB93BD5F40B94A0C8E604C7C91AEB9C1@index-exchange.indexstock.com>

Does any know of any digital asset management software, preferably an
open-source?  The one based on PHP would be great.  Heck, we can't expect to
have everything our way. :)

Thanks and happy holidays!

Larry 


From mike at hilliardfarber.com  Tue Dec 24 13:59:28 2002
From: mike at hilliardfarber.com (Michael J Lee)
Date: Tue, 24 Dec 2002 13:59:28 -0500
Subject: Calender App
In-Reply-To: <200212241458.gBOEwYSt004301@parsec.nyphp.org>
Message-ID: 

Hi Again,
I've got another request of the group.  I'm wondering if anyone has
used/recommends a php/mysql based calender app that shows events - enter
events, edit, etc.  I setting up my church youthgroups site and I need a
calender to help keep track of various events and stuff.  Thanks for all the
help - still working with dreamhost about gallery.

Mike



From billpatterson48 at netscape.net  Wed Dec 25 01:26:13 2002
From: billpatterson48 at netscape.net (please reply to "patterson@computer.org")
Date: Wed, 25 Dec 2002 01:26:13 -0500
Subject: [nycphp-talk] photo album
Message-ID: <4BDFDE3E.72633187.C9B8F45B@netscape.net>

It would be better to keep a max-id in a central location.  Keep max-id in its own 1-row table and bump max-id everytime a new request comes in for a new-unique-file-name, then incorporate it in the file name returned.  The problem with an 8 digit random number is that at a very short time you will end up with a collision (the odds are not 1 in 10^8 that your system will experience a collision but are much less because each file id is competing with each other one).

Bill

"Francisco Marin"  wrote:

>One More Way to Handle Images which we used at my previous job:
>
>The form will upload the file and rename it as a random generated number ( I
>believe it was 8 digits long). There was a folder called images and then
>inside this folder there were 10 folders named 0 1 2 3 4 5 6 7 8 and 9. Once
>the image is renamed, the program looks at the last digit of the name and
>puts it in that directory. Obviously the name of the image was entered in
>the DB. It may sound a little bit complicated but once we set it up it was
>very easy to handle images since we had about 10000 images of Artists and CD
>covers.
>----- Original Message -----
>From: "Christopher Hendry" 
>To: "NYPHP Talk" 
>Sent: Tuesday, December 24, 2002 7:48 AM
>Subject: RE: [nycphp-talk] photo album
>
>
>> yeah - call me a fool - but I'm not quite sure how to read phpinfo(), is
>it
>> in this line (ie, sparc?):
>>
>> SunOS no10 5.7 Generic_106541-08 sun4u sparc SUNW,UltraSPARC-IIi-Engine
>>
>> -> -----Original Message-----
>> -> From: Winston Churchill-Joell [mailto:winston at xylophage.com]
>> -> Sent: Tuesday, December 24, 2002 1:13 AM
>> -> To: NYPHP Talk
>> -> Subject: Re: [nycphp-talk] photo album
>> ->
>> ->
>> -> phpinfo();
>> ->
>> -> Will give you a full breakdown of the version and configuration of PHP
>> -> you're running, you're machine's OS and version as well as a multitude
>of
>> -> other useful information.
>> ->
>> -> On 12/23/02 11:08 PM, "Christopher Hendry"  wrote:
>> ->
>> -> > site looks good, and the gallery looks great, nice and clean and good
>> -> > navigation. ?However, I'm still just looking for the ability
>> -> to manipulate
>> -> > images - my latest (and greatest) problem is that the host
>> -> that my site is
>> -> > sitting on is on (get this) PHP4.0.3 - which does not allow
>> -> the previously
>> -> > mentioned gallery program to run (or configure) - so I'm
>> -> trying to get the
>> -> > netPBM library set up and just to use that to manipulate
>> -> images, but so far
>> -> > no luck - I know I'm on apache, and I think the software I'm
>> -> on is Tomcat
>> -> > (is that right???) - or maybe Sparc - can someone let me know
>> -> how to find
>> -> > out what software is running on my server. ?I'm not very good
>> -> with Unix, so
>> -> > I'm not sure what I'm supposed to be doing with the netPBM
>> -> library ... can
>> -> > anyone out there help?
>> -> >
>> -> > Thanks all. ?C
>> -> >
>> -> > -> -----Original Message-----
>> -> > -> From: Dan Horning [mailto:dan at dwc.to]
>> -> > -> Sent: Monday, December 23, 2002 10:09 PM
>> -> > -> To: NYPHP Talk
>> -> > -> Subject: RE: [nycphp-talk] photo album
>> -> > ->
>> -> > ->
>> -> > -> On the note of a photo gallery ..
>> -> > -> The gallery mentioned back a few messages ago .. It really does
>take
>> -> > -> care of everything.. Including controlling permissions if
>> -> you need to do
>> -> > -> so...
>> -> > -> If you want to see a site that's using the software
>> -> (integrated within a
>> -> > -> postnuke - a feature of the gallery) check out
>> -> > -> http://www.conwayentertainment.com/
>> -> > -> And I just added a small addition of being able to send an
>> -> ecard of any
>> -> > -> of the pictures with ecards (again a postnuke module set)
>> -> > ->
>> -> > -> From the Desk of:
>> -> > -> Dan Horning ? ? Owner
>> -> > -> ?Dsoundmn's Web Creations
>> -> > -> Dsoundmn's Web Creations
>> -> > -> PO Box 109 Clifton Park, NY 12065-0109
>> -> > -> Email: info at dwc.to
>> -> > -> ------
>> -> > -> Online on
>> -> > -> AIM - dsoundmn (or dsoundmn1 for emergencies)
>> -> > -> ICQ - 14308614
>> -> > -> MSN - dan at dwc.to
>> -> > -> YIM - dsoundmn
>> -> > ->
>> -> > ->
>> -> > ->
>> -> > ->
>> -> > ->
>> -> > ->
>> -> > ->
>> -> > ->
>> -> > ->
>> -> > ->
>> -> >
>> -> >
>> -> >
>> -> >
>> -> >
>> -> >
>> -> >
>> -> >
>> ->
>> ->
>> ->
>> ->
>> ->
>> ->
>>
>>
>>
>>
>> 
>>
>
>
>--- Unsubscribe at http://nyphp.org/list/ ---
>
>
>


-- 
[please send replies to "patterson at computer.org"]


__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


From chun_lam at hotmail.com  Wed Dec 25 12:26:12 2002
From: chun_lam at hotmail.com (CHUN-YIU LAM)
Date: Wed, 25 Dec 2002 12:26:12 -0500
Subject: [nycphp-talk] Calender App
Message-ID: 

check on www.zend.com There is a tutorial of how to set up a calendar site.  
You can take that as your sample.

Matthew

----Original Message Follows----
From: "Michael J Lee" 
Reply-To: talk at nyphp.org
To: NYPHP Talk 
Subject: [nycphp-talk] Calender App
Date: Tue, 24 Dec 2002 14:00:11 -0500
Received: from mc8-f15.law1.hotmail.com ([65.54.253.151]) by 
mc8-s2.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 24 Dec 
2002 11:05:34 -0800
Received: from parsec.nyphp.org ([66.250.131.26]) by 
mc8-f15.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 24 Dec 
2002 11:05:34 -0800
Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by 
parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBOJ0BSt005512;Tue, 24 Dec 
2002 14:00:11 -0500 (EST)(envelope-from listmaster at nyphp.org)
Message-Id: <200212241900.gBOJ0BSt005512 at parsec.nyphp.org>
X-Paralist-Archived: 
X-List-Software: Paralist 0.6
List-ID: 
List-Owner: 
List-Archive: 
List-Subscribe: 
List-Unsubscribe: 
Organization: New York PHP
X-Mailer: Paramail 0.5
Return-Path: listmaster at nyphp.org
X-OriginalArrivalTime: 24 Dec 2002 19:05:34.0406 (UTC) 
FILETIME=[6FC34660:01C2AB7F]

Hi Again,
I've got another request of the group.  I'm wondering if anyone has
used/recommends a php/mysql based calender app that shows events - enter
events, edit, etc.  I setting up my church youthgroups site and I need a
calender to help keep track of various events and stuff.  Thanks for all the
help - still working with dreamhost about gallery.

Mike



--- Unsubscribe at http://nyphp.org/list/ ---


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 3 months FREE*. 
http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_virusprotection_3mf



From fields at surgam.net  Thu Dec 26 11:07:06 2002
From: fields at surgam.net (Adam Fields)
Date: Thu, 26 Dec 2002 10:07:06 -0600
Subject: [nycphp-talk] photo album
In-Reply-To: <200212250626.gBP6QNSt008792@parsec.nyphp.org>
References: <200212250626.gBP6QNSt008792@parsec.nyphp.org>
Message-ID: <20021226160706.GB7015@eye.surgam.net>

On Wed, Dec 25, 2002 at 01:26:23AM -0500, billpatterson48 at netscape.net wrote:
> It would be better to keep a max-id in a central location.  Keep
> max-id in its own 1-row table and bump max-id everytime a new
> request comes in for a new-unique-file-name, then incorporate it in
> the file name returned.  The problem with an 8 digit random number
> is that at a very short time you will end up with a collision (the
> odds are not 1 in 10^8 that your system will experience a collision
> but are much less because each file id is competing with each other
> one).

Generated random numbers should be fine if you append them to some
string that corresponds to what the image in.

>From experience, it is not a good idea to take a bunch of images and
rename them to random or sequential numbers - it makes it impossible
for a human to look at a file listing and see what you've got.


-- 
				- Adam

-----
Adam Fields, Managing Partner, fields at surgam.net
Surgam, Inc. is a technology consulting firm with strong background in
delivering scalable and robust enterprise web and IT applications.
http://www.adamfields.com


From georgenatalino at yahoo.com  Sat Dec 28 08:59:40 2002
From: georgenatalino at yahoo.com (georgenatalino at yahoo.com)
Date: Sat, 28 Dec 2002 08:59:40 -0500
Subject: A PHP coding contest. 
Message-ID: <3E0DAE4C.8B7AB3EF@yahoo.com>

An HTML attachment was scrubbed...
URL: 

From georgenatalino at yahoo.com  Sat Dec 28 09:19:51 2002
From: georgenatalino at yahoo.com (georgenatalino at yahoo.com)
Date: Sat, 28 Dec 2002 09:19:51 -0500
Subject: PHPCon 2002 Presentation: Making the Case for PHP at Yahoo!
Message-ID: <3E0DB307.7C46067B@yahoo.com>

An HTML attachment was scrubbed...
URL: 

From soazine at erols.com  Sat Dec 28 14:24:09 2002
From: soazine at erols.com (Phil Powell)
Date: Sat, 28 Dec 2002 14:24:09 -0500
Subject: Sorry, really stupid question...
Message-ID: <016001c2aea6$b2e4f9f0$2aaf6244@scandinawa1bo6>

Honestly, what does this do:

$fileID = fopen("nicknames.txt", "a") or die("Could not open " . $path . "/nicknames.txt");
   chmod("nicknames.txt", 0755);
   fputs($fileID, $nickname . "\
"); fflush($fileID); fclose($fileID);

What does it EXACTLY do?  What I'm trying to do is very very simple:  I have the nickname of "phil" and I add it to nicknames.txt as "phil" + "\
".  The next person adds his name as "bob" + "\
".  However, this happens:

phil
philbob

Is it due to the way I'm adding to the file?  Can someone show me how to append to a file properly without carrying over persistent existing data like what you see above, instead having it like this:

phil
bob

Thanx, I'm lost here.

Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From danielc at analysisandsolutions.com  Sat Dec 28 14:56:45 2002
From: danielc at analysisandsolutions.com (Analysis & Solutions)
Date: Sat, 28 Dec 2002 14:56:45 -0500
Subject: [nycphp-talk] Sorry, really stupid question...
In-Reply-To: <200212281926.gBSJQTSt036236@parsec.nyphp.org>
References: <200212281926.gBSJQTSt036236@parsec.nyphp.org>
Message-ID: <20021228195645.GA25739@panix.com>

On Sat, Dec 28, 2002 at 02:26:29PM -0500, Phil Powell wrote:

> $fileID = fopen("nicknames.txt", "a") or die("Could not open " . $path . "/nicknames.txt");
>    chmod("nicknames.txt", 0755);
>    fputs($fileID, $nickname . "\
"); fflush($fileID); fclose($fileID);

Let's rewrite this in more efficient, readable code...
   $File = '/path/to/nicknames.txt';
   $fileID = fopen($File, 'a') or die("Could not open $File");
   fputs($fileID, "$nickname\
");

Key changes...
   * Have the file chmoded in the first place, not every time you open it 
     up, nor while you have it open already.
   * Changed double quotes to single quotes in fopen statement.  Double 
     quotes only needed when strings are evaluated (have variables in 
     them).
   * fflush() isn't needed at all.
   * fclose() happens automatically when the script ends, so is 
     only helpful when you have a long script.

--Dan

-- 
               PHP classes that make web design easier
    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 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409


From fields at surgam.net  Sat Dec 28 15:18:17 2002
From: fields at surgam.net (Adam Fields)
Date: Sat, 28 Dec 2002 14:18:17 -0600
Subject: [nycphp-talk] Sorry, really stupid question...
In-Reply-To: <200212281956.gBSJupSt036404@parsec.nyphp.org>
References: <200212281956.gBSJupSt036404@parsec.nyphp.org>
Message-ID: <20021228201817.GJ17012@eye.surgam.net>

On Sat, Dec 28, 2002 at 02:56:51PM -0500, Analysis & Solutions wrote:
>    * fclose() happens automatically when the script ends, so is 
>      only helpful when you have a long script.

Still, it's a good habit to close resources you open.

But you still didn't answer the original question.

Phil, what is the rest of the code doing?

-- 
				- Adam

-----
Adam Fields, Managing Partner, fields at surgam.net
Surgam, Inc. is a technology consulting firm with strong background in
delivering scalable and robust enterprise web and IT applications.
http://www.adamfields.com


From soazine at erols.com  Sat Dec 28 15:29:50 2002
From: soazine at erols.com (Phil Powell)
Date: Sat, 28 Dec 2002 15:29:50 -0500
Subject: [nycphp-talk] Sorry, really stupid question...
References: <200212281956.gBSJupSt036404@parsec.nyphp.org>
Message-ID: <017401c2aeaf$df416570$2aaf6244@scandinawa1bo6>

Why is fflush() not needed?

Phil
----- Original Message -----
From: "Analysis & Solutions" 
To: "NYPHP Talk" 
Sent: Saturday, December 28, 2002 2:56 PM
Subject: Re: [nycphp-talk] Sorry, really stupid question...


> On Sat, Dec 28, 2002 at 02:26:29PM -0500, Phil Powell wrote:
>
> > $fileID = fopen("nicknames.txt", "a") or die("Could not open " . $path .
"/nicknames.txt");
> >    chmod("nicknames.txt", 0755);
> >    fputs($fileID, $nickname . "\
"); fflush($fileID); fclose($fileID);
>
> Let's rewrite this in more efficient, readable code...
>    $File = '/path/to/nicknames.txt';
>    $fileID = fopen($File, 'a') or die("Could not open $File");
>    fputs($fileID, "$nickname\
");
>
> Key changes...
>    * Have the file chmoded in the first place, not every time you open it
>      up, nor while you have it open already.
>    * Changed double quotes to single quotes in fopen statement.  Double
>      quotes only needed when strings are evaluated (have variables in
>      them).
>    * fflush() isn't needed at all.
>    * fclose() happens automatically when the script ends, so is
>      only helpful when you have a long script.
>
> --Dan
>
> --
>                PHP classes that make web design easier
>     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 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>



From soazine at erols.com  Sat Dec 28 15:30:41 2002
From: soazine at erols.com (Phil Powell)
Date: Sat, 28 Dec 2002 15:30:41 -0500
Subject: [nycphp-talk] Sorry, really stupid question...
References: <200212282018.gBSKIVSt036519@parsec.nyphp.org>
Message-ID: <017a01c2aeaf$fdb0fde0$2aaf6244@scandinawa1bo6>

Adam, it's a lot more complicated than I thought.  Basically, it involves 3
PHP files and 4 TCL files, along with 2 flat text files.  I will have to
tackle this on my own unless you want to view about 11 files including HTML.

Sorry

Phil
----- Original Message -----
From: "Adam Fields" 
To: "NYPHP Talk" 
Sent: Saturday, December 28, 2002 3:18 PM
Subject: Re: [nycphp-talk] Sorry, really stupid question...


> On Sat, Dec 28, 2002 at 02:56:51PM -0500, Analysis & Solutions wrote:
> >    * fclose() happens automatically when the script ends, so is
> >      only helpful when you have a long script.
>
> Still, it's a good habit to close resources you open.
>
> But you still didn't answer the original question.
>
> Phil, what is the rest of the code doing?
>
> --
> - Adam
>
> -----
> Adam Fields, Managing Partner, fields at surgam.net
> Surgam, Inc. is a technology consulting firm with strong background in
> delivering scalable and robust enterprise web and IT applications.
> http://www.adamfields.com
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>



From soazine at erols.com  Sat Dec 28 15:32:21 2002
From: soazine at erols.com (Phil Powell)
Date: Sat, 28 Dec 2002 15:32:21 -0500
Subject: [nycphp-talk] Sorry, really stupid question...
References: <200212281956.gBSJupSt036404@parsec.nyphp.org>
Message-ID: <018401c2aeb0$396f7c80$2aaf6244@scandinawa1bo6>

"Have the file chmoded"...

You completely lost me.  How can I chmod a file I have not yet opened?

Phil
----- Original Message -----
From: "Analysis & Solutions" 
To: "NYPHP Talk" 
Sent: Saturday, December 28, 2002 2:56 PM
Subject: Re: [nycphp-talk] Sorry, really stupid question...


> On Sat, Dec 28, 2002 at 02:26:29PM -0500, Phil Powell wrote:
>
> > $fileID = fopen("nicknames.txt", "a") or die("Could not open " . $path .
"/nicknames.txt");
> >    chmod("nicknames.txt", 0755);
> >    fputs($fileID, $nickname . "\
"); fflush($fileID); fclose($fileID);
>
> Let's rewrite this in more efficient, readable code...
>    $File = '/path/to/nicknames.txt';
>    $fileID = fopen($File, 'a') or die("Could not open $File");
>    fputs($fileID, "$nickname\
");
>
> Key changes...
>    * Have the file chmoded in the first place, not every time you open it
>      up, nor while you have it open already.
>    * Changed double quotes to single quotes in fopen statement.  Double
>      quotes only needed when strings are evaluated (have variables in
>      them).
>    * fflush() isn't needed at all.
>    * fclose() happens automatically when the script ends, so is
>      only helpful when you have a long script.
>
> --Dan
>
> --
>                PHP classes that make web design easier
>     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 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>



From sterling at bumblebury.com  Sat Dec 28 15:50:51 2002
From: sterling at bumblebury.com (Sterling Hughes)
Date: Sat, 28 Dec 2002 15:50:51 -0500
Subject: [nycphp-talk] Sorry, really stupid question...
In-Reply-To: <200212282034.gBSKYeSt036621@parsec.nyphp.org>
References: <200212282034.gBSKYeSt036621@parsec.nyphp.org>
Message-ID: <20021228205051.GG78185@bumblebury.com>

> "Have the file chmoded"...
> 
>You completely lost me.  How can I chmod a file I have not yet opened?
>

You can chmod a file at anytime, whether it is open or not.  at the command
line you use the chmod command.

In response to the various fclose() message:
    fclose() is *never* necessary.  not even in long scripts, short scripts
    or medium sized scripts. PHP 4 is reference counted, meaning when 
    the file pointer variable is no longer referenced in the script it is
    automatically cleaned up.

-Sterling

> Phil
> ----- Original Message -----
> From: "Analysis & Solutions" 
> To: "NYPHP Talk" 
> Sent: Saturday, December 28, 2002 2:56 PM
> Subject: Re: [nycphp-talk] Sorry, really stupid question...
> 
> 
> > On Sat, Dec 28, 2002 at 02:26:29PM -0500, Phil Powell wrote:
> >
> > > $fileID = fopen("nicknames.txt", "a") or die("Could not open " . $path .
> "/nicknames.txt");
> > >    chmod("nicknames.txt", 0755);
> > >    fputs($fileID, $nickname . "\
"); fflush($fileID); fclose($fileID);
> >
> > Let's rewrite this in more efficient, readable code...
> >    $File = '/path/to/nicknames.txt';
> >    $fileID = fopen($File, 'a') or die("Could not open $File");
> >    fputs($fileID, "$nickname\
");
> >
> > Key changes...
> >    * Have the file chmoded in the first place, not every time you open it
> >      up, nor while you have it open already.
> >    * Changed double quotes to single quotes in fopen statement.  Double
> >      quotes only needed when strings are evaluated (have variables in
> >      them).
> >    * fflush() isn't needed at all.
> >    * fclose() happens automatically when the script ends, so is
> >      only helpful when you have a long script.
> >
> > --Dan
> >
> > --
> >                PHP classes that make web design easier
> >     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 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409
> >
> >
> > 
> >
> >
> 
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 


From fields at surgam.net  Sat Dec 28 15:55:43 2002
From: fields at surgam.net (Adam Fields)
Date: Sat, 28 Dec 2002 14:55:43 -0600
Subject: [nycphp-talk] Sorry, really stupid question...
In-Reply-To: <200212282033.gBSKX0St036604@parsec.nyphp.org>
References: <200212282033.gBSKX0St036604@parsec.nyphp.org>
Message-ID: <20021228205543.GN17012@eye.surgam.net>

On Sat, Dec 28, 2002 at 03:33:00PM -0500, Phil Powell wrote:
> Adam, it's a lot more complicated than I thought.  Basically, it involves 3
> PHP files and 4 TCL files, along with 2 flat text files.  I will have to
> tackle this on my own unless you want to view about 11 files including HTML.

Well, you could always hire me to consult on it. Contact me offlist if
you're interested in that.

But it sounds like the problem is that the variable isn't getting
correctly reset between instances.

> Sorry
> 
> Phil
> ----- Original Message -----
> From: "Adam Fields" 
> To: "NYPHP Talk" 
> Sent: Saturday, December 28, 2002 3:18 PM
> Subject: Re: [nycphp-talk] Sorry, really stupid question...
> 
> 
> > On Sat, Dec 28, 2002 at 02:56:51PM -0500, Analysis & Solutions wrote:
> > >    * fclose() happens automatically when the script ends, so is
> > >      only helpful when you have a long script.
> >
> > Still, it's a good habit to close resources you open.
> >
> > But you still didn't answer the original question.
> >
> > Phil, what is the rest of the code doing?
> >
> > --
> > - Adam
> >
> > -----
> > Adam Fields, Managing Partner, fields at surgam.net
> > Surgam, Inc. is a technology consulting firm with strong background in
> > delivering scalable and robust enterprise web and IT applications.
> > http://www.adamfields.com
> >
> >
> > 
> >
> >
> 
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 

-- 
				- Adam

-----
Adam Fields, Managing Partner, fields at surgam.net
Surgam, Inc. is a technology consulting firm with strong background in
delivering scalable and robust enterprise web and IT applications.
http://www.adamfields.com


From bit5hift at ethernet.tk  Sat Dec 28 15:57:19 2002
From: bit5hift at ethernet.tk (bit5hift at ethernet.tk)
Date: Sat, 28 Dec 2002 15:57:19 -0500
Subject: [nycphp-talk] Sorry, really stupid question...
In-Reply-To: <200212282034.gBSKYeSt036621@parsec.nyphp.org>
References: <200212282034.gBSKYeSt036621@parsec.nyphp.org>
Message-ID: <20021228205719.GA17936@burnt.ethernet.tk>

On Sat, 2002-12-28, Phil Powell wrote:
> "Have the file chmoded"...
> 
> You completely lost me.  How can I chmod a file I have not yet opened?

chmod the file in your *nix shell.
not in the php script.

> 
> Phil
> ----- Original Message -----
> From: "Analysis & Solutions" 
> To: "NYPHP Talk" 
> Sent: Saturday, December 28, 2002 2:56 PM
> Subject: Re: [nycphp-talk] Sorry, really stupid question...
> 
> 
> > On Sat, Dec 28, 2002 at 02:26:29PM -0500, Phil Powell wrote:
> >
> > > $fileID = fopen("nicknames.txt", "a") or die("Could not open " . $path .
> "/nicknames.txt");
> > >    chmod("nicknames.txt", 0755);
> > >    fputs($fileID, $nickname . "\
"); fflush($fileID); fclose($fileID);
> >
> > Let's rewrite this in more efficient, readable code...
> >    $File = '/path/to/nicknames.txt';
> >    $fileID = fopen($File, 'a') or die("Could not open $File");
> >    fputs($fileID, "$nickname\
");
> >
> > Key changes...
> >    * Have the file chmoded in the first place, not every time you open it
> >      up, nor while you have it open already.
> >    * Changed double quotes to single quotes in fopen statement.  Double
> >      quotes only needed when strings are evaluated (have variables in
> >      them).
> >    * fflush() isn't needed at all.
> >    * fclose() happens automatically when the script ends, so is
> >      only helpful when you have a long script.
> >
> > --Dan
> >
> > --
> >                PHP classes that make web design easier
> >     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 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409
> >
> >
> > 
> >
> >
> 
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 


------------------------------------------------------------------------
F u cn rd ths u cnt spl wrth a dm!

Web site (with key):  http://ethernet.tk/bit5hift/
GPG key fingerprint:  562E 9C20 1122 907C A7AB  AA6A 601C 6920 9909 58B3
------------------------------------------------------------------------



From fields at surgam.net  Sat Dec 28 16:01:10 2002
From: fields at surgam.net (Adam Fields)
Date: Sat, 28 Dec 2002 15:01:10 -0600
Subject: [nycphp-talk] Sorry, really stupid question...
In-Reply-To: <200212282034.gBSKYeSt036621@parsec.nyphp.org>
References: <200212282034.gBSKYeSt036621@parsec.nyphp.org>
Message-ID: <20021228210110.GO17012@eye.surgam.net>

On Sat, Dec 28, 2002 at 03:34:40PM -0500, Phil Powell wrote:
> "Have the file chmoded"...
> 
> You completely lost me.  How can I chmod a file I have not yet opened?

chmod() is a standalone function, and not part of the stream
read/write set. You don't have to have the file open to use it. It's
as if you called chmod directly from the shell.

You do, however, need to supply it a full path.

You may need to use fflush, if you run into buffering issues. Under
normal conditions, you shouldn't have to. You can explicitly use
stream_set_write_buffer to configure your stream for no buffering, but
again, unless you have a good reason to do so, you shouldn't.

> Phil
> ----- Original Message -----
> From: "Analysis & Solutions" 
> To: "NYPHP Talk" 
> Sent: Saturday, December 28, 2002 2:56 PM
> Subject: Re: [nycphp-talk] Sorry, really stupid question...
> 
> 
> > On Sat, Dec 28, 2002 at 02:26:29PM -0500, Phil Powell wrote:
> >
> > > $fileID = fopen("nicknames.txt", "a") or die("Could not open " . $path .
> "/nicknames.txt");
> > >    chmod("nicknames.txt", 0755);
> > >    fputs($fileID, $nickname . "\
"); fflush($fileID); fclose($fileID);
> >
> > Let's rewrite this in more efficient, readable code...
> >    $File = '/path/to/nicknames.txt';
> >    $fileID = fopen($File, 'a') or die("Could not open $File");
> >    fputs($fileID, "$nickname\
");
> >
> > Key changes...
> >    * Have the file chmoded in the first place, not every time you open it
> >      up, nor while you have it open already.
> >    * Changed double quotes to single quotes in fopen statement.  Double
> >      quotes only needed when strings are evaluated (have variables in
> >      them).
> >    * fflush() isn't needed at all.
> >    * fclose() happens automatically when the script ends, so is
> >      only helpful when you have a long script.
> >
> > --Dan
> >
> > --
> >                PHP classes that make web design easier
> >     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 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409
> >
> >
> > 
> >
> >
> 
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 

-- 
				- Adam

-----
Adam Fields, Managing Partner, fields at surgam.net
Surgam, Inc. is a technology consulting firm with strong background in
delivering scalable and robust enterprise web and IT applications.
http://www.adamfields.com


From bradley at bestweb.net  Sat Dec 28 16:49:25 2002
From: bradley at bestweb.net (Bradley Baumann)
Date: Sat, 28 Dec 2002 16:49:25 -0500
Subject: [nycphp-talk] Sorry, really stupid question...
References: <200212282057.gBSKvPSt036842@parsec.nyphp.org>
Message-ID: <005101c2aeba$fd9118d0$0300a8c0@prophxp>

Just to clear up what may seem to be a very universal statement,
I think that for this script chmod the *nix shell would be a better idea...

But also know that sometimes it IS appropriate to chmod with a PHP script.
For example, sometimes while making directories, or uploading files.

Good luck.
-Bradley


----- Original Message -----
From: 
To: "NYPHP Talk" 
Sent: Saturday, December 28, 2002 3:57 PM
Subject: Re: [nycphp-talk] Sorry, really stupid question...


> On Sat, 2002-12-28, Phil Powell wrote:
> > "Have the file chmoded"...
> >
> > You completely lost me.  How can I chmod a file I have not yet opened?
>
> chmod the file in your *nix shell.
> not in the php script.
>
> >
> > Phil
> > ----- Original Message -----
> > From: "Analysis & Solutions" 
> > To: "NYPHP Talk" 
> > Sent: Saturday, December 28, 2002 2:56 PM
> > Subject: Re: [nycphp-talk] Sorry, really stupid question...
> >
> >
> > > On Sat, Dec 28, 2002 at 02:26:29PM -0500, Phil Powell wrote:
> > >
> > > > $fileID = fopen("nicknames.txt", "a") or die("Could not open " .
$path .
> > "/nicknames.txt");
> > > >    chmod("nicknames.txt", 0755);
> > > >    fputs($fileID, $nickname . "\
"); fflush($fileID);
fclose($fileID);
> > >
> > > Let's rewrite this in more efficient, readable code...
> > >    $File = '/path/to/nicknames.txt';
> > >    $fileID = fopen($File, 'a') or die("Could not open $File");
> > >    fputs($fileID, "$nickname\
");
> > >
> > > Key changes...
> > >    * Have the file chmoded in the first place, not every time you open
it
> > >      up, nor while you have it open already.
> > >    * Changed double quotes to single quotes in fopen statement.
Double
> > >      quotes only needed when strings are evaluated (have variables in
> > >      them).
> > >    * fflush() isn't needed at all.
> > >    * fclose() happens automatically when the script ends, so is
> > >      only helpful when you have a long script.
> > >
> > > --Dan
> > >
> > > --
> > >                PHP classes that make web design easier
> > >     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 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
>
>
> ------------------------------------------------------------------------
> F u cn rd ths u cnt spl wrth a dm!
>
> Web site (with key):  http://ethernet.tk/bit5hift/
> GPG key fingerprint:  562E 9C20 1122 907C A7AB  AA6A 601C 6920 9909 58B3
> ------------------------------------------------------------------------
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>



From chun_lam at hotmail.com  Sat Dec 28 19:10:10 2002
From: chun_lam at hotmail.com (CHUN-YIU LAM)
Date: Sat, 28 Dec 2002 19:10:10 -0500
Subject: [nycphp-talk] Sorry, really stupid question...
Message-ID: 

$fileID = fopen("nicknames.txt", "a") or
   die("Could not open " . $path . "/nicknames.txt");
chmod("nicknames.txt", 0755);
fputs($fileID, $nickname . "\
");
fflush($fileID);
fclose($fileID);

Get this.  This may not be your fault.  If you are looking at it from the 
web brower, you forget to put 
. Matthew _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 3 months FREE*. http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_stopmorespam_3mf From brian at preston-campbell.com Sat Dec 28 19:40:46 2002 From: brian at preston-campbell.com (Brian) Date: Sat, 28 Dec 2002 19:40:46 -0500 Subject: [nycphp-talk] Sorry, really stupid question... In-Reply-To: <200212290010.gBT0AJSt037836@parsec.nyphp.org> References: <200212290010.gBT0AJSt037836@parsec.nyphp.org> Message-ID: <200212281940.46906.brian@preston-campbell.com> Why chmod 755? Wouldn't 666 suffice since you are not executing the text file? Brian On Saturday 28 December 2002 07:10 pm, CHUN-YIU LAM wrote: > $fileID = fopen("nicknames.txt", "a") or > die("Could not open " . $path . "/nicknames.txt"); > chmod("nicknames.txt", 0755); > fputs($fileID, $nickname . "\ "); > fflush($fileID); > fclose($fileID); > > Get this. This may not be your fault. If you are looking at it from the > web brower, you forget to put
. > > Matthew > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 3 months FREE*. > http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=74 >74&SU= > http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_stopmoresp >am_3mf > > > > --- Unsubscribe at http://nyphp.org/list/ --- From chun_lam at hotmail.com Sat Dec 28 20:36:05 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Sat, 28 Dec 2002 20:36:05 -0500 Subject: [nycphp-talk] Sorry, really stupid question... Message-ID: Another question is why chmod in php script? Unless you are trying to simulate semaphore, you don't need to do chmod in the script. If you are trying to simulate semaphore, this is a bad practice. You can do that on the shell if we are talking about *nix. If we are talking about windows, then you can forget about it. Matthew ----Original Message Follows---- From: Brian Reply-To: talk at nyphp.org To: NYPHP Talk Subject: Re: [nycphp-talk] Sorry, really stupid question... Date: Sat, 28 Dec 2002 19:40:59 -0500 Received: from mc6-f40.law1.hotmail.com ([65.54.252.176]) by mc6-s20.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sat, 28 Dec 2002 16:44:15 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc6-f40.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sat, 28 Dec 2002 16:44:15 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBT0exSt037993;Sat, 28 Dec 2002 19:40:59 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212290040.gBT0exSt037993 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 29 Dec 2002 00:44:15.0593 (UTC) FILETIME=[69C95590:01C2AED3] Why chmod 755? Wouldn't 666 suffice since you are not executing the text file? Brian On Saturday 28 December 2002 07:10 pm, CHUN-YIU LAM wrote: > $fileID = fopen("nicknames.txt", "a") or > die("Could not open " . $path . "/nicknames.txt"); > chmod("nicknames.txt", 0755); > fputs($fileID, $nickname . "\ "); > fflush($fileID); > fclose($fileID); > > Get this. This may not be your fault. If you are looking at it from the > web brower, you forget to put
. > > Matthew > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 3 months FREE*. > http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=74 >74&SU= > http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_stopmoresp >am_3mf > > > > --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ MSN 8 with e-mail virus protection service: 3 months FREE*. http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_eliminateviruses_3mf From soazine at erols.com Sun Dec 29 02:07:36 2002 From: soazine at erols.com (Phil Powell) Date: Sun, 29 Dec 2002 02:07:36 -0500 Subject: [nycphp-talk] Sorry, really stupid question... References: <200212282055.gBSKtqSt036781@parsec.nyphp.org> Message-ID: <01b901c2af08$f79ce910$2aaf6244@scandinawa1bo6> I'm at -$300.00 in my bank account and maxed out two credit cards. I can't hire anything on earth right now. :( Phil ----- Original Message ----- From: "Adam Fields" To: "NYPHP Talk" Sent: Saturday, December 28, 2002 3:55 PM Subject: Re: [nycphp-talk] Sorry, really stupid question... > On Sat, Dec 28, 2002 at 03:33:00PM -0500, Phil Powell wrote: > > Adam, it's a lot more complicated than I thought. Basically, it involves 3 > > PHP files and 4 TCL files, along with 2 flat text files. I will have to > > tackle this on my own unless you want to view about 11 files including HTML. > > Well, you could always hire me to consult on it. Contact me offlist if > you're interested in that. > > But it sounds like the problem is that the variable isn't getting > correctly reset between instances. > > > Sorry > > > > Phil > > ----- Original Message ----- > > From: "Adam Fields" > > To: "NYPHP Talk" > > Sent: Saturday, December 28, 2002 3:18 PM > > Subject: Re: [nycphp-talk] Sorry, really stupid question... > > > > > > > On Sat, Dec 28, 2002 at 02:56:51PM -0500, Analysis & Solutions wrote: > > > > * fclose() happens automatically when the script ends, so is > > > > only helpful when you have a long script. > > > > > > Still, it's a good habit to close resources you open. > > > > > > But you still didn't answer the original question. > > > > > > Phil, what is the rest of the code doing? > > > > > > -- > > > - Adam > > > > > > ----- > > > Adam Fields, Managing Partner, fields at surgam.net > > > Surgam, Inc. is a technology consulting firm with strong background in > > > delivering scalable and robust enterprise web and IT applications. > > > http://www.adamfields.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > - Adam > > ----- > Adam Fields, Managing Partner, fields at surgam.net > Surgam, Inc. is a technology consulting firm with strong background in > delivering scalable and robust enterprise web and IT applications. > http://www.adamfields.com > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From soazine at erols.com Sun Dec 29 02:07:58 2002 From: soazine at erols.com (Phil Powell) Date: Sun, 29 Dec 2002 02:07:58 -0500 Subject: [nycphp-talk] Sorry, really stupid question... References: <200212282057.gBSKvPSt036842@parsec.nyphp.org> Message-ID: <01bf01c2af09$04d57660$2aaf6244@scandinawa1bo6> I can't do that, it's a remote server, sorry. Phil ----- Original Message ----- From: To: "NYPHP Talk" Sent: Saturday, December 28, 2002 3:57 PM Subject: Re: [nycphp-talk] Sorry, really stupid question... > On Sat, 2002-12-28, Phil Powell wrote: > > "Have the file chmoded"... > > > > You completely lost me. How can I chmod a file I have not yet opened? > > chmod the file in your *nix shell. > not in the php script. > > > > > Phil > > ----- Original Message ----- > > From: "Analysis & Solutions" > > To: "NYPHP Talk" > > Sent: Saturday, December 28, 2002 2:56 PM > > Subject: Re: [nycphp-talk] Sorry, really stupid question... > > > > > > > On Sat, Dec 28, 2002 at 02:26:29PM -0500, Phil Powell wrote: > > > > > > > $fileID = fopen("nicknames.txt", "a") or die("Could not open " . $path . > > "/nicknames.txt"); > > > > chmod("nicknames.txt", 0755); > > > > fputs($fileID, $nickname . "\ "); fflush($fileID); fclose($fileID); > > > > > > Let's rewrite this in more efficient, readable code... > > > $File = '/path/to/nicknames.txt'; > > > $fileID = fopen($File, 'a') or die("Could not open $File"); > > > fputs($fileID, "$nickname\ "); > > > > > > Key changes... > > > * Have the file chmoded in the first place, not every time you open it > > > up, nor while you have it open already. > > > * Changed double quotes to single quotes in fopen statement. Double > > > quotes only needed when strings are evaluated (have variables in > > > them). > > > * fflush() isn't needed at all. > > > * fclose() happens automatically when the script ends, so is > > > only helpful when you have a long script. > > > > > > --Dan > > > > > > -- > > > PHP classes that make web design easier > > > 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 7th Ave #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > F u cn rd ths u cnt spl wrth a dm! > > Web site (with key): http://ethernet.tk/bit5hift/ > GPG key fingerprint: 562E 9C20 1122 907C A7AB AA6A 601C 6920 9909 58B3 > ------------------------------------------------------------------------ > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From soazine at erols.com Sun Dec 29 02:09:40 2002 From: soazine at erols.com (Phil Powell) Date: Sun, 29 Dec 2002 02:09:40 -0500 Subject: [nycphp-talk] Sorry, really stupid question... References: <200212290136.gBT1aLSt038278@parsec.nyphp.org> Message-ID: <01d101c2af09$41b1c110$2aaf6244@scandinawa1bo6> Again, I can't do that. The file must be set to 0755 and I can only do it remotely because the chatroom is on a remote server, and I am legally not allowed to have a webserver running here in Northern Virginia. Phil ----- Original Message ----- From: "CHUN-YIU LAM" To: "NYPHP Talk" Sent: Saturday, December 28, 2002 8:36 PM Subject: Re: [nycphp-talk] Sorry, really stupid question... > Another question is why chmod in php script? Unless you are trying to > simulate semaphore, you don't need to do chmod in the script. If you are > trying to simulate semaphore, this is a bad practice. You can do that on the > shell if we are talking about *nix. If we are talking about windows, then > you can forget about it. > > Matthew > > ----Original Message Follows---- > From: Brian > Reply-To: talk at nyphp.org > To: NYPHP Talk > Subject: Re: [nycphp-talk] Sorry, really stupid question... > Date: Sat, 28 Dec 2002 19:40:59 -0500 > Received: from mc6-f40.law1.hotmail.com ([65.54.252.176]) by > mc6-s20.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sat, 28 Dec > 2002 16:44:15 -0800 > Received: from parsec.nyphp.org ([66.250.131.26]) by > mc6-f40.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sat, 28 Dec > 2002 16:44:15 -0800 > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBT0exSt037993;Sat, 28 Dec > 2002 19:40:59 -0500 (EST)(envelope-from listmaster at nyphp.org) > Message-Id: <200212290040.gBT0exSt037993 at parsec.nyphp.org> > X-Paralist-Archived: > X-List-Software: Paralist 0.6 > List-ID: > List-Owner: > List-Archive: > List-Subscribe: > List-Unsubscribe: > Organization: New York PHP > X-Mailer: Paramail 0.5 > Return-Path: listmaster at nyphp.org > X-OriginalArrivalTime: 29 Dec 2002 00:44:15.0593 (UTC) > FILETIME=[69C95590:01C2AED3] > > Why chmod 755? Wouldn't 666 suffice since you are not executing the text > file? > > Brian > > On Saturday 28 December 2002 07:10 pm, CHUN-YIU LAM wrote: > > $fileID = fopen("nicknames.txt", "a") or > > die("Could not open " . $path . "/nicknames.txt"); > > chmod("nicknames.txt", 0755); > > fputs($fileID, $nickname . "\ "); > > fflush($fileID); > > fclose($fileID); > > > > Get this. This may not be your fault. If you are looking at it from the > > web brower, you forget to put
. > > > > Matthew > > > > _________________________________________________________________ > > STOP MORE SPAM with the new MSN 8 and get 3 months FREE*. > > > http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=74 > >74&SU= > > > http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_stopmoresp > >am_3mf > > > > > > > > > > > > > > > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 3 months FREE*. > http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&S U= > http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_eliminatevi ruses_3mf > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From soazine at erols.com Sun Dec 29 04:08:38 2002 From: soazine at erols.com (Phil Powell) Date: Sun, 29 Dec 2002 04:08:38 -0500 Subject: Warning: 1 is not a valid File-Handle resource - HELP! Message-ID: <021801c2af19$e05909d0$2aaf6244@scandinawa1bo6> Ok, I am a bad coder. :( I can't figure this out at all: $fileID = fopen("nicknames.txt", 'r'); $stuff = fread($fileID, filesize("nicknames.txt")); fclose($fileID); if (strlen($stuff) > 0) $priorNickNewLine = "\ "; $nicks = explode("\ ", $stuff); The last line produces the Warning.. why? I am trying to read contents from nicknames.txt and split according to the newline character so that each nickname is an array element. What did I do wrong? :( Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at preston-campbell.com Sun Dec 29 09:21:44 2002 From: brian at preston-campbell.com (Brian) Date: 29 Dec 2002 09:21:44 -0500 Subject: [nycphp-talk] Warning: 1 is not a valid File-Handle resource - HELP! In-Reply-To: <200212290910.gBT9AxSt040850@parsec.nyphp.org> References: <200212290910.gBT9AxSt040850@parsec.nyphp.org> Message-ID: <1041171710.1767.12.camel@localhost> Not to add any further confusion if you are simply wish to fix what you have, but you could read the contents of your textfile into an array with file() $nicks = file("nicknames.txt"); // You then use rtrim() to remove any unwanted whitespace,newlines, or carriage returns at the end of each item. foreach ($nicks as $nick) { $trimmed_nick = rtrim($nick); echo "$trimmed_nick
"; } On Sun, 2002-12-29 at 04:10, Phil Powell wrote: > Ok, I am a bad coder. :( I can't figure this out at all: > > $fileID = fopen("nicknames.txt", 'r'); > $stuff = fread($fileID, filesize("nicknames.txt")); fclose($fileID); > if (strlen($stuff) > 0) $priorNickNewLine = "\ "; > $nicks = explode("\ ", $stuff); > > The last line produces the Warning.. why? I am trying to read contents from nicknames.txt and split according to the newline character so that each nickname is an array element. > > What did I do wrong? :( > > Phil > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > From danielc at analysisandsolutions.com Sun Dec 29 11:46:38 2002 From: danielc at analysisandsolutions.com (Analysis & Solutions) Date: Sun, 29 Dec 2002 11:46:38 -0500 Subject: [nycphp-talk] Sorry, really stupid question... In-Reply-To: <200212290710.gBT7AISt039966@parsec.nyphp.org> <200212282055.gBSKtqSt036781@parsec.nyphp.org> <200212282034.gBSKYeSt036621@parsec.nyphp.org> <200212282032.gBSKW8St036598@parsec.nyphp.org> <200212282018.gBSKIVSt036519@parsec.nyphp.org> References: <200212290710.gBT7AISt039966@parsec.nyphp.org> <200212282055.gBSKtqSt036781@parsec.nyphp.org> <200212282034.gBSKYeSt036621@parsec.nyphp.org> <200212282032.gBSKW8St036598@parsec.nyphp.org> <200212282018.gBSKIVSt036519@parsec.nyphp.org> Message-ID: <20021229164638.GA20392@panix.com> Hey Folks: On Sat, Dec 28, 2002 at 03:18:31PM -0500, Adam Fields wrote: > > Still, it's a good habit to close resources you open. At the same time, it's good habit to only do things that need to be done. On Sat, Dec 28, 2002 at 03:32:08PM -0500, Phil Powell wrote: > > Why is fflush() not needed? To be honest, I haven't ever had a use for this function and it's documentation is sparse, so I may be talking out my, uh, ___, but here goes anyway. It looks like this function is for writing whatever you've put into memory via PHP's output buffering commands. On Sat, Dec 28, 2002 at 03:55:52PM -0500, Adam Fields wrote: > > But it sounds like the problem is that the variable isn't getting > correctly reset between instances. Quite true. I started writing something along these lines, but cut it out because from the code Phil supplied it wasn't clear where the variables value came from. > On Sun, Dec 29, 2002 at 02:10:18AM -0500, Phil Powell wrote: > > From: > Sent: Saturday, December 28, 2002 3:57 PM > > > > chmod the file in your *nix shell. not in the php script. > > I can't do that, it's a remote server, sorry. You obviously have the capacity to upload your scripts. I assume you're doing this via FTP. FTP has the capacity to change file permissions. So, upload a blank file and then change the file permissions. I'm saying this out of pure programming efficiency. If the file already exists and has the right permissions, it is wastefull to reset its permissions each time the script is called. Of course, in the real world, it's not that big a deal. Enjoy, --Dan -- PHP classes that make web design easier 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 7th Ave #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 From soazine at erols.com Sun Dec 29 14:42:44 2002 From: soazine at erols.com (Phil Powell) Date: Sun, 29 Dec 2002 14:42:44 -0500 Subject: [nycphp-talk] Warning: 1 is not a valid File-Handle resource - HELP! References: <200212291418.gBTEInSt042256@parsec.nyphp.org> Message-ID: <025801c2af72$753e39a0$2aaf6244@scandinawa1bo6> I got it this time, for once.. apparently I had an extra fclose() in my statement! Phil ----- Original Message ----- From: "Brian" To: "NYPHP Talk" Sent: Sunday, December 29, 2002 9:18 AM Subject: Re: [nycphp-talk] Warning: 1 is not a valid File-Handle resource - HELP! > Not to add any further confusion if you are simply wish to fix what you > have, but you could read the contents of your textfile into an array > with file() > > $nicks = file("nicknames.txt"); > > // You then use rtrim() to remove any unwanted whitespace,newlines, or > carriage returns at the end of each item. > > foreach ($nicks as $nick) { > $trimmed_nick = rtrim($nick); > echo "$trimmed_nick
"; > } > > On Sun, 2002-12-29 at 04:10, Phil Powell wrote: > > Ok, I am a bad coder. :( I can't figure this out at all: > > > > $fileID = fopen("nicknames.txt", 'r'); > > $stuff = fread($fileID, filesize("nicknames.txt")); fclose($fileID); > > if (strlen($stuff) > 0) $priorNickNewLine = "\ "; > > $nicks = explode("\ ", $stuff); > > > > The last line produces the Warning.. why? I am trying to read contents from nicknames.txt and split according to the newline character so that each nickname is an array element. > > > > What did I do wrong? :( > > > > Phil > > > > > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From evan.heller at alum.rpi.edu Sun Dec 29 15:15:21 2002 From: evan.heller at alum.rpi.edu (evan heller) Date: Sun, 29 Dec 2002 15:15:21 -0500 Subject: Quest for a windows control panel Message-ID: <3E0F57D9.238C3FE4@alum.rpi.edu> Hi: Does anyone know of a control panel for windows that allows for easy web administration? I.E. allowing customers to login to the control panel and modify their domains, email accounts ect..? Anyhow, if it doesn't exist, would anybody be interested on working on a php driven project like this? It could use use PHP 4.3 and Apache 2.0.43 along with Imail Webserver (or others) and whatever ftp clients we can do. Anyone interested? -Evan -- Evan Heller evan.heller at alum.rpi.edu From ophir at prusak.com Mon Dec 30 11:04:15 2002 From: ophir at prusak.com (Ophir Prusak) Date: Mon, 30 Dec 2002 11:04:15 -0500 Subject: [nycphp-talk] bsd apache php mysql help References: <200212301510.gBUFA7St049675@parsec.nyphp.org> Message-ID: <00a201c2b01d$1a5ae5a0$bf65a8c0@tag1002> Hi Shawn, 3 options. 1. Do a lot a reading / trial and error. Sounds like that's what you're trying to get away from. 2. Download and install (and eventually buy) a package like ensim (www.ensim.com) , plesk (www.plesk.com) , or cpanel (www.cpanel.net) . These are packages that allow you do %99 of your web hosting sys admin needs via a web browser interface. Most of them have a trial version as well. 3. Find a sys admin who will do the work for you in exchange for access/usage of the machine. I myself have been toying with the idea of a dedicated server myself for a while. I'm curious as to who you picked and why. Thanx, Ophir ----- Original Message ----- From: "Shawn Lawyer" To: "NYPHP Talk" Sent: Monday, December 30, 2002 10:10 AM Subject: [nycphp-talk] bsd apache php mysql help > i've been a php developer for years and at several points i've had access to dedicated servers with sys admins that were friends of mine, now that's not the case since i just moved to the new york area. okay here it goes. i got tired of having to build scripts to perform tasks on site that could be handled much much better if my hosting co. would just would just make a few minor changes to php.ini. example sessions in a database and not a file in the tmp dir . to work around this i had to spend hours creating a session script myself not even touching php sessions. so finally i broke down and got a dedicated server. now i just realized why i left this up to people basck home. please help. i have no idea where to begin. i need to add users, create virtual hot accounts, install ming and other php extensions, install mysql, config ftp, etc... > i'm freaking out here, cause i'm trying to follow a book i got, but it jumps around to much to be clear. oh, php, apache, ftp, sendmail, it's all there and installed on freebsed 4.7 > thank you, > shawn lawyer > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > From bit5hift at ethernet.tk Mon Dec 30 11:11:25 2002 From: bit5hift at ethernet.tk (bit5hift at ethernet.tk) Date: Mon, 30 Dec 2002 11:11:25 -0500 Subject: [nycphp-talk] bsd apache php mysql help In-Reply-To: <200212301510.gBUFA7St049675@parsec.nyphp.org> References: <200212301510.gBUFA7St049675@parsec.nyphp.org> Message-ID: <20021230161125.GA27630@burnt.ethernet.tk> For installing most of the stuff you can use the FreeBSD ports, that simplifies installing and upgrading software quite a bit. Setting up the users and stuff: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users.html Sendmail: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sendmail.html Apache virtual hosts: http://httpd.apache.org/docs/vhosts/index.html If you get stuck you can contact me off list and I can see if I can help you. Though you'll probably find enough help in #freebsdhelp on EFnet or the httpd.apache.org Documentation and FreeBSD handbook. Hope that's been helpful. G'luck. :) On Mon, 2002-12-30, Shawn Lawyer wrote: > i've been a php developer for years and at several points i've had access to dedicated servers with sys admins that were friends of mine, now that's not the case since i just moved to the new york area. okay here it goes. i got tired of having to build scripts to perform tasks on site that could be handled much much better if my hosting co. would just would just make a few minor changes to php.ini. example sessions in a database and not a file in the tmp dir . to work around this i had to spend hours creating a session script myself not even touching php sessions. so finally i broke down and got a dedicated server. now i just realized why i left this up to people basck home. please help. i have no idea where to begin. i need to add users, create virtual hot accounts, install ming and other php extensions, install mysql, config ftp, etc... > i'm freaking out here, cause i'm trying to follow a book i got, but it jumps around to much to be clear. oh, php, apache, ftp, sendmail, it's all there and installed on freebsed 4.7 > thank you, > shawn lawyer > > > > --- Unsubscribe at http://nyphp.org/list/ --- > ------------------------------------------------------------------------ F u cn rd ths u cnt spl wrth a dm! Web site (with key): http://ethernet.tk/bit5hift/ GPG key fingerprint: 562E 9C20 1122 907C A7AB AA6A 601C 6920 9909 58B3 ------------------------------------------------------------------------ From ophir at prusak.com Mon Dec 30 11:13:46 2002 From: ophir at prusak.com (Ophir Prusak) Date: Mon, 30 Dec 2002 11:13:46 -0500 Subject: [nycphp-talk] bsd apache php mysql help References: <200212301510.gBUFA7St049675@parsec.nyphp.org> Message-ID: <00e901c2b01e$6ea43d40$bf65a8c0@tag1002> Hi Shawn, 3 options. 1. Do a lot a reading / trial and error. Sounds like that's what you're trying to get away from. 2. Download and install (and eventually buy) a package like ensim (www.ensim.com) , plesk (www.plesk.com) , or cpanel (www.cpanel.net) . These are packages that allow you do %99 of your web hosting sys admin needs via a web browser interface. Most of them have a trial version as well. 3. Find a sys admin who will do the work for you in exchange for access/usage of the machine. I myself have been toying with the idea of a dedicated server myself for a while. I'm curious as to who you picked and why. Thanx, Ophir ----- Original Message ----- From: "Shawn Lawyer" To: "NYPHP Talk" Sent: Monday, December 30, 2002 10:10 AM Subject: [nycphp-talk] bsd apache php mysql help > i've been a php developer for years and at several points i've had access to dedicated servers with sys admins that were friends of mine, now that's not the case since i just moved to the new york area. okay here it goes. i got tired of having to build scripts to perform tasks on site that could be handled much much better if my hosting co. would just would just make a few minor changes to php.ini. example sessions in a database and not a file in the tmp dir . to work around this i had to spend hours creating a session script myself not even touching php sessions. so finally i broke down and got a dedicated server. now i just realized why i left this up to people basck home. please help. i have no idea where to begin. i need to add users, create virtual hot accounts, install ming and other php extensions, install mysql, config ftp, etc... > i'm freaking out here, cause i'm trying to follow a book i got, but it jumps around to much to be clear. oh, php, apache, ftp, sendmail, it's all there and installed on freebsed 4.7 > thank you, > shawn lawyer > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > From chun_lam at hotmail.com Mon Dec 30 11:13:54 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Mon, 30 Dec 2002 11:13:54 -0500 Subject: [nycphp-talk] bsd apache php mysql help Message-ID: Have you look into Redhat Linux? FreeBSD's pthread are not easy to work with at this time. You might want to install instead. Matthew ----Original Message Follows---- From: "Shawn Lawyer" Reply-To: talk at nyphp.org To: NYPHP Talk Subject: [nycphp-talk] bsd apache php mysql help Date: Mon, 30 Dec 2002 10:10:07 -0500 Received: from mc7-f20.law1.hotmail.com ([65.54.253.27]) by mc7-s19.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 30 Dec 2002 07:22:35 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc7-f20.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 30 Dec 2002 07:22:35 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBUFA7St049675;Mon, 30 Dec 2002 10:10:07 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212301510.gBUFA7St049675 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 30 Dec 2002 15:22:35.0483 (UTC) FILETIME=[47C822B0:01C2B017] i've been a php developer for years and at several points i've had access to dedicated servers with sys admins that were friends of mine, now that's not the case since i just moved to the new york area. okay here it goes. i got tired of having to build scripts to perform tasks on site that could be handled much much better if my hosting co. would just would just make a few minor changes to php.ini. example sessions in a database and not a file in the tmp dir . to work around this i had to spend hours creating a session script myself not even touching php sessions. so finally i broke down and got a dedicated server. now i just realized why i left this up to people basck home. please help. i have no idea where to begin. i need to add users, create virtual hot accounts, install ming and other php extensions, install mysql, config ftp, etc... i'm freaking out here, cause i'm trying to follow a book i got, but it jumps around to much to be clear. oh, php, apache, ftp, sendmail, it's all there and installed on freebsed 4.7 thank you, shawn lawyer --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ The new MSN 8: smart spam protection and 3 months FREE*. http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspamprotection_3mf From bit5hift at ethernet.tk Mon Dec 30 11:21:50 2002 From: bit5hift at ethernet.tk (bit5hift at ethernet.tk) Date: Mon, 30 Dec 2002 11:21:50 -0500 Subject: [nycphp-talk] bsd apache php mysql help In-Reply-To: <200212301614.gBUGE5St050009@parsec.nyphp.org> References: <200212301614.gBUGE5St050009@parsec.nyphp.org> Message-ID: <20021230162150.GA27846@burnt.ethernet.tk> On Mon, 2002-12-30, CHUN-YIU LAM wrote: > Have you look into Redhat Linux? FreeBSD's pthread are not easy to work > with at this time. You might want to install instead. You can install GNU Pth, or use the MIT pthreads, etc. > > Matthew > > ----Original Message Follows---- > From: "Shawn Lawyer" > Reply-To: talk at nyphp.org > To: NYPHP Talk > Subject: [nycphp-talk] bsd apache php mysql help > Date: Mon, 30 Dec 2002 10:10:07 -0500 > Received: from mc7-f20.law1.hotmail.com ([65.54.253.27]) by > mc7-s19.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 30 Dec > 2002 07:22:35 -0800 > Received: from parsec.nyphp.org ([66.250.131.26]) by > mc7-f20.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 30 Dec > 2002 07:22:35 -0800 > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBUFA7St049675;Mon, 30 Dec > 2002 10:10:07 -0500 (EST)(envelope-from listmaster at nyphp.org) > Message-Id: <200212301510.gBUFA7St049675 at parsec.nyphp.org> > X-Paralist-Archived: > X-List-Software: Paralist 0.6 > List-ID: > List-Owner: > List-Archive: > List-Subscribe: > List-Unsubscribe: > Organization: New York PHP > X-Mailer: Paramail 0.5 > Return-Path: listmaster at nyphp.org > X-OriginalArrivalTime: 30 Dec 2002 15:22:35.0483 (UTC) > FILETIME=[47C822B0:01C2B017] > > i've been a php developer for years and at several points i've had access to > dedicated servers with sys admins that were friends of mine, now that's not > the case since i just moved to the new york area. okay here it goes. i got > tired of having to build scripts to perform tasks on site that could be > handled much much better if my hosting co. would just would just make a few > minor changes to php.ini. example sessions in a database and not a file in > the tmp dir . to work around this i had to spend hours creating a session > script myself not even touching php sessions. so finally i broke down and > got a dedicated server. now i just realized why i left this up to people > basck home. please help. i have no idea where to begin. i need to add users, > create virtual hot accounts, install ming and other php extensions, install > mysql, config ftp, etc... > i'm freaking out here, cause i'm trying to follow a book i got, but it jumps > around to much to be clear. oh, php, apache, ftp, sendmail, it's all there > and installed on freebsed 4.7 > thank you, > shawn lawyer > > > > > > > _________________________________________________________________ > The new MSN 8: smart spam protection and 3 months FREE*. > http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= > http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspamprotection_3mf > > > > --- Unsubscribe at http://nyphp.org/list/ --- > ------------------------------------------------------------------------ F u cn rd ths u cnt spl wrth a dm! Web site (with key): http://ethernet.tk/bit5hift/ GPG key fingerprint: 562E 9C20 1122 907C A7AB AA6A 601C 6920 9909 58B3 ------------------------------------------------------------------------ From chendry at nyc.rr.com Mon Dec 30 12:07:12 2002 From: chendry at nyc.rr.com (Christopher Hendry) Date: Mon, 30 Dec 2002 12:07:12 -0500 Subject: [nycphp-talk] bsd apache php mysql help In-Reply-To: <200212301613.gBUGDVSt050000@parsec.nyphp.org> Message-ID: I too have been toying with the idea of a dedicated server - I wonder if anyone might be interested in a bit of a joint venture. Perhaps even a PHP community dedicated server??? At least then for a low cost all of our PHP needs could be met. -> -----Original Message----- -> From: Ophir Prusak [mailto:ophir at prusak.com] -> Sent: Monday, December 30, 2002 11:14 AM -> To: NYPHP Talk -> Subject: Re: [nycphp-talk] bsd apache php mysql help -> -> -> Hi Shawn, -> -> 3 options. -> -> 1. Do a lot a reading / trial and error. Sounds like that's what you're -> trying to get away from. -> 2. Download and install (and eventually buy) a package like ensim -> (www.ensim.com) , plesk (www.plesk.com) , or cpanel -> (www.cpanel.net) . These -> are packages that allow you do %99 of your web hosting sys admin -> needs via a -> web browser interface. Most of them have a trial version as well. -> 3. Find a sys admin who will do the work for you in exchange for -> access/usage of the machine. -> -> I myself have been toying with the idea of a dedicated server -> myself for a -> while. -> I'm curious as to who you picked and why. -> -> Thanx, -> Ophir -> -> ----- Original Message ----- -> From: "Shawn Lawyer" -> To: "NYPHP Talk" -> Sent: Monday, December 30, 2002 10:10 AM -> Subject: [nycphp-talk] bsd apache php mysql help -> -> -> > i've been a php developer for years and at several points i've -> had access -> to dedicated servers with sys admins that were friends of mine, -> now that's -> not the case since i just moved to the new york area. okay here -> it goes. i -> got tired of having to build scripts to perform tasks on site -> that could be -> handled much much better if my hosting co. would just would just -> make a few -> minor changes to php.ini. example sessions in a database and not -> a file in -> the tmp dir . to work around this i had to spend hours creating a session -> script myself not even touching php sessions. so finally i broke down and -> got a dedicated server. now i just realized why i left this up to people -> basck home. please help. i have no idea where to begin. i need -> to add users, -> create virtual hot accounts, install ming and other php -> extensions, install -> mysql, config ftp, etc... -> > i'm freaking out here, cause i'm trying to follow a book i got, but it -> jumps around to much to be clear. oh, php, apache, ftp, -> sendmail, it's all -> there and installed on freebsed 4.7 -> > thank you, -> > shawn lawyer -> > -> > -> > -> > -> > -> > -> > -> -> -> -> -> --- Unsubscribe at http://nyphp.org/list/ --- -> -> -> From chalu at egenius.com Mon Dec 30 12:19:45 2002 From: chalu at egenius.com (Chalu Kim) Date: Mon, 30 Dec 2002 12:19:45 -0500 Subject: [nycphp-talk] bsd apache php mysql help References: <200212301621.gBUGLwSt050065@parsec.nyphp.org> Message-ID: <001f01c2b027$a64de0d0$5c00a8c0@mothergoose> If it helps, I can supply all-in-one script to compile OpenSSL, PHP and Apache with rewrite and proxy. Will this help? Why pthread? I don't think you need that. ----- Original Message ----- From: To: "NYPHP Talk" Sent: Monday, December 30, 2002 11:21 AM Subject: Re: [nycphp-talk] bsd apache php mysql help > On Mon, 2002-12-30, CHUN-YIU LAM wrote: > > Have you look into Redhat Linux? FreeBSD's pthread are not easy to work > > with at this time. You might want to install instead. > > You can install GNU Pth, or use the MIT pthreads, etc. > > > > > Matthew > > > > ----Original Message Follows---- > > From: "Shawn Lawyer" > > Reply-To: talk at nyphp.org > > To: NYPHP Talk > > Subject: [nycphp-talk] bsd apache php mysql help > > Date: Mon, 30 Dec 2002 10:10:07 -0500 > > Received: from mc7-f20.law1.hotmail.com ([65.54.253.27]) by > > mc7-s19.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 30 Dec > > 2002 07:22:35 -0800 > > Received: from parsec.nyphp.org ([66.250.131.26]) by > > mc7-f20.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 30 Dec > > 2002 07:22:35 -0800 > > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBUFA7St049675;Mon, 30 Dec > > 2002 10:10:07 -0500 (EST)(envelope-from listmaster at nyphp.org) > > Message-Id: <200212301510.gBUFA7St049675 at parsec.nyphp.org> > > X-Paralist-Archived: > > X-List-Software: Paralist 0.6 > > List-ID: > > List-Owner: > > List-Archive: > > List-Subscribe: > > List-Unsubscribe: > > Organization: New York PHP > > X-Mailer: Paramail 0.5 > > Return-Path: listmaster at nyphp.org > > X-OriginalArrivalTime: 30 Dec 2002 15:22:35.0483 (UTC) > > FILETIME=[47C822B0:01C2B017] > > > > i've been a php developer for years and at several points i've had access to > > dedicated servers with sys admins that were friends of mine, now that's not > > the case since i just moved to the new york area. okay here it goes. i got > > tired of having to build scripts to perform tasks on site that could be > > handled much much better if my hosting co. would just would just make a few > > minor changes to php.ini. example sessions in a database and not a file in > > the tmp dir . to work around this i had to spend hours creating a session > > script myself not even touching php sessions. so finally i broke down and > > got a dedicated server. now i just realized why i left this up to people > > basck home. please help. i have no idea where to begin. i need to add users, > > create virtual hot accounts, install ming and other php extensions, install > > mysql, config ftp, etc... > > i'm freaking out here, cause i'm trying to follow a book i got, but it jumps > > around to much to be clear. oh, php, apache, ftp, sendmail, it's all there > > and installed on freebsed 4.7 > > thank you, > > shawn lawyer > > > > > > > > > > > > > > _________________________________________________________________ > > The new MSN 8: smart spam protection and 3 months FREE*. > > http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=747 4&SU= > > http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspampr otection_3mf > > > > > > > > > > > > > ------------------------------------------------------------------------ > F u cn rd ths u cnt spl wrth a dm! > > Web site (with key): http://ethernet.tk/bit5hift/ > GPG key fingerprint: 562E 9C20 1122 907C A7AB AA6A 601C 6920 9909 58B3 > ------------------------------------------------------------------------ > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 From chalu at egenius.com Mon Dec 30 12:29:29 2002 From: chalu at egenius.com (Chalu Kim) Date: Mon, 30 Dec 2002 12:29:29 -0500 Subject: [nycphp-talk] bsd apache php mysql help References: <200212301707.gBUH7OSt050341@parsec.nyphp.org> Message-ID: <003501c2b029$022804c0$5c00a8c0@mothergoose> If you figure this out, I can provide a hosting on BSD or Linux. You can bring your server and I can help you set it up. ----- Original Message ----- From: "Christopher Hendry" To: "NYPHP Talk" Sent: Monday, December 30, 2002 12:07 PM Subject: RE: [nycphp-talk] bsd apache php mysql help > I too have been toying with the idea of a dedicated server - I wonder if > anyone might be interested in a bit of a joint venture. Perhaps even a PHP > community dedicated server??? At least then for a low cost all of our PHP > needs could be met. > > -> -----Original Message----- > -> From: Ophir Prusak [mailto:ophir at prusak.com] > -> Sent: Monday, December 30, 2002 11:14 AM > -> To: NYPHP Talk > -> Subject: Re: [nycphp-talk] bsd apache php mysql help > -> > -> > -> Hi Shawn, > -> > -> 3 options. > -> > -> 1. Do a lot a reading / trial and error. Sounds like that's what you're > -> trying to get away from. > -> 2. Download and install (and eventually buy) a package like ensim > -> (www.ensim.com) , plesk (www.plesk.com) , or cpanel > -> (www.cpanel.net) . These > -> are packages that allow you do %99 of your web hosting sys admin > -> needs via a > -> web browser interface. Most of them have a trial version as well. > -> 3. Find a sys admin who will do the work for you in exchange for > -> access/usage of the machine. > -> > -> I myself have been toying with the idea of a dedicated server > -> myself for a > -> while. > -> I'm curious as to who you picked and why. > -> > -> Thanx, > -> Ophir > -> > -> ----- Original Message ----- > -> From: "Shawn Lawyer" > -> To: "NYPHP Talk" > -> Sent: Monday, December 30, 2002 10:10 AM > -> Subject: [nycphp-talk] bsd apache php mysql help > -> > -> > -> > i've been a php developer for years and at several points i've > -> had access > -> to dedicated servers with sys admins that were friends of mine, > -> now that's > -> not the case since i just moved to the new york area. okay here > -> it goes. i > -> got tired of having to build scripts to perform tasks on site > -> that could be > -> handled much much better if my hosting co. would just would just > -> make a few > -> minor changes to php.ini. example sessions in a database and not > -> a file in > -> the tmp dir . to work around this i had to spend hours creating a session > -> script myself not even touching php sessions. so finally i broke down and > -> got a dedicated server. now i just realized why i left this up to people > -> basck home. please help. i have no idea where to begin. i need > -> to add users, > -> create virtual hot accounts, install ming and other php > -> extensions, install > -> mysql, config ftp, etc... > -> > i'm freaking out here, cause i'm trying to follow a book i got, but it > -> jumps around to much to be clear. oh, php, apache, ftp, > -> sendmail, it's all > -> there and installed on freebsed 4.7 > -> > thank you, > -> > shawn lawyer > -> > > -> > > -> > > -> > > -> > > -> > > -> > > -> > -> > -> > -> > -> > -> > -> > -> > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 From chendry at nyc.rr.com Mon Dec 30 12:35:02 2002 From: chendry at nyc.rr.com (Christopher Hendry) Date: Mon, 30 Dec 2002 12:35:02 -0500 Subject: [nycphp-talk] bsd apache php mysql help In-Reply-To: <200212301720.gBUHKSSt050431@parsec.nyphp.org> Message-ID: Are you saying you can provide the access if we come up with the server? To be honest, I'm not too strong on the server end and am not sure what would be involved - can you fill in the gaps? Access / Server / Software... -> -----Original Message----- -> From: Chalu Kim [mailto:chalu at egenius.com] -> Sent: Monday, December 30, 2002 12:20 PM -> To: NYPHP Talk -> Subject: Re: [nycphp-talk] bsd apache php mysql help -> -> -> If you figure this out, I can provide a hosting on BSD or Linux. You can -> bring your server and I can help you set it up. -> -> ----- Original Message ----- -> From: "Christopher Hendry" -> To: "NYPHP Talk" -> Sent: Monday, December 30, 2002 12:07 PM -> Subject: RE: [nycphp-talk] bsd apache php mysql help -> -> -> > I too have been toying with the idea of a dedicated server - I -> wonder if -> > anyone might be interested in a bit of a joint venture. Perhaps even a -> PHP -> > community dedicated server??? At least then for a low cost -> all of our PHP -> > needs could be met. -> > -> > -> -----Original Message----- -> > -> From: Ophir Prusak [mailto:ophir at prusak.com] -> > -> Sent: Monday, December 30, 2002 11:14 AM -> > -> To: NYPHP Talk -> > -> Subject: Re: [nycphp-talk] bsd apache php mysql help -> > -> -> > -> -> > -> Hi Shawn, -> > -> -> > -> 3 options. -> > -> -> > -> 1. Do a lot a reading / trial and error. Sounds like that's -> what you're -> > -> trying to get away from. -> > -> 2. Download and install (and eventually buy) a package like ensim -> > -> (www.ensim.com) , plesk (www.plesk.com) , or cpanel -> > -> (www.cpanel.net) . These -> > -> are packages that allow you do %99 of your web hosting sys admin -> > -> needs via a -> > -> web browser interface. Most of them have a trial version as well. -> > -> 3. Find a sys admin who will do the work for you in exchange for -> > -> access/usage of the machine. -> > -> -> > -> I myself have been toying with the idea of a dedicated server -> > -> myself for a -> > -> while. -> > -> I'm curious as to who you picked and why. -> > -> -> > -> Thanx, -> > -> Ophir -> > -> -> > -> ----- Original Message ----- -> > -> From: "Shawn Lawyer" -> > -> To: "NYPHP Talk" -> > -> Sent: Monday, December 30, 2002 10:10 AM -> > -> Subject: [nycphp-talk] bsd apache php mysql help -> > -> -> > -> -> > -> > i've been a php developer for years and at several points i've -> > -> had access -> > -> to dedicated servers with sys admins that were friends of mine, -> > -> now that's -> > -> not the case since i just moved to the new york area. okay here -> > -> it goes. i -> > -> got tired of having to build scripts to perform tasks on site -> > -> that could be -> > -> handled much much better if my hosting co. would just would just -> > -> make a few -> > -> minor changes to php.ini. example sessions in a database and not -> > -> a file in -> > -> the tmp dir . to work around this i had to spend hours creating a -> session -> > -> script myself not even touching php sessions. so finally i -> broke down -> and -> > -> got a dedicated server. now i just realized why i left this up to -> people -> > -> basck home. please help. i have no idea where to begin. i need -> > -> to add users, -> > -> create virtual hot accounts, install ming and other php -> > -> extensions, install -> > -> mysql, config ftp, etc... -> > -> > i'm freaking out here, cause i'm trying to follow a book -> i got, but -> it -> > -> jumps around to much to be clear. oh, php, apache, ftp, -> > -> sendmail, it's all -> > -> there and installed on freebsed 4.7 -> > -> > thank you, -> > -> > shawn lawyer -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> -> > -> -> > -> -> > -> -> > -> -> > -> -> > -> -> > -> -> > -> > -> > -> > -> > -> > -> > -> -> -> --- -> Outgoing mail is certified Virus Free. -> Checked by AVG anti-virus system (http://www.grisoft.com). -> Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 -> -> -> -> --- Unsubscribe at http://nyphp.org/list/ --- -> -> -> From chun_lam at hotmail.com Mon Dec 30 12:42:31 2002 From: chun_lam at hotmail.com (CHUN-YIU LAM) Date: Mon, 30 Dec 2002 12:42:31 -0500 Subject: [nycphp-talk] bsd apache php mysql help Message-ID: When you set up php from the source, you need to configure it. Don't remember if Apache also ask for it, too. Matthew ----Original Message Follows---- From: "Chalu Kim" Reply-To: talk at nyphp.org To: NYPHP Talk Subject: Re: [nycphp-talk] bsd apache php mysql help Date: Mon, 30 Dec 2002 12:10:44 -0500 Received: from mc7-f24.law1.hotmail.com ([65.54.253.31]) by mc7-s2.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 30 Dec 2002 09:13:50 -0800 Received: from parsec.nyphp.org ([66.250.131.26]) by mc7-f24.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 30 Dec 2002 09:13:49 -0800 Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBUHAiSt050366;Mon, 30 Dec 2002 12:10:44 -0500 (EST)(envelope-from listmaster at nyphp.org) Message-Id: <200212301710.gBUHAiSt050366 at parsec.nyphp.org> X-Paralist-Archived: X-List-Software: Paralist 0.6 List-ID: List-Owner: List-Archive: List-Subscribe: List-Unsubscribe: Organization: New York PHP X-Mailer: Paramail 0.5 Return-Path: listmaster at nyphp.org X-OriginalArrivalTime: 30 Dec 2002 17:13:49.0178 (UTC) FILETIME=[D19D2DA0:01C2B026] If it helps, I can supply all-in-one script to compile OpenSSL, PHP and Apache with rewrite and proxy. Will this help? Why pthread? I don't think you need that. ----- Original Message ----- From: To: "NYPHP Talk" Sent: Monday, December 30, 2002 11:21 AM Subject: Re: [nycphp-talk] bsd apache php mysql help > On Mon, 2002-12-30, CHUN-YIU LAM wrote: > > Have you look into Redhat Linux? FreeBSD's pthread are not easy to work > > with at this time. You might want to install instead. > > You can install GNU Pth, or use the MIT pthreads, etc. > > > > > Matthew > > > > ----Original Message Follows---- > > From: "Shawn Lawyer" > > Reply-To: talk at nyphp.org > > To: NYPHP Talk > > Subject: [nycphp-talk] bsd apache php mysql help > > Date: Mon, 30 Dec 2002 10:10:07 -0500 > > Received: from mc7-f20.law1.hotmail.com ([65.54.253.27]) by > > mc7-s19.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 30 Dec > > 2002 07:22:35 -0800 > > Received: from parsec.nyphp.org ([66.250.131.26]) by > > mc7-f20.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 30 Dec > > 2002 07:22:35 -0800 > > Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by > > parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBUFA7St049675;Mon, 30 Dec > > 2002 10:10:07 -0500 (EST)(envelope-from listmaster at nyphp.org) > > Message-Id: <200212301510.gBUFA7St049675 at parsec.nyphp.org> > > X-Paralist-Archived: > > X-List-Software: Paralist 0.6 > > List-ID: > > List-Owner: > > List-Archive: > > List-Subscribe: > > List-Unsubscribe: > > Organization: New York PHP > > X-Mailer: Paramail 0.5 > > Return-Path: listmaster at nyphp.org > > X-OriginalArrivalTime: 30 Dec 2002 15:22:35.0483 (UTC) > > FILETIME=[47C822B0:01C2B017] > > > > i've been a php developer for years and at several points i've had access to > > dedicated servers with sys admins that were friends of mine, now that's not > > the case since i just moved to the new york area. okay here it goes. i got > > tired of having to build scripts to perform tasks on site that could be > > handled much much better if my hosting co. would just would just make a few > > minor changes to php.ini. example sessions in a database and not a file in > > the tmp dir . to work around this i had to spend hours creating a session > > script myself not even touching php sessions. so finally i broke down and > > got a dedicated server. now i just realized why i left this up to people > > basck home. please help. i have no idea where to begin. i need to add users, > > create virtual hot accounts, install ming and other php extensions, install > > mysql, config ftp, etc... > > i'm freaking out here, cause i'm trying to follow a book i got, but it jumps > > around to much to be clear. oh, php, apache, ftp, sendmail, it's all there > > and installed on freebsed 4.7 > > thank you, > > shawn lawyer > > > > > > > > > > > > > > _________________________________________________________________ > > The new MSN 8: smart spam protection and 3 months FREE*. > > http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=747 4&SU= > > http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspampr otection_3mf > > > > > > > > > > > > > ------------------------------------------------------------------------ > F u cn rd ths u cnt spl wrth a dm! > > Web site (with key): http://ethernet.tk/bit5hift/ > GPG key fingerprint: 562E 9C20 1122 907C A7AB AA6A 601C 6920 9909 58B3 > ------------------------------------------------------------------------ > > > > > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 --- Unsubscribe at http://nyphp.org/list/ --- _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From chalu at egenius.com Mon Dec 30 13:56:34 2002 From: chalu at egenius.com (Chalu Kim) Date: Mon, 30 Dec 2002 13:56:34 -0500 Subject: [nycphp-talk] bsd apache php mysql help References: <200212301735.gBUHZDSt050535@parsec.nyphp.org> Message-ID: <006f01c2b035$2c570190$5c00a8c0@mothergoose> Yes and no. We do basic open-source related hosting. You need to pay for some expense like electric bill and a part of access. Your server needs to either Linux/BSD/Solaris. I can help you set it up. I don't do NT/2k because of too many reasons. Do you do any socially minded projects? Non-profit related? ----- Original Message ----- From: "Christopher Hendry" To: "NYPHP Talk" Sent: Monday, December 30, 2002 12:35 PM Subject: RE: [nycphp-talk] bsd apache php mysql help > Are you saying you can provide the access if we come up with the server? To > be honest, I'm not too strong on the server end and am not sure what would > be involved - can you fill in the gaps? Access / Server / Software... > > -> -----Original Message----- > -> From: Chalu Kim [mailto:chalu at egenius.com] > -> Sent: Monday, December 30, 2002 12:20 PM > -> To: NYPHP Talk > -> Subject: Re: [nycphp-talk] bsd apache php mysql help > -> > -> > -> If you figure this out, I can provide a hosting on BSD or Linux. You can > -> bring your server and I can help you set it up. > -> > -> ----- Original Message ----- > -> From: "Christopher Hendry" > -> To: "NYPHP Talk" > -> Sent: Monday, December 30, 2002 12:07 PM > -> Subject: RE: [nycphp-talk] bsd apache php mysql help > -> > -> > -> > I too have been toying with the idea of a dedicated server - I > -> wonder if > -> > anyone might be interested in a bit of a joint venture. Perhaps even a > -> PHP > -> > community dedicated server??? At least then for a low cost > -> all of our PHP > -> > needs could be met. > -> > > -> > -> -----Original Message----- > -> > -> From: Ophir Prusak [mailto:ophir at prusak.com] > -> > -> Sent: Monday, December 30, 2002 11:14 AM > -> > -> To: NYPHP Talk > -> > -> Subject: Re: [nycphp-talk] bsd apache php mysql help > -> > -> > -> > -> > -> > -> Hi Shawn, > -> > -> > -> > -> 3 options. > -> > -> > -> > -> 1. Do a lot a reading / trial and error. Sounds like that's > -> what you're > -> > -> trying to get away from. > -> > -> 2. Download and install (and eventually buy) a package like ensim > -> > -> (www.ensim.com) , plesk (www.plesk.com) , or cpanel > -> > -> (www.cpanel.net) . These > -> > -> are packages that allow you do %99 of your web hosting sys admin > -> > -> needs via a > -> > -> web browser interface. Most of them have a trial version as well. > -> > -> 3. Find a sys admin who will do the work for you in exchange for > -> > -> access/usage of the machine. > -> > -> > -> > -> I myself have been toying with the idea of a dedicated server > -> > -> myself for a > -> > -> while. > -> > -> I'm curious as to who you picked and why. > -> > -> > -> > -> Thanx, > -> > -> Ophir > -> > -> > -> > -> ----- Original Message ----- > -> > -> From: "Shawn Lawyer" > -> > -> To: "NYPHP Talk" > -> > -> Sent: Monday, December 30, 2002 10:10 AM > -> > -> Subject: [nycphp-talk] bsd apache php mysql help > -> > -> > -> > -> > -> > -> > i've been a php developer for years and at several points i've > -> > -> had access > -> > -> to dedicated servers with sys admins that were friends of mine, > -> > -> now that's > -> > -> not the case since i just moved to the new york area. okay here > -> > -> it goes. i > -> > -> got tired of having to build scripts to perform tasks on site > -> > -> that could be > -> > -> handled much much better if my hosting co. would just would just > -> > -> make a few > -> > -> minor changes to php.ini. example sessions in a database and not > -> > -> a file in > -> > -> the tmp dir . to work around this i had to spend hours creating a > -> session > -> > -> script myself not even touching php sessions. so finally i > -> broke down > -> and > -> > -> got a dedicated server. now i just realized why i left this up to > -> people > -> > -> basck home. please help. i have no idea where to begin. i need > -> > -> to add users, > -> > -> create virtual hot accounts, install ming and other php > -> > -> extensions, install > -> > -> mysql, config ftp, etc... > -> > -> > i'm freaking out here, cause i'm trying to follow a book > -> i got, but > -> it > -> > -> jumps around to much to be clear. oh, php, apache, ftp, > -> > -> sendmail, it's all > -> > -> there and installed on freebsed 4.7 > -> > -> > thank you, > -> > -> > shawn lawyer > -> > -> > > -> > -> > > -> > -> > > -> > -> > > -> > -> > > -> > -> > > -> > -> > > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > > -> > > -> > > -> > > -> > > -> > > -> > > -> > -> > -> --- > -> Outgoing mail is certified Virus Free. > -> Checked by AVG anti-virus system (http://www.grisoft.com). > -> Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 > -> > -> > -> > -> > -> > -> > -> > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From nyphp at altunergil.com Mon Dec 30 14:35:51 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Mon, 30 Dec 2002 14:35:51 -0500 Subject: [nycphp-talk] bsd apache php mysql help In-Reply-To: <200212301510.gBUFA7St049675@parsec.nyphp.org> References: <200212301510.gBUFA7St049675@parsec.nyphp.org> Message-ID: <20021230143551.185edf54.nyphp@altunergil.com> The company I work for takes care of such requests (except for creating virtual hosts and adding users etc, which are day to day administration tasks). We will install php and apache the way you want it to be installed if you let us know up front. We also provide managed services where you pay us an additional fee and never have to touch your box. We will do absolutely anything you need. I'm sure there are other companies like this out there and being the *cheapest* is not our *thing*. If you're interested, please contact me for more info. oktay On Mon, 30 Dec 2002 10:10:07 -0500 Shawn Lawyer wrote: > i've been a php developer for years and at several points i've had access to dedicated servers with sys admins that were friends of mine, now that's not the case since i just moved to the new york area. okay here it goes. i got tired of having to build scripts to perform tasks on site that could be handled much much better if my hosting co. would just would just make a few minor changes to php.ini. example sessions in a database and not a file in the tmp dir . to work around this i had to spend hours creating a session script myself not even touching php sessions. so finally i broke down and got a dedicated server. now i just realized why i left this up to people basck home. please help. i have no idea where to begin. i need to add users, create virtual hot accounts, install ming and other php extensions, install mysql, config ftp, etc... > i'm freaking out here, cause i'm trying to follow a book i got, but it jumps around to much to be clear. oh, php, apache, ftp, sendmail, it's all there and installed on freebsed 4.7 > thank you, > shawn lawyer > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From nyphp at websapp.com Mon Dec 30 14:58:08 2002 From: nyphp at websapp.com (Daniel Kushner) Date: Mon, 30 Dec 2002 14:58:08 -0500 Subject: [nycphp-talk] bsd apache php mysql help In-Reply-To: <200212301935.gBUJZxSt051236@parsec.nyphp.org> Message-ID: Shawn, I am sure that nyphp.org can supply you with a virtual server if you need it for PHP development and non-profit use. Drop Hans (hans at nyphp.org) an email for more info. Regards, Daniel Kushner _________________________________________ Need hosting? http://thehostingcompany.us -----Original Message----- From: Oktay Altunergil [mailto:nyphp at altunergil.com] Sent: Monday, December 30, 2002 2:36 PM To: NYPHP Talk Subject: Re: [nycphp-talk] bsd apache php mysql help The company I work for takes care of such requests (except for creating virtual hosts and adding users etc, which are day to day administration tasks). We will install php and apache the way you want it to be installed if you let us know up front. We also provide managed services where you pay us an additional fee and never have to touch your box. We will do absolutely anything you need. I'm sure there are other companies like this out there and being the *cheapest* is not our *thing*. If you're interested, please contact me for more info. oktay On Mon, 30 Dec 2002 10:10:07 -0500 Shawn Lawyer wrote: > i've been a php developer for years and at several points i've had access to dedicated servers with sys admins that were friends of mine, now that's not the case since i just moved to the new york area. okay here it goes. i got tired of having to build scripts to perform tasks on site that could be handled much much better if my hosting co. would just would just make a few minor changes to php.ini. example sessions in a database and not a file in the tmp dir . to work around this i had to spend hours creating a session script myself not even touching php sessions. so finally i broke down and got a dedicated server. now i just realized why i left this up to people basck home. please help. i have no idea where to begin. i need to add users, create virtual hot accounts, install ming and other php extensions, install mysql, config ftp, etc... > i'm freaking out here, cause i'm trying to follow a book i got, but it jumps around to much to be clear. oh, php, apache, ftp, sendmail, it's all there and installed on freebsed 4.7 > thank you, > shawn lawyer > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- From chun_lam at hotmail.com Mon Dec 30 15:48:03 2002 From: chun_lam at hotmail.com (Matthew Lam) Date: Mon, 30 Dec 2002 15:48:03 -0500 Subject: [nycphp-talk] bsd apache php mysql help References: <200212302021.gBUKL9St051482@parsec.nyphp.org> Message-ID: I suggest using Redhat Linux. That way we both have a frame to work with. Linux is good for a reason that alot of people who uses php know at least a little bit. This way I can walk you thru some basic stuff and you can figure out the more advance stuff at your own time. This will at least get some stuff up an running quick while give you some time to learn... What do you think? Matthew ----- Original Message ----- From: "Shawn Lawyer" To: "NYPHP Talk" Sent: Monday, December 30, 2002 3:21 PM Subject: Re: [nycphp-talk] bsd apache php mysql help > my whole objective with my server was to not only have a for/non profit > developement enviroment but also to gain the experience needed to facilitate > my/others needs. what do you mean nyphp could provide space? i wouldn' t > mind also providing space for this group, since i do plan, when i have more > time, to become deeply involved in this local community. does nyphp.org site > need a mirror? oh and also i haven't been able to get on dal.net today does > any one know why and is there a dal.net server provided through anyone in > this group. i used to spend a great deal of time in #php under the nick > natural178. > > thanks > shawn > ----- Original Message ----- > From: "Daniel Kushner" > To: "NYPHP Talk" > Sent: Monday, December 30, 2002 3:01 PM > Subject: RE: [nycphp-talk] bsd apache php mysql help > > > > Shawn, > > > > I am sure that nyphp.org can supply you with a virtual server if you need > it > > for PHP development and non-profit use. Drop Hans (hans at nyphp.org) an > email > > for more info. > > > > Regards, > > Daniel Kushner > > _________________________________________ > > Need hosting? http://thehostingcompany.us > > > > > > > > -----Original Message----- > > From: Oktay Altunergil [mailto:nyphp at altunergil.com] > > Sent: Monday, December 30, 2002 2:36 PM > > To: NYPHP Talk > > Subject: Re: [nycphp-talk] bsd apache php mysql help > > > > > > The company I work for takes care of such requests (except for creating > > virtual hosts and adding users etc, which are day to day administration > > tasks). We will install php and apache the way you want it to be installed > > if you let us know up front. We also provide managed services where you > pay > > us an additional fee and never have to touch your box. We will do > absolutely > > anything you need. > > > > I'm sure there are other companies like this out there and being the > > *cheapest* is not our *thing*. If you're interested, please contact me for > > more info. > > > > oktay > > > > On Mon, 30 Dec 2002 10:10:07 -0500 > > Shawn Lawyer wrote: > > > > > i've been a php developer for years and at several points i've had > access > > to dedicated servers with sys admins that were friends of mine, now that's > > not the case since i just moved to the new york area. okay here it goes. i > > got tired of having to build scripts to perform tasks on site that could > be > > handled much much better if my hosting co. would just would just make a > few > > minor changes to php.ini. example sessions in a database and not a file in > > the tmp dir . to work around this i had to spend hours creating a session > > script myself not even touching php sessions. so finally i broke down and > > got a dedicated server. now i just realized why i left this up to people > > basck home. please help. i have no idea where to begin. i need to add > users, > > create virtual hot accounts, install ming and other php extensions, > install > > mysql, config ftp, etc... > > > i'm freaking out here, cause i'm trying to follow a book i got, but it > > jumps around to much to be clear. oh, php, apache, ftp, sendmail, it's all > > there and installed on freebsed 4.7 > > > thank you, > > > shawn lawyer > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > From chalu at egenius.com Mon Dec 30 17:15:23 2002 From: chalu at egenius.com (Chalu Kim) Date: Mon, 30 Dec 2002 17:15:23 -0500 Subject: [nycphp-talk] bsd apache php mysql help References: <200212302048.gBUKmISt051622@parsec.nyphp.org> Message-ID: <00be01c2b050$f292e2a0$5c00a8c0@mothergoose> Yes, on Linux is easier, getting things compiled or getting RPM or DEB (the scale of compilers). My only complaint is that there are lots of packages I need to maintain. Just because of some OpenSSL vulnerability on Linux, there have been several occasions to do quick upgrades which can take much time. At times, I get the feeling Linux is less secure. This is way I track Openwall if you are not familiar with it. Check it out. BSD gives much higher stability and your programming investment will last longer. If I were you, give BSD a good try. Once you set, you will be cruising. You can use this board to have others help you debug... ----- Original Message ----- From: "Matthew Lam" To: "NYPHP Talk" Sent: Monday, December 30, 2002 3:48 PM Subject: Re: [nycphp-talk] bsd apache php mysql help > I suggest using Redhat Linux. That way we both have a frame to work with. > Linux is good for a reason that alot of people who uses php know at least a > little bit. This way I can walk you thru some basic stuff and you can > figure out the more advance stuff at your own time. This will at least get > some stuff up an running quick while give you some time to learn... What do > you think? > > Matthew > > ----- Original Message ----- > From: "Shawn Lawyer" > To: "NYPHP Talk" > Sent: Monday, December 30, 2002 3:21 PM > Subject: Re: [nycphp-talk] bsd apache php mysql help > > > > my whole objective with my server was to not only have a for/non profit > > developement enviroment but also to gain the experience needed to > facilitate > > my/others needs. what do you mean nyphp could provide space? i wouldn' t > > mind also providing space for this group, since i do plan, when i have > more > > time, to become deeply involved in this local community. does nyphp.org > site > > need a mirror? oh and also i haven't been able to get on dal.net today > does > > any one know why and is there a dal.net server provided through anyone in > > this group. i used to spend a great deal of time in #php under the nick > > natural178. > > > > thanks > > shawn > > ----- Original Message ----- > > From: "Daniel Kushner" > > To: "NYPHP Talk" > > Sent: Monday, December 30, 2002 3:01 PM > > Subject: RE: [nycphp-talk] bsd apache php mysql help > > > > > > > Shawn, > > > > > > I am sure that nyphp.org can supply you with a virtual server if you > need > > it > > > for PHP development and non-profit use. Drop Hans (hans at nyphp.org) an > > email > > > for more info. > > > > > > Regards, > > > Daniel Kushner > > > _________________________________________ > > > Need hosting? http://thehostingcompany.us > > > > > > > > > > > > -----Original Message----- > > > From: Oktay Altunergil [mailto:nyphp at altunergil.com] > > > Sent: Monday, December 30, 2002 2:36 PM > > > To: NYPHP Talk > > > Subject: Re: [nycphp-talk] bsd apache php mysql help > > > > > > > > > The company I work for takes care of such requests (except for creating > > > virtual hosts and adding users etc, which are day to day administration > > > tasks). We will install php and apache the way you want it to be > installed > > > if you let us know up front. We also provide managed services where you > > pay > > > us an additional fee and never have to touch your box. We will do > > absolutely > > > anything you need. > > > > > > I'm sure there are other companies like this out there and being the > > > *cheapest* is not our *thing*. If you're interested, please contact me > for > > > more info. > > > > > > oktay > > > > > > On Mon, 30 Dec 2002 10:10:07 -0500 > > > Shawn Lawyer wrote: > > > > > > > i've been a php developer for years and at several points i've had > > access > > > to dedicated servers with sys admins that were friends of mine, now > that's > > > not the case since i just moved to the new york area. okay here it goes. > i > > > got tired of having to build scripts to perform tasks on site that could > > be > > > handled much much better if my hosting co. would just would just make a > > few > > > minor changes to php.ini. example sessions in a database and not a file > in > > > the tmp dir . to work around this i had to spend hours creating a > session > > > script myself not even touching php sessions. so finally i broke down > and > > > got a dedicated server. now i just realized why i left this up to people > > > basck home. please help. i have no idea where to begin. i need to add > > users, > > > create virtual hot accounts, install ming and other php extensions, > > install > > > mysql, config ftp, etc... > > > > i'm freaking out here, cause i'm trying to follow a book i got, but it > > > jumps around to much to be clear. oh, php, apache, ftp, sendmail, it's > all > > > there and installed on freebsed 4.7 > > > > thank you, > > > > shawn lawyer > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > Yes, on Linux is easier, getting things compiled or getting RPM or DEB (the scale of compilers). My only complaint is that there are lots of packages I need to maintain. Just because of some OpenSSL vulnerability on Linux, there have been several occasions to do quick upgrades which can take much time. At times, I get the feeling Linux is less secure. This is way I track Openwall if you are not familiar with it. Check it out. BSD gives much higher stability and your programming investment will last longer. If I were you, give BSD a good try. Once you set, you will be cruising. You can use this board to have others help you debug... ----- Original Message ----- From: "Matthew Lam" To: "NYPHP Talk" Sent: Monday, December 30, 2002 3:48 PM Subject: Re: [nycphp-talk] bsd apache php mysql help > I suggest using Redhat Linux. That way we both have a frame to work with. > Linux is good for a reason that alot of people who uses php know at least a > little bit. This way I can walk you thru some basic stuff and you can > figure out the more advance stuff at your own time. This will at least get > some stuff up an running quick while give you some time to learn... What do > you think? > > Matthew > > ----- Original Message ----- > From: "Shawn Lawyer" > To: "NYPHP Talk" > Sent: Monday, December 30, 2002 3:21 PM > Subject: Re: [nycphp-talk] bsd apache php mysql help > > > > my whole objective with my server was to not only have a for/non profit > > developement enviroment but also to gain the experience needed to > facilitate > > my/others needs. what do you mean nyphp could provide space? i wouldn' t > > mind also providing space for this group, since i do plan, when i have > more > > time, to become deeply involved in this local community. does nyphp.org > site > > need a mirror? oh and also i haven't been able to get on dal.net today > does > > any one know why and is there a dal.net server provided through anyone in > > this group. i used to spend a great deal of time in #php under the nick > > natural178. > > > > thanks > > shawn > > ----- Original Message ----- > > From: "Daniel Kushner" > > To: "NYPHP Talk" > > Sent: Monday, December 30, 2002 3:01 PM > > Subject: RE: [nycphp-talk] bsd apache php mysql help > > > > > > > Shawn, > > > > > > I am sure that nyphp.org can supply you with a virtual server if you > need > > it > > > for PHP development and non-profit use. Drop Hans (hans at nyphp.org) an > > email > > > for more info. > > > > > > Regards, > > > Daniel Kushner > > > _________________________________________ > > > Need hosting? http://thehostingcompany.us > > > > > > > > > > > > -----Original Message----- > > > From: Oktay Altunergil [mailto:nyphp at altunergil.com] > > > Sent: Monday, December 30, 2002 2:36 PM > > > To: NYPHP Talk > > > Subject: Re: [nycphp-talk] bsd apache php mysql help > > > > > > > > > The company I work for takes care of such requests (except for creating > > > virtual hosts and adding users etc, which are day to day administration > > > tasks). We will install php and apache the way you want it to be > installed > > > if you let us know up front. We also provide managed services where you > > pay > > > us an additional fee and never have to touch your box. We will do > > absolutely > > > anything you need. > > > > > > I'm sure there are other companies like this out there and being the > > > *cheapest* is not our *thing*. If you're interested, please contact me > for > > > more info. > > > > > > oktay > > > > > > On Mon, 30 Dec 2002 10:10:07 -0500 > > > Shawn Lawyer wrote: > > > > > > > i've been a php developer for years and at several points i've had > > access > > > to dedicated servers with sys admins that were friends of mine, now > that's > > > not the case since i just moved to the new york area. okay here it goes. > i > > > got tired of having to build scripts to perform tasks on site that could > > be > > > handled much much better if my hosting co. would just would just make a > > few > > > minor changes to php.ini. example sessions in a database and not a file > in > > > the tmp dir . to work around this i had to spend hours creating a > session > > > script myself not even touching php sessions. so finally i broke down > and > > > got a dedicated server. now i just realized why i left this up to people > > > basck home. please help. i have no idea where to begin. i need to add > > users, > > > create virtual hot accounts, install ming and other php extensions, > > install > > > mysql, config ftp, etc... > > > > i'm freaking out here, cause i'm trying to follow a book i got, but it > > > jumps around to much to be clear. oh, php, apache, ftp, sendmail, it's > all > > > there and installed on freebsed 4.7 > > > > thank you, > > > > shawn lawyer > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From rainman at deroo.net Mon Dec 30 20:03:27 2002 From: rainman at deroo.net (Raymond DeRoo) Date: Mon, 30 Dec 2002 20:03:27 -0500 Subject: [nycphp-talk] bsd apache php mysql help In-Reply-To: <200212302206.gBUM6MSt052009@parsec.nyphp.org> References: <200212302206.gBUM6MSt052009@parsec.nyphp.org> Message-ID: <200212310103.gBV13Xbi007142@base.deroo.net> Chalu-- Any reason why you included the text of the original message twice? Not to start a holy war, but more as an observation. > My only complaint is that there are lots of packages I need to maintain. > Just because of some OpenSSL vulnerability on Linux, there have been > several occasions to do quick upgrades which can take much time. Perhaps you have a valid point, but you have not demonstrated it here. All recent OpenSSL vulnerabilities have affected all platforms using OpenSSL, this includes *BSD. > At times, I get the feeling Linux is less secure. This is way I track > Openwall if you are not familiar with it. Check it out. I think what you *really* meant to say was "...the feeling is less secure." Linux is a *kenerl* nothing more. What various people do to package that kernel is left to that group and those who choose to use it. Also, you don't mention *which* flavor of BSD you are speaking of... > BSD gives much higher stability and your programming investment will last > longer. If I were you, give BSD a good try. Once you set, you will be > cruising. You can use this board to have others help you debug... I do find it very interesting that Yahoo! is moving more and more towards Linux based machines (For those who care, Linux rocks BSD for running MySQL) for many of the reasons you give for liking *BSD. .r ( who runs both Debian and FreeBSD ) From hans at nyphp.org Mon Dec 30 21:40:29 2002 From: hans at nyphp.org (Hans Zaunere) Date: Mon, 30 Dec 2002 18:40:29 -0800 (PST) Subject: [nycphp-talk] bsd apache php mysql help In-Reply-To: <200212302021.gBUKL9St051482@parsec.nyphp.org> Message-ID: <20021231024029.53895.qmail@web12804.mail.yahoo.com> Hi Shawn et al, --- Shawn Lawyer wrote: > my whole objective with my server was to not only have a for/non profit > developement enviroment but also to gain the experience needed to > facilitate my/others needs. what do you mean nyphp could provide space? Since early August (when NYPHP.org was colocated as it's own server) we've offered rooted FreeBSD jails for Open Source development (http://xs.projects.nyphp.org for instance) projects. These are full blown virtual servers, where you can compile/configure/etc just about everything you need, and play around with it. Does this mean you can host non-computer-related-non-profit.org or ebusiness.com with us? No; for that, use one of the many great commercial hosting solutions offered by list members (PLUG: I administer http://thehostingcompany.us :) This is not a hosting service, but rather a SourceForge on steriods, with access to the host's sysadmin (me) and root access, giving you maximum flexibility and support for development and education. Lastly, if there are people who are experienced with these types of things (jails, sysadmin, scripting, etc) we'd be interested in forming an admin/support staff group, allowing many projects to be hosted (bandwidth/hardware resources are not at issue - just time). And it looks great on a resume :) > i wouldn' t mind also providing space for this group, since i do plan, > when i have more time, to become deeply involved in this local community. Excellent, it'll be good to work with you. > does nyphp.org site need a mirror? A website mirror per se, not really, but a system mirror wouldn't be turned away :) > oh and also i haven't been able to get on dal.net today does any one know > why and is there a dal.net server provided through anyone in this group. i > used to spend a great deal of time in #php under the nick natural178. Sorry, can't be much help - use freenode or efnet :) Best, H > > thanks > shawn > ----- Original Message ----- > From: "Daniel Kushner" > To: "NYPHP Talk" > Sent: Monday, December 30, 2002 3:01 PM > Subject: RE: [nycphp-talk] bsd apache php mysql help > > > > Shawn, > > > > I am sure that nyphp.org can supply you with a virtual server if you need > it > > for PHP development and non-profit use. Drop Hans (hans at nyphp.org) an > email > > for more info. > > > > Regards, > > Daniel Kushner > > _________________________________________ > > Need hosting? http://thehostingcompany.us > > > > > > > > -----Original Message----- > > From: Oktay Altunergil [mailto:nyphp at altunergil.com] > > Sent: Monday, December 30, 2002 2:36 PM > > To: NYPHP Talk > > Subject: Re: [nycphp-talk] bsd apache php mysql help > > > > > > The company I work for takes care of such requests (except for creating > > virtual hosts and adding users etc, which are day to day administration > > tasks). We will install php and apache the way you want it to be > installed > > if you let us know up front. We also provide managed services where you > pay > > us an additional fee and never have to touch your box. We will do > absolutely > > anything you need. > > > > I'm sure there are other companies like this out there and being the > > *cheapest* is not our *thing*. If you're interested, please contact me > for > > more info. > > > > oktay > > > > On Mon, 30 Dec 2002 10:10:07 -0500 > > Shawn Lawyer wrote: > > > > > i've been a php developer for years and at several points i've had > access > > to dedicated servers with sys admins that were friends of mine, now > that's > > not the case since i just moved to the new york area. okay here it goes. > i > > got tired of having to build scripts to perform tasks on site that could > be > > handled much much better if my hosting co. would just would just make a > few > > minor changes to php.ini. example sessions in a database and not a file > in > > the tmp dir . to work around this i had to spend hours creating a session > > script myself not even touching php sessions. so finally i broke down and > > got a dedicated server. now i just realized why i left this up to people > > basck home. please help. i have no idea where to begin. i need to add > users, > > create virtual hot accounts, install ming and other php extensions, > install > > mysql, config ftp, etc... > > > i'm freaking out here, cause i'm trying to follow a book i got, but it > > jumps around to much to be clear. oh, php, apache, ftp, sendmail, it's > all > > there and installed on freebsed 4.7 > > > thank you, > > > shawn lawyer > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- Unsubscribe at http://nyphp.org/list/ --- > > ===== Hans Zaunere President, New York PHP http://nyphp.org hans at nyphp.org From hans at nyphp.org Mon Dec 30 21:43:01 2002 From: hans at nyphp.org (Hans Zaunere) Date: Mon, 30 Dec 2002 18:43:01 -0800 (PST) Subject: The Year in Review Message-ID: <20021231024301.79261.qmail@web12802.mail.yahoo.com> A fun and great look at 2002 - through the eyes of PHP: http://www.derickrethans.nl/20021230.php ===== Hans Zaunere President, New York PHP http://nyphp.org hans at nyphp.org From ucsu at anapraxis.com Mon Dec 30 21:48:21 2002 From: ucsu at anapraxis.com (Weston Houghton) Date: Mon, 30 Dec 2002 21:48:21 -0500 Subject: [nycphp-talk] bsd apache php mysql help In-Reply-To: <200212310240.gBV2eZSt053393@parsec.nyphp.org> Message-ID: <52CC732E-1C6A-11D7-8B51-003065760278@anapraxis.com> I'd be very interested in helping out with all of this myself. If I can wing it soon, and if there is any interest, I might be able to come up with a Mac OS X box. That would allow people to compile for multiple platforms, and test on the different platforms too. If there is interest I guess I could talk with Hans about putting it out there for people. Or whatever. Though I am probably the only *nix freak who loves OS X around here. :) Wes On Monday, December 30, 2002, at 09:40 PM, Hans Zaunere wrote: > > Hi Shawn et al, > > --- Shawn Lawyer wrote: >> my whole objective with my server was to not only have a for/non >> profit >> developement enviroment but also to gain the experience needed to >> facilitate my/others needs. what do you mean nyphp could provide >> space? > > Since early August (when NYPHP.org was colocated as it's own server) > we've > offered rooted FreeBSD jails for Open Source development > (http://xs.projects.nyphp.org for instance) projects. These are full > blown > virtual servers, where you can compile/configure/etc just about > everything > you need, and play around with it. > > Does this mean you can host non-computer-related-non-profit.org or > ebusiness.com with us? No; for that, use one of the many great > commercial > hosting solutions offered by list members (PLUG: I administer > http://thehostingcompany.us :) > > This is not a hosting service, but rather a SourceForge on steriods, > with > access to the host's sysadmin (me) and root access, giving you maximum > flexibility and support for development and education. > > Lastly, if there are people who are experienced with these types of > things > (jails, sysadmin, scripting, etc) we'd be interested in forming an > admin/support staff group, allowing many projects to be hosted > (bandwidth/hardware resources are not at issue - just time). And it > looks > great on a resume :) > >> i wouldn' t mind also providing space for this group, since i do plan, >> when i have more time, to become deeply involved in this local >> community. > > Excellent, it'll be good to work with you. > >> does nyphp.org site need a mirror? > > A website mirror per se, not really, but a system mirror wouldn't be > turned > away :) > >> oh and also i haven't been able to get on dal.net today does any one >> know >> why and is there a dal.net server provided through anyone in this >> group. i >> used to spend a great deal of time in #php under the nick natural178. > > Sorry, can't be much help - use freenode or efnet :) > > Best, > > H > > > >> >> thanks >> shawn >> ----- Original Message ----- >> From: "Daniel Kushner" >> To: "NYPHP Talk" >> Sent: Monday, December 30, 2002 3:01 PM >> Subject: RE: [nycphp-talk] bsd apache php mysql help >> >> >>> Shawn, >>> >>> I am sure that nyphp.org can supply you with a virtual server if you >>> need >> it >>> for PHP development and non-profit use. Drop Hans (hans at nyphp.org) an >> email >>> for more info. >>> >>> Regards, >>> Daniel Kushner >>> _________________________________________ >>> Need hosting? http://thehostingcompany.us >>> >>> >>> >>> -----Original Message----- >>> From: Oktay Altunergil [mailto:nyphp at altunergil.com] >>> Sent: Monday, December 30, 2002 2:36 PM >>> To: NYPHP Talk >>> Subject: Re: [nycphp-talk] bsd apache php mysql help >>> >>> >>> The company I work for takes care of such requests (except for >>> creating >>> virtual hosts and adding users etc, which are day to day >>> administration >>> tasks). We will install php and apache the way you want it to be >> installed >>> if you let us know up front. We also provide managed services where >>> you >> pay >>> us an additional fee and never have to touch your box. We will do >> absolutely >>> anything you need. >>> >>> I'm sure there are other companies like this out there and being the >>> *cheapest* is not our *thing*. If you're interested, please contact >>> me >> for >>> more info. >>> >>> oktay >>> >>> On Mon, 30 Dec 2002 10:10:07 -0500 >>> Shawn Lawyer wrote: >>> >>>> i've been a php developer for years and at several points i've had >> access >>> to dedicated servers with sys admins that were friends of mine, now >> that's >>> not the case since i just moved to the new york area. okay here it >>> goes. >> i >>> got tired of having to build scripts to perform tasks on site that >>> could >> be >>> handled much much better if my hosting co. would just would just >>> make a >> few >>> minor changes to php.ini. example sessions in a database and not a >>> file >> in >>> the tmp dir . to work around this i had to spend hours creating a >>> session >>> script myself not even touching php sessions. so finally i broke >>> down and >>> got a dedicated server. now i just realized why i left this up to >>> people >>> basck home. please help. i have no idea where to begin. i need to add >> users, >>> create virtual hot accounts, install ming and other php extensions, >> install >>> mysql, config ftp, etc... >>>> i'm freaking out here, cause i'm trying to follow a book i got, but >>>> it >>> jumps around to much to be clear. oh, php, apache, ftp, sendmail, >>> it's >> all >>> there and installed on freebsed 4.7 >>>> thank you, >>>> shawn lawyer >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> >> >> >> > > > ===== > Hans Zaunere > President, New York PHP > http://nyphp.org > hans at nyphp.org > > > --- Unsubscribe at http://nyphp.org/list/ --- > > > From felix at students.poly.edu Tue Dec 31 00:03:30 2002 From: felix at students.poly.edu (Felix Zaslavskiy) Date: Tue, 31 Dec 2002 00:03:30 -0500 Subject: [nycphp-talk] bsd apache php mysql help References: <200212310240.gBV2eZSt053393@parsec.nyphp.org> Message-ID: <00e701c2b089$f6aebc90$5e06fea9@brother> ----- Original Message ----- From: "Hans Zaunere" > Hi Shawn et al, > > --- Shawn Lawyer wrote: > > my whole objective with my server was to not only have a for/non profit > > developement enviroment but also to gain the experience needed to > > facilitate my/others needs. what do you mean nyphp could provide space? > > Since early August (when NYPHP.org was colocated as it's own server) we've > offered rooted FreeBSD jails for Open Source development > (http://xs.projects.nyphp.org for instance) projects. These are full blown > virtual servers, where you can compile/configure/etc just about everything > you need, and play around with it. > I dont know how much of , php forget about it. a benefit a rooted jail is in comparison to a regular user account if the purpose is simplty to privide a user account. The way i see it someone either wants to learn to be a unix sysadmin or a developer. To be a sysadmin its better to get a real root access but to be a developer the normal user account is fine i think. But anyway i like the idea of setting up a server just for development. I myself setup a machine in my college just for that purpose for students of my school. I figured that the Unix servers school provides to students are pretty useless for development. The main student server still has the gcc version is 2.95.2 , and to get cgi once has to fill out forms with the IS depertment, php forget about it. But even the servers that are set up for specialized courses where the TA or the professor with have enough sence to put the things the student need on it the general student dont get access unless they are in the course. Having said all that. Most student are in general "unix morons" the reason being that they never used it. The environment of choice these days is yes you guessed it Microsoft Visual Studios. NET Felix From chalu at egenius.com Tue Dec 31 13:45:45 2002 From: chalu at egenius.com (Chalu Kim) Date: Tue, 31 Dec 2002 13:45:45 -0500 Subject: [nycphp-talk] bsd apache php mysql help References: <200212310240.gBV2eZSt053393@parsec.nyphp.org> Message-ID: <003001c2b0fc$d4598940$5c00a8c0@mothergoose> Cool deal. Hans. ----- Original Message ----- From: "Hans Zaunere" To: "NYPHP Talk" Sent: Monday, December 30, 2002 9:40 PM Subject: Re: [nycphp-talk] bsd apache php mysql help > > Hi Shawn et al, > > --- Shawn Lawyer wrote: > > my whole objective with my server was to not only have a for/non profit > > developement enviroment but also to gain the experience needed to > > facilitate my/others needs. what do you mean nyphp could provide space? > > Since early August (when NYPHP.org was colocated as it's own server) we've > offered rooted FreeBSD jails for Open Source development > (http://xs.projects.nyphp.org for instance) projects. These are full blown > virtual servers, where you can compile/configure/etc just about everything > you need, and play around with it. > > Does this mean you can host non-computer-related-non-profit.org or > ebusiness.com with us? No; for that, use one of the many great commercial > hosting solutions offered by list members (PLUG: I administer > http://thehostingcompany.us :) > > This is not a hosting service, but rather a SourceForge on steriods, with > access to the host's sysadmin (me) and root access, giving you maximum > flexibility and support for development and education. > > Lastly, if there are people who are experienced with these types of things > (jails, sysadmin, scripting, etc) we'd be interested in forming an > admin/support staff group, allowing many projects to be hosted > (bandwidth/hardware resources are not at issue - just time). And it looks > great on a resume :) > > > i wouldn' t mind also providing space for this group, since i do plan, > > when i have more time, to become deeply involved in this local community. > > Excellent, it'll be good to work with you. > > > does nyphp.org site need a mirror? > > A website mirror per se, not really, but a system mirror wouldn't be turned > away :) > > > oh and also i haven't been able to get on dal.net today does any one know > > why and is there a dal.net server provided through anyone in this group. i > > used to spend a great deal of time in #php under the nick natural178. > > Sorry, can't be much help - use freenode or efnet :) > > Best, > > H > > > > > > > thanks > > shawn > > ----- Original Message ----- > > From: "Daniel Kushner" > > To: "NYPHP Talk" > > Sent: Monday, December 30, 2002 3:01 PM > > Subject: RE: [nycphp-talk] bsd apache php mysql help > > > > > > > Shawn, > > > > > > I am sure that nyphp.org can supply you with a virtual server if you need > > it > > > for PHP development and non-profit use. Drop Hans (hans at nyphp.org) an > > email > > > for more info. > > > > > > Regards, > > > Daniel Kushner > > > _________________________________________ > > > Need hosting? http://thehostingcompany.us > > > > > > > > > > > > -----Original Message----- > > > From: Oktay Altunergil [mailto:nyphp at altunergil.com] > > > Sent: Monday, December 30, 2002 2:36 PM > > > To: NYPHP Talk > > > Subject: Re: [nycphp-talk] bsd apache php mysql help > > > > > > > > > The company I work for takes care of such requests (except for creating > > > virtual hosts and adding users etc, which are day to day administration > > > tasks). We will install php and apache the way you want it to be > > installed > > > if you let us know up front. We also provide managed services where you > > pay > > > us an additional fee and never have to touch your box. We will do > > absolutely > > > anything you need. > > > > > > I'm sure there are other companies like this out there and being the > > > *cheapest* is not our *thing*. If you're interested, please contact me > > for > > > more info. > > > > > > oktay > > > > > > On Mon, 30 Dec 2002 10:10:07 -0500 > > > Shawn Lawyer wrote: > > > > > > > i've been a php developer for years and at several points i've had > > access > > > to dedicated servers with sys admins that were friends of mine, now > > that's > > > not the case since i just moved to the new york area. okay here it goes. > > i > > > got tired of having to build scripts to perform tasks on site that could > > be > > > handled much much better if my hosting co. would just would just make a > > few > > > minor changes to php.ini. example sessions in a database and not a file > > in > > > the tmp dir . to work around this i had to spend hours creating a session > > > script myself not even touching php sessions. so finally i broke down and > > > got a dedicated server. now i just realized why i left this up to people > > > basck home. please help. i have no idea where to begin. i need to add > > users, > > > create virtual hot accounts, install ming and other php extensions, > > install > > > mysql, config ftp, etc... > > > > i'm freaking out here, cause i'm trying to follow a book i got, but it > > > jumps around to much to be clear. oh, php, apache, ftp, sendmail, it's > > all > > > there and installed on freebsed 4.7 > > > > thank you, > > > > shawn lawyer > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ===== > Hans Zaunere > President, New York PHP > http://nyphp.org > hans at nyphp.org > > > --- Unsubscribe at http://nyphp.org/list/ --- > > Cool deal. Hans. ----- Original Message ----- From: "Hans Zaunere" To: "NYPHP Talk" Sent: Monday, December 30, 2002 9:40 PM Subject: Re: [nycphp-talk] bsd apache php mysql help > > Hi Shawn et al, > > --- Shawn Lawyer wrote: > > my whole objective with my server was to not only have a for/non profit > > developement enviroment but also to gain the experience needed to > > facilitate my/others needs. what do you mean nyphp could provide space? > > Since early August (when NYPHP.org was colocated as it's own server) we've > offered rooted FreeBSD jails for Open Source development > (http://xs.projects.nyphp.org for instance) projects. These are full blown > virtual servers, where you can compile/configure/etc just about everything > you need, and play around with it. > > Does this mean you can host non-computer-related-non-profit.org or > ebusiness.com with us? No; for that, use one of the many great commercial > hosting solutions offered by list members (PLUG: I administer > http://thehostingcompany.us :) > > This is not a hosting service, but rather a SourceForge on steriods, with > access to the host's sysadmin (me) and root access, giving you maximum > flexibility and support for development and education. > > Lastly, if there are people who are experienced with these types of things > (jails, sysadmin, scripting, etc) we'd be interested in forming an > admin/support staff group, allowing many projects to be hosted > (bandwidth/hardware resources are not at issue - just time). And it looks > great on a resume :) > > > i wouldn' t mind also providing space for this group, since i do plan, > > when i have more time, to become deeply involved in this local community. > > Excellent, it'll be good to work with you. > > > does nyphp.org site need a mirror? > > A website mirror per se, not really, but a system mirror wouldn't be turned > away :) > > > oh and also i haven't been able to get on dal.net today does any one know > > why and is there a dal.net server provided through anyone in this group. i > > used to spend a great deal of time in #php under the nick natural178. > > Sorry, can't be much help - use freenode or efnet :) > > Best, > > H > > > > > > > thanks > > shawn > > ----- Original Message ----- > > From: "Daniel Kushner" > > To: "NYPHP Talk" > > Sent: Monday, December 30, 2002 3:01 PM > > Subject: RE: [nycphp-talk] bsd apache php mysql help > > > > > > > Shawn, > > > > > > I am sure that nyphp.org can supply you with a virtual server if you need > > it > > > for PHP development and non-profit use. Drop Hans (hans at nyphp.org) an > > email > > > for more info. > > > > > > Regards, > > > Daniel Kushner > > > _________________________________________ > > > Need hosting? http://thehostingcompany.us > > > > > > > > > > > > -----Original Message----- > > > From: Oktay Altunergil [mailto:nyphp at altunergil.com] > > > Sent: Monday, December 30, 2002 2:36 PM > > > To: NYPHP Talk > > > Subject: Re: [nycphp-talk] bsd apache php mysql help > > > > > > > > > The company I work for takes care of such requests (except for creating > > > virtual hosts and adding users etc, which are day to day administration > > > tasks). We will install php and apache the way you want it to be > > installed > > > if you let us know up front. We also provide managed services where you > > pay > > > us an additional fee and never have to touch your box. We will do > > absolutely > > > anything you need. > > > > > > I'm sure there are other companies like this out there and being the > > > *cheapest* is not our *thing*. If you're interested, please contact me > > for > > > more info. > > > > > > oktay > > > > > > On Mon, 30 Dec 2002 10:10:07 -0500 > > > Shawn Lawyer wrote: > > > > > > > i've been a php developer for years and at several points i've had > > access > > > to dedicated servers with sys admins that were friends of mine, now > > that's > > > not the case since i just moved to the new york area. okay here it goes. > > i > > > got tired of having to build scripts to perform tasks on site that could > > be > > > handled much much better if my hosting co. would just would just make a > > few > > > minor changes to php.ini. example sessions in a database and not a file > > in > > > the tmp dir . to work around this i had to spend hours creating a session > > > script myself not even touching php sessions. so finally i broke down and > > > got a dedicated server. now i just realized why i left this up to people > > > basck home. please help. i have no idea where to begin. i need to add > > users, > > > create virtual hot accounts, install ming and other php extensions, > > install > > > mysql, config ftp, etc... > > > > i'm freaking out here, cause i'm trying to follow a book i got, but it > > > jumps around to much to be clear. oh, php, apache, ftp, sendmail, it's > > all > > > there and installed on freebsed 4.7 > > > > thank you, > > > > shawn lawyer > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ===== > Hans Zaunere > President, New York PHP > http://nyphp.org > hans at nyphp.org > > > --- Unsubscribe at http://nyphp.org/list/ --- > > From chendry at nyc.rr.com Tue Dec 31 14:00:12 2002 From: chendry at nyc.rr.com (Christopher Hendry) Date: Tue, 31 Dec 2002 14:00:12 -0500 Subject: [nycphp-talk] The Year in Review In-Reply-To: <200212310243.gBV2h7St053408@parsec.nyphp.org> Message-ID: Thanks all. I look forward to becoming more involved in the new year and wish you all glad tidings. Peace. Chris -> -----Original Message----- -> From: Hans Zaunere [mailto:hans at nyphp.org] -> Sent: Monday, December 30, 2002 9:43 PM -> To: NYPHP Talk -> Subject: [nycphp-talk] The Year in Review -> -> -> -> A fun and great look at 2002 - through the eyes of PHP: -> -> http://www.derickrethans.nl/20021230.php -> -> -> -> ===== -> Hans Zaunere -> President, New York PHP -> http://nyphp.org -> hans at nyphp.org -> -> -> --- Unsubscribe at http://nyphp.org/list/ --- -> -> -> From hans at nyphp.org Tue Dec 31 14:53:21 2002 From: hans at nyphp.org (Hans Zaunere) Date: Tue, 31 Dec 2002 11:53:21 -0800 (PST) Subject: [nycphp-talk] bsd apache php mysql help In-Reply-To: <200212311423.gBVENcSt056998@parsec.nyphp.org> Message-ID: <20021231195321.46247.qmail@web12807.mail.yahoo.com> --- Shawn Lawyer wrote: > Morning All, > i agree with what was said below about being a developer or a sysadmin, > it's the same comparison with being a graphics designer or a developer. > what you may be over looking is the benefit of at least knowning the tools > the designer(s) use, because you will then understand the needs of the > designers, and how to comunicate with people who often have so idea what > you are saying. I agree, to an extent. The two (dev/sysadmin) are related, and go hand-in-hand, to a point. > you see i'm not trying be as sysadmin because i am a programmer, Right... and I'm not trying to be a design/layout person, but in most circles, you're not lucky enough to have a perfectly balanced staff. > i just need to be able to have more control over the enviroment then i have > with a shared hosting account. Exactly... and that means, to some extent, knowing a bit about sysadmin work (for instance, in FreeBSD use adduser to add a user, if you're root). > i care nothing about many sectors of being a sysadmin, security being the > one issue i have no time to deal with. as i say do what you're good at and > the rest will follow. Sysadmin isn't my bread and butter either, but it is something that's always needed, and as a result I've picked it up. As a developer, you can depend on someone else (if you're fortunate enough to have the resources) to setup things to meet your needs, or you'll need to learn a bit about it. NYPHP.org tries to offer the best of both worlds. For one, giving the support developers need to get a system up and running, and providing the framework for letting them do what they're best at, code. But at the same time, having what so many wish they had; a "personal", knowledgable sysadmin "on call" to learn from and work with. Plus, with such a close-knit community, often the sysadmins are developers as well, which is even more valuable. > ----- Original Message ----- > From: "Felix Zaslavskiy" > > I dont know how much of , php forget about it. > > a benefit a rooted jail is in comparison to a regular user account if the > > purpose is simplty to privide a user account. The way i see it someone > > either wants to learn to be a unix sysadmin or a developer. To be a > > sysadmin its better to get a real root access but to be a developer the > > normal user account is fine i think. Maybe it's just because I've always had root (since I've also been the sysadmin on the boxes I develop :) but a simple user account is rarely enough, especially when developing from the ground up. User accounts are a dime a dozen, and it may be a good way to get started. For instance, people who just want to develop can get a user account on a shared, generic, system, and as their needs increase, be moved to a more dedicated environment with the help of other developers and the sysadmin. > > The main student server still has the gcc version is 2.95.2 , and to get > > cgi once has to fill out forms with the IS depertment, php forget about > > it. But even the servers that are set up for specialized courses where > > the TA or the professor with have enough sence to put the things the > > student need on it the general student dont get access unless they are > > in the course. Well, hopefully we can work to alleviate this kind of trammel. > > Having said all that. Most student are in general "unix morons" the > > reason being that they never used it. The environment of choice these > > days is yes you guessed it Microsoft Visual Studios. NET That's a shame, but probably because it's just a chore to get a decent UNIX environment, as alluded to above. ===== Hans Zaunere President, New York PHP http://nyphp.org hans at nyphp.org