From kenschwartz at nyc.rr.com Wed May 8 18:58:19 2002 From: kenschwartz at nyc.rr.com (Kenneth Schwartz) Date: Wed, 8 May 2002 18:58:19 -0400 Subject: appropriate rates Message-ID: <000c01c1f6e3$d8f10dd0$644ca818@kenschwartz> I know this question is hard to answer due to the many factors that could be involved. But I'm just looking for very general input. I'm wondering if anyone can give me ballpark idea of appropriate rates/project price for a fairly 'normal' upgrade from a static HTML site to one with some PHP enabled dynamic components. By 'normal' I mean nothing crazy in the data model or code expected. I need to give a client a project price and I've been working completely inside a corporate environment for the past 3 years so I really don't know what the freelance market will bear. Anyone wish to enlighten me? Thanks and best regards, Kenneth Schwartz -------------- next part -------------- An HTML attachment was scrubbed... URL: From WEBPHP4 at aol.com Wed May 8 19:13:13 2002 From: WEBPHP4 at aol.com (WEBPHP4 at aol.com) Date: Wed, 8 May 2002 19:13:13 EDT Subject: PHP code to get BitRate Message-ID: <11c.10da9bf9.2a0b0b09@aol.com> Does anybody know where I can get code to find a bitrate on an MP3 file??? that is stored on my local drive it would be very helpful John -------------- next part -------------- An HTML attachment was scrubbed... URL: From php at mundo-r.com Wed May 8 19:22:48 2002 From: php at mundo-r.com (frank) Date: 09 May 2002 01:22:48 +0200 Subject: cut an image Message-ID: <1020900168.2818.33.camel@cm49234.red.mundo-r.com> hi all i am working on a project and i need to change and image to adjust it to the design of the website, so, for example, if i got and 40x20 image and it got to be 20x20 i want php to cut, with out damage it. anybody know how to do it? -- Frank ?> From rdixon at chemweek.com Wed May 8 19:24:38 2002 From: rdixon at chemweek.com (rons dixon) Date: Wed, 08 May 2002 19:24:38 -0400 Subject: [nycphp-talk] appropriate rates In-Reply-To: <200205082307.g48N7ko34802@slipdisc.virul.net> Message-ID: If no database work is involved then I would charge $50.00 an hour. On Wed, 8 May 2002 19:07:46 -0400 "Kenneth Schwartz" wrote: >I know this question is hard to answer due to the many >factors that could be involved. But I'm just looking >for very general input. I'm wondering if anyone can give >me ballpark idea of appropriate rates/project price for a >fairly 'normal' upgrade from a static HTML site to one >with some PHP enabled dynamic components. By 'normal' I >mean nothing crazy in the data model or code expected. I >need to give a client a project price and I've been >working completely inside a corporate environment for the >past 3 years so I really don't know what the freelance >market will bear. Anyone wish to enlighten me? > >Thanks and best regards, >Kenneth Schwartz > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Rons Dixon Programmer /Network Specialist Chemical Week Associates. 212-621-4613 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From zaunere at yahoo.com Wed May 8 20:31:00 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 8 May 2002 17:31:00 -0700 (PDT) Subject: Mailing List Update Message-ID: <20020509003100.19029.qmail@web12806.mail.yahoo.com> Hello all, I've just sent out a mailing giving some details about the new mailing list system and site, both of which should be working now. Please email me offlist if you've gotten this mailing, so I know it went out OK. Also feel free to email me offlist for any problems you may have with the new software. And, note that ftp://nyphp.org readonly/dev is available to look at the code (although it may not be at the moment). However, please keep any discussion about the software on the list. Thank you, Hans Z. __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! http://shopping.yahoo.com From ejp at well.com Wed May 8 22:09:19 2002 From: ejp at well.com (Edward Potter) Date: Wed, 08 May 2002 22:09:19 -0400 Subject: [nycphp-talk] appropriate rates References: <200205090026.g490Q8o36107@slipdisc.virul.net> Message-ID: <3CD9DA4F.2070609@well.com> hi, It's a pretty tricky market right now in New York City. I think the going rate is about $45/hr with or without DB work. I know some amazing programmers who now basically will take anything, they have been out of work for months. I heard that AMEX axed 2000 programmers, sent the whole operation to India just the other day. So the competition is going to be fierce here. A real eye opener is to check out how rock bottom the prices programmers are charging on elance.com. What's scary is that these overseas guys are doing some great coding, and charging almost nothing. I lived in India for a few weeks, my hotel was 70 cents a day. So a $1000 for a full featured Web site is a nice piece of change if you are outside the USA for sure. Not everyone can send their work [and deal with the logistics] overseas, so building up relationships now may pay off with bigger projects later. Good luck... ed rons dixon wrote: >If no database work is involved then I would charge $50.00 >an hour. > > > >On Wed, 8 May 2002 19:07:46 -0400 > "Kenneth Schwartz" wrote: > >>I know this question is hard to answer due to the many >>factors that could be involved. But I'm just looking >>for very general input. I'm wondering if anyone can give >>me ballpark idea of appropriate rates/project price for a >>fairly 'normal' upgrade from a static HTML site to one >>with some PHP enabled dynamic components. By 'normal' I >>mean nothing crazy in the data model or code expected. I >>need to give a client a project price and I've been >>working completely inside a corporate environment for the >>past 3 years so I really don't know what the freelance >>market will bear. Anyone wish to enlighten me? >> >>Thanks and best regards, >>Kenneth Schwartz >> > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Rons Dixon > Programmer /Network Specialist > Chemical Week Associates. > 212-621-4613 >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > From nyphp at altunergil.com Wed May 8 22:07:51 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Wed, 8 May 2002 22:07:51 -0400 Subject: [nycphp-talk] PHP code to get BitRate In-Reply-To: <200205082313.g48NDao34829@slipdisc.virul.net> References: <200205082313.g48NDao34829@slipdisc.virul.net> Message-ID: <20020508220751.1ea507ff.nyphp@altunergil.com> Somewhere in this neat package lies some sort of idtag parser for mp3s. I remember finding a smaller piece of code in that past, I'm sure you can find it too if you search freshmeat and google. http://netjuke.sourceforge.net/ Oktay Altunergil On Wed, 08 May 2002 19:13:36 -0400 WEBPHP4 at aol.com wrote: > Does anybody know where I can get code to find a bitrate on an MP3 file??? > that is stored on my local drive > > it would be very helpful > > John > > From zaunere at yahoo.com Wed May 8 22:23:37 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 8 May 2002 19:23:37 -0700 (PDT) Subject: [nycphp-talk] PHP code to get BitRate In-Reply-To: <200205082313.g48NDao34829@slipdisc.virul.net> Message-ID: <20020509022337.17792.qmail@web12805.mail.yahoo.com> Unless there's a clever way of doing it, I'd imagine you'd have to know the internal structure of MP3 files. Then, step through the bytes to read what info you need, in this case the bitrate. A quick google for the "MP3 specification" produced: http://www.id3.org/mp3frame.html I've recently seen a similar set of code. Although it deals with tar files, the principles will be the same; that of walking through binary files. I've the attached the file (plus I want to test the system out!). Hans Z. --- WEBPHP4 at aol.com wrote: > Does anybody know where I can get code to find a bitrate on an MP3 > file??? > that is stored on my local drive > > it would be very helpful > > John > > __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! http://shopping.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaunere at yahoo.com Wed May 8 23:00:50 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 8 May 2002 20:00:50 -0700 (PDT) Subject: Fun Setting session.cookie_domain with Obscure Top Level Domains Message-ID: <20020509030050.10895.qmail@web12808.mail.yahoo.com> Handy tidbit I saw on another PHP list, Twin Cities PHP. I'll be curious to see if this has any bearing on nyphp.org's session cookie use. Hans Z. __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! http://shopping.yahoo.com -------------- next part -------------- An embedded message was scrubbed... From: "Daniel J Cain Jr." Subject: [tcphp] PHP Fun Setting session.cookie_domain with Obscure Top Level Domains Date: Wed, 8 May 2002 21:55:32 -0500 Size: 2908 URL: From ejp at well.com Wed May 8 23:15:25 2002 From: ejp at well.com (Edward Potter) Date: Wed, 08 May 2002 23:15:25 -0400 Subject: [nycphp-talk] PHP code to get BitRate References: <200205090223.g492Nho36707@slipdisc.virul.net> Message-ID: <3CD9E9CD.4090102@well.com> i'm kinda blown away by answers.google.com, you may post there, offer $5 bucks, and get the code back in a few hours... I think it's the hottest thing on the web in months.... for sure an interesting business model. ed Hans Zaunere wrote: >This message contained 1 file(s) and is available at http://nyphp.org/list/paralist_archive.html?L_mid=9 > > >Unless there's a clever way of doing it, I'd imagine you'd have to know >the internal structure of MP3 files. Then, step through the bytes to >read what info you need, in this case the bitrate. A quick google for >the "MP3 specification" produced: > >http://www.id3.org/mp3frame.html > >I've recently seen a similar set of code. Although it deals with tar >files, the principles will be the same; that of walking through binary >files. I've the attached the file (plus I want to test the system >out!). > >Hans Z. > > > >--- WEBPHP4 at aol.com wrote: > >>Does anybody know where I can get code to find a bitrate on an MP3 >>file??? >>that is stored on my local drive >> >>it would be very helpful >> >>John >> >> > > >__________________________________________________ >Do You Yahoo!? >Yahoo! Shopping - Mother's Day is May 12th! >http://shopping.yahoo.com > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaunere at yahoo.com Wed May 8 23:16:28 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 8 May 2002 20:16:28 -0700 (PDT) Subject: NYPHP Development Message-ID: <20020509031628.46620.qmail@web12806.mail.yahoo.com> As a final note, I'd like to remind everyone (especially NYPHP Principals) that the NYPHP Development list is back online. Please join this low-traffic list ASAP as we will be planning a meeting shortly to further NYPHP.org's design and layout. Of course, everyone is welcome to join the nyphp-dev list and participate as well. Thanks, Hans Z. __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! http://shopping.yahoo.com From jim at nettmedia.com Wed May 8 23:40:16 2002 From: jim at nettmedia.com (Jim Musil) Date: Wed, 08 May 2002 23:40:16 -0400 Subject: Posting via HTTPS Message-ID: Hi, I'm stuck on something. I was planning on sending sensitive data to an https server from a script. I was going to use libcurl, but I found out that their ISP's version of libcurl was not compiled with ssl support and hence does not support https posts. I also cannot issue the exec() command. Is there any other way to post data to a URL via ssl from a php script? Jim Musil From amiller at hollywood101.com Thu May 9 02:00:16 2002 From: amiller at hollywood101.com (Alan T. Miller) Date: Wed, 8 May 2002 23:00:16 -0700 Subject: [nycphp-talk] appropriate rates References: <200205090026.g490Q8o36107@slipdisc.virul.net> Message-ID: <004101c1f71e$cb147680$6f01a8c0@webdev> I joined the NYPHP mailing list in part because I am seriously considering moving to New York City in the next few months, although I have to ask, considering $50.00 an hour seems to be a high rate there... how can one afford to live in New York, and only get $50 an hour contracting? I am currently in Phoenix, and it is hard to get by now. I would have thought with the high cost of living one would make more. Is it just me or does it seem a little strange? Alan ----- Original Message ----- From: "rons dixon" To: "NYPHP Talk" Sent: Wednesday, May 08, 2002 5:26 PM Subject: Re: [nycphp-talk] appropriate rates > If no database work is involved then I would charge $50.00 > an hour. > > > > On Wed, 8 May 2002 19:07:46 -0400 > "Kenneth Schwartz" wrote: > >I know this question is hard to answer due to the many > >factors that could be involved. But I'm just looking > >for very general input. I'm wondering if anyone can give > >me ballpark idea of appropriate rates/project price for a > >fairly 'normal' upgrade from a static HTML site to one > >with some PHP enabled dynamic components. By 'normal' I > >mean nothing crazy in the data model or code expected. I > >need to give a client a project price and I've been > >working completely inside a corporate environment for the > >past 3 years so I really don't know what the freelance > >market will bear. Anyone wish to enlighten me? > > > >Thanks and best regards, > >Kenneth Schwartz > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Rons Dixon > Programmer /Network Specialist > Chemical Week Associates. > 212-621-4613 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > From nyphp at altunergil.com Thu May 9 09:25:23 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Thu, 9 May 2002 09:25:23 -0400 Subject: [nycphp-talk] appropriate rates In-Reply-To: <200205090555.g495tbo37909@slipdisc.virul.net> References: <200205090555.g495tbo37909@slipdisc.virul.net> Message-ID: <20020509092523.097f7e70.nyphp@altunergil.com> It's simply supply and demand.. There are simply too many skilled programmers looking for projects like these and the number of projects are not too many. I would be surprised if you could get $50/hr since a lot of people are willing to work for less (after having looked for a job for months). Oktay On Thu, 09 May 2002 01:55:37 -0400 "Alan T. Miller" wrote: > I joined the NYPHP mailing list in part because I am seriously considering > moving to New York City in the next few months, although I have to ask, > considering $50.00 an hour seems to be a high rate there... how can one > afford to live in New York, and only get $50 an hour contracting? I am > currently in Phoenix, and it is hard to get by now. I would have thought > with the high cost of living one would make more. Is it just me or does it > seem a little strange? > > Alan > > > ----- Original Message ----- > From: "rons dixon" > To: "NYPHP Talk" > Sent: Wednesday, May 08, 2002 5:26 PM > Subject: Re: [nycphp-talk] appropriate rates > > > > If no database work is involved then I would charge $50.00 > > an hour. > > > > > > > > On Wed, 8 May 2002 19:07:46 -0400 > > "Kenneth Schwartz" wrote: > > >I know this question is hard to answer due to the many > > >factors that could be involved. But I'm just looking > > >for very general input. I'm wondering if anyone can give > > >me ballpark idea of appropriate rates/project price for a > > >fairly 'normal' upgrade from a static HTML site to one > > >with some PHP enabled dynamic components. By 'normal' I > > >mean nothing crazy in the data model or code expected. I > > >need to give a client a project price and I've been > > >working completely inside a corporate environment for the > > >past 3 years so I really don't know what the freelance > > >market will bear. Anyone wish to enlighten me? > > > > > >Thanks and best regards, > > >Kenneth Schwartz > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Rons Dixon > > Programmer /Network Specialist > > Chemical Week Associates. > > 212-621-4613 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > From JMKing at ipro.org Thu May 9 09:40:11 2002 From: JMKing at ipro.org (Jaz-Michael King) Date: Thu, 09 May 2002 09:40:11 -0400 Subject: [nycphp-talk] appropriate rates Message-ID: we go with 50 for basic stuff, 80 for intense projects. ****************************** Jaz-Michael King Online Services Manager IPRO http://ipro.org ****************************** >>> "Kenneth Schwartz" 05/08/02 07:07PM >>> I know this question is hard to answer due to the many factors that could be involved. But I'm just looking for very general input. I'm wondering if anyone can give me ballpark idea of appropriate rates/project price for a fairly 'normal' upgrade from a static HTML site to one with some PHP enabled dynamic components. By 'normal' I mean nothing crazy in the data model or code expected. I need to give a client a project price and I've been working completely inside a corporate environment for the past 3 years so I really don't know what the freelance market will bear. Anyone wish to enlighten me? Thanks and best regards, Kenneth Schwartz From zaunere at yahoo.com Thu May 9 09:52:33 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 9 May 2002 06:52:33 -0700 (PDT) Subject: [nycphp-talk] appropriate rates In-Reply-To: <200205090555.g495tbo37909@slipdisc.virul.net> Message-ID: <20020509135233.30712.qmail@web12804.mail.yahoo.com> I don't think there is any clear-cut answer - you could get lucky and find a fantastic job. However, the average situation appears to be high supply of programmers and low demand for them, which will drive down rates. That said, it's important to consider the future. In my opinion, the economy as a whole will start to pick up again by fall, meaning more demand for skills, and when that happens, it'd be a lot better having your name out there (in the form of resumes, applications, small projects already completed, etc) than trying to jump in after the fact. Of course, it's easier said than done. Hans Z. --- "Alan T. Miller" wrote: > I joined the NYPHP mailing list in part because I am seriously > considering > moving to New York City in the next few months, although I have to > ask, > considering $50.00 an hour seems to be a high rate there... how can > one > afford to live in New York, and only get $50 an hour contracting? I > am > currently in Phoenix, and it is hard to get by now. I would have > thought > with the high cost of living one would make more. Is it just me or > does it > seem a little strange? > > Alan > > > ----- Original Message ----- > From: "rons dixon" > To: "NYPHP Talk" > Sent: Wednesday, May 08, 2002 5:26 PM > Subject: Re: [nycphp-talk] appropriate rates > > > > If no database work is involved then I would charge $50.00 > > an hour. > > > > > > > > On Wed, 8 May 2002 19:07:46 -0400 > > "Kenneth Schwartz" wrote: > > >I know this question is hard to answer due to the many > > >factors that could be involved. But I'm just looking > > >for very general input. I'm wondering if anyone can give > > >me ballpark idea of appropriate rates/project price for a > > >fairly 'normal' upgrade from a static HTML site to one > > >with some PHP enabled dynamic components. By 'normal' I > > >mean nothing crazy in the data model or code expected. I > > >need to give a client a project price and I've been > > >working completely inside a corporate environment for the > > >past 3 years so I really don't know what the freelance > > >market will bear. Anyone wish to enlighten me? > > > > > >Thanks and best regards, > > >Kenneth Schwartz > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Rons Dixon > > Programmer /Network Specialist > > Chemical Week Associates. > > 212-621-4613 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! http://shopping.yahoo.com From joe_m at circlepressroom.com Thu May 9 10:17:16 2002 From: joe_m at circlepressroom.com (Joe M) Date: Thu, 09 May 2002 10:17:16 -0400 Subject: [nycphp-talk] appropriate rates In-Reply-To: <200205090555.g495tbo37909@slipdisc.virul.net> Message-ID: >how can one >afford to live in New York, and only get $50 an hour >contracting? spend a lot of time with your boxes..... competition here, esp in your field is fierce right now. You'd probably get a higher rate repairing legacy Netware systems. just my two cents for what it's worth. Joe Marabotto On Thu, 9 May 2002 01:55:37 -0400 "Alan T. Miller" wrote: >I joined the NYPHP mailing list in part because I am >seriously considering >moving to New York City in the next few months, although >I have to ask, >considering $50.00 an hour seems to be a high rate >there... how can one >afford to live in New York, and only get $50 an hour >contracting? I am >currently in Phoenix, and it is hard to get by now. I >would have thought >with the high cost of living one would make more. Is it >just me or does it >seem a little strange? > >Alan > > >----- Original Message ----- >From: "rons dixon" >To: "NYPHP Talk" >Sent: Wednesday, May 08, 2002 5:26 PM >Subject: Re: [nycphp-talk] appropriate rates > > >> If no database work is involved then I would charge >>$50.00 >> an hour. >> >> >> >> On Wed, 8 May 2002 19:07:46 -0400 >> "Kenneth Schwartz" wrote: >> >I know this question is hard to answer due to the many >> >factors that could be involved. But I'm just looking >> >for very general input. I'm wondering if anyone can >>give >> >me ballpark idea of appropriate rates/project price for >>a >> >fairly 'normal' upgrade from a static HTML site to one >> >with some PHP enabled dynamic components. By 'normal' >>I >> >mean nothing crazy in the data model or code expected. >> I >> >need to give a client a project price and I've been >> >working completely inside a corporate environment for >>the >> >past 3 years so I really don't know what the freelance >> >market will bear. Anyone wish to enlighten me? >> > >> >Thanks and best regards, >> >Kenneth Schwartz >> > >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Rons Dixon >> Programmer /Network Specialist >> Chemical Week Associates. >> 212-621-4613 >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> > > From prutwo at onebox.com Thu May 9 10:19:43 2002 From: prutwo at onebox.com (ophir prusak) Date: Thu, 09 May 2002 07:19:43 -0700 Subject: [nycphp-talk] appropriate rates Message-ID: <20020509141943.UZMX4635.mta08.onebox.com@onebox.com> Personally, I'd go the route of a fixed price for a WELL defined site upgrade, and then $X an hour for changes / upgrades. It it's more than 1 (or 2) hours work to create a specficiation document, charge something small just for that. (so they won't get your document with the nescasasy changes and then get a cheaper bid elsewhere and leave you with nothing). In this day and age, most places need to control costs, so a fixed price can give them some peace of mind. Also - it's easier to give a "discount" on a fixed price for the WHOLE project. Also - see if you can get from them what their budget is and try to work something out accordingly. If you do go with fixed price, make sure to include a clause where they'll pay you for hours worked if for some reason they want to break the contract. Ultimiately, you need to figure out how much it's worth it to you to get this project. hope that helps. ophir ---- Ophir Prusak Internet developer prutwo at onebox.com | http://www.prusak.com/ ---- "Kenneth Schwartz" wrote: > I know this question is hard to answer due to the many factors that > could be involved. But I'm just looking for very general input. > I'm wondering if anyone can give me ballpark idea of appropriate rates/project > price for a fairly 'normal' upgrade from a static HTML site to one > with some PHP enabled dynamic components. By 'normal' I mean nothing > crazy in the data model or code expected. I need to give a client > a project price and I've been working completely inside a corporate > environment for the past 3 years so I really don't know what the freelance > market will bear. Anyone wish to enlighten me? > > Thanks and best regards, > Kenneth Schwartz > > From prutwo at onebox.com Thu May 9 10:31:59 2002 From: prutwo at onebox.com (ophir prusak) Date: Thu, 09 May 2002 07:31:59 -0700 Subject: [nycphp-talk] appropriate rates Message-ID: <20020509143159.TMUY7375.mta06.onebox.com@onebox.com> Hi Alan, I hate to be discouraging, but to be frank, the "web development" job openings scene in NYC is currently very poor. There are still some positions which are still in demand like if you're a senior Java person with strong financial background, but if you're just a "web/internet" developer, you're up against a big crowd. In any case, good luck. ---- Ophir Prusak Internet developer prutwo at onebox.com | http://www.prusak.com/ ---- "Joe M" wrote: > > > >how can one > >afford to live in New York, and only get $50 an hour > >contracting? > spend a lot of time with your boxes..... > competition here, esp in your field is fierce right now. > You'd probably get a higher rate repairing legacy Netware > systems. just my two cents for what it's worth. > Joe Marabotto > > > > > > On Thu, 9 May 2002 01:55:37 -0400 > "Alan T. Miller" wrote: > >I joined the NYPHP mailing list in part because I am > >seriously considering > >moving to New York City in the next few months, although > >I have to ask, > >considering $50.00 an hour seems to be a high rate > >there... how can one > >afford to live in New York, and only get $50 an hour > >contracting? I am > >currently in Phoenix, and it is hard to get by now. I > >would have thought > >with the high cost of living one would make more. Is it > >just me or does it > >seem a little strange? > > > >Alan > > > > > >----- Original Message ----- > >From: "rons dixon" > >To: "NYPHP Talk" > >Sent: Wednesday, May 08, 2002 5:26 PM > >Subject: Re: [nycphp-talk] appropriate rates > > > > > >> If no database work is involved then I would charge > >>$50.00 > >> an hour. > >> > >> > >> > >> On Wed, 8 May 2002 19:07:46 -0400 > >> "Kenneth Schwartz" wrote: > >> >I know this question is hard to answer due to the many > >> >factors that could be involved. But I'm just looking > >> >for very general input. I'm wondering if anyone can > >>give > >> >me ballpark idea of appropriate rates/project price for > >>a > >> >fairly 'normal' upgrade from a static HTML site to one > >> >with some PHP enabled dynamic components. By 'normal' > >>I > >> >mean nothing crazy in the data model or code expected. > >> I > >> >need to give a client a project price and I've been > >> >working completely inside a corporate environment for > >>the > >> >past 3 years so I really don't know what the freelance > >> >market will bear. Anyone wish to enlighten me? > >> > > >> >Thanks and best regards, > >> >Kenneth Schwartz > >> > > >> > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> Rons Dixon > >> Programmer /Network Specialist > >> Chemical Week Associates. > >> 212-621-4613 > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> > >> > > > > > > From kenschwartz at nyc.rr.com Thu May 9 10:27:49 2002 From: kenschwartz at nyc.rr.com (Kenneth Schwartz) Date: Thu, 9 May 2002 10:27:49 -0400 Subject: [nycphp-talk] appropriate rates References: <200205090555.g495tbo37909@slipdisc.virul.net> Message-ID: <004101c1f765$b2b2e2b0$644ca818@kenschwartz> Check out this article: http://www.nydailynews.com/2002-02-17/News_and_Views/City_Beat/a-141677.asp Read this in the paper 2 wks. after moving here on Feb 1. I'm still working my corporate job (from home, the company is in Chicago) so I don't need to survive on freelance right now, but I think this article is not accurate at all. Everyone seems to be struggling and IT is no exception in NY. I've floated my resume out there because I'm not particularly fond of working at home, and I'm not getting as much response as expected. Just so you have an accurate idea before moving out here. Its tough all over, and I this article is way off in citing huge programming demand in NY. Ken ----- Original Message ----- From: "Alan T. Miller" To: "NYPHP Talk" Sent: Thursday, May 09, 2002 1:55 AM Subject: Re: [nycphp-talk] appropriate rates > I joined the NYPHP mailing list in part because I am seriously considering > moving to New York City in the next few months, although I have to ask, > considering $50.00 an hour seems to be a high rate there... how can one > afford to live in New York, and only get $50 an hour contracting? I am > currently in Phoenix, and it is hard to get by now. I would have thought > with the high cost of living one would make more. Is it just me or does it > seem a little strange? > > Alan > > > ----- Original Message ----- > From: "rons dixon" > To: "NYPHP Talk" > Sent: Wednesday, May 08, 2002 5:26 PM > Subject: Re: [nycphp-talk] appropriate rates > > > > If no database work is involved then I would charge $50.00 > > an hour. > > > > > > > > On Wed, 8 May 2002 19:07:46 -0400 > > "Kenneth Schwartz" wrote: > > >I know this question is hard to answer due to the many > > >factors that could be involved. But I'm just looking > > >for very general input. I'm wondering if anyone can give > > >me ballpark idea of appropriate rates/project price for a > > >fairly 'normal' upgrade from a static HTML site to one > > >with some PHP enabled dynamic components. By 'normal' I > > >mean nothing crazy in the data model or code expected. I > > >need to give a client a project price and I've been > > >working completely inside a corporate environment for the > > >past 3 years so I really don't know what the freelance > > >market will bear. Anyone wish to enlighten me? > > > > > >Thanks and best regards, > > >Kenneth Schwartz > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Rons Dixon > > Programmer /Network Specialist > > Chemical Week Associates. > > 212-621-4613 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > From adam at ecamp.net Thu May 9 11:23:24 2002 From: adam at ecamp.net (Adam) Date: Thu, 9 May 2002 11:23:24 -0400 Subject: [nycphp-talk] appropriate rates In-Reply-To: <200205091419.g49EJoo40557@slipdisc.virul.net> Message-ID: I agree Ophir's sentiment. I do a lot of freelance myself, run my own company that produces a product where I also hire a lot of freelancers to do php work, vb client side windows and Delphi work. (If any of you are Delphi wizards, please email me!) When I hirer a programmer I ask them for a project price, and I normally neg. a certain amount of hours after completion for bug testing and minor revisions.. all in the base cost. Then anything new and major I do at fixed cost again. I have one programmer now that I have on a maintenance contract for the lifecycle of this version, which is until September. He wrote the software, and now is on call for any quick changes etc. This is a win/win situation. I know it costs me $X/month to have the piece of mind my software will be supported no matter what. He has the piece of mind knowing he can pay his rent, go on vacation, or whatever. :) On the other side, when I take a freelance gig, it is normally for graphic design and implementation of the backend. (I have a friend I work with) And I always make up a contract with each module depicted and how long it will take approx. and then give a project price, and payment terms. Usually 25%, 50% at a milestone, and 25% on completion. I also host all my clients work, and charge for hosting, and a maintenance contract for bug fixes, server maintainence etc. Once I started doing the hosting, I started keeping clients, and making more $ as you are much more intimately involved in their business. As Ophir said it is _very_ important that your client understands that additional work is not included in the project price. Scope creep is a horrible thing for a programmer. If scope creep isn't talked about, your client will assume he can make a change here or there and its OK, nor realizing how much effort it takes to alter an existing system on a whim. And what will wind up happening is you getting shafted, and thus hurting the entire freelance market because if enough people do this, it will become the norm... As that's why hourly rates are so low these days. Just keep in mind, the contractor wants to get the lowest price and will cry poor at every conveinance. It is up to you to stick to your guns and realize that if he really wants the work done, he will give you what you deserve. A line that always works well with me is "You get what you pay for" ... And then give a small discount, or include an extra service at the same cost. (For me, I will give the first month of hosting or something) Sorry for the rant, I have just been seeing way to much greed among contractors f'in over freelancers because the freelancers wont stick up for themselves. Is a bad situation. Contracts and Confidence are good. If anyone wants some help with one let me know, I'd be happy to look it over or comment. I'm no lawyer, but I have put together hundreds of jobs over the past bunch of years. -----Original Message----- From: ophir prusak [mailto:prutwo at onebox.com] Sent: Thursday, May 09, 2002 10:20 AM To: NYPHP Talk Subject: Re: [nycphp-talk] appropriate rates Personally, I'd go the route of a fixed price for a WELL defined site upgrade, and then $X an hour for changes / upgrades. It it's more than 1 (or 2) hours work to create a specficiation document, charge something small just for that. (so they won't get your document with the nescasasy changes and then get a cheaper bid elsewhere and leave you with nothing). In this day and age, most places need to control costs, so a fixed price can give them some peace of mind. Also - it's easier to give a "discount" on a fixed price for the WHOLE project. Also - see if you can get from them what their budget is and try to work something out accordingly. If you do go with fixed price, make sure to include a clause where they'll pay you for hours worked if for some reason they want to break the contract. Ultimiately, you need to figure out how much it's worth it to you to get this project. hope that helps. ophir ---- Ophir Prusak Internet developer prutwo at onebox.com | http://www.prusak.com/ ---- "Kenneth Schwartz" wrote: > I know this question is hard to answer due to the many factors that > could be involved. But I'm just looking for very general input. > I'm wondering if anyone can give me ballpark idea of appropriate rates/project > price for a fairly 'normal' upgrade from a static HTML site to one > with some PHP enabled dynamic components. By 'normal' I mean nothing > crazy in the data model or code expected. I need to give a client > a project price and I've been working completely inside a corporate > environment for the past 3 years so I really don't know what the freelance > market will bear. Anyone wish to enlighten me? > > Thanks and best regards, > Kenneth Schwartz > > From hans at cathcart.org Fri May 10 11:33:28 2002 From: hans at cathcart.org (Hans Cathcart) Date: Fri, 10 May 2002 11:33:28 -0400 Subject: [nycphp-talk] NYC economy for web developers In-Reply-To: <200205091352.g49Dqbo40392@slipdisc.virul.net> References: <200205091352.g49Dqbo40392@slipdisc.virul.net> Message-ID: <20020510153428.BB5054A8692@s1.mail-out.isp.nyc.eggn.net> On Thursday 09 May 2002 09:52 am, Hans Zaunere wrote: > That said, it's important to consider the future. In my > opinion, the economy as a whole will start to pick up again by fall, Having been one of the lucky ones to have found a job in the last 4 months after looking for 3 months in NYC and unemployed for 6 months, I have to say that moving to NYC last Dec. would have been a very bad decision if it hadn't been for living with parents rent-free. Even now though, I'm earning less, working harder than I was before. I'm a little less optimistic about the economy turning around by fall. IBM is about to lay off 10% of its workforce. It's important to consider the factors. 3 strikes against NYC. Spring 2001 - Internet bubble bursts, Investment in Internet companies that hire Web Application developers drops to the floor. Spring 2001 - Companies switch from a "we value a company based on how it can grow" to "we value a company based on how much profit it makes." Fall 2001 - Terrorist attacks depress a struggling economy. NYC hit-hardest! All in all, it's not only the economy that's depressed, it's the general outlook that most Americans have. There is still fear here in NYC, you don't see it on the street, and you don't talk about it, but it's definitely here. The Empire State building is seeing _A LOT_ of vacancies. I personally, don't see the web developer community going back to salaries like we saw in 1999 and 2000 ever. People with deep technical skills in Databases and Application development will make a come back. Good designers will be OK. But, people who just know how to code HTML and use Dreamweaver are a dime a dozen now. What is happening now is that the Internet business is being incorporated into regular business. Internet Design firms are merging, being bought by Established Design firms. Internet Advertising firms are merging, being bought by Established Advertising firms. ... and so on.... the reason it's interesting to be in the PHP community, in my opinion, is that since the tools are free, costs a low, and while Internet budgets are being cut when the tools are free, more money can be set aside for salaries. I think smaller companies are staying lean with PHP. Hans Cathcart hans at cathcart.org 917-681-7990 From ejp at well.com Fri May 10 11:54:10 2002 From: ejp at well.com (Edward Potter) Date: Fri, 10 May 2002 11:54:10 -0400 Subject: [nycphp-talk] NYC economy for web developers References: <200205101534.g4AFYVo44778@slipdisc.virul.net> Message-ID: <3CDBED22.6050407@well.com> good observations... who is hiring big time? :-) http://www.google.com/jobs/index.html ed Hans Cathcart wrote: > On Thursday 09 May 2002 09:52 am, Hans Zaunere wrote: > >>That said, it's important to consider the future. In my >>opinion, the economy as a whole will start to pick up again by fall, >> > > Having been one of the lucky ones to have found a job in the last 4 months > after looking for 3 months in NYC and unemployed for 6 months, I have to say > that moving to NYC last Dec. would have been a very bad decision if it hadn't > been for living with parents rent-free. Even now though, I'm earning less, > working harder than I was before. > > I'm a little less optimistic about the economy turning around by fall. IBM > is about to lay off 10% of its workforce. > > It's important to consider the factors. > > 3 strikes against NYC. > > Spring 2001 - Internet bubble bursts, Investment in Internet companies that > hire Web Application developers drops to the floor. > > Spring 2001 - Companies switch from a "we value a company based on how it can > grow" to "we value a company based on how much profit it makes." > > Fall 2001 - Terrorist attacks depress a struggling economy. NYC hit-hardest! > > All in all, it's not only the economy that's depressed, it's the general > outlook that most Americans have. There is still fear here in NYC, you don't > see it on the street, and you don't talk about it, but it's definitely here. > The Empire State building is seeing _A LOT_ of vacancies. > > I personally, don't see the web developer community going back to salaries > like we saw in 1999 and 2000 ever. People with deep technical skills in > Databases and Application development will make a come back. Good designers > will be OK. But, people who just know how to code HTML and use Dreamweaver > are a dime a dozen now. > > What is happening now is that the Internet business is being incorporated > into regular business. Internet Design firms are merging, being bought by > Established Design firms. Internet Advertising firms are merging, being > bought by Established Advertising firms. ... and so on.... > the reason it's interesting to be in the PHP community, in my opinion, is > that since the tools are free, costs a low, and while Internet budgets are > being cut when the tools are free, more money can be set aside for salaries. > I think smaller companies are staying lean with PHP. > > Hans Cathcart > hans at cathcart.org > 917-681-7990 > > > > From sklar at sklar.com Fri May 10 12:00:23 2002 From: sklar at sklar.com (David Sklar) Date: Fri, 10 May 2002 12:00:23 -0400 Subject: [nycphp-talk] NYC economy for web developers In-Reply-To: <200205101534.g4AFYVo44778@slipdisc.virul.net> Message-ID: > From: Hans Cathcart [mailto:hans at cathcart.org] > > People with deep technical skills in > Databases and Application development will make a come back. > Good designers will be OK. But, people who just know how to > code HTML and use Dreamweaver are a dime a dozen now. I think this is the crucial point. The explosion in need for "web programmers" caused a lot of people to go into the field without a lot of the industrial base of skills that are useful (necessary?) when jobs aren't so plentiful, like now. The worst I saw this was at my old company in Boston, after an interview with a potential programmer. He did the standard 1 or 2 programming questions we asked and we talked about various things. At the end, he asked me if we always ask programming questions in interviews. (Yes). He said he thought that was very tough of us, since this was the first programming interview he'd been to where he'd actually been asked to write code! -dave From sklar at sklar.com Fri May 10 12:30:07 2002 From: sklar at sklar.com (David Sklar) Date: Fri, 10 May 2002 12:30:07 -0400 Subject: [nycphp-talk] NYC economy for web developers In-Reply-To: Message-ID: > From: Hans Cathcart [mailto:hans at cathcart.org] > > People with deep technical skills in > Databases and Application development will make a come back. > Good designers will be OK. But, people who just know how to > code HTML and use Dreamweaver are a dime a dozen now. I think this is the crucial point. The explosion in need for "web programmers" caused a lot of people to go into the field without a lot of the industrial base of skills that are useful (necessary?) when jobs aren't so plentiful, like now. The worst I saw this was at my old company in Boston, after an interview with a potential programmer. He did the standard 1 or 2 programming questions we asked and we talked about various things. At the end, he asked me if we always ask programming questions in interviews. (Yes). He said he thought that was very tough of us, since this was the first programming interview he'd been to where he'd actually been asked to write code! -dave From adam at ecamp.net Fri May 10 12:47:57 2002 From: adam at ecamp.net (Adam) Date: Fri, 10 May 2002 12:47:57 -0400 Subject: [nycphp-talk] NYC economy for web developers In-Reply-To: <200205101629.g4AGTxo45108@slipdisc.virul.net> Message-ID: My friend interviews people in DC for his company. He had a woman come in for a programming position, but more doing advanced JS and a little CF. He asked her to write a simple JS function to count 1 to 10 and display the results on the browser. She started to cry and say that she thought it was very unfair that they ask this hard of a question on an interview... As she was stressed out enough. Tho that doesn't beat the ex biker transvestite turned web developer who barely knew what a tag was trying to ask for a 60k salary at my company. :) It doesn't help on Stern every morning you hear ads to become an IT professional and make the big bucks... Advertising to bottom of the barrel folks. Oh well. I think in the consulting world, its all about word of mouth these days. If I put an ad in the paper I will be flooded with so much garbage it is near impossible to find the needle in the haystack. -----Original Message----- From: David Sklar [mailto:sklar at sklar.com] Sent: Friday, May 10, 2002 12:30 PM To: NYPHP Talk Subject: RE: [nycphp-talk] NYC economy for web developers > From: Hans Cathcart [mailto:hans at cathcart.org] > > People with deep technical skills in > Databases and Application development will make a come back. > Good designers will be OK. But, people who just know how to > code HTML and use Dreamweaver are a dime a dozen now. I think this is the crucial point. The explosion in need for "web programmers" caused a lot of people to go into the field without a lot of the industrial base of skills that are useful (necessary?) when jobs aren't so plentiful, like now. The worst I saw this was at my old company in Boston, after an interview with a potential programmer. He did the standard 1 or 2 programming questions we asked and we talked about various things. At the end, he asked me if we always ask programming questions in interviews. (Yes). He said he thought that was very tough of us, since this was the first programming interview he'd been to where he'd actually been asked to write code! -dave From jonbaer at digitalanywhere.com Fri May 10 13:07:16 2002 From: jonbaer at digitalanywhere.com (Jon Baer) Date: Fri, 10 May 2002 13:07:16 -0400 Subject: [nycphp-talk] NYC economy for web developers / J References: <200205101648.g4AGm8o45233@slipdisc.virul.net> Message-ID: <3CDBFE44.6E9C3F78@digitalanywhere.com> Here is my take on things: Over time and the past 2-3 years, expert developers have made things WAY too easy ... and in fact myself and others working on AI (on the side because NO ONE puts any real money into AI) are building bots/agents/whateveryouwanttocallthem to actually code for themselves (simple Javascript routines, maybe eventually some PHP since its a bit easier) but I find the "install and run" attitude to completely forget about HTML programmers, and the whole evolution of HTML->XHTML->XML->SOAP->WSDL->UDDI is a bit stalled because no one has R&D money to blow on things that may or may not work and honestly half the time of a developer is spent sitting around playing and waiting for a 1.0 API to be released from some consortium somewhere ... Then there are other things like VoiceXML which is promised to be so easy to code even HTML people can do it and then when you learn what you need to front the bill for such a service its not really like designing for the web @ all ... cool stuff ... but will take a long time to catch on ... Im currently riding out unemployement hoping somewhere that there will be a glimmer of hope that money will be put into AI or some aspect of it but my outlook is very bad, and even if I was to start something the first objective of my business plan is to not land the company on fuckedcompany.com (which is sad) ... Im stumped on any advise Id give anyone looking to come into NYC expecting to be a high paid web developer, in fact whats ever worse is if you look on craigslist for job postings almost everything "free"lance falls under the $200 mark for a complete web application ... quotes Ive been giving @ even $35 per hour get turned down and proposals end up in outer space somewhere ... - Jon From hans at cathcart.org Fri May 10 14:10:15 2002 From: hans at cathcart.org (Hans Cathcart) Date: Fri, 10 May 2002 14:10:15 -0400 Subject: job: sr. zope developer Message-ID: <20020510181117.16EF576379B@s2.mail-out.isp.nyc.eggn.net> I just saw this on Hotjobs (I have no connection to anything!!!!): http://www.hotjobs.com/cgi-bin/job-show?TEMPLATE=/htdocs/job-show.html&J__PINDEX=AAU8KSITF I like the line about "migration of IIS to Apache" !!!!! go apache!!! :) Sr. Web Developer Job ID: RED Location: New York, NY Date Posted: 05/09/2002 Sr. Web Developer ZOPE Guru needed! Candidates MUST have recent experience with ZOPE (open source content management system) They will be responsible for the migration of IIS to Apache 4+ years experience (minimum) in web development/design... Object Oriented Design Should be fluent in Java,JSP Apache Web Server, Phython Webware. Additional background should include Python and C Position is paying between 70K-100K red at executive-staffing.com Great Benefits, performance based bonus...laid back environment From JMKing at ipro.org Fri May 10 14:43:31 2002 From: JMKing at ipro.org (Jaz-Michael King) Date: Fri, 10 May 2002 14:43:31 -0400 Subject: [nycphp-talk] NYC economy for web developers Message-ID: <scdbdcb6.073@mail.ipro.org> I lucked out, at my last interview I ended up fixing their formmail. I was hired on the spot :o) I listen to Stern... am I really bottom of the barrel? J ****************************** Jaz-Michael King Online Services Manager IPRO http://ipro.org ****************************** >>> "Adam" <adam at ecamp.net> 05/10/02 12:48PM >>> My friend interviews people in DC for his company. He had a woman come in for a programming position, but more doing advanced JS and a little CF. He asked her to write a simple JS function to count 1 to 10 and display the results on the browser. She started to cry and say that she thought it was very unfair that they ask this hard of a question on an interview... As she was stressed out enough. Tho that doesn't beat the ex biker transvestite turned web developer who barely knew what a <title> tag was trying to ask for a 60k salary at my company. :) It doesn't help on Stern every morning you hear ads to become an IT professional and make the big bucks... Advertising to bottom of the barrel folks. Oh well. I think in the consulting world, its all about word of mouth these days. If I put an ad in the paper I will be flooded with so much garbage it is near impossible to find the needle in the haystack. -----Original Message----- From: David Sklar [mailto:sklar at sklar.com] Sent: Friday, May 10, 2002 12:30 PM To: NYPHP Talk Subject: RE: [nycphp-talk] NYC economy for web developers > From: Hans Cathcart [mailto:hans at cathcart.org] > > People with deep technical skills in > Databases and Application development will make a come back. > Good designers will be OK. But, people who just know how to > code HTML and use Dreamweaver are a dime a dozen now. I think this is the crucial point. The explosion in need for "web programmers" caused a lot of people to go into the field without a lot of the industrial base of skills that are useful (necessary?) when jobs aren't so plentiful, like now. The worst I saw this was at my old company in Boston, after an interview with a potential programmer. He did the standard 1 or 2 programming questions we asked and we talked about various things. At the end, he asked me if we always ask programming questions in interviews. (Yes). He said he thought that was very tough of us, since this was the first programming interview he'd been to where he'd actually been asked to write code! -dave From adam at ecamp.net Fri May 10 15:04:53 2002 From: adam at ecamp.net (Adam) Date: Fri, 10 May 2002 15:04:53 -0400 Subject: [nycphp-talk] NYC economy for web developers In-Reply-To: <200205101840.g4AIeDo45564@slipdisc.virul.net> Message-ID: <E1858F33EF60D411AC120008C74C668A465C1A@EXCHANGE> Haha. No I listen to Stern as well. I mean the ads are targeting bottom of the barrel. "Tired of hearing your best friend having this great job while you hate your job and cant wait for the weekend..." -----Original Message----- From: Jaz-Michael King [mailto:JMKing at ipro.org] Sent: Friday, May 10, 2002 2:40 PM To: NYPHP Talk Subject: RE: [nycphp-talk] NYC economy for web developers I lucked out, at my last interview I ended up fixing their formmail. I was hired on the spot :o) I listen to Stern... am I really bottom of the barrel? J ****************************** Jaz-Michael King Online Services Manager IPRO http://ipro.org ****************************** >>> "Adam" <adam at ecamp.net> 05/10/02 12:48PM >>> My friend interviews people in DC for his company. He had a woman come in for a programming position, but more doing advanced JS and a little CF. He asked her to write a simple JS function to count 1 to 10 and display the results on the browser. She started to cry and say that she thought it was very unfair that they ask this hard of a question on an interview... As she was stressed out enough. Tho that doesn't beat the ex biker transvestite turned web developer who barely knew what a <title> tag was trying to ask for a 60k salary at my company. :) It doesn't help on Stern every morning you hear ads to become an IT professional and make the big bucks... Advertising to bottom of the barrel folks. Oh well. I think in the consulting world, its all about word of mouth these days. If I put an ad in the paper I will be flooded with so much garbage it is near impossible to find the needle in the haystack. -----Original Message----- From: David Sklar [mailto:sklar at sklar.com] Sent: Friday, May 10, 2002 12:30 PM To: NYPHP Talk Subject: RE: [nycphp-talk] NYC economy for web developers > From: Hans Cathcart [mailto:hans at cathcart.org] > > People with deep technical skills in > Databases and Application development will make a come back. > Good designers will be OK. But, people who just know how to > code HTML and use Dreamweaver are a dime a dozen now. I think this is the crucial point. The explosion in need for "web programmers" caused a lot of people to go into the field without a lot of the industrial base of skills that are useful (necessary?) when jobs aren't so plentiful, like now. The worst I saw this was at my old company in Boston, after an interview with a potential programmer. He did the standard 1 or 2 programming questions we asked and we talked about various things. At the end, he asked me if we always ask programming questions in interviews. (Yes). He said he thought that was very tough of us, since this was the first programming interview he'd been to where he'd actually been asked to write code! -dave From soazine at erols.com Fri May 10 15:11:29 2002 From: soazine at erols.com (Phil Powell) Date: Fri, 10 May 2002 15:11:29 -0400 Subject: [nycphp-talk] NYC economy for web developers References: <200205101904.g4AJ4uo45665@slipdisc.virul.net> Message-ID: <019a01c1f856$7d2c84b0$e9c0a818@scandinawa1bo6> Well that makes me feel a bit better insofar as I can't figure out how to get Java applets to keep talking to servlets and servlets to keep talking to applets. I know, it ain't PHP but how DO you write a chatroom in PHP? Phil ----- Original Message ----- From: "Adam" <adam at ecamp.net> To: "NYPHP Talk" <talk at nyphp.org> Sent: Friday, May 10, 2002 3:04 PM Subject: RE: [nycphp-talk] NYC economy for web developers > Haha. No I listen to Stern as well. I mean the ads are targeting bottom > of the barrel. > "Tired of hearing your best friend having this great job while you hate > your job and cant wait for the weekend..." > > > > -----Original Message----- > From: Jaz-Michael King [mailto:JMKing at ipro.org] > Sent: Friday, May 10, 2002 2:40 PM > To: NYPHP Talk > Subject: RE: [nycphp-talk] NYC economy for web developers > > I lucked out, at my last interview I ended up fixing their formmail. I > was hired on the spot :o) > > I listen to Stern... am I really bottom of the barrel? > > J > > ****************************** > Jaz-Michael King > Online Services Manager > IPRO > http://ipro.org > ****************************** > > > >>> "Adam" <adam at ecamp.net> 05/10/02 12:48PM >>> > My friend interviews people in DC for his company. > He had a woman come in for a programming position, but more doing > advanced JS and a little CF. He asked her to write a simple JS function > to count 1 to 10 and display the results on the browser. She started to > cry and say that she thought it was very unfair that they ask this hard > of a question on an interview... As she was stressed out enough. > > Tho that doesn't beat the ex biker transvestite turned web developer who > barely knew what a <title> tag was trying to ask for a 60k salary at my > company. :) > > It doesn't help on Stern every morning you hear ads to become an IT > professional and make the big bucks... Advertising to bottom of the > barrel folks. Oh well. > > I think in the consulting world, its all about word of mouth these days. > If I put an ad in the paper I will be flooded with so much garbage it is > near impossible to find the needle in the haystack. > > > > -----Original Message----- > From: David Sklar [mailto:sklar at sklar.com] > Sent: Friday, May 10, 2002 12:30 PM > To: NYPHP Talk > Subject: RE: [nycphp-talk] NYC economy for web developers > > > From: Hans Cathcart [mailto:hans at cathcart.org] > > > > People with deep technical skills in > > Databases and Application development will make a come back. > > Good designers will be OK. But, people who just know how to > > code HTML and use Dreamweaver are a dime a dozen now. > > I think this is the crucial point. The explosion in need for "web > programmers" caused a lot of people to go into the field without a lot > of > the industrial base of skills that are useful (necessary?) when jobs > aren't > so plentiful, like now. > > The worst I saw this was at my old company in Boston, after an interview > with a potential programmer. He did the standard 1 or 2 programming > questions we asked and we talked about various things. At the end, he > asked > me if we always ask programming questions in interviews. (Yes). He said > he > thought that was very tough of us, since this was the first programming > interview he'd been to where he'd actually been asked to write code! > > -dave > > > > > > > > From adam at ecamp.net Fri May 10 15:22:14 2002 From: adam at ecamp.net (Adam) Date: Fri, 10 May 2002 15:22:14 -0400 Subject: [nycphp-talk] NYC economy for web developers In-Reply-To: <200205101911.g4AJBho45711@slipdisc.virul.net> Message-ID: <E1858F33EF60D411AC120008C74C668A465C1C@EXCHANGE> You don't.. Well at least. Can do a JS push/receive from the server every X times or something... Similar to the way PHPLive does it. If you load up the caht module on Kiwibox.com (teen site) my friend just finished making that.. uses java. Is nice. -----Original Message----- From: Phil Powell [mailto:soazine at erols.com] Sent: Friday, May 10, 2002 3:12 PM To: NYPHP Talk Subject: Re: [nycphp-talk] NYC economy for web developers Well that makes me feel a bit better insofar as I can't figure out how to get Java applets to keep talking to servlets and servlets to keep talking to applets. I know, it ain't PHP but how DO you write a chatroom in PHP? Phil ----- Original Message ----- From: "Adam" <adam at ecamp.net> To: "NYPHP Talk" <talk at nyphp.org> Sent: Friday, May 10, 2002 3:04 PM Subject: RE: [nycphp-talk] NYC economy for web developers > Haha. No I listen to Stern as well. I mean the ads are targeting bottom > of the barrel. > "Tired of hearing your best friend having this great job while you hate > your job and cant wait for the weekend..." > > > > -----Original Message----- > From: Jaz-Michael King [mailto:JMKing at ipro.org] > Sent: Friday, May 10, 2002 2:40 PM > To: NYPHP Talk > Subject: RE: [nycphp-talk] NYC economy for web developers > > I lucked out, at my last interview I ended up fixing their formmail. I > was hired on the spot :o) > > I listen to Stern... am I really bottom of the barrel? > > J > > ****************************** > Jaz-Michael King > Online Services Manager > IPRO > http://ipro.org > ****************************** > > > >>> "Adam" <adam at ecamp.net> 05/10/02 12:48PM >>> > My friend interviews people in DC for his company. > He had a woman come in for a programming position, but more doing > advanced JS and a little CF. He asked her to write a simple JS function > to count 1 to 10 and display the results on the browser. She started to > cry and say that she thought it was very unfair that they ask this hard > of a question on an interview... As she was stressed out enough. > > Tho that doesn't beat the ex biker transvestite turned web developer who > barely knew what a <title> tag was trying to ask for a 60k salary at my > company. :) > > It doesn't help on Stern every morning you hear ads to become an IT > professional and make the big bucks... Advertising to bottom of the > barrel folks. Oh well. > > I think in the consulting world, its all about word of mouth these days. > If I put an ad in the paper I will be flooded with so much garbage it is > near impossible to find the needle in the haystack. > > > > -----Original Message----- > From: David Sklar [mailto:sklar at sklar.com] > Sent: Friday, May 10, 2002 12:30 PM > To: NYPHP Talk > Subject: RE: [nycphp-talk] NYC economy for web developers > > > From: Hans Cathcart [mailto:hans at cathcart.org] > > > > People with deep technical skills in > > Databases and Application development will make a come back. > > Good designers will be OK. But, people who just know how to > > code HTML and use Dreamweaver are a dime a dozen now. > > I think this is the crucial point. The explosion in need for "web > programmers" caused a lot of people to go into the field without a lot > of > the industrial base of skills that are useful (necessary?) when jobs > aren't > so plentiful, like now. > > The worst I saw this was at my old company in Boston, after an interview > with a potential programmer. He did the standard 1 or 2 programming > questions we asked and we talked about various things. At the end, he > asked > me if we always ask programming questions in interviews. (Yes). He said > he > thought that was very tough of us, since this was the first programming > interview he'd been to where he'd actually been asked to write code! > > -dave > > > > > > > > From charles at softwareprototypes.com Fri May 10 15:30:36 2002 From: charles at softwareprototypes.com (charles at softwareprototypes.com) Date: Fri, 10 May 2002 15:30:36 -0400 Subject: [nycphp-talk] NYC economy for web developers Message-ID: <319320-220025510193036281@softwareprototypes.com> Yeah, the job market eventually won't be too bad if you are a GenX-er (weren't born before 1970.) If you were alive when Woodstock happened you're are [expletive deleted]. I'm a late Boomer (1953,) and it sems that I truly am [expletive deleted]. Now all these jobs require a bachelors or a masters and there were none of these, certainly not in Montreal, when I was going to school in the late sixties and early seventies. They didn't exist. <sigh> All you had to know then was your "Math 'N Fizzicks." Amusing because I NEVER got to use any damn math and certainly no physics through out my entire career. But I did find my philosophy and architecture studies very useful. Sadly, I never got a degree. I have over twenty-five years of experience in AI, object-oriented software development, have been doing HTML since 1995, did VRML in 1998, have most of my carrer in the financial sector but my resume won't get past the little eighteen year old who is reading my two pager and if s/he doesn't find the words "Masters Degree", just tosses my resume into the "circular file." I've been unemployed since September. Had to move from Battery Park City to Jersey City where my savings aren't disappearing on rent as fast as in Manhattan. Personally, I'm screwed and I know it. I may NEVER find a job again. 'Xcept maybe at McDonald's. I am not deluding myself about my job prospects. Being bright has nothing to do with getting and holding a job and has nothing to do with survival. Between you and me. The entire profession is utter bullshit. These people are blind to something so fundamental that they really should NOT be blind to but it doesn't seem to be on any curriculum that I've seen. I have rants about this on my old wiki. I wouldn't trust an outdoor toilet built according to MIS stangards not to collapse on me as I try to take a crap or that anyone had though of digging a hole under it. (That's doesn't show up on any "use case".) I'm glad to have found the NY PupUG because that led me to the "OpenBiblio" open source php project and I started in public library systems in 1975, before I actually got my first job in Data Processing (DP) which is what it was called then, before it got high-falutin' and called itself "Informatics" and then called itself Management Information Systems (MIS) and lately it calls itself Information Technology (IT.) I'm starting a "Community Wiki Project" (at http://wage.packet.org ) in Jersey City drumming up interest collaborative writing with some creative people here (at "AlliterationAlley" and "Ground Coffee House",) and making an end-run around the MIS world. Screw 'em all. I'll just put 'em all out of business before I'm done. :-) Actually, I'm seeing possibilities in php that dwarf Smalltalk's. Deployment of Smalltalk is anecdotal. Only several thousand machines. While deployment of php is total over Linux platforms and over most Unix platforms as well. It's even available on IIS though I look for M$ to try to stop it out for .NET ASAP. That means that if you do something in php it can be deployed over the entire web or on intranets. With a properly constructed Object model (objects, methods and relationships, not ignoring that objects exist in time as well and need state information and relationships to state machines to transit object instances from state to state.) described in XML and inter-piled (interpreted with the resulting objects cached on the server and using standard cache invalidation techniques for refresh only when required,) for use within a wiki. But for the most part I should be able to implement a trio of phpwiki plugins. 1) to scan & validate/load the object model, 2) to load objects as XML from the wiki database and and 3) to provide almost all of the functionality I have ever been required to implement in DP/MIS/IT. Present instances and relationships for instantiation/observation, modification and storage. Present functionality for execution. and which would use the wiki for security, for invocation of function, for presentation of objects and/or navigation of relationships, for capture, validation and connection of objects and relationships and for storage of objects and relationship connections, in the wiki database in XML. The access model can be as permissive (assume yes) or as restrictive (assume no) as it needs to be. I want the plugin to let visitors/users: access meta information: N) Navigate the model access information: C) Create/connect objects/relationship connections (contexts) R) Read/navigate objects/relationship connections U) Update object instances/relationship connections (validation) D) Delete object instances & dependent objects)/disconnect (contexts) E) Execute functionality Thereby rendering everything I've ever done and everybody I'd ever worked with entirely redundant. Now, THAT's a "puissant" idea. That's also called "gettin' even." I'm going to put the code out there in open source as part of OpenBiblio and it will outlive me as I starve to death in my cardboard box over a heating grate. (Melodramatic. I hope, so but a very real prospect nonetheless.) -Charles-A. From soazine at erols.com Fri May 10 15:29:02 2002 From: soazine at erols.com (Phil Powell) Date: Fri, 10 May 2002 15:29:02 -0400 Subject: [nycphp-talk] NYC economy for web developers References: <200205101922.g4AJMHo45781@slipdisc.virul.net> Message-ID: <01a601c1f858$f11e2660$e9c0a818@scandinawa1bo6> JS as in Java servlets or Javascript? I lean toward the former, I can't imagine Javascript having that kind of capability! Augh! Can't figure this out! There goes my usefulness down the toilet. Lump me in with the biker transvestite. :( Phil ----- Original Message ----- From: "Adam" <adam at ecamp.net> To: "NYPHP Talk" <talk at nyphp.org> Sent: Friday, May 10, 2002 3:22 PM Subject: RE: [nycphp-talk] NYC economy for web developers > You don't.. Well at least. Can do a JS push/receive from the server > every X times or something... Similar to the way PHPLive does it. > > If you load up the caht module on Kiwibox.com (teen site) my friend just > finished making that.. uses java. Is nice. > > -----Original Message----- > From: Phil Powell [mailto:soazine at erols.com] > Sent: Friday, May 10, 2002 3:12 PM > To: NYPHP Talk > Subject: Re: [nycphp-talk] NYC economy for web developers > > Well that makes me feel a bit better insofar as I can't figure out how > to > get Java applets to keep talking to servlets and servlets to keep > talking to > applets. > > I know, it ain't PHP but how DO you write a chatroom in PHP? > > Phil > ----- Original Message ----- > From: "Adam" <adam at ecamp.net> > To: "NYPHP Talk" <talk at nyphp.org> > Sent: Friday, May 10, 2002 3:04 PM > Subject: RE: [nycphp-talk] NYC economy for web developers > > > > Haha. No I listen to Stern as well. I mean the ads are targeting > bottom > > of the barrel. > > "Tired of hearing your best friend having this great job while you > hate > > your job and cant wait for the weekend..." > > > > > > > > -----Original Message----- > > From: Jaz-Michael King [mailto:JMKing at ipro.org] > > Sent: Friday, May 10, 2002 2:40 PM > > To: NYPHP Talk > > Subject: RE: [nycphp-talk] NYC economy for web developers > > > > I lucked out, at my last interview I ended up fixing their formmail. I > > was hired on the spot :o) > > > > I listen to Stern... am I really bottom of the barrel? > > > > J > > > > ****************************** > > Jaz-Michael King > > Online Services Manager > > IPRO > > http://ipro.org > > ****************************** > > > > > > >>> "Adam" <adam at ecamp.net> 05/10/02 12:48PM >>> > > My friend interviews people in DC for his company. > > He had a woman come in for a programming position, but more doing > > advanced JS and a little CF. He asked her to write a simple JS > function > > to count 1 to 10 and display the results on the browser. She started > to > > cry and say that she thought it was very unfair that they ask this > hard > > of a question on an interview... As she was stressed out enough. > > > > Tho that doesn't beat the ex biker transvestite turned web developer > who > > barely knew what a <title> tag was trying to ask for a 60k salary at > my > > company. :) > > > > It doesn't help on Stern every morning you hear ads to become an IT > > professional and make the big bucks... Advertising to bottom of the > > barrel folks. Oh well. > > > > I think in the consulting world, its all about word of mouth these > days. > > If I put an ad in the paper I will be flooded with so much garbage it > is > > near impossible to find the needle in the haystack. > > > > > > > > -----Original Message----- > > From: David Sklar [mailto:sklar at sklar.com] > > Sent: Friday, May 10, 2002 12:30 PM > > To: NYPHP Talk > > Subject: RE: [nycphp-talk] NYC economy for web developers > > > > > From: Hans Cathcart [mailto:hans at cathcart.org] > > > > > > People with deep technical skills in > > > Databases and Application development will make a come back. > > > Good designers will be OK. But, people who just know how to > > > code HTML and use Dreamweaver are a dime a dozen now. > > > > I think this is the crucial point. The explosion in need for "web > > programmers" caused a lot of people to go into the field without a lot > > of > > the industrial base of skills that are useful (necessary?) when jobs > > aren't > > so plentiful, like now. > > > > The worst I saw this was at my old company in Boston, after an > interview > > with a potential programmer. He did the standard 1 or 2 programming > > questions we asked and we talked about various things. At the end, he > > asked > > me if we always ask programming questions in interviews. (Yes). He > said > > he > > thought that was very tough of us, since this was the first > programming > > interview he'd been to where he'd actually been asked to write code! > > > > -dave > > > > > > > > > > > > > > > > > > > > From charles at softwareprototypes.com Fri May 10 15:42:02 2002 From: charles at softwareprototypes.com (charles at softwareprototypes.com) Date: Fri, 10 May 2002 15:42:02 -0400 Subject: php based chatroom? Message-ID: <74170-22002551019422312@softwareprototypes.com> Hello, someone was looking for a php based chatroom? Take a look at: http://www.phpbuilder.com/columns/mhall20000621.php3 That should start you off. -Charles-A. From adam at ecamp.net Fri May 10 15:37:54 2002 From: adam at ecamp.net (Adam) Date: Fri, 10 May 2002 15:37:54 -0400 Subject: [nycphp-talk] NYC economy for web developers In-Reply-To: <200205101929.g4AJTGo45876@slipdisc.virul.net> Message-ID: <E1858F33EF60D411AC120008C74C668A465C1D@EXCHANGE> Javascript... you have a function run every X time to pull data from your server and document.write it out in a layer you clear or something. But for an actual IRC type chat environment java is the way to go... But theres lots of projects already out there for this sortah thing.. And some commercial ones that are quite nice. I used www.webmaster.com's product for our chats. Just smooth and nice. -----Original Message----- From: Phil Powell [mailto:soazine at erols.com] Sent: Friday, May 10, 2002 3:29 PM To: NYPHP Talk Subject: Re: [nycphp-talk] NYC economy for web developers JS as in Java servlets or Javascript? I lean toward the former, I can't imagine Javascript having that kind of capability! Augh! Can't figure this out! There goes my usefulness down the toilet. Lump me in with the biker transvestite. :( Phil ----- Original Message ----- From: "Adam" <adam at ecamp.net> To: "NYPHP Talk" <talk at nyphp.org> Sent: Friday, May 10, 2002 3:22 PM Subject: RE: [nycphp-talk] NYC economy for web developers > You don't.. Well at least. Can do a JS push/receive from the server > every X times or something... Similar to the way PHPLive does it. > > If you load up the caht module on Kiwibox.com (teen site) my friend just > finished making that.. uses java. Is nice. > > -----Original Message----- > From: Phil Powell [mailto:soazine at erols.com] > Sent: Friday, May 10, 2002 3:12 PM > To: NYPHP Talk > Subject: Re: [nycphp-talk] NYC economy for web developers > > Well that makes me feel a bit better insofar as I can't figure out how > to > get Java applets to keep talking to servlets and servlets to keep > talking to > applets. > > I know, it ain't PHP but how DO you write a chatroom in PHP? > > Phil > ----- Original Message ----- > From: "Adam" <adam at ecamp.net> > To: "NYPHP Talk" <talk at nyphp.org> > Sent: Friday, May 10, 2002 3:04 PM > Subject: RE: [nycphp-talk] NYC economy for web developers > > > > Haha. No I listen to Stern as well. I mean the ads are targeting > bottom > > of the barrel. > > "Tired of hearing your best friend having this great job while you > hate > > your job and cant wait for the weekend..." > > > > > > > > -----Original Message----- > > From: Jaz-Michael King [mailto:JMKing at ipro.org] > > Sent: Friday, May 10, 2002 2:40 PM > > To: NYPHP Talk > > Subject: RE: [nycphp-talk] NYC economy for web developers > > > > I lucked out, at my last interview I ended up fixing their formmail. I > > was hired on the spot :o) > > > > I listen to Stern... am I really bottom of the barrel? > > > > J > > > > ****************************** > > Jaz-Michael King > > Online Services Manager > > IPRO > > http://ipro.org > > ****************************** > > > > > > >>> "Adam" <adam at ecamp.net> 05/10/02 12:48PM >>> > > My friend interviews people in DC for his company. > > He had a woman come in for a programming position, but more doing > > advanced JS and a little CF. He asked her to write a simple JS > function > > to count 1 to 10 and display the results on the browser. She started > to > > cry and say that she thought it was very unfair that they ask this > hard > > of a question on an interview... As she was stressed out enough. > > > > Tho that doesn't beat the ex biker transvestite turned web developer > who > > barely knew what a <title> tag was trying to ask for a 60k salary at > my > > company. :) > > > > It doesn't help on Stern every morning you hear ads to become an IT > > professional and make the big bucks... Advertising to bottom of the > > barrel folks. Oh well. > > > > I think in the consulting world, its all about word of mouth these > days. > > If I put an ad in the paper I will be flooded with so much garbage it > is > > near impossible to find the needle in the haystack. > > > > > > > > -----Original Message----- > > From: David Sklar [mailto:sklar at sklar.com] > > Sent: Friday, May 10, 2002 12:30 PM > > To: NYPHP Talk > > Subject: RE: [nycphp-talk] NYC economy for web developers > > > > > From: Hans Cathcart [mailto:hans at cathcart.org] > > > > > > People with deep technical skills in > > > Databases and Application development will make a come back. > > > Good designers will be OK. But, people who just know how to > > > code HTML and use Dreamweaver are a dime a dozen now. > > > > I think this is the crucial point. The explosion in need for "web > > programmers" caused a lot of people to go into the field without a lot > > of > > the industrial base of skills that are useful (necessary?) when jobs > > aren't > > so plentiful, like now. > > > > The worst I saw this was at my old company in Boston, after an > interview > > with a potential programmer. He did the standard 1 or 2 programming > > questions we asked and we talked about various things. At the end, he > > asked > > me if we always ask programming questions in interviews. (Yes). He > said > > he > > thought that was very tough of us, since this was the first > programming > > interview he'd been to where he'd actually been asked to write code! > > > > -dave > > > > > > > > > > > > > > > > > > > > From zaunere at yahoo.com Fri May 10 16:13:43 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Fri, 10 May 2002 13:13:43 -0700 (PDT) Subject: XMLRPC and Linig for your birdcage Message-ID: <20020510201343.67089.qmail@web12805.mail.yahoo.com> This post is basically meaningless, but I wanted to show off my amazing Visio skills :->. I've attached a .jpg that shows the basic structure of NYPHP.org's backend, including list and authentication. Right now, the site is "hosted" on two servers. The .html is served from nyphp.org, but the core code resides on a remote server. There's not much sense in this at this point, however, I'm curious as to anyone's expierence with XMLRPC in PHP - solid, reliable implementation yet? Currently, the Parasite Host acts, very minimally, as a web service, providing an authentication/app framework to what could be any number of Parasites. I'm using a homegrown RPC structure now, however would like to move to XMLRPC for standardization reasons. The diagram is poor, the organization is weak and the cliches are cheesy, but if you print it out and put it on the bottom of a birdcage, it might keep a parrot busy for a few minutes. Hans Z. __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! http://shopping.yahoo.com -------------- next part -------------- A non-text attachment was scrubbed... Name: parasite_schema.jpg Type: image/pjpeg Size: 70827 bytes Desc: parasite_schema.jpg URL: <http://lists.nyphp.org/pipermail/talk/attachments/20020510/0f20d2ad/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: parasite_schema.vsd Type: application/octet-stream Size: 81408 bytes Desc: parasite_schema.vsd URL: <http://lists.nyphp.org/pipermail/talk/attachments/20020510/0f20d2ad/attachment.obj> From soazine at erols.com Fri May 10 16:36:05 2002 From: soazine at erols.com (Phil Powell) Date: Fri, 10 May 2002 16:36:05 -0400 Subject: Far out PHP idea: PHP chatroom? Message-ID: <000e01c1f862$4eec5880$e9c0a818@scandinawa1bo6> I have given up the idea that I will ever get this applet-servlet problem solved, so therefore I am looking toward a simpler solution, namely, a PHP-based chatroom based on this premise: An HTML frame with a frameset consisting of a continuously renewing PHP script that will pull a flat file of messages and refresh itself with it. The other frameset would be a form for the user to fill out. Is that a feasible idea or am I lost in space? Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.nyphp.org/pipermail/talk/attachments/20020510/ef3cc15f/attachment.html> From adam at ecamp.net Fri May 10 16:43:35 2002 From: adam at ecamp.net (Adam) Date: Fri, 10 May 2002 16:43:35 -0400 Subject: [nycphp-talk] Far out PHP idea: PHP chatroom? In-Reply-To: <200205102036.g4AKaIo46250@slipdisc.virul.net> Message-ID: <E1858F33EF60D411AC120008C74C668A465C1E@EXCHANGE> Well that's easy to do, but doesn't havea nice 'feel'.... but there are tons of scripts around that will do thatl. -----Original Message----- From: Phil Powell [mailto:soazine at erols.com] Sent: Friday, May 10, 2002 4:36 PM To: NYPHP Talk Subject: [nycphp-talk] Far out PHP idea: PHP chatroom? I have given up the idea that I will ever get this applet-servlet problem solved, so therefore I am looking toward a simpler solution, namely, a PHP-based chatroom based on this premise: An HTML frame with a frameset consisting of a continuously renewing PHP script that will pull a flat file of messages and refresh itself with it. The other frameset would be a form for the user to fill out. Is that a feasible idea or am I lost in space? Phil From charles at softwareprototypes.com Fri May 10 16:54:49 2002 From: charles at softwareprototypes.com (charles at softwareprototypes.com) Date: Fri, 10 May 2002 16:54:49 -0400 Subject: bird cage liner needs work. Message-ID: <108880-220025510205449781@softwareprototypes.com> Hi Hans. cute but you saved the file as an untyped application/octet stream or something. I had to save it to disk in order to open it. I know I should have just been able to open it as a JPG. -Charles-A > From: Hans Zaunere <zaunere at yahoo.com> > Organization: New York PHP > Reply-To: talk at nyphp.org > Date: Fri, 10 May 2002 16:14:08 -0400 > To: NYPHP Talk <talk at nyphp.org> > Subject: [nycphp-talk] XMLRPC and Linig for your birdcage > > <paralist>This message contained 2 file(s) and is available at > http://nyphp.org/list/paralist_archive.html?L_mid=46</paralist> > > > This post is basically meaningless, but I wanted to show off my amazing > Visio skills :->. I've attached a .jpg that shows the basic structure > of NYPHP.org's backend, including list and authentication. > > Right now, the site is "hosted" on two servers. The .html is served > from nyphp.org, but the core code resides on a remote server. There's > not much sense in this at this point, however, I'm curious as to > anyone's expierence with XMLRPC in PHP - solid, reliable implementation > yet? > > Currently, the Parasite Host acts, very minimally, as a web service, > providing an authentication/app framework to what could be any number > of Parasites. I'm using a homegrown RPC structure now, however would > like to move to XMLRPC for standardization reasons. > > The diagram is poor, the organization is weak and the cliches are > cheesy, but if you print it out and put it on the bottom of a birdcage, > it might keep a parrot busy for a few minutes. > > Hans Z. > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Shopping - Mother's Day is May 12th! > http://shopping.yahoo.com > From sklar at sklar.com Fri May 10 17:06:23 2002 From: sklar at sklar.com (David Sklar) Date: Fri, 10 May 2002 17:06:23 -0400 Subject: [nycphp-talk] XMLRPC and Linig for your birdcage In-Reply-To: <200205102014.g4AKE8o46162@slipdisc.virul.net> Message-ID: <NFBBJNKBNKCIKGKJIFPJAENICNAA.sklar@sklar.com> > Right now, the site is "hosted" on two servers. The .html is served > from nyphp.org, but the core code resides on a remote server. There's > not much sense in this at this point, however, I'm curious as to > anyone's expierence with XMLRPC in PHP - solid, reliable implementation > yet? This isn't exactly XMLRPC, but the SOAP classes in PEAR are pretty easy to use, both for clients and servers. THe object model seems well thought out and it's pretty simple to get up and running. -dave From zaunere at yahoo.com Fri May 10 17:27:25 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Fri, 10 May 2002 14:27:25 -0700 (PDT) Subject: [nycphp-talk] bird cage liner needs work. In-Reply-To: <200205102050.g4AKoio46363@slipdisc.virul.net> Message-ID: <20020510212725.75605.qmail@web12808.mail.yahoo.com> Actually, when pulling the blob out of MySQL, I send a generic application/octet-strea content-type to the browser because I don't save the MIME type with the file. That's a good addition for the next version though, Hans Z. --- charles at softwareprototypes.com wrote: > Hi Hans. > > cute but you saved the file as an untyped application/octet stream or > something. > > I had to save it to disk in order to open it. I know I should have > just been able to open it as a JPG. > > -Charles-A > > > From: Hans Zaunere <zaunere at yahoo.com> > > Organization: New York PHP > > Reply-To: talk at nyphp.org > > Date: Fri, 10 May 2002 16:14:08 -0400 > > To: NYPHP Talk <talk at nyphp.org> > > Subject: [nycphp-talk] XMLRPC and Linig for your birdcage > > > > <paralist>This message contained 2 file(s) and is available at > > http://nyphp.org/list/paralist_archive.html?L_mid=46</paralist> > > > > > > This post is basically meaningless, but I wanted to show off my > amazing > > Visio skills :->. I've attached a .jpg that shows the basic > structure > > of NYPHP.org's backend, including list and authentication. > > > > Right now, the site is "hosted" on two servers. The .html is > served > > from nyphp.org, but the core code resides on a remote server. > There's > > not much sense in this at this point, however, I'm curious as to > > anyone's expierence with XMLRPC in PHP - solid, reliable > implementation > > yet? > > > > Currently, the Parasite Host acts, very minimally, as a web > service, > > providing an authentication/app framework to what could be any > number > > of Parasites. I'm using a homegrown RPC structure now, however > would > > like to move to XMLRPC for standardization reasons. > > > > The diagram is poor, the organization is weak and the cliches are > > cheesy, but if you print it out and put it on the bottom of a > birdcage, > > it might keep a parrot busy for a few minutes. > > > > Hans Z. > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Shopping - Mother's Day is May 12th! > > http://shopping.yahoo.com > > > > > __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! http://shopping.yahoo.com From zaunere at yahoo.com Fri May 10 17:39:35 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Fri, 10 May 2002 14:39:35 -0700 (PDT) Subject: [nycphp-talk] XMLRPC and Linig for your birdcage In-Reply-To: <200205102106.g4AL6Eo46464@slipdisc.virul.net> Message-ID: <20020510213935.89813.qmail@web12807.mail.yahoo.com> I've considered SOAP as well, and although I'm not set in my ways yet, XMLRPC seems a little less bloated. However, that bloat may be worth it depending on the XMLRPC implementation. Also something I need to consider will be encryption (ssh through either one of these is probably a wet dream, no? - I would like to avoid SSL) Hans Z. --- David Sklar <sklar at sklar.com> wrote: > > Right now, the site is "hosted" on two servers. The .html is > served > > from nyphp.org, but the core code resides on a remote server. > There's > > not much sense in this at this point, however, I'm curious as to > > anyone's expierence with XMLRPC in PHP - solid, reliable > implementation > > yet? > > This isn't exactly XMLRPC, but the SOAP classes in PEAR are pretty > easy to > use, both for clients and servers. THe object model seems well > thought out > and it's pretty simple to get up and running. > > -dave > > __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! http://shopping.yahoo.com From sklar at sklar.com Fri May 10 18:16:36 2002 From: sklar at sklar.com (David Sklar) Date: Fri, 10 May 2002 18:16:36 -0400 Subject: [nycphp-talk] XMLRPC and Linig for your birdcage In-Reply-To: <200205102139.g4ALddo46616@slipdisc.virul.net> Message-ID: <NFBBJNKBNKCIKGKJIFPJGENKCNAA.sklar@sklar.com> I guess bloat is relative, but I don't think you're going to notice it until you start doing a lot of simultaneous transactions. As for encryption, if you want to avoid SSL (to not buy certificates?) you can set up port forwarding with ssh between a port on the client machine and the port the web server is listening on on the server. -dave > From: Hans Zaunere [mailto:zaunere at yahoo.com] > > I've considered SOAP as well, and although I'm not set in my ways yet, > XMLRPC seems a little less bloated. However, that bloat may be worth > it depending on the XMLRPC implementation. Also something I need to > consider will be encryption (ssh through either one of these is > probably a wet dream, no? - I would like to avoid SSL) > http://shopping.yahoo.com From c0de at bol.com.br Fri May 10 18:48:49 2002 From: c0de at bol.com.br (c0de) Date: Fri, 10 May 2002 19:48:49 -0300 Subject: get out Message-ID: <GVX3DD$IVZTQejzdLhLSfDNpDJTQq3kMdR6Qe7@bol.com.br> I want to get out of list. c0de; system operation closed __________________________________________________________________________ Quer ter seu pr?prio endere?o na Internet? Garanta j? o seu e ainda ganhe cinco e-mails personalizados. Dom?niosBOL - http://dominios.bol.com.br From zaunere at yahoo.com Fri May 10 19:25:35 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Fri, 10 May 2002 16:25:35 -0700 (PDT) Subject: [nycphp-talk] get out In-Reply-To: <200205102249.g4AMnOo46824@slipdisc.virul.net> Message-ID: <20020510232535.75329.qmail@web12801.mail.yahoo.com> There has been information sent out concerning subscription to lists. If you were unable to follow these, problems are to be reported to listmaster at nyphp.org. Hans Z. --- c0de <c0de at bol.com.br> wrote: > I want to get out of list. > > > c0de; system operation closed > > > __________________________________________________________________________ > Quer ter seu pr?prio endere?o na Internet? > Garanta j? o seu e ainda ganhe cinco e-mails personalizados. > Dom?niosBOL - http://dominios.bol.com.br > > > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From zaunere at yahoo.com Fri May 10 19:36:27 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Fri, 10 May 2002 16:36:27 -0700 (PDT) Subject: [nycphp-talk] XMLRPC and Linig for your birdcage In-Reply-To: <200205102216.g4AMGRo46720@slipdisc.virul.net> Message-ID: <20020510233627.86410.qmail@web12808.mail.yahoo.com> --- David Sklar <sklar at sklar.com> wrote: > I guess bloat is relative, but I don't think you're going to notice > it until > you start doing a lot of simultaneous transactions. > As for encryption, if you want to avoid SSL (to not buy > certificates?) you > can set up port forwarding with ssh between a port on the client > machine and > the port the web server is listening on on the server. I guess my thinking here will be the ability to provide a drop-in solution, making implementation as easy as possible for the end-user. So, for example, someone has their own site that they want to add user auth. to. Ideally, they can subscribe to a free service, download a PHP library file (or a PHP extension at some point), make a single tweak to Apache for the site they want to protect, and they have user auth., tracking, etc. I guess XMLRPC caught my eye because of it's directness. Maybe an application implemented encryption scheme would be easiest at first. Hans Z. > > -dave > > > From: Hans Zaunere [mailto:zaunere at yahoo.com] > > > > I've considered SOAP as well, and although I'm not set in my ways > yet, > > XMLRPC seems a little less bloated. However, that bloat may be > worth > > it depending on the XMLRPC implementation. Also something I need > to > > consider will be encryption (ssh through either one of these is > > probably a wet dream, no? - I would like to avoid SSL) > > http://shopping.yahoo.com > > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From soazine at erols.com Fri May 10 19:46:38 2002 From: soazine at erols.com (Phil Powell) Date: Fri, 10 May 2002 19:46:38 -0400 Subject: HELP!!!! Message-ID: <007801c1f87c$ed71dce0$e9c0a818@scandinawa1bo6> I don't know how categorize this one so I'll just shout out a plea for HELP!!!!!!!! I have the following .php file, menubar_functions.php, resting in the docroot: <? // This function is the PHP version of the TCL proc PRODUCE_MENUBAR which // will produce the menubar for all PHP files // // Syntax: echo PRODUCE_MENUBAR() // function PRODUCE_MENUBAR() { global $HTTP_HOST; $tcl = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "tclsh83" : "tclsh"; $path = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "cgi-bin" : "cgi-bin/cgiwrap/ppowell"; $fileID = fopen("http://$HTTP_HOST/$path/menubar.cgi", "r"); $menubar = fread($fileID, 1000000); fclose($fileID); return $menubar; } ?> I have a file called chat_login.php that is resting in $DOCUMENT_ROOT/chat folder. I can't call menubar_function.php 's function PRODUCE_MENUBAR (Fatal error) from my file chat_login.php. What on earth do I do??!?! Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.nyphp.org/pipermail/talk/attachments/20020510/50408302/attachment.html> From soazine at erols.com Sat May 11 02:45:27 2002 From: soazine at erols.com (Phil Powell) Date: Sat, 11 May 2002 02:45:27 -0400 Subject: [nycphp-talk] HELP!!!! References: <200205102346.g4ANkpo47070@slipdisc.virul.net> <3CDC7744.4090002@snet.net> Message-ID: <00d301c1f8b7$6f9c9180$e9c0a818@scandinawa1bo6> The example still doesn't work for me, though, here is the error: Fatal error: Call to undefined function: produce_menubar() in /users/ppowell/web/chat/chat_login.php on line 55 Here is the code of menubar_functions.php: <? // This function is the PHP version of the TCL proc PRODUCE_MENUBAR which // will produce the menubar for all PHP files // // Syntax: echo PRODUCE_MENUBAR() // function PRODUCE_MENUBAR() { global $HTTP_HOST; $tcl = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "tclsh83" : "tclsh"; $path = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "cgi-bin" : "cgi-bin/cgiwrap/ppowell"; $fileID = fopen("http://$HTTP_HOST/$path/menubar.cgi", "r"); $menubar = fread($fileID, 1000000); fclose($fileID); return $menubar; } ?> and the offending code in /chat/chat_login.php: <? flush(); $menubarPath = "http://" . $HTTP_HOST . "/menubar_functions.php"; require_once($menubarPath); flush(); echo PRODUCE_MENUBAR(); ?> Phil ----- Original Message ----- From: "George Herson" <gherson at snet.net> To: <soazine at erols.com> Sent: Friday, May 10, 2002 9:43 PM Subject: Re: [nycphp-talk] HELP!!!! > hi. > > http://www.php.net/manual/en/function.flush.php has a chat-based example, fyi. > > geo > > Phil Powell wrote: > > I don't know how categorize this one so I'll just shout out a plea for HELP!!!!!!!! > > > > I have the following .php file, menubar_functions.php, resting in the docroot: > > > > <? > > > > // This function is the PHP version of the TCL proc PRODUCE_MENUBAR which > > // will produce the menubar for all PHP files > > // > > // Syntax: echo PRODUCE_MENUBAR() > > // > > > > > > function PRODUCE_MENUBAR() { > > global $HTTP_HOST; > > $tcl = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "tclsh83" : "tclsh"; > > $path = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "cgi-bin" : "cgi-bin/cgiwrap/ppowell"; > > $fileID = fopen("http://$HTTP_HOST/$path/menubar.cgi", "r"); > > $menubar = fread($fileID, 1000000); > > fclose($fileID); > > return $menubar; > > } > > > > ?> > > > > I have a file called chat_login.php that is resting in $DOCUMENT_ROOT/chat folder. > > > > I can't call menubar_function.php 's function PRODUCE_MENUBAR (Fatal error) from my file chat_login.php. > > > > What on earth do I do??!?! > > > > Phil > > > > > > > > > From soazine at erols.com Sat May 11 02:46:03 2002 From: soazine at erols.com (Phil Powell) Date: Sat, 11 May 2002 02:46:03 -0400 Subject: [PHP] Using function in PHP script n DOCROOT in PHP script in subfolder References: <Pine.LNX.4.44.0205102208220.6565-100000@stoic.net> Message-ID: <00d901c1f8b7$8545eae0$e9c0a818@scandinawa1bo6> I can't alter php.ini as this is occurring on a remote site (not on my own site). :( Phil ----- Original Message ----- From: "Miguel Cruz" <mnc at stoic.net> To: "Phil Powell" <soazine at erols.com> Cc: <php-general at lists.php.net> Sent: Friday, May 10, 2002 11:08 PM Subject: Re: [PHP] Using function in PHP script n DOCROOT in PHP script in subfolder > On Fri, 10 May 2002, Phil Powell wrote: > > How do I fix this problem? I do not want to duplicate the PHP script per > > folder as there will be an enormous amount of dynamically-created subfolders > > and I will have to copy a version per folder. I want to be able to use the > > one PHP script in the DOCROOT for every PHP script in every subfolder, how > > is this done? > > Check out the include_path directive in php.ini (or .htaccess or > whatever). > > miguel > > From cjtotheg at artisanquest.com Sat May 11 10:42:37 2002 From: cjtotheg at artisanquest.com (Clay Givens) Date: Sat, 11 May 2002 22:42:37 +0800 (MYT) Subject: [nycphp-talk] HELP!!!! In-Reply-To: <200205110645.g4B6jso47984@slipdisc.virul.net> Message-ID: <Pine.LNX.4.33.0205112235080.31531-100000@www.1hp.net> Maybe try removing the second call to flush() from chat_login.php On Sat, 11 May 2002, Phil Powell wrote: > The example still doesn't work for me, though, here is the error: > > Fatal error: Call to undefined function: produce_menubar() in > /users/ppowell/web/chat/chat_login.php on line 55 > > Here is the code of menubar_functions.php: > > <? > > // This function is the PHP version of the TCL proc PRODUCE_MENUBAR which > // will produce the menubar for all PHP files > // > // Syntax: echo PRODUCE_MENUBAR() > // > > > function PRODUCE_MENUBAR() { > global $HTTP_HOST; > $tcl = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "tclsh83" : "tclsh"; > $path = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "cgi-bin" : > "cgi-bin/cgiwrap/ppowell"; > $fileID = fopen("http://$HTTP_HOST/$path/menubar.cgi", "r"); > $menubar = fread($fileID, 1000000); > fclose($fileID); > return $menubar; > } > > ?> > > and the offending code in /chat/chat_login.php: > > <? > flush(); > $menubarPath = "http://" . $HTTP_HOST . "/menubar_functions.php"; > require_once($menubarPath); > flush(); > echo PRODUCE_MENUBAR(); > > ?> > > Phil > ----- Original Message ----- > From: "George Herson" <gherson at snet.net> > To: <soazine at erols.com> > Sent: Friday, May 10, 2002 9:43 PM > Subject: Re: [nycphp-talk] HELP!!!! > > > > hi. > > > > http://www.php.net/manual/en/function.flush.php has a chat-based example, > fyi. > > > > geo > > > > Phil Powell wrote: > > > I don't know how categorize this one so I'll just shout out a plea for > HELP!!!!!!!! > > > > > > I have the following .php file, menubar_functions.php, resting in the > docroot: > > > > > > <? > > > > > > // This function is the PHP version of the TCL proc PRODUCE_MENUBAR > which > > > // will produce the menubar for all PHP files > > > // > > > // Syntax: echo PRODUCE_MENUBAR() > > > // > > > > > > > > > function PRODUCE_MENUBAR() { > > > global $HTTP_HOST; > > > $tcl = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "tclsh83" : > "tclsh"; > > > $path = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "cgi-bin" : > "cgi-bin/cgiwrap/ppowell"; > > > $fileID = fopen("http://$HTTP_HOST/$path/menubar.cgi", "r"); > > > $menubar = fread($fileID, 1000000); > > > fclose($fileID); > > > return $menubar; > > > } > > > > > > ?> > > > > > > I have a file called chat_login.php that is resting in > $DOCUMENT_ROOT/chat folder. > > > > > > I can't call menubar_function.php 's function PRODUCE_MENUBAR (Fatal > error) from my file chat_login.php. > > > > > > What on earth do I do??!?! > > > > > > Phil > > > > > > > > > > > > > > > > > From soazine at erols.com Sat May 11 13:14:50 2002 From: soazine at erols.com (Phil Powell) Date: Sat, 11 May 2002 13:14:50 -0400 Subject: Fw: [nycphp-talk] HELP!!!! Message-ID: <012e01c1f90f$5bcaaf40$e9c0a818@scandinawa1bo6> ----- Original Message ----- From: "Phil Powell" <soazine at erols.com> To: "George Herson" <gherson at snet.net> Sent: Saturday, May 11, 2002 1:14 PM Subject: Re: [nycphp-talk] HELP!!!! > In the "HOW BOUT THAT" department.. this worked: > > <? > flush(); > $menubarPath = $DOCUMENT_ROOT . "/menubar_functions.php"; > require_once($menubarPath); > echo PRODUCE_MENUBAR(); > > ?> > > Thanx for hearing my tales of woe.. > > Phil > ----- Original Message ----- > From: "George Herson" <gherson at snet.net> > To: <soazine at erols.com> > Sent: Saturday, May 11, 2002 10:20 AM > Subject: Re: [nycphp-talk] HELP!!!! > > > > hi, > > > > Do you have to require_once( menubar_functions.php ) over http? I'm not > sure > > that works. Require it as a file, that'll work. > > > > When you get a clear error like this, make a copy of the script and in it > delete > > all lines except what's relevant to the failure. Then hack that to learn > what's > > wrong. > > > > george > > > > Phil Powell wrote: > > > The example still doesn't work for me, though, here is the error: > > > > > > Fatal error: Call to undefined function: produce_menubar() in > > > /users/ppowell/web/chat/chat_login.php on line 55 > > > > > > Here is the code of menubar_functions.php: > > > > > > <? > > > > > > // This function is the PHP version of the TCL proc PRODUCE_MENUBAR > which > > > // will produce the menubar for all PHP files > > > // > > > // Syntax: echo PRODUCE_MENUBAR() > > > // > > > > > > > > > function PRODUCE_MENUBAR() { > > > global $HTTP_HOST; > > > $tcl = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "tclsh83" : > "tclsh"; > > > $path = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "cgi-bin" : > > > "cgi-bin/cgiwrap/ppowell"; > > > $fileID = fopen("http://$HTTP_HOST/$path/menubar.cgi", "r"); > > > $menubar = fread($fileID, 1000000); > > > fclose($fileID); > > > return $menubar; > > > } > > > > > > ?> > > > > > > and the offending code in /chat/chat_login.php: > > > > > > <? > > > flush(); > > > $menubarPath = "http://" . $HTTP_HOST . "/menubar_functions.php"; > > > require_once($menubarPath); > > > flush(); > > > echo PRODUCE_MENUBAR(); > > > > > > ?> > > > > > > Phil > > > ----- Original Message ----- > > > From: "George Herson" <gherson at snet.net> > > > To: <soazine at erols.com> > > > Sent: Friday, May 10, 2002 9:43 PM > > > Subject: Re: [nycphp-talk] HELP!!!! > > > > > > > > > > > >>hi. > > >> > > >>http://www.php.net/manual/en/function.flush.php has a chat-based > example, > > > > > > fyi. > > > > > >>geo > > >> > > >>Phil Powell wrote: > > >> > > >>>I don't know how categorize this one so I'll just shout out a plea for > > >> > > > HELP!!!!!!!! > > > > > >>>I have the following .php file, menubar_functions.php, resting in the > > >> > > > docroot: > > > > > >>><? > > >>> > > >>> // This function is the PHP version of the TCL proc PRODUCE_MENUBAR > > >> > > > which > > > > > >>> // will produce the menubar for all PHP files > > >>> // > > >>> // Syntax: echo PRODUCE_MENUBAR() > > >>> // > > >>> > > >>> > > >>> function PRODUCE_MENUBAR() { > > >>> global $HTTP_HOST; > > >>> $tcl = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "tclsh83" : > > >> > > > "tclsh"; > > > > > >>> $path = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "cgi-bin" : > > >> > > > "cgi-bin/cgiwrap/ppowell"; > > > > > >>> $fileID = fopen("http://$HTTP_HOST/$path/menubar.cgi", "r"); > > >>> $menubar = fread($fileID, 1000000); > > >>> fclose($fileID); > > >>> return $menubar; > > >>> } > > >>> > > >>>?> > > >>> > > >>>I have a file called chat_login.php that is resting in > > >> > > > $DOCUMENT_ROOT/chat folder. > > > > > >>>I can't call menubar_function.php 's function PRODUCE_MENUBAR (Fatal > > >> > > > error) from my file chat_login.php. > > > > > >>>What on earth do I do??!?! > > >>> > > >>>Phil > > >>> > > > > > > > > > > > From soazine at erols.com Sat May 11 17:52:31 2002 From: soazine at erols.com (Phil Powell) Date: Sat, 11 May 2002 17:52:31 -0400 Subject: PHP can't access files (but TCL can!!!) References: <200205111715.g4BHFAo51404@slipdisc.virul.net> Message-ID: <017001c1f936$26f49d40$e9c0a818@scandinawa1bo6> TCL 1, PHP 0 Ok, I am frustrated.. here is my code and this portion has to be done in PHP. I have a frame that can only be accessed if 1 of 2 things occur: 1) if $HTTP_REFERER has a specific value 2) if your nickname passed in the query string is found in the existing nicknames.txt file found in /chat/nicknames.txt Here is the code: <? // Security measure to prevent bookmarking of page unless nickname exists in nicknames.txt $contents = ""; if (!preg_match("/\\bchat_process_nickname\\b/i", $HTTP_REFERER)) { $canAccessChatroom = 1; if (strlen($nickname) < 2) $canAccessChatroom = 0; if (!file_exists($DOCUMENT_ROOT . "/chat/nicknames.txt")) $canAccessChatroom = 0; if ($canAccessChatroom == 1) { $fileID = fopen($DOCUMENT_ROOT. "/chat/nicknames.txt", r) or die ("could not open file"); if (!$fileID) { $canAccessChatroom = 0; } else { $contents = fread($fileID); fclose($fileID); } } if ($canAccessChatroom == 1 && strlen($contents) == 0) $canAccessChatroom = 0; if ($canAccessChatroom == 1 && !preg_match("/[a-zA-Z0-9_\\-]+/", $contents)) $canAccessChatroom == 0; if ($canAccessChatroom == 1) { if (!preg_match("/\\b$nickname\\b/i", $contents)) $canAccessChatroom == 0; } if ($canAccessChatroom == 0) { echo "<meta http-equiv=Refresh content='1;URL=http://" . $SERVER_NAME . "/chat/chat_login.php'>\ "; echo "<script>\ <!--\ location.href='http://" . $SERVER_NAME . "/chat/chat_login.php';\ \\/\\/-->\ </script>\ "; } } ?> No matter what I do, however, the file cannot be accessed if it exists and causes damage galore. Can anyone out there help me figure out what I did wrong; I'm completely stumped and may have to rewrite this portion of the chatroom in TCL, all of my TCL scripts have had NO problems whatsoever accessing the txt files. Phil From zaunere at yahoo.com Mon May 13 15:43:55 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Mon, 13 May 2002 12:43:55 -0700 (PDT) Subject: NYPHP Development Meeting In-Reply-To: <200205090316.g493GWo37038@slipdisc.virul.net> Message-ID: <20020513194355.57344.qmail@web12806.mail.yahoo.com> There was a planned meeting to get down and dirty in NYPHP.org's development this week, but since I have gotten a less-than-enthuisastic response to a day/time preference, it has been postponed. I realize people are busy, as I am too, but let's try to do better and get a new meeting worked out. Maybe our next general group meeting should be dedicated for this purpose? NYPHP.org really needs some layout/design work. As I've said, the backend is ready to go - it's not perfect, but we won't know what else needs to be done until it's put to use. >From now on, this type of group business will be carried on the NYPHP Development list, so if you reply to this message, be sure you are replying to the correct address (dev at nyphp.org). Hans Z. --- Hans Zaunere <zaunere at yahoo.com> wrote: > > As a final note, I'd like to remind everyone (especially NYPHP > Principals) that the NYPHP Development list is back online. Please > join this low-traffic list ASAP as we will be planning a meeting > shortly to further NYPHP.org's design and layout. > > Of course, everyone is welcome to join the nyphp-dev list and > participate as well. > > Thanks, > > Hans Z. > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From soazine at erols.com Mon May 13 15:57:25 2002 From: soazine at erols.com (Phil Powell) Date: Mon, 13 May 2002 15:57:25 -0400 Subject: Thanx for all your help, guys! TCL/PHP Chatroom Launched Message-ID: <02c201c1fab8$6745aaf0$e9c0a818@scandinawa1bo6> I successfully built a TCL/PHP chatroom!! There are still a few weird client-side bugs to iron out which do not affect overall functionality, but it's done! Now all I need to figure out how to write a task scheduler on the server end. Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.nyphp.org/pipermail/talk/attachments/20020513/366ac608/attachment.html> From prutwo at onebox.com Mon May 13 16:30:15 2002 From: prutwo at onebox.com (ophir prusak) Date: Mon, 13 May 2002 13:30:15 -0700 Subject: yahoo email Message-ID: <20020513203015.JQJF5842.mta04.onebox.com@onebox.com> a while back someone asked about getting their email from Yahoo via pop3 without paying for pop3 access. I just stumbled across something which seems to do the job: http://sourceforge.net/projects/yosucker/ p.s. please let me know if indeed it was someone from this list (it might have been a different list). ---- Ophir Prusak Internet developer prutwo at onebox.com | http://www.prusak.com/ From zaunere at yahoo.com Mon May 13 17:28:16 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Mon, 13 May 2002 14:28:16 -0700 (PDT) Subject: [nycphp-talk] yahoo email In-Reply-To: <200205132030.g4DKUNo57087@slipdisc.virul.net> Message-ID: <20020513212816.22699.qmail@web12807.mail.yahoo.com> It was someone from this list (me!) and it works pretty good. Thanks Ophir, Hans Z. --- ophir prusak <prutwo at onebox.com> wrote: > > a while back someone asked about getting their email from Yahoo via > pop3 > without paying for pop3 access. > > I just stumbled across something which seems to do the job: > > http://sourceforge.net/projects/yosucker/ > > p.s. > please let me know if indeed it was someone from this list (it might > have been a different list). > > ---- > Ophir Prusak > Internet developer > prutwo at onebox.com | http://www.prusak.com/ > > > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From nyphp at altunergil.com Mon May 13 17:41:05 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Mon, 13 May 2002 17:41:05 -0400 Subject: [nycphp-talk] yahoo email In-Reply-To: <200205132128.g4DLSJo57251@slipdisc.virul.net> References: <200205132128.g4DLSJo57251@slipdisc.virul.net> Message-ID: <20020513174105.59107fd8.nyphp@altunergil.com> I believe the discussion came up on nylug-talk also. oktay On Mon, 13 May 2002 17:28:19 -0400 Hans Zaunere <zaunere at yahoo.com> wrote: > > > It was someone from this list (me!) and it works pretty good. > > Thanks Ophir, > > Hans Z. > > > --- ophir prusak <prutwo at onebox.com> wrote: > > > > a while back someone asked about getting their email from Yahoo via > > pop3 > > without paying for pop3 access. > > > > I just stumbled across something which seems to do the job: > > > > http://sourceforge.net/projects/yosucker/ > > > > p.s. > > please let me know if indeed it was someone from this list (it might > > have been a different list). > > > > ---- > > Ophir Prusak > > Internet developer > > prutwo at onebox.com | http://www.prusak.com/ > > > > > > > > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com > From tom at supertom.com Mon May 13 16:54:17 2002 From: tom at supertom.com (tom at supertom.com) Date: Mon, 13 May 2002 16:54:17 -0400 Subject: php compiler? In-Reply-To: <200205131957.g4DJvro56952@slipdisc.virul.net> Message-ID: <LBEDJMJGLEPEKJAJMHBDEEHDCDAA.tom@supertom.com> Hello, Someone had released a php compiler last year, that let you make standalone windows executables - anyone seen it around? I don't have it anymore, and can't seem to find it on the net. Anyone have it, or have a URL where I can grab it from? Thanks, Tom From georgenatalino at yahoo.com Mon May 13 22:42:13 2002 From: georgenatalino at yahoo.com (George Natalino) Date: Mon, 13 May 2002 19:42:13 -0700 (PDT) Subject: [nycphp-talk] php compiler? In-Reply-To: <200205132301.g4DN1Wo57615@slipdisc.virul.net> Message-ID: <20020514024213.48515.qmail@web11403.mail.yahoo.com> There some here: 1] http://vivisimo.com/search?query=php+compiler&se=Yahoo%2CMSN%2CFast%2CNetscape%2CWiseNut%2CLooksmart 2] http://sourceforge.net/search/ --- tom at supertom.com wrote: > Hello, > > Someone had released a php compiler last year, that > let you make standalone > windows executables - anyone seen it around? I > don't have it anymore, and > can't seem to find it on the net. > > Anyone have it, or have a URL where I can grab it > from? > > Thanks, > > Tom > > ===== ================================================ Regards George Natalino georgenatalino at yahoo.com VoiceMail/Fax: (212) 894-3714 x1001 __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From zaunere at yahoo.com Tue May 14 09:34:37 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Tue, 14 May 2002 06:34:37 -0700 (PDT) Subject: Test message and Update - Please Read Message-ID: <20020514133437.70777.qmail@web12805.mail.yahoo.com> Good Morning, Last night, just as I was about to go to sleep, I noticed some oddities with the mail server. Turns out, for one reason or another (possibly my doing, although I'm blaming null mounts in FreeBSD) sendmail started going crazy. From what I can tell, some of you may have received duplicate emails from tom at supertom.com - this is sendmail's doing, not Tom's. Also, some incoming messages were dropped. If you posted last night, and haven't seen your message yet, you'll need to repost. Everything should be cleared up now, however, with normalcy settling back in. Thanks, Hans Z. __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From MLynn at exchange.ml.com Tue May 14 10:09:52 2002 From: MLynn at exchange.ml.com (Lynn, Michael (DCS)) Date: Tue, 14 May 2002 10:09:52 -0400 Subject: Delimeter for Content-Type: text/data downloads Message-ID: <8FA07D8665A9D511B80E00B0D068A1510293A4A3@ehope16.hew.us.ml.com> Greetings Fellow LAMP'ers. I have a student enrollment application I am writing for my employer and I would like to offer the administrator of the system the ability to download a comma seperated dump of the student file for import into excel. I'm using the header("Content-type: text/data") and it works, prompting the user to save/open the file - however, it appears that the newline character that I am using to delimit the rows is causing MS Excel to think that the file is something odd. The question: I'm use "/n" to break a row - is there another way of printing a cr/lf? I've tried &crlf and it comes out as a literal "&crlf" in the data file. Thanks in advance for any assistance you can offer. Regards, Mike Michael Lynn Platform Architect, Vice President Merrill Lynch desk://201.671.1063 From dev at thebinarylab.com Tue May 14 10:54:50 2002 From: dev at thebinarylab.com (John Ensign) Date: Tue, 14 May 2002 08:54:50 -0600 Subject: [nycphp-talk] php compiler? In-Reply-To: <200205132301.g4DN1Wo57615@slipdisc.virul.net> Message-ID: <IAEDLCHIBCFLOLAIDFCOAEJPCAAA.dev@thebinarylab.com> http://www.zend.com/lists/php-dev/200205/msg00340.html -----Original Message----- From: tom at supertom.com [mailto:tom at supertom.com] Sent: Monday, May 13, 2002 5:02 PM To: NYPHP Talk Subject: [nycphp-talk] php compiler? Hello, Someone had released a php compiler last year, that let you make standalone windows executables - anyone seen it around? I don't have it anymore, and can't seem to find it on the net. Anyone have it, or have a URL where I can grab it from? Thanks, Tom From enunez at tiaa-cref.org Tue May 14 16:47:08 2002 From: enunez at tiaa-cref.org (Nunez, Eddy) Date: Tue, 14 May 2002 14:47:08 -0600 Subject: Apache 2.x & PHP 4.2.x, good mix? Message-ID: <7CE0EC1FC2D0D411910700508BE38D0F016A34A4@msxnyusr01.msx.ops.tiaa-cref.org> Does PHP 4.2.x only work with Apache 1.3.x or does it work well under the latest and greatest Apache? The "INSTALL" file says nothing about Apache 2.x, only it's predecessor. And are the configuration files very different from Apache 1.3.x and 2.x? Thanks in advance, -Eddy ********************************************************************** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF ********************************************************************** From prutwo at onebox.com Tue May 14 16:56:50 2002 From: prutwo at onebox.com (ophir prusak) Date: Tue, 14 May 2002 13:56:50 -0700 Subject: [nycphp-talk] Apache 2.x & PHP 4.2.x, good mix? Message-ID: <20020514205650.NYBX4919.mta05.onebox.com@onebox.com> taken from http://www.php.net/release_4_2_1.php : Compatibility PHP 4.2.1 also has improved (but still experimental) support for Apache version 2. We do not recommend that you use this in a production environment, but feel free to test it and report bugs to the bug system. ---- Ophir Prusak Internet developer prutwo at onebox.com | http://www.prusak.com/ ---- "Nunez, Eddy" <enunez at tiaa-cref.org> wrote: > > Does PHP 4.2.x only work with Apache 1.3.x or does it work well > under the latest and greatest Apache? > > The "INSTALL" file says nothing about Apache 2.x, only it's predecessor. > And are the configuration files very different from Apache 1.3.x and > 2.x? > > Thanks in advance, > -Eddy > > > ********************************************************************** > This message, including any attachments, contains confidential information > intended for a specific individual and purpose, and is protected by > law. If you are not the intended recipient, please contact sender > immediately by reply e-mail and destroy all copies. You are hereby > notified that any disclosure, copying, or distribution of this message, > or the taking of any action based on it, is strictly prohibited. > TIAA-CREF > ********************************************************************** > > From j_r_sanchez at yahoo.com Tue May 14 23:40:40 2002 From: j_r_sanchez at yahoo.com (jose sanchez) Date: Tue, 14 May 2002 20:40:40 -0700 (PDT) Subject: Formatting dates Message-ID: <20020515034040.93338.qmail@web11701.mail.yahoo.com> Hello: I would like to know how I can use dates in PHP. This is what I would like to accomplish: First I would like to assign a starting date, for example: 5/11/02. I would like to add seven days to it so it will be Sat. May 18th and one day so it can be Sun. May 19th. I would like to do this for every week. At the same time, assign a week number according to the date. For example; May 11th and 12th would be week #1. Now, May 18th and 19th would be week #2 and so on... I know it will be a problem when the month changes. In other words what I like to create is a schedule thats in a database and loaded according to the week_no. Any idea on how I can accomplish this. Your help would be very apreciated. Thank you. ===== "An ounce of gold cannot buy an ounce of time." - Anonymous www.whmicro.com __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From jhise at distantworker.com Wed May 15 08:32:25 2002 From: jhise at distantworker.com (Jeremy Hise) Date: 15 May 2002 08:32:25 -0400 Subject: [nycphp-talk] Formatting dates In-Reply-To: <200205150340.g4F3ehR02746@slipdisc.virul.net> References: <200205150340.g4F3ehR02746@slipdisc.virul.net> Message-ID: <1021465948.3975.7.camel@localhost.localdomain> Hi! I'm not gonna go into details here, but just about all PHP date functions use the unix timestamp..which may seem a little odd if you are coming from M$. However, this turns out to be great because it actually eleminates the problem of going into the next month. For instance, to print the date, you say something like: print (date("M Y")); This will give you "May 2002"; Now, you can use a function called mktime() like this: $new_timestamp = mktime(0, 0, 0, 5, 15, 2002); Now if you say, print (date("M d Y", $new_timestamp)); You will get: "May 15 2002". The "next month" problem is solved because if you say, $new_timestamp = mktime(0,0,0,5,32,2002); You will get June 1 2002 Cool huh? Good luck! Jeremy NOTE: Some syntax may be off a bit, but use PHP.net as your reference. You can type in http://www.php.net/mktime and it will redirect you to the function definition for mktime(), etc. On Tue, 2002-05-14 at 23:40, jose sanchez wrote: > Hello: > > I would like to know how I can use dates in PHP. > > This is what I would like to accomplish: > > First I would like to assign a starting date, for > example: > 5/11/02. > > I would like to add seven days to it so it will be > Sat. May 18th and one day so it can be Sun. May 19th. > > I would like to do this for every week. At the same > time, assign a week number according to the date. For > example; May 11th and 12th would be week #1. Now, May > 18th and 19th would be week #2 and so on... > > I know it will be a problem when the month changes. In > other words what I like to create is a schedule thats > in a database and loaded according to the week_no. > > Any idea on how I can accomplish this. > > Your help would be very apreciated. > > Thank you. > > ===== > "An ounce of gold cannot buy an ounce of time." > - Anonymous > > > www.whmicro.com > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com > > > From jhise at linuxforbusiness.org Wed May 15 09:19:07 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 15 May 2002 09:19:07 -0400 Subject: [nycphp-talk] Formatting dates In-Reply-To: <200205150340.g4F3ehR02746@slipdisc.virul.net> References: <200205150340.g4F3ehR02746@slipdisc.virul.net> Message-ID: <1021468755.12440.1.camel@localhost.localdomain> Hi! I'm not gonna go into details here, but just about all PHP date functions use the unix timestamp..which may seem a little odd if you are coming from M$. However, this turns out to be great because it actually eleminates the problem of going into the next month and makes date handling really easy. For instance, to print the date, you say something like: print (date("M Y")); This will give you "May 2002"; Now, you can use a function called mktime() like this: $new_timestamp = mktime(0, 0, 0, 5, 15, 2002); Now if you say, print (date("M d Y", $new_timestamp)); You will get: "May 15 2002". The "next month" problem is solved because if you say, $new_timestamp = mktime(0,0,0,5,32,2002); You will get June 1 2002 Cool huh? Good luck! Jeremy NOTE: Some syntax may be off a bit, but use PHP.net as your reference. You can type in http://www.php.net/mktime and it will redirect you to the function definition for mktime(), etc. On Tue, 2002-05-14 at 23:40, jose sanchez wrote: > Hello: > > I would like to know how I can use dates in PHP. > > This is what I would like to accomplish: > > First I would like to assign a starting date, for > example: > 5/11/02. > > I would like to add seven days to it so it will be > Sat. May 18th and one day so it can be Sun. May 19th. > > I would like to do this for every week. At the same > time, assign a week number according to the date. For > example; May 11th and 12th would be week #1. Now, May > 18th and 19th would be week #2 and so on... > > I know it will be a problem when the month changes. In > other words what I like to create is a schedule thats > in a database and loaded according to the week_no. > > Any idea on how I can accomplish this. > > Your help would be very apreciated. > > Thank you. > > ===== > "An ounce of gold cannot buy an ounce of time." > - Anonymous > > > www.whmicro.com > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com > > > From thetomharrison at hotmail.com Wed May 15 11:16:32 2002 From: thetomharrison at hotmail.com (Tom Harrison) Date: Wed, 15 May 2002 11:16:32 -0400 Subject: Strange error including PEAR libraries Message-ID: <OE74NPPzQT456UnHAaa0000e548@hotmail.com> I am attempting to use PEAR's DB library in a project I'm working on, but am running into problems including the files in my php scripts. To include the library, I am using: require_once 'DB.php'; About 20% of the time, my scripts will execute properly. The other 80% of the time, I get this error: Fatal error: Failed opening required 'DB.php' (include_path='') in /home/dpmusic/public_html/admin/dbconn.php on line 2 Notice the part about the include path, (include_path=''). I did a test where I tried to include a dummy file with require_once 'foobar.php'; and got this error: Fatal error: Failed opening required 'Foobar.php' (include_path='.:/usr/local/lib/php').... None of my scripts contain anything that modifies the include path. I am hosted with a pretty reliable company who has always known what they're doing so it would surprise me if they installed php incorrectly. I would really like to figure out how to fix this though, it's been bugging me for weeks. Also, my phpinfo() output says that my include_path is set to .:/usr/local/lib/php Tom From georgenatalino at yahoo.com Wed May 15 11:38:01 2002 From: georgenatalino at yahoo.com (George Natalino) Date: Wed, 15 May 2002 11:38:01 -0400 Subject: Krysalis is an open-source PHP development platform... Message-ID: <3CE280D9.9C2D3BE1@yahoo.com> An HTML attachment was scrubbed... URL: <http://lists.nyphp.org/pipermail/talk/attachments/20020515/a192a031/attachment.html> From zaunere at yahoo.com Wed May 15 18:35:30 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 15 May 2002 15:35:30 -0700 (PDT) Subject: [nycphp-talk] Formatting dates In-Reply-To: <200205150340.g4F3ehR02746@slipdisc.virul.net> Message-ID: <20020515223530.92650.qmail@web12805.mail.yahoo.com> Several ways of doing this - here is some tips that might help. --- jose sanchez <j_r_sanchez at yahoo.com> wrote: > Hello: > > I would like to know how I can use dates in PHP. > > This is what I would like to accomplish: > > First I would like to assign a starting date, for > example: > 5/11/02. $start_timestamp = mktime(0,0,0,5,11,2002); > > I would like to add seven days to it so it will be > Sat. May 18th and one day so it can be Sun. May 19th. define('SECSINDAY', 24*3600); define('SECSINWEEK', SECSINDAY*7); $sat_timestamp = $start_timestamp + SECSINWEEK; $sun_timestamp = $sat_timestamp + SECSINDAY; > > I would like to do this for every week. At the same > time, assign a week number according to the date. For > example; May 11th and 12th would be week #1. Now, May > 18th and 19th would be week #2 and so on... Since you'll be starting at an arbitrary date, you'll need to track the weeks on your own. However, maybe you could setup an offset, and subtract that from the yearly week count (using date()). > > I know it will be a problem when the month changes. In > other words what I like to create is a schedule thats > in a database and loaded according to the week_no. > > Any idea on how I can accomplish this. If your using MySQL, there are some very useful date/time subtraction/addition functions (DATE_ADD() or something like that). Hope this helps, Hans Z. > Your help would be very apreciated. > > Thank you. > > ===== > "An ounce of gold cannot buy an ounce of time." > - Anonymous > > > www.whmicro.com > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From zaunere at yahoo.com Wed May 15 18:38:56 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 15 May 2002 15:38:56 -0700 (PDT) Subject: [nycphp-talk] Strange error including PEAR libraries In-Reply-To: <200205151516.g4FFGuR03964@slipdisc.virul.net> Message-ID: <20020515223856.96010.qmail@web12802.mail.yahoo.com> Hmm.. the 20/80% of the time work situation is always tricky. Somehow, in the file that you're requiring from, the include path is getting smacked. From that same file, test including a file in the current dir, etc. If only that file is having problems with including, then check out any config settings, or oddities in the file it self. Otherwise, you may want to contact your provider. Sounds almost like theres some memory corruption, although it could be anything I suppose. Hans Z. --- Tom Harrison <thetomharrison at hotmail.com> wrote: > I am attempting to use PEAR's DB library in a project I'm working on, > but am > running into problems including the files in my php scripts. To > include the > library, I am using: > > require_once 'DB.php'; > > About 20% of the time, my scripts will execute properly. The other > 80% of > the time, I get this error: > > Fatal error: Failed opening required 'DB.php' (include_path='') in > /home/dpmusic/public_html/admin/dbconn.php on line 2 > > Notice the part about the include path, (include_path=''). I did a > test > where I tried to include a dummy file with require_once 'foobar.php'; > and > got this error: > > Fatal error: Failed opening required 'Foobar.php' > (include_path='.:/usr/local/lib/php').... > > None of my scripts contain anything that modifies the include path. I > am > hosted with a pretty reliable company who has always known what > they're > doing so it would surprise me if they installed php incorrectly. I > would > really like to figure out how to fix this though, it's been bugging > me for > weeks. Also, my phpinfo() output says that my include_path is set to > .:/usr/local/lib/php > > Tom > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From enunez at tiaa-cref.org Thu May 16 11:56:22 2002 From: enunez at tiaa-cref.org (Nunez, Eddy) Date: Thu, 16 May 2002 09:56:22 -0600 Subject: php4 mod garbled? Message-ID: <7CE0EC1FC2D0D411910700508BE38D0F016A34A6@msxnyusr01.msx.ops.tiaa-cref.org> API module structure `php4_module' in file /home/apache/libexec/libphp4.so is garbled - perhaps this is not an Apache module DSO? ./apachectl start: httpd could not be started I compiled Apache 1.3.24 and PHP 4.2.1. Seems that Apache doesn't like the SO. I tried various configurations but I get the same result everytime. The very same .so file loads up fine when I load it up with the previous installation?! But I cannot use it, I am required to recompile the httpd. Anyone have any insight into this? Thanks! -Ed Nunez PS: please disregard the text at the bottom of my emails, it's appended automatically by my company. ********************************************************************** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF ********************************************************************** From zaunere at yahoo.com Thu May 16 15:50:31 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 16 May 2002 12:50:31 -0700 (PDT) Subject: [nycphp-talk] php4 mod garbled? In-Reply-To: <200205161557.g4GFv2R06239@slipdisc.virul.net> Message-ID: <20020516195031.66407.qmail@web12808.mail.yahoo.com> Not 100% on the configuration you have, but make sure you are compiling correlating versions, ie, make sure that you aren't compiling php into Apache staticly, then trying to load the DSO. Also, make sure the source you compile the PHP against as a DSO, is the same version you are loading it into. And remember, unless PHP is a DSO, Apache will need to be recompiled! HTH, Hans Z. --- "Nunez, Eddy" <enunez at tiaa-cref.org> wrote: > > API module structure `php4_module' in file > /home/apache/libexec/libphp4.so > is garbled - perhaps this is not an Apache module DSO? > ./apachectl start: httpd could not be started > > I compiled Apache 1.3.24 and PHP 4.2.1. Seems that Apache doesn't > like the > SO. I tried various configurations but I get the same result > everytime. > > The very same .so file loads up fine when I load it up with the > previous > installation?! But I cannot use it, I am required to recompile the > httpd. > > Anyone have any insight into this? > > Thanks! > -Ed Nunez > > PS: please disregard the text at the bottom of my emails, it's > appended > automatically by my company. > > > ********************************************************************** > This message, including any attachments, contains confidential > information intended for a specific individual and purpose, and is > protected by law. If you are not the intended recipient, please > contact sender immediately by reply e-mail and destroy all copies. > You are hereby notified that any disclosure, copying, or distribution > of this message, or the taking of any action based on it, is strictly > prohibited. > TIAA-CREF > ********************************************************************** > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From zaunere at yahoo.com Thu May 16 19:22:31 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 16 May 2002 16:22:31 -0700 (PDT) Subject: NYPHP Updates and News Message-ID: <20020516232231.48651.qmail@web12806.mail.yahoo.com> Good evening folks, I've written a couple thoughts up, and posted them to the Group Notes section of http://nyphp.org. Please take a look at them, and conduct any further discussion on the Development mailing list (dev at nyphp.org). Thank you, Hans Z. __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From jwing at www.erols.com Fri May 17 12:27:41 2002 From: jwing at www.erols.com (Jerry Wing) Date: Fri, 17 May 2002 12:27:41 -0400 Subject: (no subject) Message-ID: <3CE52F7D.783BAE53@www.erols.com> I am developing for myself a database application that carries job related information for the internet - my own small business. I have developed scripts for adding and deleting a record, but the script for update record does not work. The add record script adds values to all the fields of a record, and the delete record script deletes whatever record is selected. I think the database columns are okay since they work with these two commands. The script for the update record consists of three separate scripts. The first script selects the record to be modified. The second script displays the fields of the record on the screen. The third script does the modification with the UPDATE statement. The script that selects the record and the script that displays the field information for the record work fine.. the script that modifies the records does not. I copied the script from PHP Essentials, written by Julie Meloni. If someone would be willing to work one on one to look at the three scripts (record selection, record display, and record modification, i would greatly appreciate it.....I would like to e-mail them to you as i do not have a server to post them on, or I can send them by icq or irc.... here is the third script that is not working (i get no error message... apparently it is executing but--------: <?php If ($var2=="Return To Admin Home Page"){ header("Location:index.htm"); exit; }elseif ($var1=="Modify Database"){ $connection = mysql_connect("localhost", "jwing", "xxxxxxxx") or die ("Couldn't connect to server."); $db = mysql_select_db("jwing", $connection) or die ("Couldn't select database."); $sql = "update jobs set KEYWORD1 = \\"$keyword1\\", KEYWORD2 = \\"$keyword2\\", KEYWORD3 = \\"$keyword3\\", KEYWORD4 = \\"$keyword4\\", KEYWORD5 = \\"$keyword5\\", COMP_ID = \\"$comp_id\\", SHOW_DATE = \\"$show_date\\", JOB_CAT = \\"$job_cat\\", JOB_LOC = \\"$job_loc\\", JOB_TITLE = \\"$job_title\\", JOB_DESC = \\"$job_desc\\", JOB_SALARY = \\"$job_salary\\", FIRST_NAME = \\"$first_name\\", LAST_NAME = \\"$last_name\\", AD_EMAIL = \\"$ad_email\\", CNTCT_EMAIL = \\"$cntct_email\\", USR_NAME = \\"$usr_name\\", P_WORD = \\"$p_word\\", AD_PHONE = \\"$ad_phone\\", CNTCT_PHONE = \\"$cntct_phone\\", AD_FAXPHONE = \\"$ad_faxphone\\", WEB_SITE = \\"$web_site\\", CCNAME = \\"$ccname\\", CCNUMBER = \\"$ccnumber\\", MONTHEXP = \\"$monthexp\\", YEAREXP = \\"$yearexp\\", CCTYPE = \\"$cctype\\", STREET1A = \\"$street1A\\", STREET2A = \\"$street2A\\", STREET3A = \\"$street3A\\", CC_CITY = \\"$cc_city\\", CC_STATE = \\"$cc_state\\", CC_ZIP = \\"$cc_zip\\", TRBLFONE = \\"$trblfone\\" where job_id = \\"$job_id\\""; $sql_result = mysql_query($sql) or die (mysql_error()); echo " <HTML> <HEAD> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-51353372-3"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-51353372-3'); </script> <TITLE>
"; }; ?> From prutwo at onebox.com Fri May 17 19:15:35 2002 From: prutwo at onebox.com (ophir prusak) Date: Fri, 17 May 2002 16:15:35 -0700 Subject: php job Message-ID: <20020517231535.FGYH4694.mta07.onebox.com@onebox.com> Hi all, Just saw this and thought some people might be interested. Ophir -- cut here -- Date: Fri, 17 May 2002 15:16:59 -0400 (EDT) To: From: James Cannon Subject: Programming help needed Message-ID: <20020517151358.L70304-100000 at bsd1.nyct.net> New York Connect.net Ltd., one of New York City's surviving and thriving independent ISPs, is looking to add some talent to its programming staff. Initially the position is part time, but full time work in the near future is most probable. The initial work will be updating and creating the websites of our existing and new clients. The future holds prospectsof working on some rather dynamic web based applications. Details: Programing skills must include competency with HTML, PHP, and CGI/Pearl. 20 hours per week. scheduled Monday thru Friday 9:00 am thru 1:00 pm Compensation offered is $25 per hour. If anyone on the list is interested, please send me a note and some sort of resume that will give me a good idea of what you have done, what you can do, and what you want to become. James Cannon Systems Coordinator New York Connect 317 Madison Ave, suite 907 http://www.nyct.net cannon at nyct.net From jwing at www.erols.com Fri May 17 22:24:00 2002 From: jwing at www.erols.com (Jerry Wing) Date: Fri, 17 May 2002 22:24:00 -0400 Subject: Help Request Message-ID: <3CE5BB40.62E003D1@www.erols.com> I am developing for myself a database application that carries job related information for the internet - my own small business. I have developed scripts for adding and deleting a record, but the script for update record does not work. The add record script adds values to all the fields of a record, and the delete record script deletes whatever record is selected. I think the database columns are okay since they work with these two commands. The script for the update record consists of three separate scripts. The first script selects the record to be modified. The second script displays the fields of the record on the screen. The third script does the modification with the UPDATE statement. The script that selects the record and the script that displays the field information for the record work fine.. the script that modifies the records does not. I copied the script from PHP Essentials, written by Julie Meloni. If someone would be willing to work one on one to look at the three scripts (record selection, record display, and record modification, i would greatly appreciate it.....I would like to e-mail them to you as i do not have a server to post them on, or I can send them by icq or irc.... here is the third script that is not working (i get no error message... apparently it is executing but--------:
"; }; ?> From jhise at linuxforbusiness.org Sat May 18 01:22:55 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 18 May 2002 01:22:55 -0400 Subject: [nycphp-talk] Help Request In-Reply-To: <200205180220.g4I2KDR09905@slipdisc.virul.net> References: <200205180220.g4I2KDR09905@slipdisc.virul.net> Message-ID: <1021699378.2719.3.camel@localhost.localdomain> It would really help if you included the job table definition. For example, it appears as though all the fields in the table are strings. But it seems like the field named "comp_id" should be a number. If this is the case, then the SQL maybe has a syntax error. On Fri, 2002-05-17 at 22:20, Jerry Wing wrote: > I am developing for myself a database application that carries job > related information for the internet - my own small business. I have > developed scripts for adding and deleting a record, but the script for > update record does not work. The add record script adds values to all > the fields of a record, and the delete record script deletes whatever > record is selected. I think the database columns are okay since they > work with these two commands. > > The script for the update record consists of three separate scripts. The > first script selects the record to be modified. The second script > displays the fields of the record on the screen. The third script does > the modification with the UPDATE statement. > > The script that selects the record and the script that displays the > field information for the record work fine.. the script that modifies > the records does not. > > I copied the script from PHP Essentials, written by Julie Meloni. > > If someone would be willing to work one on one to look at the three > scripts (record selection, record display, and record modification, i > would greatly appreciate it.....I would like to e-mail them to you as i > do not have a server to post them on, or I can send them by icq or > irc.... here is the third script that is not working (i get no error > message... apparently it is executing but--------: > > If ($var2=="Return To Admin Home Page"){ > header("Location:index.htm"); > exit; > }elseif ($var1=="Modify Database"){ > > $connection = mysql_connect("localhost", "jwing", > "xxxxxxxx") > or die ("Couldn't connect to server."); > > > $db = mysql_select_db("jwing", $connection) > or die ("Couldn't select database."); > > $sql = "update jobs > set > KEYWORD1 = \\"$keyword1\\", > KEYWORD2 = \\"$keyword2\\", > KEYWORD3 = \\"$keyword3\\", > KEYWORD4 = \\"$keyword4\\", > KEYWORD5 = \\"$keyword5\\", > COMP_ID = \\"$comp_id\\", > SHOW_DATE = \\"$show_date\\", > JOB_CAT = \\"$job_cat\\", > JOB_LOC = \\"$job_loc\\", > JOB_TITLE = \\"$job_title\\", > JOB_DESC = \\"$job_desc\\", > JOB_SALARY = \\"$job_salary\\", > FIRST_NAME = \\"$first_name\\", > LAST_NAME = \\"$last_name\\", > AD_EMAIL = \\"$ad_email\\", > CNTCT_EMAIL = \\"$cntct_email\\", > USR_NAME = \\"$usr_name\\", > P_WORD = \\"$p_word\\", > AD_PHONE = \\"$ad_phone\\", > CNTCT_PHONE = \\"$cntct_phone\\", > AD_FAXPHONE = \\"$ad_faxphone\\", > WEB_SITE = \\"$web_site\\", > CCNAME = \\"$ccname\\", > CCNUMBER = \\"$ccnumber\\", > MONTHEXP = \\"$monthexp\\", > YEAREXP = \\"$yearexp\\", > CCTYPE = \\"$cctype\\", > STREET1A = \\"$street1A\\", > STREET2A = \\"$street2A\\", > STREET3A = \\"$street3A\\", > CC_CITY = \\"$cc_city\\", > CC_STATE = \\"$cc_state\\", > CC_ZIP = \\"$cc_zip\\", > TRBLFONE = \\"$trblfone\\" > where job_id = \\"$job_id\\""; > > $sql_result = mysql_query($sql) or die (mysql_error()); > echo " > > > > > >
> > Type=\\"submit\\"> > >
> > > "; > }; > ?> > > > From heli_travel at yahoo.com Sat May 18 11:02:03 2002 From: heli_travel at yahoo.com (LY) Date: Sat, 18 May 2002 08:02:03 -0700 (PDT) Subject: [nycphp-talk] Help Request In-Reply-To: <200205180220.g4I2KDR09905@slipdisc.virul.net> Message-ID: <20020518150203.92679.qmail@web12202.mail.yahoo.com> it looks like the update format is not right. ig. ===set KEYWORD1 = \\"$keyword1\\",=== when it goes to db, it will be *** set KEYWORD1 = "XXXXXXX" ****, I don't know MySql, but I guess it will cause a db error, because the correct sytax for set it could be ++++ set KEYWORD1 = 'XXXXX', +++++ so I suggest you to use this $$$$ set KEYWORD1 = '".$keyword1."', $$$$$ to try for some db fields which need to be quoted by ''. for fields are numbers, you just do like this: %%%% set NUMBERFIELD = $number, %%%%% Hope this help you,Good Luck! Mark J --- Jerry Wing wrote: > I am developing for myself a database application that carries > job > related information for the internet - my own small business. > I have > developed scripts for adding and deleting a record, but the > script for > update record does not work. The add record script adds > values to all > the fields of a record, and the delete record script deletes > whatever > record is selected. I think the database columns are okay > since they > work with these two commands. > > The script for the update record consists of three separate > scripts. The > first script selects the record to be modified. The second > script > displays the fields of the record on the screen. The third > script does > the modification with the UPDATE statement. > > The script that selects the record and the script that > displays the > field information for the record work fine.. the script that > modifies > the records does not. > > I copied the script from PHP Essentials, written by Julie > Meloni. > > If someone would be willing to work one on one to look at the > three > scripts (record selection, record display, and record > modification, i > would greatly appreciate it.....I would like to e-mail them to > you as i > do not have a server to post them on, or I can send them by > icq or > irc.... here is the third script that is not working (i get no > error > message... apparently it is executing but--------: > > If ($var2=="Return To Admin Home Page"){ > header("Location:index.htm"); > exit; > }elseif ($var1=="Modify Database"){ > > $connection = mysql_connect("localhost", > "jwing", > "xxxxxxxx") > or die ("Couldn't connect to > server."); > > > $db = mysql_select_db("jwing", $connection) > or die ("Couldn't select database."); > > $sql = "update jobs > set > KEYWORD1 = \\"$keyword1\\", > KEYWORD2 = \\"$keyword2\\", > KEYWORD3 = \\"$keyword3\\", > KEYWORD4 = \\"$keyword4\\", > KEYWORD5 = \\"$keyword5\\", > COMP_ID = \\"$comp_id\\", > SHOW_DATE = \\"$show_date\\", > JOB_CAT = \\"$job_cat\\", > JOB_LOC = \\"$job_loc\\", > JOB_TITLE = \\"$job_title\\", > JOB_DESC = \\"$job_desc\\", > JOB_SALARY = \\"$job_salary\\", > FIRST_NAME = \\"$first_name\\", > LAST_NAME = \\"$last_name\\", > AD_EMAIL = \\"$ad_email\\", > CNTCT_EMAIL = \\"$cntct_email\\", > USR_NAME = \\"$usr_name\\", > P_WORD = \\"$p_word\\", > AD_PHONE = \\"$ad_phone\\", > CNTCT_PHONE = \\"$cntct_phone\\", > AD_FAXPHONE = \\"$ad_faxphone\\", > WEB_SITE = \\"$web_site\\", > CCNAME = \\"$ccname\\", > CCNUMBER = \\"$ccnumber\\", > MONTHEXP = \\"$monthexp\\", > YEAREXP = \\"$yearexp\\", > CCTYPE = \\"$cctype\\", > STREET1A = \\"$street1A\\", > STREET2A = \\"$street2A\\", > STREET3A = \\"$street3A\\", > CC_CITY = \\"$cc_city\\", > CC_STATE = \\"$cc_state\\", > CC_ZIP = \\"$cc_zip\\", > TRBLFONE = \\"$trblfone\\" > where job_id = \\"$job_id\\""; > > $sql_result = mysql_query($sql) or die (mysql_error()); > echo " > > > > > >
> > Type=\\"submit\\"> > >
> > > "; > }; > ?> > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From jwing at www.erols.com Sat May 18 13:09:41 2002 From: jwing at www.erols.com (Jerry Wing) Date: Sat, 18 May 2002 13:09:41 -0400 Subject: Mysql Update Problem Database Column Types Message-ID: <3CE68AD5.A5B806D@www.erols.com> Jeremy, here are the column types...Please check to see if I messed up something in my script based on variable type....my principal function in life is business and I would appreciate it if you would catch my errors....or anyone else....let me start with your suggestion Jeremy.... Here are the column types for the database UPDATE problem in my earlier post: keyword1 varchar(15) null keyword2 varchar(15) null keyword3 varchar(15) null keyword4 varchar(15) null keyword5 varchar(15) null comp_id mediumint(6) unsigned null job_id mediumint(6) unsigned primary key autoincrement recv_date timestamp(14) null show_date date null job_cat tinyint(3) unsigned null job_loc char(3) null job_title varchar(80) null job_desc text null job_salary varchar(11) null ad_expire date null first_name varchar(40) null last_name varchar(40) null ad_email varchar(40) null cntct_email varchar(40) null usr_name varchar(15) null p_word varchar(15) null ad_phone varchar(12) null cntct_phone varchar(12) null ad_faxphone varchar(12) null web_site varchar(50) null visible enum('n','N','y','Y') null ccname varchar(70) null ccnumber varchar(30) null monthexp char(2) null yearexp char(2) null cctype char(1) null street1A varchar(80) null street2A varchar(80) null street3A varchar(80) null cc_city varchar(40) null cc_state char(2) null cc_zip varchar(10) null trblfone varchar(12) null From jhise at distantworker.com Sat May 18 15:03:58 2002 From: jhise at distantworker.com (Jeremy Hise) Date: 18 May 2002 15:03:58 -0400 Subject: [nycphp-talk] Mysql Update Problem Database Column Types In-Reply-To: <200205181705.g4IH5uR13388@slipdisc.virul.net> References: <200205181705.g4IH5uR13388@slipdisc.virul.net> Message-ID: <1021748641.6145.13.camel@localhost.localdomain> Ok. So I created small test to see what would happen if I tried to update a record using your syntax with PHP/mySQL. It didn't work. No errors, but it still didn't work. The only major flaw with my test is that I'm using a straight-up int (int(11)), and you are using a medium and tiny int. But I'm assuming all numbers should be addressed the in the same manner. If you are updating a record, you should not put quotes around the values for the number fields. eg: table test: name type job_id int(11) You should not say: update test set job_id = "23"; You should say: update test set job_id = 23; For your update query should be: $sql = "update jobs set KEYWORD1 = \\"$keyword1\\", KEYWORD2 = \\"$keyword2\\", KEYWORD3 = \\"$keyword3\\", KEYWORD4 = \\"$keyword4\\", KEYWORD5 = \\"$keyword5\\", COMP_ID = $comp_id, SHOW_DATE = \\"$show_date\\", JOB_CAT = $job_cat, JOB_LOC = \\"$job_loc\\", JOB_TITLE = \\"$job_title\\", JOB_DESC = \\"$job_desc\\", JOB_SALARY = \\"$job_salary\\", FIRST_NAME = \\"$first_name\\", LAST_NAME = \\"$last_name\\", AD_EMAIL = \\"$ad_email\\", CNTCT_EMAIL = \\"$cntct_email\\", USR_NAME = \\"$usr_name\\", P_WORD = \\"$p_word\\", AD_PHONE = \\"$ad_phone\\", CNTCT_PHONE = \\"$cntct_phone\\", AD_FAXPHONE = \\"$ad_faxphone\\", WEB_SITE = \\"$web_site\\", CCNAME = \\"$ccname\\", CCNUMBER = \\"$ccnumber\\", MONTHEXP = \\"$monthexp\\", YEAREXP = \\"$yearexp\\", CCTYPE = \\"$cctype\\", STREET1A = \\"$street1A\\", STREET2A = \\"$street2A\\", STREET3A = \\"$street3A\\", CC_CITY = \\"$cc_city\\", CC_STATE = \\"$cc_state\\", CC_ZIP = \\"$cc_zip\\", TRBLFONE = \\"$trblfone\\" where job_id = $job_id"; Note that I have changed job_cat, comp_id and job_id in the where clause. This seems to be at least 1 problem. Good luck and let us know if it works out! jeremy On Sat, 2002-05-18 at 13:05, Jerry Wing wrote: > Jeremy, here are the column types...Please check to see if I messed up > something in my script based on variable type....my principal function > in life is business and I would appreciate it if you would catch my > errors....or anyone else....let me start with your suggestion Jeremy.... > > Here are the column types for the database UPDATE problem in my earlier > post: > > keyword1 varchar(15) null > keyword2 varchar(15) null > keyword3 varchar(15) null > keyword4 varchar(15) null > keyword5 varchar(15) null > comp_id mediumint(6) unsigned null > job_id mediumint(6) unsigned primary key autoincrement > recv_date timestamp(14) null > show_date date null > job_cat tinyint(3) unsigned null > job_loc char(3) null > job_title varchar(80) null > job_desc text null > job_salary varchar(11) null > ad_expire date null > first_name varchar(40) null > last_name varchar(40) null > ad_email varchar(40) null > cntct_email varchar(40) null > usr_name varchar(15) null > p_word varchar(15) null > ad_phone varchar(12) null > cntct_phone varchar(12) null > ad_faxphone varchar(12) null > web_site varchar(50) null > visible enum('n','N','y','Y') null > ccname varchar(70) null > ccnumber varchar(30) null > monthexp char(2) null > yearexp char(2) null > cctype char(1) null > street1A varchar(80) null > street2A varchar(80) null > street3A varchar(80) null > cc_city varchar(40) null > cc_state char(2) null > cc_zip varchar(10) null > trblfone varchar(12) null > > > From jhise at linuxforbusiness.org Sat May 18 15:06:53 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 18 May 2002 15:06:53 -0400 Subject: [nycphp-talk] Mysql Update Problem Database Column Types In-Reply-To: <1021748641.6145.13.camel@localhost.localdomain> References: <200205181705.g4IH5uR13388@slipdisc.virul.net> <1021748641.6145.13.camel@localhost.localdomain> Message-ID: <1021748815.6145.17.camel@localhost.localdomain> Ok. So I created small test to see what would happen if I tried to update a record using your syntax with PHP/mySQL. It didn't work. No errors, but it still didn't work. The only major flaw with my test is that I'm using a straight-up int (int(11)), and you are using a medium and tiny int. But I'm assuming all numbers should be addressed the in the same manner. If you are updating a record, you should not put quotes around the values for the number fields. eg: table test: name type job_id int(11) You should not say: update test set job_id = "23"; You should say: pdate test set job_id = 23; For your update query should be: $sql = "update jobs set KEYWORD1 = \\"$keyword1\\", KEYWORD2 = \\"$keyword2\\", KEYWORD3 = \\"$keyword3\\", KEYWORD4 = \\"$keyword4\\", KEYWORD5 = \\"$keyword5\\", COMP_ID = $comp_id, SHOW_DATE = \\"$show_date\\", JOB_CAT = $job_cat, JOB_LOC = \\"$job_loc\\", JOB_TITLE = \\"$job_title\\", JOB_DESC = \\"$job_desc\\", JOB_SALARY = \\"$job_salary\\", FIRST_NAME = \\"$first_name\\", LAST_NAME = \\"$last_name\\", AD_EMAIL = \\"$ad_email\\", CNTCT_EMAIL = \\"$cntct_email\\", USR_NAME = \\"$usr_name\\", P_WORD = \\"$p_word\\", AD_PHONE = \\"$ad_phone\\", CNTCT_PHONE = \\"$cntct_phone\\", AD_FAXPHONE = \\"$ad_faxphone\\", WEB_SITE = \\"$web_site\\", CCNAME = \\"$ccname\\", CCNUMBER = \\"$ccnumber\\", MONTHEXP = \\"$monthexp\\", YEAREXP = \\"$yearexp\\", CCTYPE = \\"$cctype\\", STREET1A = \\"$street1A\\", STREET2A = \\"$street2A\\", STREET3A = \\"$street3A\\", CC_CITY = \\"$cc_city\\", CC_STATE = \\"$cc_state\\", CC_ZIP = \\"$cc_zip\\", TRBLFONE = \\"$trblfone\\" where job_id = $job_id"; Note that I have changed job_cat, comp_id and job_id in the where clause. This seems to be at least 1 problem. Good luck and let us know if it works out! jeremy On Sat, 2002-05-18 at 13:05, Jerry Wing wrote: > Jeremy, here are the column types...Please check to see if I messed up > something in my script based on variable type....my principal function > in life is business and I would appreciate it if you would catch my > errors....or anyone else....let me start with your suggestion Jeremy.... > > Here are the column types for the database UPDATE problem in my earlier > post: > > keyword1 varchar(15) null > keyword2 varchar(15) null > keyword3 varchar(15) null > keyword4 varchar(15) null > keyword5 varchar(15) null > comp_id mediumint(6) unsigned null > job_id mediumint(6) unsigned primary key autoincrement > recv_date timestamp(14) null > show_date date null > job_cat tinyint(3) unsigned null > job_loc char(3) null > job_title varchar(80) null > job_desc text null > job_salary varchar(11) null > ad_expire date null > first_name varchar(40) null > last_name varchar(40) null > ad_email varchar(40) null > cntct_email varchar(40) null usr_name varchar(15) null > p_word varchar(15) null > ad_phone varchar(12) null > cntct_phone varchar(12) null > ad_faxphone varchar(12) null > web_site varchar(50) null > visible enum('n','N','y','Y') null > ccname varchar(70) null > ccnumber varchar(30) null > monthexp char(2) null > yearexp char(2) null > cctype char(1) null > street1A varchar(80) null > street2A varchar(80) null > street3A varchar(80) null > cc_city varchar(40) null > cc_state char(2) null > cc_zip varchar(10) null > trblfone varchar(12) null > > > From jwing at www.erols.com Sat May 18 16:42:23 2002 From: jwing at www.erols.com (Jerry Wing) Date: Sat, 18 May 2002 16:42:23 -0400 Subject: Mysql UPDATE Problem Message-ID: <3CE6BCAF.27A86FFC@www.erols.com> Jeremy, I made that change and got this error message: You have an error in your SQL syntax near ' SHOW_DATE = "", JOB_CAT = , JOB_LOC = "", JOB_TITLE = "", JOB_DESC = "", ' at line 8. Jeremy here is my script for adding the original record to the database. Am I doing a automatic type conversion when I add the record and is that messing up the UPDATE? -----------------------------------------------------------------

Manual Add - A - Job   Add - A - Payment Screen


Company ID:


KEYWORD
#
WORD
ENTRY
1
2
3
4
5


Show Date:
Job Category:
Job Location:

Job Title:

Job Description:

Job Salary:
Ad Expire:

First Name:
Last Name:

E-Mail For Job Ad:
Private Contact E-Mail:

User Name:
Password:

Advertisement Phone No.:
Private Contact Phone No.:
Advertisement Fax Phone No.:

Web Site:


Credit Card Information


Name On Card:

Credit Card Number:

Expiration Month:

Expiration Year:

(V)isa,(M)astercard,(A)merican Express:

Street 1:

Street 2:

Street 3:

City:
State:
Zipcode:

Telephone:



Manual Add - A - Job   Add - A - Payment Screen


Company ID:


KEYWORD
#
WORD
ENTRY
1
2
3
4
5


Show Date:
Job Category:
Job Location:

Job Title:

Job Description:

Job Salary:
Ad Expire:

First Name:
Last Name:

E-Mail For Job Ad:
Private Contact E-Mail:

User Name:
Password:

Advertisement Phone No.:
Private Contact Phone No.:
Advertisement Fax Phone No.:

Web Site:


Credit Card Information


Name On Card:

Credit Card Number:

Expiration Month:

Expiration Year:

(V)isa,(M)astercard,(A)merican Express:

Street 1:

Street 2:

Street 3:

City:
State:
Zipcode:

Telephone:


then the second script, Jeremy: ----------------------------------------------------------------
Unable to connect to the " . "cedar server at this time.

" ); exit(); } // Select the jwing database if (! @mysql_select_db("jwing") ) { echo( "

Unable to locate the " . "jwing database at this time.

" ); exit(); } $sql = "insert into jobs (keyword1,keyword2,keyword3,keyword4,keyword5,comp_id,show_date,job_cat,job_loc,job_title,job_desc,job_salary,ad_expire,first_name,last_name,ad_email,cntct_email,usr_name,p_word,ad_phone,cntct_phone,ad_faxphone,web_site,ccname,ccnumber, monthexp,yearexp,cctype,street1A,street2A,street3A,cc_city,cc_state,cc_zip,trblfone) values ('$a1','$a2','$a3','$a4','$a5','$aa','$a6','$a7','$a8','$a9','$jobdesc','$a10','$a11','$a12','$a13','$a14','$a15','$a16','$a17','$a18','$a19','$a20','$a21','$a22','$a23','$a24','$a25','$a26','$a27','$a28','$a29','$a30','$a31','$a32','$a33')"; $sql_result = mysql_query ($sql,$dbcnx) or die ("Couldn't execute query") ?>
--------------------------------------------------------------- I have posted the column types in my earlier post, and I have changed the script, Jeremy, like you showed me to do, and my question is whether when I add data to the data base I am doing an automatic type conversion....Second question: should i change all the columns in the table to varchar or char since i am not doing any math with the thing)))))... Thanks for being patient, Jeremy. From adam at ecamp.net Sat May 18 16:56:21 2002 From: adam at ecamp.net (Adam) Date: Sat, 18 May 2002 16:56:21 -0400 Subject: [nycphp-talk] Mysql UPDATE Problem In-Reply-To: <200205182038.g4IKcjR13834@slipdisc.virul.net> Message-ID: You have an error in your SQL syntax near ' SHOW_DATE = "", JOB_CAT = ****NEED SOMETHING HERE**** , JOB_LOC = "", JOB_TITLE = "", JOB_DESC = "", ' at line 8. -----Original Message----- From: Jerry Wing [mailto:jwing at www.erols.com] Sent: Saturday, May 18, 2002 4:39 PM To: NYPHP Talk Subject: [nycphp-talk] Mysql UPDATE Problem Jeremy, I made that change and got this error message: You have an error in your SQL syntax near ' SHOW_DATE = "", JOB_CAT = , JOB_LOC = "", JOB_TITLE = "", JOB_DESC = "", ' at line 8. Jeremy here is my script for adding the original record to the database. Am I doing a automatic type conversion when I add the record and is that messing up the UPDATE? -----------------------------------------------------------------

Manual Add - A - Job   Add - A - Payment Screen


Company ID:


KEYWORD
#
WORD
ENTRY
1
2
3
4
5


Show Date:
Job Category:
Job Location:

Job Title:

Job Description:

Job Salary:
Ad Expire:

First Name:
Last Name:

E-Mail For Job Ad:
Private Contact E-Mail:

User Name:
Password:

Advertisement Phone No.:
Private Contact Phone No.:
Advertisement Fax Phone No.:

Web Site:


Credit Card Information


Name On Card:

Credit Card Number:

Expiration Month:

Expiration Year:

(V)isa,(M)astercard,(A)merican Express:

Street 1:

Street 2:

Street 3:

City:
State:
Zipcode:

Telephone:



Manual Add - A - Job   Add - A - Payment Screen


Company ID:


KEYWORD
#
WORD
ENTRY
1
2
3
4
5


Show Date:
Job Category:
Job Location:

Job Title:

Job Description:

Job Salary:
Ad Expire:

First Name:
Last Name:

E-Mail For Job Ad:
Private Contact E-Mail:

User Name:
Password:

Advertisement Phone No.:
Private Contact Phone No.:
Advertisement Fax Phone No.:

Web Site:


Credit Card Information


Name On Card:

Credit Card Number:

Expiration Month:

Expiration Year:

(V)isa,(M)astercard,(A)merican Express:

Street 1:

Street 2:

Street 3:

City:
State:
Zipcode:

Telephone:


then the second script, Jeremy: ----------------------------------------------------------------
Unable to connect to the " . "cedar server at this time.

" ); exit(); } // Select the jwing database if (! @mysql_select_db("jwing") ) { echo( "

Unable to locate the " . "jwing database at this time.

" ); exit(); } $sql = "insert into jobs (keyword1,keyword2,keyword3,keyword4,keyword5,comp_id,show_date,job_cat, job_loc,job_title,job_desc,job_salary,ad_expire,first_name,last_name,ad_ email,cntct_email,usr_name,p_word,ad_phone,cntct_phone,ad_faxphone,web_s ite,ccname,ccnumber, monthexp,yearexp,cctype,street1A,street2A,street3A,cc_city,cc_state,cc_z ip,trblfone) values ('$a1','$a2','$a3','$a4','$a5','$aa','$a6','$a7','$a8','$a9','$jobdesc', '$a10','$a11','$a12','$a13','$a14','$a15','$a16','$a17','$a18','$a19','$ a20','$a21','$a22','$a23','$a24','$a25','$a26','$a27','$a28','$a29','$a3 0','$a31','$a32','$a33')"; $sql_result = mysql_query ($sql,$dbcnx) or die ("Couldn't execute query") ?>
--------------------------------------------------------------- I have posted the column types in my earlier post, and I have changed the script, Jeremy, like you showed me to do, and my question is whether when I add data to the data base I am doing an automatic type conversion....Second question: should i change all the columns in the table to varchar or char since i am not doing any math with the thing)))))... Thanks for being patient, Jeremy. From jhise at linuxforbusiness.org Sat May 18 17:04:04 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 18 May 2002 17:04:04 -0400 Subject: [nycphp-talk] Mysql UPDATE Problem In-Reply-To: <200205182038.g4IKcjR13834@slipdisc.virul.net> References: <200205182038.g4IKcjR13834@slipdisc.virul.net> Message-ID: <1021755846.6145.23.camel@localhost.localdomain> I don't really know much about automatic type conversions. But I do see the job_cat is empty. You may also want to give your form elements better names...at least I would. Anyway, try slimming down your update query and start with a couple of items only, then work your way up. That's a sure-fire way of narrowing down the problem. If you start with only one field in your update query, you know that it's probably something else (such as db permissions). Give that a shot and see if you can't pinpoint the reason why the record wont update. Jeremy PS: If you still have problems, send me the form and the code off-list and I may be able to figure out the problem at some point over the next couple of days...but try narrowing down your update query first! On Sat, 2002-05-18 at 16:38, Jerry Wing wrote: > Jeremy, I made that change and got this error message: > > You have an error in your SQL syntax near ' SHOW_DATE = "", JOB_CAT = , > JOB_LOC = "", JOB_TITLE = "", > JOB_DESC = "", ' at line 8. > > Jeremy here is my script for adding the original record to the > database. Am I doing a automatic type conversion when I add the record > and is that messing up the UPDATE? > ----------------------------------------------------------------- > > > > > > >
>

Manual Add - A - Job   Add - A - Payment > Screen

>
>

> >

> > bgcolor="silver"> > >
Company ID: >
>

>


> > bgcolor="silver"> >
> > bgcolor="silver"> > > > > > > > > > > > > > > > > > > > >
KEYWORD
#
WORD
ENTRY
1
2
3
4
5
> >

> >

> > >
>

>

>


> > bgcolor="silver"> > > > > > > > > >
> Show Date: >
>
> Job Category: >
>
> Job Location: >
>
>

> bgcolor="silver"> > > >
> Job Title: >
>
>

> bgcolor="silver"> > > >
> Job Description: > >
>

> > > bgcolor="silver"> > > >
> bgcolor="silver"> > > >
> Job Salary: >
>
>
> bgcolor="silver"> > > >
> Ad Expire: >
>
>
>

> > bgcolor="silver"> > > > > >
> bgcolor="silver"> > > >
> First Name: >
>
>
> bgcolor="silver"> > > >
> Last Name: >
>
>
> >

> > bgcolor="silver"> > > > > >
> bgcolor="silver"> > > >
> E-Mail For Job Ad: >
>
>
> bgcolor="silver"> > > >
> Private Contact E-Mail: >
>
>
> >

> > bgcolor="silver"> > > > > >
> bgcolor="silver"> > > >
> User Name: >
>
>
> bgcolor="silver"> > > >
> Password: >
>
>
> > >

> > bgcolor="silver"> > > > > > >
> bgcolor="silver"> > > >
> Advertisement Phone No.: >
>
>
> bgcolor="silver"> > > >
> Private Contact Phone No.: >
>
>
> bgcolor="silver"> > > >
> Advertisement Fax Phone No.: >
>
>
>

> > > bgcolor="silver"> > > >
> Web Site: >
>
> >


>

Credit Card Information

>
>

> > bgcolor="silver"> > >
> Name On Card:
>

> bgcolor="silver"> > >
> Credit Card Number:
>

> > bgcolor="silver"> > > > >
> > bgcolor="silver"> > >
> Expiration Month:
>

>

> bgcolor="silver"> > >
> Expiration Year:
>

>

> bgcolor="silver"> > >
> (V)isa,(M)astercard,(A)merican Express:
>

>

>

> bgcolor="silver"> > >
> Street 1:
>

> > bgcolor="silver"> > >
> Street 2:
>

> > bgcolor="silver"> > >
> Street 3:
>

> > bgcolor="silver"> > > > >
> > bgcolor="silver"> > >
> City:
>
> bgcolor="silver"> > >
> State:
>
> bgcolor="silver"> > >
> Zipcode:
>
>

> > bgcolor="silver"> > > >
> > bgcolor="silver"> > >
> Telephone:
>
> >

>


> > >

> >

> >

> > > > > > > >
>

Manual Add - A - Job   Add - A - Payment > Screen

>
>

> >

> > bgcolor="silver"> > >
Company ID: >
>

>


> > bgcolor="silver"> >
> > bgcolor="silver"> > > > > > > > > > > > > > > > > > > > >
KEYWORD
#
WORD
ENTRY
1
2
3
4
5
> >

> >

> > >
>

>

>


> > bgcolor="silver"> > > > > > > > > >
> Show Date: >
>
> Job Category: >
>
> Job Location: >
>
>

> bgcolor="silver"> > > >
> Job Title: >
>
>

> bgcolor="silver"> > > >
> Job Description: > >
>

> > > bgcolor="silver"> > > >
> bgcolor="silver"> > > >
> Job Salary: >
>
>
> bgcolor="silver"> > > >
> Ad Expire: >
>
>
>

> > bgcolor="silver"> > > > > >
> bgcolor="silver"> > > >
> First Name: >
>
>
> bgcolor="silver"> > > >
> Last Name: >
>
>
> >

> > bgcolor="silver"> > > > > >
> bgcolor="silver"> > > >
> E-Mail For Job Ad: >
>
>
> bgcolor="silver"> > > >
> Private Contact E-Mail: >
>
>
> >

> > bgcolor="silver"> > > > > >
> bgcolor="silver"> > > >
> User Name: >
>
>
> bgcolor="silver"> > > >
> Password: >
>
>
> > >

> > bgcolor="silver"> > > > > > >
> bgcolor="silver"> > > >
> Advertisement Phone No.: >
>
>
> bgcolor="silver"> > > >
> Private Contact Phone No.: >
>
>
> bgcolor="silver"> > > >
> Advertisement Fax Phone No.: >
>
>
>

> > > bgcolor="silver"> > > >
> Web Site: >
>
> >


>

Credit Card Information

>
>

> > bgcolor="silver"> > >
> Name On Card:
>

> bgcolor="silver"> > >
> Credit Card Number:
>

> > bgcolor="silver"> > > > >
> > bgcolor="silver"> > >
> Expiration Month:
>

>

> bgcolor="silver"> > >
> Expiration Year:
>

>

> bgcolor="silver"> > >
> (V)isa,(M)astercard,(A)merican Express:
>

>

>

> bgcolor="silver"> > >
> Street 1:
>

> > bgcolor="silver"> > >
> Street 2:
>

> > bgcolor="silver"> > >
> Street 3:
>

> > bgcolor="silver"> > > > >
> > bgcolor="silver"> > >
> City:
>
> bgcolor="silver"> > >
> State:
>
> bgcolor="silver"> > >
> Zipcode:
>
>

> > bgcolor="silver"> > > >
> > bgcolor="silver"> > >
> Telephone:
>
> >

>


> > >

> >

> >

> > > > then the second script, Jeremy: > ---------------------------------------------------------------- > > If ($var2=="Return To Admin Home Page"){ > header("Location:index.htm"); > exit; > }elseif ($var1=="Add To Database"){ > } > ?> > > > > > > >
> > // Connect to the server > $dbcnx = @mysql_connect("localhost", "jwing", "athens"); > if (!$dbcnx) { > echo( "

Unable to connect to the " . > "cedar server at this time.

" ); > exit(); > } > > // Select the jwing database > if (! @mysql_select_db("jwing") ) { > echo( "

Unable to locate the " . > "jwing database at this time.

" ); > exit(); > } > > $sql = "insert into jobs > (keyword1,keyword2,keyword3,keyword4,keyword5,comp_id,show_date,job_cat,job_loc,job_title,job_desc,job_salary,ad_expire,first_name,last_name,ad_email,cntct_email,usr_name,p_word,ad_phone,cntct_phone,ad_faxphone,web_site,ccname,ccnumber, > monthexp,yearexp,cctype,street1A,street2A,street3A,cc_city,cc_state,cc_zip,trblfone) > values > ('$a1','$a2','$a3','$a4','$a5','$aa','$a6','$a7','$a8','$a9','$jobdesc','$a10','$a11','$a12','$a13','$a14','$a15','$a16','$a17','$a18','$a19','$a20','$a21','$a22','$a23','$a24','$a25','$a26','$a27','$a28','$a29','$a30','$a31','$a32','$a33')"; > > $sql_result = mysql_query ($sql,$dbcnx) or die ("Couldn't execute > query") > > > ?> > > >
> > > > --------------------------------------------------------------- > > I have posted the column types in my earlier post, and I have changed > the script, Jeremy, like you showed me to do, and my question is whether > when I add data to the data base I am doing an automatic type > conversion....Second question: should i change all the columns in the > table to varchar or char since i am not doing any math with the > thing)))))... Thanks for being patient, Jeremy. > > > From jwing at www.erols.com Sat May 18 18:51:07 2002 From: jwing at www.erols.com (Jerry Wing) Date: Sat, 18 May 2002 18:51:07 -0400 Subject: DB Permissions Message-ID: <3CE6DADB.75A702C8@www.erols.com> How, please, do i check the db permissions? Is that a PHP function that is set? Thanks! From jhise at linuxforbusiness.org Sat May 18 19:06:15 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 18 May 2002 19:06:15 -0400 Subject: [nycphp-talk] DB Permissions In-Reply-To: <200205182247.g4IMlJR14181@slipdisc.virul.net> References: <200205182247.g4IMlJR14181@slipdisc.virul.net> Message-ID: <1021763177.6145.26.camel@localhost.localdomain> It seems to me that you have some research to do. Check your code, check php.net, check the mysql site. What you are trying to do is relatively simple so you'll most likely find an answer pretty fairly soon. Jeremy On Sat, 2002-05-18 at 18:47, Jerry Wing wrote: > How, please, do i check the db permissions? Is that a PHP function that > is set? Thanks! > > > From jwing at www.erols.com Sat May 18 19:15:26 2002 From: jwing at www.erols.com (Jerry Wing) Date: Sat, 18 May 2002 19:15:26 -0400 Subject: [nycphp-talk] DB Permissions References: <200205182306.g4IN6aR14248@slipdisc.virul.net> Message-ID: <3CE6E08E.7911004B@www.erols.com> Jeremy, with one variable to update the program simply does not do it... there are no error messages or other problems... the script executes but the single field does not update. Thanks, Jeremy for your help.. Jeremy Hise wrote: > > It seems to me that you have some research to do. Check your code, check > php.net, check the mysql site. What you are trying to do is relatively > simple so you'll most likely find an answer pretty fairly soon. > > Jeremy > > On Sat, 2002-05-18 at 18:47, Jerry Wing wrote: > > How, please, do i check the db permissions? Is that a PHP function that > > is set? Thanks! > > > > > > From adam at ecamp.net Sat May 18 19:15:05 2002 From: adam at ecamp.net (Adam) Date: Sat, 18 May 2002 19:15:05 -0400 Subject: [nycphp-talk] DB Permissions In-Reply-To: <200205182312.g4INChR14273@slipdisc.virul.net> Message-ID: Did you put in quite marks for that one field? There is no permissions on a / field basis. There is a syntax error in your code.... bad grammar type. :) -----Original Message----- From: Jerry Wing [mailto:jwing at www.erols.com] Sent: Saturday, May 18, 2002 7:13 PM To: NYPHP Talk Subject: Re: [nycphp-talk] DB Permissions Jeremy, with one variable to update the program simply does not do it... there are no error messages or other problems... the script executes but the single field does not update. Thanks, Jeremy for your help.. Jeremy Hise wrote: > > It seems to me that you have some research to do. Check your code, check > php.net, check the mysql site. What you are trying to do is relatively > simple so you'll most likely find an answer pretty fairly soon. > > Jeremy > > On Sat, 2002-05-18 at 18:47, Jerry Wing wrote: > > How, please, do i check the db permissions? Is that a PHP function that > > is set? Thanks! > > > > > > From evan.heller at alum.rpi.edu Sun May 19 00:42:31 2002 From: evan.heller at alum.rpi.edu (evan heller) Date: Sun, 19 May 2002 00:42:31 -0400 Subject: XMLRPC or SOAP Message-ID: <3CE72D37.87F7B361@alum.rpi.edu> Ok, which should I be considering to use? XML-RPC or SOAP? I would like to start a simple webservice for data retrieval for parts of my site and was wondering which one I should go with. It seems as of now that there's more PHP resources for XML-RPC so it that better? Also if I go with one of these, which PHP implementation is best since there are quite a few and most seem to be in alpha stages (not for production). Thanks. -Evan -- Evan Heller evan.heller at alum.rpi.edu From ejp at well.com Sun May 19 01:45:21 2002 From: ejp at well.com (Edward Potter) Date: Sun, 19 May 2002 01:45:21 -0400 Subject: [nycphp-talk] Help Request References: <200205180523.g4I5NER10129@slipdisc.virul.net> Message-ID: <3CE73BF1.7030308@well.com> the syntax i use, but i'm using Postgres, works fine... KEYWORD1 = '$keyword1'; and to make it a bit tighter KW1 = '$kw1'; // KW is close enough to keyword to abbreviate, imho. ed Jeremy Hise wrote: > It would really help if you included the job table definition. > > For example, it appears as though all the fields in the table are > strings. But it seems like the field named "comp_id" should be a number. > If this is the case, then the SQL maybe has a syntax error. > > > > > On Fri, 2002-05-17 at 22:20, Jerry Wing wrote: > >>I am developing for myself a database application that carries job >>related information for the internet - my own small business. I have >>developed scripts for adding and deleting a record, but the script for >>update record does not work. The add record script adds values to all >>the fields of a record, and the delete record script deletes whatever >>record is selected. I think the database columns are okay since they >>work with these two commands. >> >>The script for the update record consists of three separate scripts. The >>first script selects the record to be modified. The second script >>displays the fields of the record on the screen. The third script does >>the modification with the UPDATE statement. >> >>The script that selects the record and the script that displays the >>field information for the record work fine.. the script that modifies >>the records does not. >> >>I copied the script from PHP Essentials, written by Julie Meloni. >> >>If someone would be willing to work one on one to look at the three >>scripts (record selection, record display, and record modification, i >>would greatly appreciate it.....I would like to e-mail them to you as i >>do not have a server to post them on, or I can send them by icq or >>irc.... here is the third script that is not working (i get no error >>message... apparently it is executing but--------: >> >>>If ($var2=="Return To Admin Home Page"){ >> header("Location:index.htm"); >> exit; >>}elseif ($var1=="Modify Database"){ >> >> $connection = mysql_connect("localhost", "jwing", >>"xxxxxxxx") >> or die ("Couldn't connect to server."); >> >> >> $db = mysql_select_db("jwing", $connection) >> or die ("Couldn't select database."); >> >>$sql = "update jobs >>set >>KEYWORD1 = \\"$keyword1\\", >>KEYWORD2 = \\"$keyword2\\", >>KEYWORD3 = \\"$keyword3\\", >>KEYWORD4 = \\"$keyword4\\", >>KEYWORD5 = \\"$keyword5\\", >>COMP_ID = \\"$comp_id\\", >>SHOW_DATE = \\"$show_date\\", >>JOB_CAT = \\"$job_cat\\", >>JOB_LOC = \\"$job_loc\\", >>JOB_TITLE = \\"$job_title\\", >>JOB_DESC = \\"$job_desc\\", >>JOB_SALARY = \\"$job_salary\\", >>FIRST_NAME = \\"$first_name\\", >>LAST_NAME = \\"$last_name\\", >>AD_EMAIL = \\"$ad_email\\", >>CNTCT_EMAIL = \\"$cntct_email\\", >>USR_NAME = \\"$usr_name\\", >>P_WORD = \\"$p_word\\", >>AD_PHONE = \\"$ad_phone\\", >>CNTCT_PHONE = \\"$cntct_phone\\", >>AD_FAXPHONE = \\"$ad_faxphone\\", >>WEB_SITE = \\"$web_site\\", >>CCNAME = \\"$ccname\\", >>CCNUMBER = \\"$ccnumber\\", >>MONTHEXP = \\"$monthexp\\", >>YEAREXP = \\"$yearexp\\", >>CCTYPE = \\"$cctype\\", >>STREET1A = \\"$street1A\\", >>STREET2A = \\"$street2A\\", >>STREET3A = \\"$street3A\\", >>CC_CITY = \\"$cc_city\\", >>CC_STATE = \\"$cc_state\\", >>CC_ZIP = \\"$cc_zip\\", >>TRBLFONE = \\"$trblfone\\" >>where job_id = \\"$job_id\\""; >> >>$sql_result = mysql_query($sql) or die (mysql_error()); >>echo " >> >> >> >> >> >>
>> >>>Type=\\"submit\\"> >> >>
>> >> >>"; >>}; >>?> >> >> >> > > > > > > From jwing at www.erols.com Sun May 19 19:58:34 2002 From: jwing at www.erols.com (Jerry Wing) Date: Sun, 19 May 2002 19:58:34 -0400 Subject: [nycphp-talk] DB Permissions References: <200205182306.g4IN6aR14248@slipdisc.virul.net> Message-ID: <3CE83C2A.9B2BE8C2@www.erols.com> I just was able to make the UPDATE command work on some known good code, Jeremy, so the problem is in my code and not with the data base...I will be working all night to try and find out what there is that is different between my code and the known good code that works... I modeled my code on the known good code so i don't know where i went off track.... Jeremy Hise wrote: > > It seems to me that you have some research to do. Check your code, check > php.net, check the mysql site. What you are trying to do is relatively > simple so you'll most likely find an answer pretty fairly soon. > > Jeremy > > On Sat, 2002-05-18 at 18:47, Jerry Wing wrote: > > How, please, do i check the db permissions? Is that a PHP function that > > is set? Thanks! > > > > > > From liquidm3 at hotmail.com Sun May 19 21:50:08 2002 From: liquidm3 at hotmail.com (Ted Shieh) Date: Sun, 19 May 2002 21:50:08 -0400 Subject: PHPXref 0.2a Message-ID: Hi, I have just released a modified version of PHPXref, a PHP documentation tool, similar to LXR. See http://www.liquidmarkets.com/m.php?m=News&file=article&sid=3 An example of the output is here: http://www.liquidmarkets.com/phpxref/ This shows documentation for phpSQLGen and php4/pear (PEAR 2002-05-19 22:36 GMT snapshot). PHPXref was written by Gareth Watts, with contributions from Gottfried Szing and myself. The PHPXref home page is here: http://phpxref.sourceforge.net/. I made the following modifications: + Fixed an issue that was preventing the script from working on Windows + Changed the regular expressions to match the standard Javadoc/PHPDoc comment marker (/**) for functions. Used ## for the file comment marker. + Added the pre tag for function comments so that example code comments will be formatted correctly. + Increased font size This modified version is available here: http://www.liquidmarkets.com/m.php?m=Downloads&req=viewdownload&cid=2 Ted Place a free classified ad with LiquidMarkets http://www.liquidmarkets.com/m.php?m=wish _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From zaunere at yahoo.com Mon May 20 10:00:58 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Mon, 20 May 2002 07:00:58 -0700 (PDT) Subject: [nycphp-talk] Help Request In-Reply-To: <200205180220.g4I2KDR09905@slipdisc.virul.net> Message-ID: <20020520140058.98116.qmail@web12804.mail.yahoo.com> There could be any number of problems, however I would start by looking at the SQL that actually gets generated and try to clean things up a bit. Although this maybe not be helpful at all, I've attached a file with some formatting/etc you may want to consider. I personally dispise the "or die()" scheme (too Perly) so I've used if() statements. The real important things to consider is 1) I always like to supply what connection handle I want to deal with - otherwise things can get confusing if you have multiple database handles. 2) the key for large SQL statements is to print it out and examine it if you have problems. Of course you may not need so many mysql_escape_string() calls, depending on the data source, and you'll have to check that your column types are all agreeable, DB perms, etc. Hope this helps, Hans Z. If ($var2=="Return To Admin Home Page"){ > header("Location:index.htm"); > exit; > }elseif ($var1=="Modify Database"){ > > $connection = mysql_connect("localhost", "jwing", > "xxxxxxxx") > or die ("Couldn't connect to server."); > > > $db = mysql_select_db("jwing", $connection) > or die ("Couldn't select database."); > > $sql = "update jobs > set > KEYWORD1 = \\"$keyword1\\", > KEYWORD2 = \\"$keyword2\\", > KEYWORD3 = \\"$keyword3\\", > KEYWORD4 = \\"$keyword4\\", > KEYWORD5 = \\"$keyword5\\", > COMP_ID = \\"$comp_id\\", > SHOW_DATE = \\"$show_date\\", > JOB_CAT = \\"$job_cat\\", > JOB_LOC = \\"$job_loc\\", > JOB_TITLE = \\"$job_title\\", > JOB_DESC = \\"$job_desc\\", > JOB_SALARY = \\"$job_salary\\", > FIRST_NAME = \\"$first_name\\", > LAST_NAME = \\"$last_name\\", > AD_EMAIL = \\"$ad_email\\", > CNTCT_EMAIL = \\"$cntct_email\\", > USR_NAME = \\"$usr_name\\", > P_WORD = \\"$p_word\\", > AD_PHONE = \\"$ad_phone\\", > CNTCT_PHONE = \\"$cntct_phone\\", > AD_FAXPHONE = \\"$ad_faxphone\\", > WEB_SITE = \\"$web_site\\", > CCNAME = \\"$ccname\\", > CCNUMBER = \\"$ccnumber\\", > MONTHEXP = \\"$monthexp\\", > YEAREXP = \\"$yearexp\\", > CCTYPE = \\"$cctype\\", > STREET1A = \\"$street1A\\", > STREET2A = \\"$street2A\\", > STREET3A = \\"$street3A\\", > CC_CITY = \\"$cc_city\\", > CC_STATE = \\"$cc_state\\", > CC_ZIP = \\"$cc_zip\\", > TRBLFONE = \\"$trblfone\\" > where job_id = \\"$job_id\\""; > > $sql_result = mysql_query($sql) or die (mysql_error()); > echo " > > > > > >
> > Type=\\"submit\\"> > >
> > > "; > }; > ?> > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ptemp.txt URL: From zaunere at yahoo.com Mon May 20 10:16:33 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Mon, 20 May 2002 07:16:33 -0700 (PDT) Subject: [nycphp-talk] XMLRPC or SOAP In-Reply-To: <200205190443.g4J4hXR15423@slipdisc.virul.net> Message-ID: <20020520141633.740.qmail@web12804.mail.yahoo.com> Interesting subject, as I've just been pondering the same issues. Thanks to the wonders of Barnes and Noble, I did a lot of free reading this weekend on this very thing, actually. While I am by far not an expert at this point (and will tend to throw my personal bias in) I like XMLRPC much more. SOAP, while it wants to be good, is just too bloated. Of all things XML, XMLRPC looks nicest (IMHO) and I've seen the most written about: http://xmlrpc-epi.sourceforge.net/main.php?t=php_about http://xmlrpc.usefulinc.com/ A little XML rant follows: While XML means well, and is an interesting idea, it just doesn't make any sense to use, what esssentially is HTML, to markup so much varied data. To me, data should be organized properly in the first place, and XML becomes quite worthless. After browsing many books on all things related I've realized that XML requires an ENOURMOUS overhead, both human and computational. That said, I do think there must exist good uses for XML and related technologies (ie enhanced HTML, or what's really XHTML), however I'm just going to be careful not to think XML is a panacea for all data. Lastly, I've been doing some web service stuff lately as well and have been using strictly PHP serializing - it works great, is fast, and if it really needs to be in XML for another language, there are converters. Sorry for the rant - flames are welcome. :) Hans Z. --- evan heller wrote: > Ok, which should I be considering to use? XML-RPC > or SOAP? I would like to start a simple webservice > for data retrieval for parts of my site and was > wondering > which one I should go with. > > It seems as of now that there's more PHP resources > for XML-RPC so it that better? Also if I go with > one of these, > which PHP implementation is best since there are > quite a few > and most seem to be in alpha stages (not for > production). > > Thanks. > > -Evan > > -- > > Evan Heller > evan.heller at alum.rpi.edu > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From jwing at www.erols.com Mon May 20 11:19:13 2002 From: jwing at www.erols.com (Jerry Wing) Date: Mon, 20 May 2002 11:19:13 -0400 Subject: [nycphp-talk] Help Request References: <200205201401.g4KE11R24070@slipdisc.virul.net> Message-ID: <3CE913F1.A316AC97@www.erols.com> Hans, thank you for your help... the problem is in the UPDATE statement and the fact that the variables $keyword1, $keyword2, etc, in the statement have no values. IOW the values that are in the text boxes in script 2 where the current data is are not carried to script 3 where the UPDATE statement is located when the modify table button is pressed. You know Hans, I have successfully updated records with this form of the UPDATE statement just yesterday with a small test table i wrote, and when i go back and try it with the table I am using and it does not work, i.e. the values of the variables are not passing from the second to the third script, i wonder if my browser is screwing me up... I have netscape 4.5 that i am running....I will try $HTTP_POST_VARS[xxx] and see if i can pick up the values in the array when the second script is submitted. Thanks Hans for your help on all this and on getting me onto the forum where i can get assistance. Jerry Hans Zaunere wrote: > > This message contained 1 file(s) and is available at http://nyphp.org/list/paralist_archive.html?L_mid=128 > > There could be any number of problems, however I would start by looking > at the SQL that actually gets generated and try to clean things up a > bit. Although this maybe not be helpful at all, I've attached a file > with some formatting/etc you may want to consider. > > I personally dispise the "or die()" scheme (too Perly) so I've used > if() statements. The real important things to consider is 1) I always > like to supply what connection handle I want to deal with - otherwise > things can get confusing if you have multiple database handles. 2) the > key for large SQL statements is to print it out and examine it if you > have problems. > > Of course you may not need so many mysql_escape_string() calls, > depending on the data source, and you'll have to check that your column > types are all agreeable, DB perms, etc. > > Hope this helps, > > Hans Z. > > > if( $var2 == 'Return To Admin Home Page') { > header('Location: index.htm'); > exit; > > > > If ($var2=="Return To Admin Home Page"){ > > header("Location:index.htm"); > > exit; > > }elseif ($var1=="Modify Database"){ > > > > $connection = mysql_connect("localhost", "jwing", > > "xxxxxxxx") > > or die ("Couldn't connect to server."); > > > > > > $db = mysql_select_db("jwing", $connection) > > or die ("Couldn't select database."); > > > > $sql = "update jobs > > set > > KEYWORD1 = \\"$keyword1\\", > > KEYWORD2 = \\"$keyword2\\", > > KEYWORD3 = \\"$keyword3\\", > > KEYWORD4 = \\"$keyword4\\", > > KEYWORD5 = \\"$keyword5\\", > > COMP_ID = \\"$comp_id\\", > > SHOW_DATE = \\"$show_date\\", > > JOB_CAT = \\"$job_cat\\", > > JOB_LOC = \\"$job_loc\\", > > JOB_TITLE = \\"$job_title\\", > > JOB_DESC = \\"$job_desc\\", > > JOB_SALARY = \\"$job_salary\\", > > FIRST_NAME = \\"$first_name\\", > > LAST_NAME = \\"$last_name\\", > > AD_EMAIL = \\"$ad_email\\", > > CNTCT_EMAIL = \\"$cntct_email\\", > > USR_NAME = \\"$usr_name\\", > > P_WORD = \\"$p_word\\", > > AD_PHONE = \\"$ad_phone\\", > > CNTCT_PHONE = \\"$cntct_phone\\", > > AD_FAXPHONE = \\"$ad_faxphone\\", > > WEB_SITE = \\"$web_site\\", > > CCNAME = \\"$ccname\\", > > CCNUMBER = \\"$ccnumber\\", > > MONTHEXP = \\"$monthexp\\", > > YEAREXP = \\"$yearexp\\", > > CCTYPE = \\"$cctype\\", > > STREET1A = \\"$street1A\\", > > STREET2A = \\"$street2A\\", > > STREET3A = \\"$street3A\\", > > CC_CITY = \\"$cc_city\\", > > CC_STATE = \\"$cc_state\\", > > CC_ZIP = \\"$cc_zip\\", > > TRBLFONE = \\"$trblfone\\" > > where job_id = \\"$job_id\\""; > > > > $sql_result = mysql_query($sql) or die (mysql_error()); > > echo " > > > > > > > > > > > >
> > > > > Type=\\"submit\\"> > > > >
> > > > > > "; > > }; > > ?> > > > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com From jonbaer at digitalanywhere.com Mon May 20 11:14:02 2002 From: jonbaer at digitalanywhere.com (Jon Baer) Date: Mon, 20 May 2002 11:14:02 -0400 Subject: [nycphp-talk] XMLRPC or SOAP References: <200205201416.g4KEGbR24152@slipdisc.virul.net> Message-ID: <3CE912B9.103455F4@digitalanywhere.com> The main issue is that XMLRPC is so much more simpler than SOAP but gets alot less press and hype ... so if/when you decide to build a web service the odds are that most of the clients connecting are going to be expecting a SOAP Envelope and if you are XMLRPC they are not gonna get it ... so keep the "client market" in mind ... I had this problem with the Alicebot stuff, deciding what is more useful since I did not need the types of SOAP (remember SOAP has a wide variery of types compared to XMLRPC) so if you are working with something more complex, you really should use SOAP ... And to create a simple XML envelope structure is really not rocket science ... +1 for SOAP ... - Jon Hans Zaunere wrote: > Interesting subject, as I've just been pondering the same issues. > Thanks to the wonders of Barnes and Noble, I did a lot of free reading > this weekend on this very thing, actually. > > While I am by far not an expert at this point (and will tend to throw > my personal bias in) I like XMLRPC much more. SOAP, while it wants to > be good, is just too bloated. Of all things XML, XMLRPC looks nicest > (IMHO) and I've seen the most written about: > > http://xmlrpc-epi.sourceforge.net/main.php?t=php_about > http://xmlrpc.usefulinc.com/ > > A little XML rant follows: While XML means well, and is an interesting > idea, it just doesn't make any sense to use, what esssentially is HTML, > to markup so much varied data. To me, data should be organized > properly in the first place, and XML becomes quite worthless. After > browsing many books on all things related I've realized that XML > requires an ENOURMOUS overhead, both human and computational. That > said, I do think there must exist good uses for XML and related > technologies (ie enhanced HTML, or what's really XHTML), however I'm > just going to be careful not to think XML is a panacea for all data. > Lastly, I've been doing some web service stuff lately as well and have > been using strictly PHP serializing - it works great, is fast, and if > it really needs to be in XML for another language, there are > converters. > > Sorry for the rant - flames are welcome. :) > > Hans Z. > > --- evan heller wrote: > > Ok, which should I be considering to use? XML-RPC > > or SOAP? I would like to start a simple webservice > > for data retrieval for parts of my site and was > > wondering > > which one I should go with. > > > > It seems as of now that there's more PHP resources > > for XML-RPC so it that better? Also if I go with > > one of these, > > which PHP implementation is best since there are > > quite a few > > and most seem to be in alpha stages (not for > > production). > > > > Thanks. > > > > -Evan > > > > -- > > > > Evan Heller > > evan.heller at alum.rpi.edu > > > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com From zaunere at yahoo.com Mon May 20 11:40:11 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Mon, 20 May 2002 08:40:11 -0700 (PDT) Subject: [nycphp-talk] Help Request In-Reply-To: <200205201515.g4KFFUR24451@slipdisc.virul.net> Message-ID: <20020520154011.39311.qmail@web12808.mail.yahoo.com> > the values of the variables are not passing from the > second > to the third script, i wonder if my browser is screwing me up... I > have > netscape 4.5 that i am running....I will try $HTTP_POST_VARS[xxx] and > see if i can pick up the values in the array when the second script > is submitted. Of course a handy function here is phpinfo(); However, keep in mind the globalicity (ie, if you're in a function). var_dump($HTTP_POST_VARS); and print_r($HTTP_POST_VARS); are great too, when phpinfo(); is overkill. > Thanks Hans for your help on all this and on getting me > onto > the forum where i can get assistance. Jerry My pleasure, Hans Z. > > Hans Zaunere wrote: > > > > This message contained 1 file(s) and is available at > http://nyphp.org/list/paralist_archive.html?L_mid=128 > > > > There could be any number of problems, however I would start by > looking > > at the SQL that actually gets generated and try to clean things up > a > > bit. Although this maybe not be helpful at all, I've attached a > file > > with some formatting/etc you may want to consider. > > > > I personally dispise the "or die()" scheme (too Perly) so I've used > > if() statements. The real important things to consider is 1) I > always > > like to supply what connection handle I want to deal with - > otherwise > > things can get confusing if you have multiple database handles. 2) > the > > key for large SQL statements is to print it out and examine it if > you > > have problems. > > > > Of course you may not need so many mysql_escape_string() calls, > > depending on the data source, and you'll have to check that your > column > > types are all agreeable, DB perms, etc. > > > > Hope this helps, > > > > Hans Z. > > > > > > > if( $var2 == 'Return To Admin Home Page') { > > header('Location: index.htm'); > > exit; > > > > > > > If ($var2=="Return To Admin Home Page"){ > > > header("Location:index.htm"); > > > exit; > > > }elseif ($var1=="Modify Database"){ > > > > > > $connection = mysql_connect("localhost", "jwing", > > > "xxxxxxxx") > > > or die ("Couldn't connect to server."); > > > > > > > > > $db = mysql_select_db("jwing", $connection) > > > or die ("Couldn't select database."); > > > > > > $sql = "update jobs > > > set > > > KEYWORD1 = \\"$keyword1\\", > > > KEYWORD2 = \\"$keyword2\\", > > > KEYWORD3 = \\"$keyword3\\", > > > KEYWORD4 = \\"$keyword4\\", > > > KEYWORD5 = \\"$keyword5\\", > > > COMP_ID = \\"$comp_id\\", > > > SHOW_DATE = \\"$show_date\\", > > > JOB_CAT = \\"$job_cat\\", > > > JOB_LOC = \\"$job_loc\\", > > > JOB_TITLE = \\"$job_title\\", > > > JOB_DESC = \\"$job_desc\\", > > > JOB_SALARY = \\"$job_salary\\", > > > FIRST_NAME = \\"$first_name\\", > > > LAST_NAME = \\"$last_name\\", > > > AD_EMAIL = \\"$ad_email\\", > > > CNTCT_EMAIL = \\"$cntct_email\\", > > > USR_NAME = \\"$usr_name\\", > > > P_WORD = \\"$p_word\\", > > > AD_PHONE = \\"$ad_phone\\", > > > CNTCT_PHONE = \\"$cntct_phone\\", > > > AD_FAXPHONE = \\"$ad_faxphone\\", > > > WEB_SITE = \\"$web_site\\", > > > CCNAME = \\"$ccname\\", > > > CCNUMBER = \\"$ccnumber\\", > > > MONTHEXP = \\"$monthexp\\", > > > YEAREXP = \\"$yearexp\\", > > > CCTYPE = \\"$cctype\\", > > > STREET1A = \\"$street1A\\", > > > STREET2A = \\"$street2A\\", > > > STREET3A = \\"$street3A\\", > > > CC_CITY = \\"$cc_city\\", > > > CC_STATE = \\"$cc_state\\", > > > CC_ZIP = \\"$cc_zip\\", > > > TRBLFONE = \\"$trblfone\\" > > > where job_id = \\"$job_id\\""; > > > > > > $sql_result = mysql_query($sql) or die (mysql_error()); > > > echo " > > > > > > > > > > > > > > > > > >
> > > > > > > > Type=\\"submit\\"> > > > > > >
> > > > > > > > > "; > > > }; > > > ?> > > > > > > > __________________________________________________ > > Do You Yahoo!? > > LAUNCH - Your Yahoo! Music Experience > > http://launch.yahoo.com > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From nyphp at altunergil.com Mon May 20 11:47:54 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Mon, 20 May 2002 11:47:54 -0400 Subject: [nycphp-talk] Help Request In-Reply-To: <200205201515.g4KFFUR24451@slipdisc.virul.net> References: <200205201515.g4KFFUR24451@slipdisc.virul.net> Message-ID: <20020520114754.649e7db3.nyphp@altunergil.com> Jerry, Try this on the page you submit to: print "
";
print_r($HTTP_POST_VARS);
print "
"; It will let you see the whole thing easily. By the way, I didn't have time to look at the code you sent me. Please make sure you're indeed using the POST method on the forms and not using GET. Oktay Altunergil On Mon, 20 May 2002 11:15:30 -0400 Jerry Wing wrote: > Hans, thank you for your help... the problem is in the UPDATE statement > and the fact that the variables $keyword1, $keyword2, etc, in the > statement have no values. IOW the values that are in the text boxes in > script 2 where the current data is are not carried to script 3 where the > UPDATE statement is located when the modify table button is pressed. > You know Hans, I have successfully updated records with this form of the > UPDATE statement just yesterday with a small test table i wrote, and > when i go back and try it with the table I am using and it does not > work, i.e. the values of the variables are not passing from the second > to the third script, i wonder if my browser is screwing me up... I have > netscape 4.5 that i am running....I will try $HTTP_POST_VARS[xxx] and > see if i can pick up the values in the array when the second script is > submitted. Thanks Hans for your help on all this and on getting me onto > the forum where i can get assistance. Jerry > > Hans Zaunere wrote: > > > > This message contained 1 file(s) and is available at http://nyphp.org/list/paralist_archive.html?L_mid=128 > > > > There could be any number of problems, however I would start by looking > > at the SQL that actually gets generated and try to clean things up a > > bit. Although this maybe not be helpful at all, I've attached a file > > with some formatting/etc you may want to consider. > > > > I personally dispise the "or die()" scheme (too Perly) so I've used > > if() statements. The real important things to consider is 1) I always > > like to supply what connection handle I want to deal with - otherwise > > things can get confusing if you have multiple database handles. 2) the > > key for large SQL statements is to print it out and examine it if you > > have problems. > > > > Of course you may not need so many mysql_escape_string() calls, > > depending on the data source, and you'll have to check that your column > > types are all agreeable, DB perms, etc. > > > > Hope this helps, > > > > Hans Z. > > > > > > > if( $var2 == 'Return To Admin Home Page') { > > header('Location: index.htm'); > > exit; > > > > > > > If ($var2=="Return To Admin Home Page"){ > > > header("Location:index.htm"); > > > exit; > > > }elseif ($var1=="Modify Database"){ > > > > > > $connection = mysql_connect("localhost", "jwing", > > > "xxxxxxxx") > > > or die ("Couldn't connect to server."); > > > > > > > > > $db = mysql_select_db("jwing", $connection) > > > or die ("Couldn't select database."); > > > > > > $sql = "update jobs > > > set > > > KEYWORD1 = \\"$keyword1\\", > > > KEYWORD2 = \\"$keyword2\\", > > > KEYWORD3 = \\"$keyword3\\", > > > KEYWORD4 = \\"$keyword4\\", > > > KEYWORD5 = \\"$keyword5\\", > > > COMP_ID = \\"$comp_id\\", > > > SHOW_DATE = \\"$show_date\\", > > > JOB_CAT = \\"$job_cat\\", > > > JOB_LOC = \\"$job_loc\\", > > > JOB_TITLE = \\"$job_title\\", > > > JOB_DESC = \\"$job_desc\\", > > > JOB_SALARY = \\"$job_salary\\", > > > FIRST_NAME = \\"$first_name\\", > > > LAST_NAME = \\"$last_name\\", > > > AD_EMAIL = \\"$ad_email\\", > > > CNTCT_EMAIL = \\"$cntct_email\\", > > > USR_NAME = \\"$usr_name\\", > > > P_WORD = \\"$p_word\\", > > > AD_PHONE = \\"$ad_phone\\", > > > CNTCT_PHONE = \\"$cntct_phone\\", > > > AD_FAXPHONE = \\"$ad_faxphone\\", > > > WEB_SITE = \\"$web_site\\", > > > CCNAME = \\"$ccname\\", > > > CCNUMBER = \\"$ccnumber\\", > > > MONTHEXP = \\"$monthexp\\", > > > YEAREXP = \\"$yearexp\\", > > > CCTYPE = \\"$cctype\\", > > > STREET1A = \\"$street1A\\", > > > STREET2A = \\"$street2A\\", > > > STREET3A = \\"$street3A\\", > > > CC_CITY = \\"$cc_city\\", > > > CC_STATE = \\"$cc_state\\", > > > CC_ZIP = \\"$cc_zip\\", > > > TRBLFONE = \\"$trblfone\\" > > > where job_id = \\"$job_id\\""; > > > > > > $sql_result = mysql_query($sql) or die (mysql_error()); > > > echo " > > > > > > > > > > > > > > > > > >
> > > > > > > > Type=\\"submit\\"> > > > > > >
> > > > > > > > > "; > > > }; > > > ?> > > > > > > > __________________________________________________ > > Do You Yahoo!? > > LAUNCH - Your Yahoo! Music Experience > > http://launch.yahoo.com > From jwing at www.erols.com Mon May 20 13:13:51 2002 From: jwing at www.erols.com (Jerry Wing) Date: Mon, 20 May 2002 13:13:51 -0400 Subject: [nycphp-talk] Help Request References: <200205201551.g4KFpxR24689@slipdisc.virul.net> Message-ID: <3CE92ECF.221AF8BD@www.erols.com> Oktay, i get all the data in the array... but when i try to write an assignment statement i get a parse error. I write : keyword1 = '".$HTTP_POST_VARS["a1"]."' That gives a parse error... do you know how to write it correctly, Oktay? I appreciate your time very much.... Jerry Oktay Altunergil wrote: > > Jerry, > > Try this on the page you submit to: > > print "
";
> print_r($HTTP_POST_VARS);
> print "
"; > > It will let you see the whole thing easily. By the way, I didn't have time to look at the code you sent me. Please make sure you're indeed using the POST method on the forms and not using GET. > > Oktay Altunergil > > On Mon, 20 May 2002 11:15:30 -0400 > Jerry Wing wrote: > > > Hans, thank you for your help... the problem is in the UPDATE statement > > and the fact that the variables $keyword1, $keyword2, etc, in the > > statement have no values. IOW the values that are in the text boxes in > > script 2 where the current data is are not carried to script 3 where the > > UPDATE statement is located when the modify table button is pressed. > > You know Hans, I have successfully updated records with this form of the > > UPDATE statement just yesterday with a small test table i wrote, and > > when i go back and try it with the table I am using and it does not > > work, i.e. the values of the variables are not passing from the second > > to the third script, i wonder if my browser is screwing me up... I have > > netscape 4.5 that i am running....I will try $HTTP_POST_VARS[xxx] and > > see if i can pick up the values in the array when the second script is > > submitted. Thanks Hans for your help on all this and on getting me onto > > the forum where i can get assistance. Jerry > > > > Hans Zaunere wrote: > > > > > > This message contained 1 file(s) and is available at http://nyphp.org/list/paralist_archive.html?L_mid=128 > > > > > > There could be any number of problems, however I would start by looking > > > at the SQL that actually gets generated and try to clean things up a > > > bit. Although this maybe not be helpful at all, I've attached a file > > > with some formatting/etc you may want to consider. > > > > > > I personally dispise the "or die()" scheme (too Perly) so I've used > > > if() statements. The real important things to consider is 1) I always > > > like to supply what connection handle I want to deal with - otherwise > > > things can get confusing if you have multiple database handles. 2) the > > > key for large SQL statements is to print it out and examine it if you > > > have problems. > > > > > > Of course you may not need so many mysql_escape_string() calls, > > > depending on the data source, and you'll have to check that your column > > > types are all agreeable, DB perms, etc. > > > > > > Hope this helps, > > > > > > Hans Z. > > > > > > > > > > > if( $var2 == 'Return To Admin Home Page') { > > > header('Location: index.htm'); > > > exit; > > > > > > > > > > If ($var2=="Return To Admin Home Page"){ > > > > header("Location:index.htm"); > > > > exit; > > > > }elseif ($var1=="Modify Database"){ > > > > > > > > $connection = mysql_connect("localhost", "jwing", > > > > "xxxxxxxx") > > > > or die ("Couldn't connect to server."); > > > > > > > > > > > > $db = mysql_select_db("jwing", $connection) > > > > or die ("Couldn't select database."); > > > > > > > > $sql = "update jobs > > > > set > > > > KEYWORD1 = \\"$keyword1\\", > > > > KEYWORD2 = \\"$keyword2\\", > > > > KEYWORD3 = \\"$keyword3\\", > > > > KEYWORD4 = \\"$keyword4\\", > > > > KEYWORD5 = \\"$keyword5\\", > > > > COMP_ID = \\"$comp_id\\", > > > > SHOW_DATE = \\"$show_date\\", > > > > JOB_CAT = \\"$job_cat\\", > > > > JOB_LOC = \\"$job_loc\\", > > > > JOB_TITLE = \\"$job_title\\", > > > > JOB_DESC = \\"$job_desc\\", > > > > JOB_SALARY = \\"$job_salary\\", > > > > FIRST_NAME = \\"$first_name\\", > > > > LAST_NAME = \\"$last_name\\", > > > > AD_EMAIL = \\"$ad_email\\", > > > > CNTCT_EMAIL = \\"$cntct_email\\", > > > > USR_NAME = \\"$usr_name\\", > > > > P_WORD = \\"$p_word\\", > > > > AD_PHONE = \\"$ad_phone\\", > > > > CNTCT_PHONE = \\"$cntct_phone\\", > > > > AD_FAXPHONE = \\"$ad_faxphone\\", > > > > WEB_SITE = \\"$web_site\\", > > > > CCNAME = \\"$ccname\\", > > > > CCNUMBER = \\"$ccnumber\\", > > > > MONTHEXP = \\"$monthexp\\", > > > > YEAREXP = \\"$yearexp\\", > > > > CCTYPE = \\"$cctype\\", > > > > STREET1A = \\"$street1A\\", > > > > STREET2A = \\"$street2A\\", > > > > STREET3A = \\"$street3A\\", > > > > CC_CITY = \\"$cc_city\\", > > > > CC_STATE = \\"$cc_state\\", > > > > CC_ZIP = \\"$cc_zip\\", > > > > TRBLFONE = \\"$trblfone\\" > > > > where job_id = \\"$job_id\\""; > > > > > > > > $sql_result = mysql_query($sql) or die (mysql_error()); > > > > echo " > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > Type=\\"submit\\"> > > > > > > > >
> > > > > > > > > > > > "; > > > > }; > > > > ?> > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > LAUNCH - Your Yahoo! Music Experience > > > http://launch.yahoo.com > > From oktay at optonline.net Mon May 20 13:28:28 2002 From: oktay at optonline.net (Oktay Altunergil) Date: Mon, 20 May 2002 13:28:28 -0400 Subject: [nycphp-talk] Help Request In-Reply-To: <200205201710.g4KHAKR25180@slipdisc.virul.net> References: <200205201710.g4KHAKR25180@slipdisc.virul.net> Message-ID: <20020520132828.0593e0f2.oktay@optonline.net> Sure.. you're cascading double quotes incorrectly.. you have to escape the ones inside.. if you look at your example below.. you're opening the double quotes right before $HTTP_... then the next time a double quote is encouontered, PHP will think it's the closing double quote.. in this case right before a1..... which is incorrect. try the following.. you seem to be quoting too much. keyword1 = ' $HTTP_POST_VARS[a1] ' oktay On Mon, 20 May 2002 13:10:20 -0400 Jerry Wing wrote: > Oktay, i get all the data in the array... but when i try to write an > assignment statement i get a parse error. I write : > > keyword1 = '".$HTTP_POST_VARS["a1"]."' > > > That gives a parse error... do you know how to write it correctly, > Oktay? I appreciate your time very much.... > > Jerry > > Oktay Altunergil wrote: > > > > Jerry, > > > > Try this on the page you submit to: > > > > print "
";
> > print_r($HTTP_POST_VARS);
> > print "
"; > > > > It will let you see the whole thing easily. By the way, I didn't have time to look at the code you sent me. Please make sure you're indeed using the POST method on the forms and not using GET. > > > > Oktay Altunergil > > > > On Mon, 20 May 2002 11:15:30 -0400 > > Jerry Wing wrote: > > > > > Hans, thank you for your help... the problem is in the UPDATE statement > > > and the fact that the variables $keyword1, $keyword2, etc, in the > > > statement have no values. IOW the values that are in the text boxes in > > > script 2 where the current data is are not carried to script 3 where the > > > UPDATE statement is located when the modify table button is pressed. > > > You know Hans, I have successfully updated records with this form of the > > > UPDATE statement just yesterday with a small test table i wrote, and > > > when i go back and try it with the table I am using and it does not > > > work, i.e. the values of the variables are not passing from the second > > > to the third script, i wonder if my browser is screwing me up... I have > > > netscape 4.5 that i am running....I will try $HTTP_POST_VARS[xxx] and > > > see if i can pick up the values in the array when the second script is > > > submitted. Thanks Hans for your help on all this and on getting me onto > > > the forum where i can get assistance. Jerry > > > > > > Hans Zaunere wrote: > > > > > > > > This message contained 1 file(s) and is available at http://nyphp.org/list/paralist_archive.html?L_mid=128 > > > > > > > > There could be any number of problems, however I would start by looking > > > > at the SQL that actually gets generated and try to clean things up a > > > > bit. Although this maybe not be helpful at all, I've attached a file > > > > with some formatting/etc you may want to consider. > > > > > > > > I personally dispise the "or die()" scheme (too Perly) so I've used > > > > if() statements. The real important things to consider is 1) I always > > > > like to supply what connection handle I want to deal with - otherwise > > > > things can get confusing if you have multiple database handles. 2) the > > > > key for large SQL statements is to print it out and examine it if you > > > > have problems. > > > > > > > > Of course you may not need so many mysql_escape_string() calls, > > > > depending on the data source, and you'll have to check that your column > > > > types are all agreeable, DB perms, etc. > > > > > > > > Hope this helps, > > > > > > > > Hans Z. > > > > > > > > > > > > > > > if( $var2 == 'Return To Admin Home Page') { > > > > header('Location: index.htm'); > > > > exit; > > > > > > > > > > > > > If ($var2=="Return To Admin Home Page"){ > > > > > header("Location:index.htm"); > > > > > exit; > > > > > }elseif ($var1=="Modify Database"){ > > > > > > > > > > $connection = mysql_connect("localhost", "jwing", > > > > > "xxxxxxxx") > > > > > or die ("Couldn't connect to server."); > > > > > > > > > > > > > > > $db = mysql_select_db("jwing", $connection) > > > > > or die ("Couldn't select database."); > > > > > > > > > > $sql = "update jobs > > > > > set > > > > > KEYWORD1 = \\"$keyword1\\", > > > > > KEYWORD2 = \\"$keyword2\\", > > > > > KEYWORD3 = \\"$keyword3\\", > > > > > KEYWORD4 = \\"$keyword4\\", > > > > > KEYWORD5 = \\"$keyword5\\", > > > > > COMP_ID = \\"$comp_id\\", > > > > > SHOW_DATE = \\"$show_date\\", > > > > > JOB_CAT = \\"$job_cat\\", > > > > > JOB_LOC = \\"$job_loc\\", > > > > > JOB_TITLE = \\"$job_title\\", > > > > > JOB_DESC = \\"$job_desc\\", > > > > > JOB_SALARY = \\"$job_salary\\", > > > > > FIRST_NAME = \\"$first_name\\", > > > > > LAST_NAME = \\"$last_name\\", > > > > > AD_EMAIL = \\"$ad_email\\", > > > > > CNTCT_EMAIL = \\"$cntct_email\\", > > > > > USR_NAME = \\"$usr_name\\", > > > > > P_WORD = \\"$p_word\\", > > > > > AD_PHONE = \\"$ad_phone\\", > > > > > CNTCT_PHONE = \\"$cntct_phone\\", > > > > > AD_FAXPHONE = \\"$ad_faxphone\\", > > > > > WEB_SITE = \\"$web_site\\", > > > > > CCNAME = \\"$ccname\\", > > > > > CCNUMBER = \\"$ccnumber\\", > > > > > MONTHEXP = \\"$monthexp\\", > > > > > YEAREXP = \\"$yearexp\\", > > > > > CCTYPE = \\"$cctype\\", > > > > > STREET1A = \\"$street1A\\", > > > > > STREET2A = \\"$street2A\\", > > > > > STREET3A = \\"$street3A\\", > > > > > CC_CITY = \\"$cc_city\\", > > > > > CC_STATE = \\"$cc_state\\", > > > > > CC_ZIP = \\"$cc_zip\\", > > > > > TRBLFONE = \\"$trblfone\\" > > > > > where job_id = \\"$job_id\\""; > > > > > > > > > > $sql_result = mysql_query($sql) or die (mysql_error()); > > > > > echo " > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > Type=\\"submit\\"> > > > > > > > > > >
> > > > > > > > > > > > > > > "; > > > > > }; > > > > > ?> > > > > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > LAUNCH - Your Yahoo! Music Experience > > > > http://launch.yahoo.com > > > > From ejp at well.com Mon May 20 23:19:18 2002 From: ejp at well.com (Edward Potter) Date: Mon, 20 May 2002 23:19:18 -0400 Subject: [nycphp-talk] PHPXref 0.2a References: <200205200150.g4K1oLR20702@slipdisc.virul.net> Message-ID: <3CE9BCB6.3030801@well.com> Xref looks cool, my question is, what exactly is Liquid Markets? Looks like the beginnings of something interesting, but i can't really find a mission like statement, maybe i'm just missing it... thanks... ed Ted Shieh wrote: > Hi, I have just released a modified version of PHPXref, a PHP documentation > tool, similar to LXR. > > See http://www.liquidmarkets.com/m.php?m=News&file=article&sid=3 > > An example of the output is here: http://www.liquidmarkets.com/phpxref/ > This shows documentation for phpSQLGen and php4/pear (PEAR 2002-05-19 22:36 > GMT snapshot). > > PHPXref was written by Gareth Watts, with contributions from Gottfried Szing > and myself. > > The PHPXref home page is here: http://phpxref.sourceforge.net/. > I made the following modifications: > + Fixed an issue that was preventing the script from working on Windows > + Changed the regular expressions to match the standard Javadoc/PHPDoc > comment marker (/**) for functions. > Used ## for the file comment marker. > + Added the pre tag for function comments so that example code comments will > be formatted correctly. > + Increased font size > > This modified version is available here: > http://www.liquidmarkets.com/m.php?m=Downloads&req=viewdownload&cid=2 > > Ted > Place a free classified ad with LiquidMarkets > http://www.liquidmarkets.com/m.php?m=wish > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > > > From zaunere at yahoo.com Tue May 21 18:58:09 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Tue, 21 May 2002 15:58:09 -0700 (PDT) Subject: MEETING - Tomorrow's meeting, presentations, and development Message-ID: <20020521225809.45496.qmail@web12805.mail.yahoo.com> Hello all, It's that time again! Tomorrow's meeting should be great, with three presentations lined up. PEAR Fundementals: Andrew References and Aliases: Hans Z. AMP on Mac OS-X: Jay Plus, Q&A and a NYPHP.org development segment at the end. Details at http://nyphp.org. Overall, this should be a great meeting for learning and networking. As always, it is free and open to the public. Hope to see everyone there, Hans Z. New York PHP http://nyphp.org __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From andrew at digitalpulp.com Wed May 22 12:24:08 2002 From: andrew at digitalpulp.com (Andrew M. Yochum) Date: Wed, 22 May 2002 12:24:08 -0400 (EDT) Subject: [nycphp-talk] MEETING - Tomorrow's meeting, presentations, and development In-Reply-To: <200205212258.g4LMwCp30474@slipdisc.virul.net> Message-ID: My apologies, but I have to postpone my PEAR presentation until next month... See you all tonight, Andrew On Tue, 21 May 2002, Hans Zaunere wrote: > > Hello all, > > It's that time again! Tomorrow's meeting should be great, with three > presentations lined up. > > PEAR Fundementals: Andrew > References and Aliases: Hans Z. > AMP on Mac OS-X: Jay > > Plus, Q&A and a NYPHP.org development segment at the end. Details at > http://nyphp.org. Overall, this should be a great meeting for learning > and networking. As always, it is free and open to the public. > > Hope to see everyone there, > > Hans Z. > New York PHP > http://nyphp.org > > > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com > -- Andrew Yochum Digital Pulp, Inc. 212.679.0676x255 andrew at digitalpulp.com From thegeek at thecolorgeek.com Wed May 22 14:11:28 2002 From: thegeek at thecolorgeek.com (The Geek) Date: Wed, 22 May 2002 14:11:28 -0400 Subject: Seeking Info. In-Reply-To: <200205212258.g4LMwCp30474@slipdisc.virul.net> Message-ID: <5652DD30-6DAF-11D6-BAE2-003065489A1E@thecolorgeek.com> Hello to all I am new to both Mysql and PHP. I found this list by accident and have been lurking for about a week. As a newbie I am in search for good basic and fundamental information. Books, websites, How to's that sort of thing. If there are specifics that stand out above the rest or are considered a must read please tell me. I hate to buy books only to find then poorly written latter. Paul Guba From jhise at linuxforbusiness.org Wed May 22 14:31:20 2002 From: jhise at linuxforbusiness.org (Jeremy Hise) Date: 22 May 2002 14:31:20 -0400 Subject: [nycphp-talk] Seeking Info. In-Reply-To: <200205221811.g4MIBVp33240@slipdisc.virul.net> References: <200205221811.g4MIBVp33240@slipdisc.virul.net> Message-ID: <1022092282.2794.1.camel@localhost.localdomain> The most useful PHP book in my library is the PHP CookBook. I'm pretty sure it's by NewRiders, but I certainly could be wrong. It's great! You should at least check it out. It's white and red...ish. Good luck! On Wed, 2002-05-22 at 14:11, The Geek wrote: > Hello to all > > I am new to both Mysql and PHP. I found this list by accident and have > been lurking for about a week. As a newbie I am in search for good > basic and fundamental information. Books, websites, How to's that sort > of thing. If there are specifics that stand out above the rest or are > considered a must read please tell me. I hate to buy books only to find > then poorly written latter. > > > > Paul Guba > > > > From jahmon at jahmon.com Wed May 22 14:31:34 2002 From: jahmon at jahmon.com (jahmon :-)) Date: Wed, 22 May 2002 14:31:34 -0400 Subject: [nycphp-talk] Seeking Info. In-Reply-To: <200205221811.g4MIBVp33240@slipdisc.virul.net> References: <200205221811.g4MIBVp33240@slipdisc.virul.net> Message-ID: <20020522183134.GA29424@jahmon.com> My suggestion is as follows: 1) www.php.net -- probably your best source of documentation a)you can find stuff easy if you kinda know what you're looking for e.g. (www.php.net/mysql) 2) www.mysql.com -- same as 1...for mysql 3) get a book (I can't advise you on which one. I've read a few...none really stand out. I'm sure someone else can assist you w/ that) 4) play around w/ ideas...try new things....it will speed up the process. 5) if you can...look at other people's code. down load some open source stuff from freshmeat.net just to look at it...it will show you how to write better code (hopefully -- there is a lot of bad code out there -- [but you'll notice it when you see it]) hope that helps. good luck...and welcome. jahmon ;-) On Wed, May 22, 2002 at 02:11:31PM -0400, The Geek wrote: > Hello to all > > I am new to both Mysql and PHP. I found this list by accident and have > been lurking for about a week. As a newbie I am in search for good > basic and fundamental information. Books, websites, How to's that sort > of thing. If there are specifics that stand out above the rest or are > considered a must read please tell me. I hate to buy books only to find > then poorly written latter. > > > > Paul Guba > > From zaunere at yahoo.com Wed May 22 14:45:30 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 22 May 2002 11:45:30 -0700 (PDT) Subject: MEETING-Library Books - Final Notes and Reminder Message-ID: <20020522184530.41978.qmail@web12801.mail.yahoo.com> Just a quick reminder about tonight's meeting and the NYPHP Library. We are looking forward to a set of great presentations and activities. The NYPHP Library will be in full effect tonight, as always. DON'T FORGET YOUR LIBRARY BOOKS PLEASE and any completed book reviews. Time and location details can be found at http://nyphp.org. Thank you, Hans Z. __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From zaunere at yahoo.com Wed May 22 14:50:08 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 22 May 2002 11:50:08 -0700 (PDT) Subject: [nycphp-talk] Seeking Info. In-Reply-To: <200205221811.g4MIBVp33240@slipdisc.virul.net> Message-ID: <20020522185008.80635.qmail@web12804.mail.yahoo.com> There are many options - here are a couple: -- Come to tonight's meeting. There is always time to ask questions and network with other coders. -- Ask questions on the list. -- Search google.com using terms like "php", "beginner", "tutorial", "newbie", "article", etc Once you get up to speed a little, I recommend Programming PHP from O'Reilly (I have a copy I'm bringing to the meeting tonight) and the WROX PHP books. Although there are a lot of easy tutorial books on PHP, I would shy away from them - you can learn all that easily online - save your money for more advanced books. Hope this helps, Hans Z. --- The Geek wrote: > Hello to all > > I am new to both Mysql and PHP. I found this list by accident and > have > been lurking for about a week. As a newbie I am in search for good > basic and fundamental information. Books, websites, How to's that > sort > of thing. If there are specifics that stand out above the rest or > are > considered a must read please tell me. I hate to buy books only to > find > then poorly written latter. > > > > Paul Guba > > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From ruryj at union.edu Wed May 22 14:57:16 2002 From: ruryj at union.edu (Jonathan Rury) Date: Wed, 22 May 2002 14:57:16 -0400 Subject: [nycphp-talk] Seeking Info. References: <200205221811.g4MIBVp33240@slipdisc.virul.net> Message-ID: <000f01c201c2$7e1b5980$ba946a95@union.edu> First and foremost, the documentation at php.net is outstanding. That is always the first place to check when stuck with a problem. In terms of getting introduced to mySQL and php, I've found that there are some very good faqs out there for setup and such (just google it). If you're looking for something to buy, "PHP and MySQL Web Development" from SAMS by Welling and Thomson is a really useful walkthrough of some standard PHP type apps you'll probably want to write at some point. ----- Original Message ----- From: "The Geek" To: "NYPHP Talk" Sent: Wednesday, May 22, 2002 2:11 PM Subject: [nycphp-talk] Seeking Info. > Hello to all > > I am new to both Mysql and PHP. I found this list by accident and have > been lurking for about a week. As a newbie I am in search for good > basic and fundamental information. Books, websites, How to's that sort > of thing. If there are specifics that stand out above the rest or are > considered a must read please tell me. I hate to buy books only to find > then poorly written latter. > > > > Paul Guba > > > From prutwo at onebox.com Wed May 22 15:00:36 2002 From: prutwo at onebox.com (ophir prusak) Date: Wed, 22 May 2002 12:00:36 -0700 Subject: [nycphp-talk] Seeking Info. Message-ID: <20020522190036.VRSH2131.mta10.onebox.com@onebox.com> Hi Paul, It also depends on your current knowledge. If you have previous experience with databases and server side web development (perl, cold fusion, asp, etc) then the online reference manuals should be enough. If databases are new to you, I cannot emphasise enough the need for a good SQL book (like http://www.amazon.com/exec/obidos/ASIN/0201447878/) With some more info on your current knowledge, I could be more specific regarding books. hope that helps, Ophir ---- Ophir Prusak Internet developer prutwo at onebox.com | http://www.prusak.com/ ---- "jahmon :-)" wrote: > My suggestion is as follows: > 1) www.php.net -- probably your best source of documentation > a)you can find stuff easy if you kinda know what you're looking > for > e.g. (www.php.net/mysql) > 2) www.mysql.com -- same as 1...for mysql > 3) get a book (I can't advise you on which one. I've read a few...none > really stand out. I'm sure someone else can assist you w/ that) > 4) play around w/ ideas...try new things....it will speed up the process. > 5) if you can...look at other people's code. down load some open source > stuff from freshmeat.net just to look at it...it will show > you how to write > better code (hopefully -- there is a lot of bad code out there > -- [but > you'll notice it when you see it]) > hope that helps. > good luck...and welcome. > > jahmon ;-) > > On Wed, May 22, 2002 at 02:11:31PM -0400, The Geek wrote: > > Hello to all > > > > I am new to both Mysql and PHP. I found this list by accident and > have > > been lurking for about a week. As a newbie I am in search for good > > > basic and fundamental information. Books, websites, How to's that > sort > > of thing. If there are specifics that stand out above the rest or > are > > considered a must read please tell me. I hate to buy books only > to find > > then poorly written latter. > > > > > > > > Paul Guba > > > > > > From brent at landover.com Wed May 22 15:16:14 2002 From: brent at landover.com (Brent Baisley) Date: Wed, 22 May 2002 15:16:14 -0400 Subject: [nycphp-talk] Seeking Info. In-Reply-To: <200205221811.g4MIBVp33240@slipdisc.virul.net> Message-ID: I'm new to MySQL and PHP too, but not new to databases and programming. I started with MySQL by Paul DuBois, which also briefly goes into interfacing PHP, Perl and C with MySQL. I thought it was an excellent book for beginners and intermediates. It starts with your typical relational database design tutorial, which you can skip, but also includes security guidelines and database maintenance. It's pretty thorough if you are looking to get started. I bought another book at the same time called PHP and MySQL Web Development by Luke Welling and Laura Thomson. It's ok, but could be organized better. It's one of those "SAMS" books, which I never liked. I should have known better. I'm sorry I won't be able to make tonight's meeting, I just started looking into PEAR and am a little lost so far. > Hello to all > > I am new to both Mysql and PHP. I found this list by accident and have > been lurking for about a week. As a newbie I am in search for good > basic and fundamental information. Books, websites, How to's that sort > of thing. If there are specifics that stand out above the rest or are > considered a must read please tell me. I hate to buy books only to find > then poorly written latter. > > Paul Guba > -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577 From jkapron at newageweb.com Wed May 22 15:47:12 2002 From: jkapron at newageweb.com (Jerry Kapron) Date: Wed, 22 May 2002 15:47:12 -0400 Subject: [nycphp-talk] Seeking Info. Message-ID: <000701c201c9$781b3b20$3201a8c0@duron.lan.newageweb.com> Paul, - The book I always go back to is 'Web Application Development with PHP 4.0' from New Riders by T.Ratschiller & T.Gerken. - For PHP/MySQL development I'd recommend 'MySQL/PHP Database Applications' from M&T Books by J. Greenspan & B.Bulger - http://www.DevShed.com/ has some great PHP and MySQL articles, as well as some very active discussion forums on different open source web technologies (including PHP & MySQL of course) - You should find some very good reads at http://www.onlamp.com/php/ and http://www.onlamp.com/onlamp/general/mysql.csp Have fun, Jerry On 22 May 2002 14:20 EDT The Geek wrote: > Hello to all > > I am new to both Mysql and PHP. I found this list by accident and have > been lurking for about a week. As a newbie I am in search for good > basic and fundamental information. Books, websites, How to's that sort > of thing. If there are specifics that stand out above the rest or are > considered a must read please tell me. I hate to buy books only to find > then poorly written latter. > > > > Paul Guba > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonbaer at digitalanywhere.com Wed May 22 15:49:01 2002 From: jonbaer at digitalanywhere.com (Jon Baer) Date: Wed, 22 May 2002 15:49:01 -0400 Subject: [nycphp-talk] Seeking Info. C References: <200205221916.g4MJG0p33508@slipdisc.virul.net> Message-ID: <3CEBF62D.A307E529@digitalanywhere.com> > I'm sorry I won't be able to make tonight's meeting, I just started looking > into PEAR and am a little lost so far. > What Im looking for is how to build a very simple "Hello World" C extension for PHP, or @ least how to build PHP on Windows without Visual C (using Cygwin) ... I attempt it and php.h creates a huge mess ... Is there any advantage (speed-wise) to using a native MySQL C extension u have built vs. using the built-in methods? - Jon From zaunere at yahoo.com Wed May 22 16:46:40 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 22 May 2002 13:46:40 -0700 (PDT) Subject: [nycphp-talk] Seeking Info. C In-Reply-To: <200205221954.g4MJsCp33776@slipdisc.virul.net> Message-ID: <20020522204640.59562.qmail@web12801.mail.yahoo.com> --- Jon Baer wrote: > What Im looking for is how to build a very simple "Hello World" C > extension for > PHP, Get the new Programming PHP by Rasmus from O'Reilly - most in-depth coverage of PHP extension/internal I've seen so far (if anyone knows of anything better (besides the source) do tell!). There is also http://www.zend.com/apidoc/ which is very good. Both about cover the same, but each fills in a little. > or @ least how to build PHP on Windows without Visual C (using > Cygwin) ... > I attempt it and php.h creates a huge mess ... Not sure about this, but in Rasmus' book they cover Windows configuration, etc. I don't know the details, but I'll have the book at the meeting tonight so you can check it out. > Is there any advantage (speed-wise) to using a native MySQL C > extension u have > built vs. using the built-in methods? Hmm, I doubt it. PHP and MySQL have been like bread and butter from the beginning and the extension has been developed by members of each team. When compiled against mysql's libraries, the extension is about as native as you can get. Hans Z. __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From LarryC at indexstock.com Wed May 22 16:56:22 2002 From: LarryC at indexstock.com (Larry Chuon) Date: Wed, 22 May 2002 16:56:22 -0400 Subject: Verity Search Engine Message-ID: <86713EAB93BD5F40B94A0C8E604C7C913F82A7@index-exchange.indexstock.com> Hi, Does anybody know or have experience with Verity ? I want to build some hook into their search engine using PHP. I have the SDK version which comes with ASP and Java API. I don't like ASP. Java is just too slow. 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 zaunere at yahoo.com Thu May 23 10:35:50 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 23 May 2002 07:35:50 -0700 (PDT) Subject: Meeting Followup Message-ID: <20020523143550.30082.qmail@web12808.mail.yahoo.com> Good morning all, I've updated http://nyphp.org's frontpage with a couple notes that might be interesting. I'll be updateing the Group Notes section later, as well. However most important is that we start to build our knowledge base. To the presenters last night: if you haven't already, please send me notes/links/etc about your presentation. I saw many people using note paper and web page links. If you could write this up in an article-type format, that'd be great - if not, just send me the raw notes and I'll "compile" it into a reasonable form. We're not looking for anything fancy at this point, but I just want to get the resources online. Also, to anyone else who took notes last night, please send anything you found interesting to me and I'll compile it as well. And, the position for NYPHP Clerk/Secretary is still open! I was thinking this morning: if I setup a group weblog thing, would people put useful info there (from meetings, and even just general notes)? Then I or other editors could compile it down to article-type formats, link lists, etc. Feedback on this please. Either way, since we're getting great presentations, we need a way to track/record the information. Thanks folks, and I look forward to next week's development meeting (all are welcome). Hans Z. __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From prutwo at onebox.com Thu May 23 10:43:40 2002 From: prutwo at onebox.com (ophir prusak) Date: Thu, 23 May 2002 07:43:40 -0700 Subject: Making URLs Search Engine Friendly - Follow Up Message-ID: <20020523144340.JEVL4876.mta09.onebox.com@onebox.com> Hi All, I wanted to go over a few items as a follow up to my presentation last night (ok - I forgot to look at my notes :) 1. I don't know how I forgot to mention this, but one of the biggest disadvantages of the PATH_INFO method is that it does not work with cgi versions of PHP. As in the nature of yesterday's presentation - does anyone know what error you get and why it doesn't work with cgi versions of PHP ? 2. When making your URLs search engine friendly, there is an advantage of using URLs that looks like an .html file (and not just a path, as often done with the PATH_INFO method). In the future, if you should want to make any of your pages truly static, it makes life easier. For example, one of the pages on my web site was getting a lot of traffic, so instead of having it be created on the fly, I simply created a crontab entry that once a day grabbed the dynamic page and saved it to a static page. Something like this: wget http://www.mysite.com/dynamic-version.php -o static-version.html Just a side note - I no longer do it this way, but instead use a output caching object to get almost the same performance gain. 3. Someone asked how do I make ANY file in a directory be treated like a PHP file, regardless of filename (under apache of course). Add this line in your .htaccess file for the directory you want to use: ForceType application/x-httpd-php (or whatever mime type you use for php) For more details see http://httpd.apache.org/docs/mod/mod_mime.html#forcetype I've created an example at: http://www.consolemonkey.com/nyphp/allphpfiles/example/name/ophir/city/nyc.html (I'll leave it up to the reader to write the regex to remove the .html from the PATH_INFO so your last value won't have .html appended to it ;) Hope you all learned something. Ophir ---- Ophir Prusak Internet developer prutwo at onebox.com | http://www.prusak.com/ From zaunere at yahoo.com Thu May 23 10:56:56 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 23 May 2002 07:56:56 -0700 (PDT) Subject: [nycphp-talk] Verity Search Engine In-Reply-To: <200205222056.g4MKufp33997@slipdisc.virul.net> Message-ID: <20020523145656.10469.qmail@web12804.mail.yahoo.com> I took a quick google and didn't come up with much. However I noticed that Verity (VDK) supports COM, which PHP supports as well (php.net/com). There are also some ways to bridge PHP and Java (php.net/java), but I'm not sure if it's at the level to be of use here. There is also the PEAR SOAP library, which might be useful here. Either way, I've never used any of these, so I'm flying blind. Hans Z. --- Larry Chuon wrote: > > Hi, > > Does anybody know or have experience with Verity ? I want to build > some > hook into their search engine using PHP. I have the SDK version > which comes > with ASP and Java API. I don't like ASP. Java is just too slow. > > Larry > > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From LarryC at indexstock.com Thu May 23 11:04:57 2002 From: LarryC at indexstock.com (Larry Chuon) Date: Thu, 23 May 2002 11:04:57 -0400 Subject: [nycphp-talk] Verity Search Engine Message-ID: <86713EAB93BD5F40B94A0C8E604C7C913F82A8@index-exchange.indexstock.com> Thanks for the feedback. Sorry, I missed the meeting last night. My company had a softball game. BTW, we (NYPHP) should also plan to gather at a bar sometime. This way, people can network better. -----Original Message----- From: Hans Zaunere [mailto:zaunere at yahoo.com] Sent: Thursday, May 23, 2002 10:57 AM To: NYPHP Talk Subject: Re: [nycphp-talk] Verity Search Engine I took a quick google and didn't come up with much. However I noticed that Verity (VDK) supports COM, which PHP supports as well (php.net/com). There are also some ways to bridge PHP and Java (php.net/java), but I'm not sure if it's at the level to be of use here. There is also the PEAR SOAP library, which might be useful here. Either way, I've never used any of these, so I'm flying blind. Hans Z. --- Larry Chuon wrote: > > Hi, > > Does anybody know or have experience with Verity ? I want to build > some > hook into their search engine using PHP. I have the SDK version > which comes > with ASP and Java API. I don't like ASP. Java is just too slow. > > Larry > > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From enunez at tiaa-cref.org Thu May 23 11:20:55 2002 From: enunez at tiaa-cref.org (Nunez, Eddy) Date: Thu, 23 May 2002 09:20:55 -0600 Subject: [nycphp-talk] Meeting Followup Message-ID: <7CE0EC1FC2D0D411910700508BE38D0F016A34B6@msxnyusr01.msx.ops.tiaa-cref.org> G'morn all, Weblog? Blah! A web forum would be more useful to the members. I suggest breakin' it up into different areas, for example: o "Member Discussions/Chat/Issues/Etc", o "Meeting Minutes/Log"(static area only "webmaster" can update), o "Previous Presentations" o "Reference Area"(maybe, alot of reference sites out there already) o "Member CODEZ!" (stuff written by members, I'm sure many will love to contribute to this ;) o "Club Rules and Related-Junk" o "LAMP Book Library" (Overdue books? List of books available with an accompaning book review) o "Kool Zites" - (Member Recommended Sites with description/review) o etc etc etc There are free forum services out there, or better yet... download some php(of course) based web forum app and put it on nyphp.org. My 3 cents, -Ed -----Original Message----- From: Hans Zaunere [mailto:zaunere at yahoo.com] Sent: Thursday, May 23, 2002 10:36 AM To: NYPHP Talk Subject: [nycphp-talk] Meeting Followup Good morning all, I've updated http://nyphp.org's frontpage with a couple notes that might be interesting. I'll be updateing the Group Notes section later, as well. However most important is that we start to build our knowledge base. To the presenters last night: if you haven't already, please send me notes/links/etc about your presentation. I saw many people using note paper and web page links. If you could write this up in an article-type format, that'd be great - if not, just send me the raw notes and I'll "compile" it into a reasonable form. We're not looking for anything fancy at this point, but I just want to get the resources online. Also, to anyone else who took notes last night, please send anything you found interesting to me and I'll compile it as well. And, the position for NYPHP Clerk/Secretary is still open! I was thinking this morning: if I setup a group weblog thing, would people put useful info there (from meetings, and even just general notes)? Then I or other editors could compile it down to article-type formats, link lists, etc. Feedback on this please. Either way, since we're getting great presentations, we need a way to track/record the information. Thanks folks, and I look forward to next week's development meeting (all are welcome). Hans Z. __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com ********************************************************************** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF ********************************************************************** From jay at trans-city.com Thu May 23 11:41:08 2002 From: jay at trans-city.com (Jay Greenspan) Date: Thu, 23 May 2002 11:41:08 -0400 Subject: [nycphp-talk] Meeting Followup In-Reply-To: <200205231435.g4NEZup36089@slipdisc.virul.net> Message-ID: <800CFC8F-6E63-11D6-A6EE-003065C48B4C@trans-city.com> Hey Folks, I've got some work to do over the next couple of days, but should be able to put together an article (and a shell script for automated install) on AMP on Mac OS X for the nyphp.org site by Tuesday. Hope everyone has a great holiday weekend. -j ------------------ trans-city writers who code http://trans-city.com/ From zinfany at hotmail.com Thu May 23 11:42:19 2002 From: zinfany at hotmail.com (zinfany) Date: Thu, 23 May 2002 11:42:19 -0400 Subject: [nycphp-talk] Meeting Followup References: <200205231521.g4NFL7p36222@slipdisc.virul.net> Message-ID: A web forum would indeed be useful. Anybody brought up the idea of using a content management system such as PHP-Nuke? I've implemented PHP-Nuke for a number of sites and found the setup and use fairly easy, and it comes with plenty of features built-in, such as forums, downloads, links, etc. ----- Original Message ----- From: "Nunez, Eddy" To: "NYPHP Talk" Sent: Thursday, May 23, 2002 11:21 AM Subject: RE: [nycphp-talk] Meeting Followup > > G'morn all, > > Weblog? Blah! A web forum would be more useful to the members. > I suggest breakin' it up into different areas, for example: > > o "Member Discussions/Chat/Issues/Etc", > o "Meeting Minutes/Log"(static area only "webmaster" can update), > o "Previous Presentations" > o "Reference Area"(maybe, alot of reference sites out there already) > o "Member CODEZ!" > (stuff written by members, I'm sure many will love to contribute > to this ;) > o "Club Rules and Related-Junk" > o "LAMP Book Library" > (Overdue books? List of books available with an accompaning book > review) > o "Kool Zites" - (Member Recommended Sites with description/review) > o etc etc etc > > There are free forum services out there, or better yet... > download some php(of course) based web forum app and put it on nyphp.org. > > My 3 cents, > -Ed > > > -----Original Message----- > From: Hans Zaunere [mailto:zaunere at yahoo.com] > Sent: Thursday, May 23, 2002 10:36 AM > To: NYPHP Talk > Subject: [nycphp-talk] Meeting Followup > > > > Good morning all, > > I've updated http://nyphp.org's frontpage with a couple notes that > might be interesting. I'll be updateing the Group Notes section later, > as well. > > However most important is that we start to build our knowledge base. > > To the presenters last night: if you haven't already, please send me > notes/links/etc about your presentation. I saw many people using note > paper and web page links. If you could write this up in an > article-type format, that'd be great - if not, just send me the raw > notes and I'll "compile" it into a reasonable form. We're not looking > for anything fancy at this point, but I just want to get the resources > online. > > Also, to anyone else who took notes last night, please send anything > you found interesting to me and I'll compile it as well. And, the > position for NYPHP Clerk/Secretary is still open! > > I was thinking this morning: if I setup a group weblog thing, would > people put useful info there (from meetings, and even just general > notes)? Then I or other editors could compile it down to article-type > formats, link lists, etc. Feedback on this please. > > Either way, since we're getting great presentations, we need a way to > track/record the information. > > Thanks folks, and I look forward to next week's development meeting > (all are welcome). > > Hans Z. > > > > > > > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com > > > ********************************************************************** > This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. > TIAA-CREF > ********************************************************************** > > From zaunere at yahoo.com Thu May 23 11:48:46 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 23 May 2002 08:48:46 -0700 (PDT) Subject: NYPHP Library Message-ID: <20020523154846.18578.qmail@web12804.mail.yahoo.com> A quick note to those who have borrowed books from the NYPHP Library: Please remember to bring them to the meeting following when you borrowed them. If you can't attend, please notify us via library at nyphp.org in advance. Also, thank you to those who donated new books. The library is growing by leaps and bounds! Thank you, Hans Z. __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From prutwo at onebox.com Thu May 23 11:48:52 2002 From: prutwo at onebox.com (ophir prusak) Date: Thu, 23 May 2002 08:48:52 -0700 Subject: [nycphp-talk] Meeting Followup Message-ID: <20020523154852.BXJK4919.mta05.onebox.com@onebox.com> Personally I think a wiki tool is exactly what the group needs. I've installed twiki (http://www.twiki.org) at a few places and it's been VERY helpfull. Yes, I know it's perl and not PHP, but I don't know of any PHP based wikis with such an extensive feature set. ---- Ophir Prusak Internet developer prutwo at onebox.com | http://www.prusak.com/ ---- "zinfany" wrote: > A web forum would indeed be useful. > > Anybody brought up the idea of using a content management system such > as > PHP-Nuke? I've implemented PHP-Nuke for a number of sites and found > the > setup and use fairly easy, and it comes with plenty of features built-in, > such as forums, downloads, links, etc. > > > ----- Original Message ----- > From: "Nunez, Eddy" > To: "NYPHP Talk" > Sent: Thursday, May 23, 2002 11:21 AM > Subject: RE: [nycphp-talk] Meeting Followup > > > > > > G'morn all, > > > > Weblog? Blah! A web forum would be more useful to the members. > > I suggest breakin' it up into different areas, for example: > > > > o "Member Discussions/Chat/Issues/Etc", > > o "Meeting Minutes/Log"(static area only "webmaster" can update), > > o "Previous Presentations" > > o "Reference Area"(maybe, alot of reference sites out there already) > > o "Member CODEZ!" > > (stuff written by members, I'm sure many will love to contribute > > to this ;) > > o "Club Rules and Related-Junk" > > o "LAMP Book Library" > > (Overdue books? List of books available with an accompaning book > > review) > > o "Kool Zites" - (Member Recommended Sites with description/review) > > o etc etc etc > > > > There are free forum services out there, or better yet... > > download some php(of course) based web forum app and put it on nyphp.org. > > > > My 3 cents, > > -Ed > > > > > > -----Original Message----- > > From: Hans Zaunere [mailto:zaunere at yahoo.com] > > Sent: Thursday, May 23, 2002 10:36 AM > > To: NYPHP Talk > > Subject: [nycphp-talk] Meeting Followup > > > > > > > > Good morning all, > > > > I've updated http://nyphp.org's frontpage with a couple notes that > > might be interesting. I'll be updateing the Group Notes section > later, > > as well. > > > > However most important is that we start to build our knowledge base. > > > > To the presenters last night: if you haven't already, please send > me > > notes/links/etc about your presentation. I saw many people using > note > > paper and web page links. If you could write this up in an > > article-type format, that'd be great - if not, just send me the raw > > notes and I'll "compile" it into a reasonable form. We're not looking > > for anything fancy at this point, but I just want to get the resources > > online. > > > > Also, to anyone else who took notes last night, please send anything > > you found interesting to me and I'll compile it as well. And, the > > position for NYPHP Clerk/Secretary is still open! > > > > I was thinking this morning: if I setup a group weblog thing, would > > people put useful info there (from meetings, and even just general > > notes)? Then I or other editors could compile it down to article-type > > formats, link lists, etc. Feedback on this please. > > > > Either way, since we're getting great presentations, we need a way > to > > track/record the information. > > > > Thanks folks, and I look forward to next week's development meeting > > (all are welcome). > > > > Hans Z. > > > > > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > LAUNCH - Your Yahoo! Music Experience > > http://launch.yahoo.com > > > > > > ********************************************************************** > > This message, including any attachments, contains confidential information > intended for a specific individual and purpose, and is protected by > law. If > you are not the intended recipient, please contact sender immediately > by > reply e-mail and destroy all copies. You are hereby notified that > any > disclosure, copying, or distribution of this message, or the taking > of any > action based on it, is strictly prohibited. > > TIAA-CREF > > ********************************************************************** > > > > > > From andrew at digitalpulp.com Thu May 23 11:51:27 2002 From: andrew at digitalpulp.com (Andrew M. Yochum) Date: Thu, 23 May 2002 11:51:27 -0400 (EDT) Subject: [nycphp-talk] Making URLs Search Engine Friendly - Follow Up In-Reply-To: <200205231443.g4NEhnp36113@slipdisc.virul.net> Message-ID: On Thu, 23 May 2002, ophir prusak wrote: > As in the nature of yesterday's presentation - does anyone know what > error you get and why it doesn't work with cgi versions of PHP ? In your apache error log you get a message like: [Thu May 23 10:36:46 2002] [error] [client 209.176.7.100] Premature end of script headers: /www/cgi-bin/php and a 500 Internal server error is shot to the browser. I haven't dug around to find out exactly WHY this is, but here's what I've gathered from my experience with it. It seems that the PHP binary is passed the path of the script to run, which will include the PATH_INFO. So when it tries to execute it, it dies because there is no script named that. PHP should parse that path to the first script it finds and treat the rest as PATH_INFO data.... but it doesn't. Anyone have any more insight into this? Andrew -- Andrew Yochum Digital Pulp, Inc. 212.679.0676x255 andrew at digitalpulp.com From prutwo at onebox.com Thu May 23 12:25:25 2002 From: prutwo at onebox.com (ophir prusak) Date: Thu, 23 May 2002 09:25:25 -0700 Subject: [nycphp-talk] Making URLs Search Engine Friendly - Follow Up Message-ID: <20020523162525.GJDM2131.mta10.onebox.com@onebox.com> You hit the nail on the head. If you run PHP as a cgi, when you enter http://www.mysite.com/stuff/blah.php?id=5 What is happening behind the scenes is that apache passes the URL / script path to the PHP cgi executable, and then the cgi takes it from there. If the script doesn't exist, the php executable chokes since it can't find the script! This brings out another disadvantage of using php as a CGI. Any URL that apache thinks is a php file will be sent to the php cgi, and will choke if the file does not exist. This means it's very difficult to catch 404 errors with php file. > PHP should parse that > path to the first script it finds and treat the rest as PATH_INFO > data.... but it doesn't. Passing a script data via the URL using "/" is a feature that apache implements, not php itself. I'm sure the PHP tream could implement this if they wanted to, but I don't think any problems related to running php as a cgi are high priority ;) Ophir ---- "Andrew M. Yochum" wrote: > On Thu, 23 May 2002, ophir prusak wrote: > > > As in the nature of yesterday's presentation - does anyone know what > > error you get and why it doesn't work with cgi versions of PHP ? > > In your apache error log you get a message like: > [Thu May 23 10:36:46 2002] [error] [client 209.176.7.100] Premature > end of script headers: /www/cgi-bin/php > and a 500 Internal server error is shot to the browser. > > I haven't dug around to find out exactly WHY this is, but here's > what I've gathered from my experience with it. It seems that the > PHP binary is passed the path of the script to run, which will > include the PATH_INFO. So when it tries to execute it, it dies > because there is no script named that. PHP should parse that > path to the first script it finds and treat the rest as PATH_INFO > data.... but it doesn't. > > Anyone have any more insight into this? > > Andrew > > -- > Andrew Yochum > Digital Pulp, Inc. > 212.679.0676x255 > andrew at digitalpulp.com > > > From charles at softwareprototypes.com Thu May 23 14:37:48 2002 From: charles at softwareprototypes.com (charles at softwareprototypes.com) Date: Thu, 23 May 2002 14:37:48 -0400 Subject: Last night's notes? Message-ID: <188710-220025423183748109@softwareprototypes.com> Hello Hans, I'm extremely sorry I missed last night's meeting. I wanted to bring in my TiBook wich I use for demoes which is running Apache 1.3.23, php 4.1.2, MySQL-3.32.39, phpWiki-1.3.3, phpMyAdmin-2.2.4 and some other things. I've even installed ZendStudio_Client 2.0 Beta. Unfortunately, I still haven't been able to get ZendStudio_Server working on my slackware box. But duty, and a job possibility, called. I hope it wasn't for naught... A Blog, like phpSlash, would allow to build a searchable message stream and that would not be a bad idea. That develops a sense of community very quickly (specially with as small a community as the NY PHP User's Group.) But for peristence of information, organization, searchability, and so on, all stuff you want in a knowledge base, you'll want a Wiki, (like phpwiki.) The stuff that worth keeping from the blog can be moved over onto wiki pages and that information becomes a web accessible resource. In fact phpwiki is extensible by using plug-ins written in php so you might want to integrate the blog into a wiki page to ease the transfer. I've got some time available but I have to earn some dough. Would the position of blog monitor/moderator be a paying one? (If not now, then soon?) That will be a major time sponge. If you decide to go for a wiki (and I think you whould, look at the wikipedia for some inspiration,)that will also need a montor/moderator backup scheduler etc... That would mesh in well with the duties of the blog monitor/moderator. -Charles-A. From charles at softwareprototypes.com Thu May 23 14:45:46 2002 From: charles at softwareprototypes.com (charles at softwareprototypes.com) Date: Thu, 23 May 2002 14:45:46 -0400 Subject: Installing ZendStudio_Server. Anybody know how? Message-ID: <54670-220025423184546171@softwareprototypes.com> Hi, I bought ZendStudio 2.0 Client & Server. While I was able to install _Client stuff without a hitch, the _Server is proving to be a bear to install on my slackware-8 box. Basically their installer (a perl script) sucks. It asks questions that I can't figure out or can't find/disambiguate the right answer to. (I do "find / -name '' -print" and come up with X answers, which one am I supposed to use?) End result... I've wasted my money for want of some explanations. Does anybody want to earn my eternal gratitude, some nosh & brewskies, coming to my house in Jersey City and helping me with this recalcitrant install? -Charles-A. From prutwo at onebox.com Thu May 23 16:08:14 2002 From: prutwo at onebox.com (ophir prusak) Date: Thu, 23 May 2002 13:08:14 -0700 Subject: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? Message-ID: <20020523200814.EKVZ4919.mta05.onebox.com@onebox.com> don't you get support when u buy the product ? I'd ask zend for help. ---- Ophir Prusak Internet developer prutwo at onebox.com | http://www.prusak.com/ ---- charles at softwareprototypes.com wrote: > Hi, > > I bought ZendStudio 2.0 Client & Server. While I was able to install > _Client stuff without a hitch, the _Server is proving to be a bear > to install on my slackware-8 box. > > Basically their installer (a perl script) sucks. It asks questions > that I can't figure out or can't find/disambiguate the right answer > to. (I do "find / -name '' -print" and come up with X > answers, which one am I supposed to use?) > > End result... I've wasted my money for want of some explanations. > > Does anybody want to earn my eternal gratitude, some nosh & > brewskies, coming to my house in Jersey City and helping me with this > recalcitrant install? > > -Charles-A. > > > From gherson at snet.net Thu May 23 17:12:15 2002 From: gherson at snet.net (George Herson) Date: Thu, 23 May 2002 17:12:15 -0400 Subject: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? References: <200205232008.g4NK8Op36867@slipdisc.virul.net> Message-ID: <3CED5B2F.4010102@snet.net> Yes, contacting Support is worth a try of course, but don't expect them to admit their bugs. They sure didn't with me. When you insist on your $ back, the passphrase is persistence pays. george ophir prusak wrote: > don't you get support when u buy the product ? > > I'd ask zend for help. > > ---- > Ophir Prusak > Internet developer > prutwo at onebox.com | http://www.prusak.com/ > > > > ---- charles at softwareprototypes.com wrote: > >>Hi, >> >>I bought ZendStudio 2.0 Client & Server. While I was able to install >>_Client stuff without a hitch, the _Server is proving to be a bear >>to install on my slackware-8 box. >> >>Basically their installer (a perl script) sucks. It asks questions >>that I can't figure out or can't find/disambiguate the right answer >>to. (I do "find / -name '' -print" and come up with X >>answers, which one am I supposed to use?) >> >>End result... I've wasted my money for want of some explanations. >> >>Does anybody want to earn my eternal gratitude, some nosh & >>brewskies, coming to my house in Jersey City and helping me with this >>recalcitrant install? >> >>-Charles-A. >> >> >> > > > From charles at softwareprototypes.com Thu May 23 19:04:32 2002 From: charles at softwareprototypes.com (charles at softwareprototypes.com) Date: Thu, 23 May 2002 19:04:32 -0400 Subject: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? Message-ID: <226500-22002542323432156@softwareprototypes.com> Hi, I don't want my money back, I want the thing to work. It works on RedHat, or so I've heard... But my directory structure is slackware8 with some mods by a sys admin friend of mine to my box to give me dual drives mirroring each other. I hate to think that I'm going to have to screw up my system as it stands now just because they don't know how to write an installer script. I really don't want to lose all my settings, etc, to install RedHat over my current, working, system. I've had too many systems crash on me to ever trust my web site, even though its just a little vanity piece right now, to a single drive system again. Even if I do burn my backups to a rotation of CD-RWs everyday and to CD-ROM every week. The problem with the ZendStudio_Server installer is that it sucks eggs. And the yoke's on YOU. Its BAD. Real CLI amateur-hour crap. Make a mistake and it crashes on you and didn't store the answers you gave it the last time so you have to re-type everything all over again. I have a neurological problem so this is a real pain in the [expletive deleted]. Sometimes it might be my typing or maybe not. All I know is that it fails to install. There is no documentation explaining the nature of the questions its asking and there's no info to help you disambiguate when you find multiple directories with the same name. (Which one's right? How the [expletive deleted] should I know?) Their support is no great shakes. They don't seem to understand that their installer sucks. The last time we emailed back and forth, they referred me to their http://www.zend.com/install_instruct.php page which says: - - - * Download the Zend Studio Server package and place it in a temporary folder on your machine. * Login as root, or a user with superuser privileges. * Extract the .tar.gz file you have downloaded: 1. tar xzvf ZendStudioServer-x.x.x-Linux_glibc21-i386.tar.gz 2. Then, run the script ./install.sh (for dialog based) or ./install-tty.sh (for command line interface) 3. And follow the instructions in the installation script. - - - Yeah.... Right... 3. And follow the instructions in the installation script. The instructions in the installation script are terrible, obscure, non-intuitive, not the least descriptive and impossible to actually follow if you need to deviate from a stock standard install and can't just keep hitting enter. That's why I'm inviting some total stranger, any total stranger who could help, to my house for food and beer. Then we'll write up what the problem was, how we solved it and shove that back at Zend with a big "Thank's for nothing" note attached. -Charles-A. ---- Original Message ---- From: gherson at snet.net To: talk at nyphp.org, Subject: Re: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? Date: Thu, 23 May 2002 17:12:58 -0400 >Yes, contacting Support is worth a try of course, but don't expect >them to admit >their bugs. They sure didn't with me. > >When you insist on your $ back, the passphrase is persistence pays. > >george > > >ophir prusak wrote: >> don't you get support when u buy the product ? >> >> I'd ask zend for help. >> >> ---- >> Ophir Prusak >> Internet developer >> prutwo at onebox.com | http://www.prusak.com/ >> >> >> >> ---- charles at softwareprototypes.com wrote: >> >>>Hi, >>> >>>I bought ZendStudio 2.0 Client & Server. While I was able to >install >>>_Client stuff without a hitch, the _Server is proving to be a bear >>>to install on my slackware-8 box. >>> >>>Basically their installer (a perl script) sucks. It asks questions >>>that I can't figure out or can't find/disambiguate the right answer >>>to. (I do "find / -name '' -print" and come up with X >>>answers, which one am I supposed to use?) >>> >>>End result... I've wasted my money for want of some explanations. >>> >>>Does anybody want to earn my eternal gratitude, some nosh & >>>brewskies, coming to my house in Jersey City and helping me with >this >>>recalcitrant install? >>> >>>-Charles-A. >>> >>> >>> >> >> >> > > > > > From zaunere at yahoo.com Thu May 23 19:19:37 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 23 May 2002 16:19:37 -0700 (PDT) Subject: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? In-Reply-To: <200205231841.g4NIfZp36727@slipdisc.virul.net> Message-ID: <20020523231937.55290.qmail@web12801.mail.yahoo.com> > Basically their installer (a perl script) sucks. It asks questions > that I can't figure out or can't find/disambiguate the right answer > to. (I do "find / -name '' -print" and come up with X > answers, which one am I supposed to use?) Well I don't think I can make it to Jersey City any time soon, but post what the questions are it asks you that are giving you trouble and maybe we can get you started. The Perl script may very well be poorly written, but Slackware is known for not being "your average" Linux distro these days; altough I'd never leave it. Hans Z. __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From zaunere at yahoo.com Thu May 23 19:37:40 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 23 May 2002 16:37:40 -0700 (PDT) Subject: Development Meeting In-Reply-To: <200205231505.g4NF56p36178@slipdisc.virul.net> Message-ID: <20020523233740.7705.qmail@web12808.mail.yahoo.com> > BTW, we (NYPHP) should also plan to > gather at a bar sometime. This way, people can network better. Yes, bars are good! I'm going to be out of town this weekend, but let's try to get something planned for after the Development meeting on May 29th. Hans Z. __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From evan.heller at alum.rpi.edu Thu May 23 19:42:42 2002 From: evan.heller at alum.rpi.edu (evan heller) Date: Thu, 23 May 2002 19:42:42 -0400 Subject: [nycphp-talk] Development Meeting References: <200205232337.g4NNbkp37228@slipdisc.virul.net> Message-ID: <3CED7E72.6A60C904@alum.rpi.edu> Since the nyphp meeting starts a 6:30 how about a get-together at say 5:45 ot 6pm for a quick bite to eat before the meetings? I was just wondering since it would be a good way of meeting people outside of php and technology. Just a thought -Evan -- Evan Heller evan.heller at alum.rpi.edu From zaunere at yahoo.com Thu May 23 23:18:08 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 23 May 2002 20:18:08 -0700 (PDT) Subject: wikis, phorums and blogs, oh my! WAS: Last night's notes? In-Reply-To: <200205231833.g4NIXcp36695@slipdisc.virul.net> Message-ID: <20020524031808.47506.qmail@web12807.mail.yahoo.com> Hi Charles and others, I threw up phpWiki at http://dev.nyphp.org/wiki. It is the raw install, so it's looking for someone to play with. I'll give the admin password to anyone who wants, or if multiple people want to play with it, I can setup other instances easily. I've also installed Phorum (great package) at http://dev.nyphp.org/phorum. As above, it is the raw install and looking for some attention. I can also setup multiple instances if more than one person wants to play with it. I tried setting up phpWeblog (http://phpweblog.org) but it is junk as far as I can tell, so it's not working (http://dev.nyphp.org/weblog). Maybe when they release their "final" version (any other PHP implementations of this?) If anyone knows of other programs they'd like to see setup to play with, let me know. Right now I can't do Perl stuff because of the server setup. I really don't know much about how these things work (I'm still not sure the real difference between a weblog and wiki) so I'd like someone to play around with these. I don't want to have too many seperate systems going for communication, but at this initial stage I feel that it will be best to have multiple software possibilties up, and then they can be refined and whatever people like the best we'll keep. So, multiple people are welcome to work on any number of these packages, or others. Just let me know what needs to be setup/changed. Let's move this discussion to NYPHP Development (so don't just hit reply!) Thanks, Hans Z. --- charles at softwareprototypes.com wrote: > Hello Hans, > > I'm extremely sorry I missed last night's meeting. I wanted to bring > in my TiBook wich I use for demoes which is running Apache 1.3.23, > php 4.1.2, MySQL-3.32.39, phpWiki-1.3.3, phpMyAdmin-2.2.4 and some > other things. I've even installed ZendStudio_Client 2.0 Beta. > Unfortunately, I still haven't been able to get ZendStudio_Server > working on my slackware box. > > But duty, and a job possibility, called. I hope it wasn't for > naught... > > A Blog, like phpSlash, would allow to build a searchable message > stream and that would not be a bad idea. That develops a sense of > community very quickly (specially with as small a community as the NY > PHP User's Group.) > > But for peristence of information, organization, searchability, and > so on, all stuff you want in a knowledge base, you'll want a Wiki, > (like phpwiki.) > > The stuff that worth keeping from the blog can be moved over onto > wiki pages and that information becomes a web accessible resource. In > fact phpwiki is extensible by using plug-ins written in php so you > might want to integrate the blog into a wiki page to ease the > transfer. > > I've got some time available but I have to earn some dough. Would the > position of blog monitor/moderator be a paying one? (If not now, then > soon?) That will be a major time sponge. > > If you decide to go for a wiki (and I think you whould, look at the > wikipedia for some inspiration,)that will also need a > montor/moderator backup scheduler etc... That would mesh in well with > the duties of the blog monitor/moderator. > > > -Charles-A. > > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From charles at softwareprototypes.com Thu May 23 23:40:27 2002 From: charles at softwareprototypes.com (charles at softwareprototypes.com) Date: Thu, 23 May 2002 23:40:27 -0400 Subject: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? Message-ID: <267030-22002552434027781@softwareprototypes.com> Hello Hans, good thing I'm NOT in a hurry. Still I'd like it installed before the next php course (May's got "canceled".) I'll grant that slackware is perhaps not your run-of-the-mill distro, (atually it respects the Linux directory structure more than RedHat does.) No customized set up will be perfectly compliant with any scheme. Which makes explanation of the installer questions and their answers even more important. Installing on Mac OS X would be a breeze since the ONLY way is the OS X way and the OS X installers don't have to contend with any directory variance. Apps go in the Applications folder or one of its subfolders and that's that. Host servable Web documents go in ":Library:WebServer:Documents:" User documents go in ":Users::Sites:" However,the Linux world is NOT Mac OS X. Its important to provide good information so that installation can occur on the various distributions. I think its a pain that only RedHat's directory structure is supported right out of the tar file but that's my opinion. Still, its inexcusable that Zend does not provide enough information to let people who are using another distro to "roll their own". I'm getting used to doing this since RedHat is our 800lb Gorilla regardless of what I might think, but can't claim to be thrilled at this "contre-temps" since it only the crappyness of the installation instructions that stands between me, multi-platform clients and a usable ZendStudio Server. -Charles-A > From: Hans Zaunere > Organization: New York PHP > Reply-To: talk at nyphp.org > Date: Thu, 23 May 2002 19:19:42 -0400 > To: NYPHP Talk > Subject: Re: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? > > >> Basically their installer (a perl script) sucks. It asks questions >> that I can't figure out or can't find/disambiguate the right answer >> to. (I do "find / -name '' -print" and come up with X >> answers, which one am I supposed to use?) > > Well I don't think I can make it to Jersey City any time soon, but post > what the questions are it asks you that are giving you trouble and > maybe we can get you started. The Perl script may very well be poorly > written, but Slackware is known for not being "your average" Linux > distro these days; altough I'd never leave it. > > Hans Z. > > > > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com > From zaunere at yahoo.com Fri May 24 00:04:21 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 23 May 2002 21:04:21 -0700 (PDT) Subject: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? In-Reply-To: <200205240336.g4O3aHp37783@slipdisc.virul.net> Message-ID: <20020524040421.74144.qmail@web12805.mail.yahoo.com> > However,the Linux world is NOT Mac OS X. Its important to provide > good information so that installation can occur on the various > distributions. I think its a pain that only RedHat's directory > structure is supported right out of the tar file but that's my > opinion. It certainly is not. One problem with Linux (and UNIX through the ages) is variance. Linux is no exception, and it's openness probably intensifies these problems. > Still, its inexcusable that Zend does not provide enough information > to let people who are using another distro to "roll their own". I'm > getting used to doing this since RedHat is our 800lb Gorilla > regardless of what I might think, but can't claim to be thrilled at > this "contre-temps" since it only the crappyness of the installation > instructions that stands between me, multi-platform clients and a > usable ZendStudio Server. In addition, commercial products are notoriously finicky, especially on Linux. I just went through an Oracle, ARCServe and AntiVirus install on RedHat. Even taking the most "ceritifiable" and commercial version of Linux, and using the commercial software for THAT VERY version, caused enormous pain. And if you think Zend's installer doesn't give much detail, try Computer Associates - worse yet, CA won't give you support if you've even modified your system beyond their "certified" vision of a system, which must be a industry secret, since they're very illusive (ignorant) as to what that exactly means. (CA makes Microsoft look like Apache). It's the nature of the beast, perhaps the fault of the vendor, perhaps Linux; probably somewhere in the middle. Open Source, say hello to commercial vendors. If you'd like to post some details I/we'd be glad to help. If you like, I could even ssh into your box and see what I can see. Hans Z. > > From: Hans Zaunere > > Organization: New York PHP > > Reply-To: talk at nyphp.org > > Date: Thu, 23 May 2002 19:19:42 -0400 > > To: NYPHP Talk > > Subject: Re: [nycphp-talk] Installing ZendStudio_Server. Anybody > know how? > > > > > >> Basically their installer (a perl script) sucks. It asks questions > >> that I can't figure out or can't find/disambiguate the right > answer > >> to. (I do "find / -name '' -print" and come up with X > >> answers, which one am I supposed to use?) > > > > Well I don't think I can make it to Jersey City any time soon, but > post > > what the questions are it asks you that are giving you trouble and > > maybe we can get you started. The Perl script may very well be > poorly > > written, but Slackware is known for not being "your average" Linux > > distro these days; altough I'd never leave it. > > > > Hans Z. > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > LAUNCH - Your Yahoo! Music Experience > > http://launch.yahoo.com > > > > > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From zaunere at yahoo.com Fri May 24 00:05:33 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Thu, 23 May 2002 21:05:33 -0700 (PDT) Subject: [nycphp-talk] Development Meeting In-Reply-To: <200205232343.g4NNhUp37248@slipdisc.virul.net> Message-ID: <20020524040533.542.qmail@web12803.mail.yahoo.com> I'd be up for that. I'm done work at 5:00 and am only a couple blocks away, so whatever fits with others is fine with me. Hans Z. --- evan heller wrote: > Since the nyphp meeting starts a 6:30 how about a > get-together at say 5:45 ot 6pm for a quick bite > to eat before the meetings? I was just wondering > since it would be a good way of meeting people > outside of php and technology. Just a thought > > -Evan > > -- > > Evan Heller > evan.heller at alum.rpi.edu > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com From dkrook at hotmail.com Fri May 24 00:28:20 2002 From: dkrook at hotmail.com (D C Krook) Date: Fri, 24 May 2002 00:28:20 -0400 Subject: Solaris installs/users? Message-ID: Greetings all, I'm wondering if anyone here has experience installing PHP - or the other regulars MySQL/PostgreSQL, Tomcat, and Apache - on a desktop Solaris 8 machine. I've been doing local development with Windows 2000/IIS and Mac OS X/Apache and deploying them to outsourced Linux hosts for a while now, but I'd like to mess around with configuring this Solaris machine on my local network to be a staging/experimental server of sorts. Most of the documentation I've been using over the years has been Linux/BSD/Windows related so it's about 85% helpful for what I want to do, but I would also like to get a feel for any potential pitfalls before I really start messing with the SPARC box (I'm not exactly a Unix guru...). So, does anyone have warnings or anecdotes that might come in handy? Thanks in advance, Dan http://krook.net/ _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From ron at vnetworx.net Fri May 24 00:40:12 2002 From: ron at vnetworx.net (Ron Guerin) Date: 24 May 2002 00:40:12 -0400 Subject: [nycphp-talk] wikis, phorums and blogs, oh my! WAS: Last night's notes? In-Reply-To: <200205240318.g4O3IBp37711@slipdisc.virul.net> References: <200205240318.g4O3IBp37711@slipdisc.virul.net> Message-ID: <1022215213.12195.89366.camel@amory> On Thu, 2002-05-23 at 23:18, Hans Zaunere wrote: > I really don't know much about how these things work (I'm still not > sure the real difference between a weblog and wiki) so I'd like someone > to play around with these. My five-cent explanation: The distinguishing feature of a wiki is that its pages are publicly writable, and through the "intermap" mechanism, different wikiwebs can link to pages in each other. I've been using a Perl-based wiki for a while now as a knowledge base. Wikis sort of take on a life of their own. Weblogs are generally writable only by one or a small group of selected posters. Many blogs don't have any sort of public commenting facility either. Ron From charles at softwareprototypes.com Fri May 24 01:12:15 2002 From: charles at softwareprototypes.com (charles at softwareprototypes.com) Date: Fri, 24 May 2002 01:12:15 -0400 Subject: [nycphp-talk] wikis, phorums and blogs, oh my! WAS: Last night's notes? Message-ID: <232430-22002552451215296@softwareprototypes.com> Hello Hans, a wiki is a collaborative, adaptive environment. The last thing you want to do is set up multiple copies. That would defeat the purpose... How stock is your wiki install? What's the persistence mechanism? Did you create/use MySQL tables? You might want to let me onto your box and set you up properly. For one thing the site looks anemic. There are several attractive themes to choose from (I use MacOSX myself at http://wage.packet.org/phpwiki-1.3.3/index.php though Hawaiian is very nice,) or we should create a distinctive NY php User's Group theme. I have already played with the wiki. Its the latest version and we have GOT to get it looking like it belongs so it can earn its place on the site's menu bar. :-) I'm not going to mess around any more until I know its running on MySQL and getting backed up every day (I burn mine to a rotation of CD-RWs with weekly burns to CD-Rs I've got some community groups actually starting to use it so I take it seriously now.) - - - - A weblog is like "/.", or www.MacSlash.com , www.RadioFreeNation.net or www.sensibleerection.com where items get contributed by the community, get read and commented on by site visitors, scroll of the end of the site lead page and pretty much disappear for ever. A wiki is VERY different. Its a 'soup' of web pages generated from database records/rows. These pages can be linked in a network of relationships. These pages don't persist unless you get really sneaky and know how to implement cache registration and invalidation and put it in the wiki engine,) but the database record/rows which were used to generate them does persist. Creating pages is ridiculously easy. Edit a page that seems like a good place to create a page at (a subtopic or sumt'in',) create a PageName (a string of contiguously catenated Capitalized Words, like 'CapitalizedWords') and save the page. It will reappear with a '?' following the CapitalizedWords. Click on the '?' and you'll get a new page to create. Type away and save the page and you have created the page and a link to it. Edit any other page and anywhere you have the CapitalizedWords you will have a link to the CapitalizedWords page. A page can have several kinds of links. I have created a page which links to the phorum. Check out the RecentVisitor's page too. Its got a table with an animated graohic in one of the cells. That page should also contain META-information about the phorum (WTF is it? How you use it? Administer it? Install it? Where can you obtain it from? etc.) - - - - Somebody will have to decide what phorums we might want to have. I suggest nothing until I read some more (did you install the docs?) - - - - I'm not sure about phpWeblog. If they're using it to run their site, I'm not greatly impressed. Actually, I don't think people use "/." like systems for anything serious. You might want to go with phpNuke instead. I have actually found a site that uses phpNuke (Be warned its a self-styled "Portal of Porn" at http://portal.900.ee/ ) Its very "/."-like in format if not in, uh, content. At least it shows that phpNuke works. Does anybody know of a less embarassing site to use? - - - - You might want to get snipegallery (http://www.snipe.net/geek/scripts/ ) installed to set up galleries of images, pictures of events, members who are't camera shy, etc. - - - - You have, of course, installed phpMyAdmin I hope. -Charles-A. From zinfany at hotmail.com Fri May 24 10:07:30 2002 From: zinfany at hotmail.com (zinfany) Date: Fri, 24 May 2002 10:07:30 -0400 Subject: [nycphp-talk] wikis, phorums and blogs, oh my! WAS: Last night's notes? References: <200205240508.g4O585p38137@slipdisc.virul.net> Message-ID: hello all, wiki is indeed impressive, and worth considering. i mentioned phpNuke in an earlier post and will mention it again, only because it is based on PHP and, well, isn't that what this group is all about? I have a few NON-porn (and non-commerical) sites running it, and you can see one of them at http://amoeba.janish.com Since the platform allows you to build customized modules with PHP, it may be worth taking a look at, as it would be good practice for the community to build in the features we need. ~Joe J. ----- Original Message ----- From: To: "NYPHP Talk" Sent: Friday, May 24, 2002 1:08 AM Subject: Re: [nycphp-talk] wikis, phorums and blogs, oh my! WAS: Last night's notes? > Hello Hans, > > a wiki is a collaborative, adaptive environment. The last thing you > want to do is set up multiple copies. That would defeat the purpose... > > How stock is your wiki install? > > What's the persistence mechanism? Did you create/use MySQL tables? > > You might want to let me onto your box and set you up properly. For > one thing the site looks anemic. There are several attractive themes > to choose from (I use MacOSX myself at > http://wage.packet.org/phpwiki-1.3.3/index.php though Hawaiian is > very nice,) or we should create a distinctive NY php User's Group > theme. > > I have already played with the wiki. Its the latest version and we > have GOT to get it looking like it belongs so it can earn its place > on the site's menu bar. :-) > > I'm not going to mess around any more until I know its running on > MySQL and getting backed up every day (I burn mine to a rotation of > CD-RWs with weekly burns to CD-Rs I've got some community groups > actually starting to use it so I take it seriously now.) > > - - - - > > A weblog is like "/.", or www.MacSlash.com , www.RadioFreeNation.net > or www.sensibleerection.com where items get contributed by the > community, get read and commented on by site visitors, scroll of the > end of the site lead page and pretty much disappear for ever. > > A wiki is VERY different. > > Its a 'soup' of web pages generated from database records/rows. These > pages can be linked in a network of relationships. These pages don't > persist unless you get really sneaky and know how to implement cache > registration and invalidation and put it in the wiki engine,) but the > database record/rows which were used to generate them does persist. > > Creating pages is ridiculously easy. Edit a page that seems like a > good place to create a page at (a subtopic or sumt'in',) create a > PageName (a string of contiguously catenated Capitalized Words, like > 'CapitalizedWords') and save the page. It will reappear with a '?' > following the CapitalizedWords. Click on the '?' and you'll get a new > page to create. > > Type away and save the page and you have created the page and a link > to it. > > Edit any other page and anywhere you have the CapitalizedWords you > will have a link to the CapitalizedWords page. A page can have > several kinds of links. I have created a page which links to the > phorum. Check out the RecentVisitor's page too. Its got a table with > an animated graohic in one of the cells. > > That page should also contain META-information about the phorum (WTF > is it? How you use it? Administer it? Install it? Where can you > obtain it from? etc.) > > - - - - > > Somebody will have to decide what phorums we might want to have. I > suggest nothing until I read some more (did you install the docs?) > > - - - - > > I'm not sure about phpWeblog. If they're using it to run their site, > I'm not greatly impressed. Actually, I don't think people use "/." > like systems for anything serious. You might want to go with phpNuke > instead. I have actually found a site that uses phpNuke (Be warned > its a self-styled "Portal of Porn" at http://portal.900.ee/ ) Its > very "/."-like in format if not in, uh, content. At least it shows > that phpNuke works. Does anybody know of a less embarassing site to > use? > > - - - - > > You might want to get snipegallery > (http://www.snipe.net/geek/scripts/ ) installed to set up galleries > of images, pictures of events, members who are't camera shy, etc. > > - - - - > > You have, of course, installed phpMyAdmin I hope. > > -Charles-A. > > > From ejp at well.com Fri May 24 10:07:09 2002 From: ejp at well.com (Edward Potter) Date: Fri, 24 May 2002 10:07:09 -0400 Subject: [nycphp-talk] wikis, phorums and blogs, oh my! WAS: Last night's notes? References: <200205240440.g4O4eXp38024@slipdisc.virul.net> Message-ID: <3CEE490D.9040707@well.com> There is a philosophical difference between Blogs and Discussion Boards. I view bloggers as "Personnel Newswires". A discussion board can act like a blog and a blog can act like a discussion board. Ron Guerin wrote: > On Thu, 2002-05-23 at 23:18, Hans Zaunere wrote: > >>I really don't know much about how these things work (I'm still not >>sure the real difference between a weblog and wiki) so I'd like someone >>to play around with these. >> > > My five-cent explanation: > The distinguishing feature of a wiki is that its pages are publicly > writable, and through the "intermap" mechanism, different wikiwebs can > link to pages in each other. I've been using a Perl-based wiki for a > while now as a knowledge base. Wikis sort of take on a life of their > own. > > Weblogs are generally writable only by one or a small group of selected > posters. Many blogs don't have any sort of public commenting facility > either. > > Ron > > > > > From zeev at zend.com Fri May 24 11:04:13 2002 From: zeev at zend.com (Zeev Suraski) Date: Fri, 24 May 2002 18:04:13 +0300 Subject: FW: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? In-Reply-To: Message-ID: <5.1.0.14.2.20020524175811.0369c458@localhost> Guys, I got forwarded this letter, and I want to try and gain as much as possible from it, in terms of improving the installations so that they fit everyone's needs. I just want you to know that the guys @Zend are really not Redhat-centric, and that installations get tested on most of the big distros. It's impossible to support them all, but we do try :) One thing I firmly believe in is that 'assumption is the mother of all mess-ups' (that's the G rated version) - in this case, we assume that everything's fine because we don't get bug reports, and you assume that we're aware of these problems and feel frustrated that we don't care about them enough to fix them. In reality, apparently, there are problems, but we're not aware of them, and the result is negative... Sorry for the short lecture :) As for the problems with the installation, the Perl script, assumptions that you believe we make erroneously, unclear questions - please let me know about them. I promise that we'll do our best to fix them in the next release (which is coming out very shortly). Thanks, Zeev >From: charles at softwareprototypes.com >[mailto:charles at softwareprototypes.com] >Sent: Thursday, May 23, 2002 11:36 PM >To: NYPHP Talk >Subject: Re: [nycphp-talk] Installing ZendStudio_Server. Anybody know >how? > > > >Hello Hans, > >good thing I'm NOT in a hurry. Still I'd like it installed before the >next php course (May's got "canceled".) > >I'll grant that slackware is perhaps not your run-of-the-mill distro, >(atually it respects the Linux directory structure more than RedHat >does.) No customized set up will be perfectly compliant with any >scheme. Which makes explanation of the installer questions and their >answers even more important. > >Installing on Mac OS X would be a breeze since the ONLY way is the OS >X way and the OS X installers don't have to contend with any >directory variance. Apps go in the Applications folder or one of its >subfolders and that's that. Host servable Web documents go in >":Library:WebServer:Documents:" User documents go in >":Users::Sites:" > >However,the Linux world is NOT Mac OS X. Its important to provide >good information so that installation can occur on the various >distributions. I think its a pain that only RedHat's directory >structure is supported right out of the tar file but that's my >opinion. > >Still, its inexcusable that Zend does not provide enough information >to let people who are using another distro to "roll their own". I'm >getting used to doing this since RedHat is our 800lb Gorilla >regardless of what I might think, but can't claim to be thrilled at >this "contre-temps" since it only the crappyness of the installation >instructions that stands between me, multi-platform clients and a >usable ZendStudio Server. > >-Charles-A > > > From: Hans Zaunere > > Organization: New York PHP > > Reply-To: talk at nyphp.org > > Date: Thu, 23 May 2002 19:19:42 -0400 > > To: NYPHP Talk > > Subject: Re: [nycphp-talk] Installing ZendStudio_Server. Anybody >know how? > > > > > >> Basically their installer (a perl script) sucks. It asks questions > >> that I can't figure out or can't find/disambiguate the right answer > >> to. (I do "find / -name '' -print" and come up with X > >> answers, which one am I supposed to use?) > > > > Well I don't think I can make it to Jersey City any time soon, but >post > > what the questions are it asks you that are giving you trouble and > > maybe we can get you started. The Perl script may very well be >poorly > > written, but Slackware is known for not being "your average" Linux > > distro these days; altough I'd never leave it. > > > > Hans Z. > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > LAUNCH - Your Yahoo! Music Experience > > http://launch.yahoo.com > > From nyphp at websapp.com Fri May 24 11:32:46 2002 From: nyphp at websapp.com (Daniel Kushner) Date: Fri, 24 May 2002 11:32:46 -0400 Subject: Paging Hans C. In-Reply-To: <200205241509.g4OF9Ip40621@slipdisc.virul.net> Message-ID: Please send me an email! From charles at softwareprototypes.com Fri May 24 12:29:00 2002 From: charles at softwareprototypes.com (charles at softwareprototypes.com) Date: Fri, 24 May 2002 12:29:00 -0400 Subject: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? Message-ID: <281290-22002552416290781@softwareprototypes.com> Hello Zeev, there are several things about the script that you might consider re-doing. This is criticism but its constructive criticism. That's the kind that leads to better products. Dialog control: It should consist of the script, [split into two parts: 1) data collection/validation and 2) execution,] and a control file of labels, explanations and defaults which would at least record user input after every question and allow recovery of keystrokes in case of a "failure to proceed" I'd use an XML format file with the following information: # some meaningful ascii string. Not just the word "root," but the root of WHAT? Avoid purely generic words. (this makes internationalization easy: just replace the text) some meaningful ascii string which explains what the desired value might be and some hints as to how to disambiguate when the user might find many posible values. This should definitely avoid generic words since you want to get the user to provide specific answers. (this also makes internationalization easy: just replace the explanation) some value some Perl code to verify the value (possibly a function/method name to execute which is passed the user supplied/accepted value) recorded keystrokes/accepted default, validated value NIL | F ... Dialog flow: The script should gather all user input first, recording it in the XML file and then proceed to the installation portion using the information recorded in the XML file. When an value leads to a script's "failure to proceed" if should, if possible, set the flag to false when it encounters a value that leads to script failure (monitor the return values from processes you fork off and synch with on their termination.) If you wanted to get fancy, you might place value, # and be able to implement a finite state machine which would give you some "make" like control and capabilities. Human-Machine Interface: The creation of the tags is really necessary. Without them, even my SysAdmin friend who set up my slackware-8 box and modified it to increase its robustness, doesn't want to attempt it. -Charles-A. Rovira 276 Varick Street, The Garden, Jersey City, NJ, 07302 (201)434-6088 -OR- 28 Vesey Street #2113, NYC, NY, 10007-21906 (646)246-6088 > From: Zeev Suraski > Organization: New York PHP > Reply-To: talk at nyphp.org > Date: Fri, 24 May 2002 11:09:18 -0400 > To: NYPHP Talk > Subject: Re: FW: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? > > Guys, > > I got forwarded this letter, and I want to try and gain as much as possible > from it, in terms of improving the installations so that they fit > everyone's needs. I just want you to know that the guys @Zend are really > not Redhat-centric, and that installations get tested on most of the big > distros. It's impossible to support them all, but we do try :) > > One thing I firmly believe in is that 'assumption is the mother of all > mess-ups' (that's the G rated version) - in this case, we assume that > everything's fine because we don't get bug reports, and you assume that > we're aware of these problems and feel frustrated that we don't care about > them enough to fix them. In reality, apparently, there are problems, but > we're not aware of them, and the result is negative... Sorry for the short > lecture :) > > As for the problems with the installation, the Perl script, assumptions > that you believe we make erroneously, unclear questions - please let me > know about them. I promise that we'll do our best to fix them in the next > release (which is coming out very shortly). > > Thanks, > > Zeev > >> From: charles at softwareprototypes.com >> [mailto:charles at softwareprototypes.com] >> Sent: Thursday, May 23, 2002 11:36 PM >> To: NYPHP Talk >> Subject: Re: [nycphp-talk] Installing ZendStudio_Server. Anybody know >> how? >> >> >> >> Hello Hans, >> >> good thing I'm NOT in a hurry. Still I'd like it installed before the >> next php course (May's got "canceled".) >> >> I'll grant that slackware is perhaps not your run-of-the-mill distro, >> (atually it respects the Linux directory structure more than RedHat >> does.) No customized set up will be perfectly compliant with any >> scheme. Which makes explanation of the installer questions and their >> answers even more important. >> >> Installing on Mac OS X would be a breeze since the ONLY way is the OS >> X way and the OS X installers don't have to contend with any >> directory variance. Apps go in the Applications folder or one of its >> subfolders and that's that. Host servable Web documents go in >> ":Library:WebServer:Documents:" User documents go in >> ":Users::Sites:" >> >> However,the Linux world is NOT Mac OS X. Its important to provide >> good information so that installation can occur on the various >> distributions. I think its a pain that only RedHat's directory >> structure is supported right out of the tar file but that's my >> opinion. >> >> Still, its inexcusable that Zend does not provide enough information >> to let people who are using another distro to "roll their own". I'm >> getting used to doing this since RedHat is our 800lb Gorilla >> regardless of what I might think, but can't claim to be thrilled at >> this "contre-temps" since it only the crappyness of the installation >> instructions that stands between me, multi-platform clients and a >> usable ZendStudio Server. >> >> -Charles-A >> >>> From: Hans Zaunere >>> Organization: New York PHP >>> Reply-To: talk at nyphp.org >>> Date: Thu, 23 May 2002 19:19:42 -0400 >>> To: NYPHP Talk >>> Subject: Re: [nycphp-talk] Installing ZendStudio_Server. Anybody >> know how? >>> >>> >>>> Basically their installer (a perl script) sucks. It asks questions >>>> that I can't figure out or can't find/disambiguate the right answer >>>> to. (I do "find / -name '' -print" and come up with X >>>> answers, which one am I supposed to use?) >>> >>> Well I don't think I can make it to Jersey City any time soon, but >> post >>> what the questions are it asks you that are giving you trouble and >>> maybe we can get you started. The Perl script may very well be >> poorly >>> written, but Slackware is known for not being "your average" Linux >>> distro these days; altough I'd never leave it. >>> >>> Hans Z. >>> >>> >>> >>> >>> __________________________________________________ >>> Do You Yahoo!? >>> LAUNCH - Your Yahoo! Music Experience >>> http://launch.yahoo.com >>> > > From zeev at zend.com Fri May 24 12:38:31 2002 From: zeev at zend.com (Zeev Suraski) Date: Fri, 24 May 2002 19:38:31 +0300 Subject: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? In-Reply-To: <200205241624.g4OGOpp40828@slipdisc.virul.net> Message-ID: <5.1.0.14.2.20020524193240.0bcf7a68@localhost> Charles, Thanks for the input. To be honest, we're not in a position where we'd consider redoing the entire design of the installation from scratch right now, so these far-reaching changes you suggest are probably not going to happen in the foreseeable future (even though it would have been a Good Thing). There's simply no time to start doing that from scratch. I'm still interested in fixing the problems that were found, even if we don't turn it to an ideal recoverable installation program. I'm especially interested in hearing about the problems that people bumped into, which originally sparked this thread - specific texts you found to be unclear, incompatibilities with the way certain distributions are laid out, etc. Thanks, Zeev At 19:24 24/05/2002, charles at softwareprototypes.com wrote: >Hello Zeev, > >there are several things about the script that you might consider >re-doing. This is criticism but its constructive criticism. That's >the kind that leads to better products. > >Dialog control: > >It should consist of the script, [split into two parts: 1) data >collection/validation and 2) execution,] and a control file of >labels, explanations and defaults which would at least record user >input after every question and allow recovery of keystrokes in case >of a "failure to proceed" > >I'd use an XML format file with the following information: > > > > # > > some meaningful ascii string. Not just the word "root," > but the root of WHAT? Avoid purely generic words. > (this makes internationalization easy: > just replace the text) > > some meaningful ascii string which explains > what the desired value might be and some hints as to how > to disambiguate when the user might find many posible values. > This should definitely avoid generic words since you want to > get the user to provide specific answers. > (this also makes internationalization easy: > just replace the explanation) > > some value > > some Perl code to verify the value (possibly a > function/method name to execute which is passed the user > supplied/accepted value) > > recorded keystrokes/accepted default, validated value > > NIL | F > > > ... > > >Dialog flow: > >The script should gather all user input first, recording it in the >XML file and then proceed to the installation portion using the > information recorded in the XML file. > >When an value leads to a script's "failure to proceed" if should, if >possible, set the flag to false when it encounters a value that >leads to script failure (monitor the return values from processes you >fork off and synch with on their termination.) > >If you wanted to get fancy, you might place > value, # > >and be able to implement a finite state machine which would give you >some "make" like control and capabilities. > >Human-Machine Interface: > >The creation of the tags is really necessary. Without >them, even my SysAdmin friend who set up my slackware-8 box and >modified it to increase its robustness, doesn't want to attempt it. > >-Charles-A. Rovira >276 Varick Street, The Garden, >Jersey City, NJ, 07302 >(201)434-6088 >-OR- >28 Vesey Street #2113, >NYC, NY, 10007-21906 >(646)246-6088 > > > > From: Zeev Suraski > > Organization: New York PHP > > Reply-To: talk at nyphp.org > > Date: Fri, 24 May 2002 11:09:18 -0400 > > To: NYPHP Talk > > Subject: Re: FW: [nycphp-talk] Installing ZendStudio_Server. Anybody >know how? > > > > Guys, > > > > I got forwarded this letter, and I want to try and gain as much as >possible > > from it, in terms of improving the installations so that they fit > > everyone's needs. I just want you to know that the guys @Zend are >really > > not Redhat-centric, and that installations get tested on most of >the big > > distros. It's impossible to support them all, but we do try :) > > > > One thing I firmly believe in is that 'assumption is the mother of >all > > mess-ups' (that's the G rated version) - in this case, we assume >that > > everything's fine because we don't get bug reports, and you assume >that > > we're aware of these problems and feel frustrated that we don't >care about > > them enough to fix them. In reality, apparently, there are >problems, but > > we're not aware of them, and the result is negative... Sorry for >the short > > lecture :) > > > > As for the problems with the installation, the Perl script, >assumptions > > that you believe we make erroneously, unclear questions - please >let me > > know about them. I promise that we'll do our best to fix them in >the next > > release (which is coming out very shortly). > > > > Thanks, > > > > Zeev > > > >> From: charles at softwareprototypes.com > >> [mailto:charles at softwareprototypes.com] > >> Sent: Thursday, May 23, 2002 11:36 PM > >> To: NYPHP Talk > >> Subject: Re: [nycphp-talk] Installing ZendStudio_Server. Anybody >know > >> how? > >> > >> > >> > >> Hello Hans, > >> > >> good thing I'm NOT in a hurry. Still I'd like it installed before >the > >> next php course (May's got "canceled".) > >> > >> I'll grant that slackware is perhaps not your run-of-the-mill >distro, > >> (atually it respects the Linux directory structure more than RedHat > >> does.) No customized set up will be perfectly compliant with any > >> scheme. Which makes explanation of the installer questions and >their > >> answers even more important. > >> > >> Installing on Mac OS X would be a breeze since the ONLY way is the >OS > >> X way and the OS X installers don't have to contend with any > >> directory variance. Apps go in the Applications folder or one of >its > >> subfolders and that's that. Host servable Web documents go in > >> ":Library:WebServer:Documents:" User documents go in > >> ":Users::Sites:" > >> > >> However,the Linux world is NOT Mac OS X. Its important to provide > >> good information so that installation can occur on the various > >> distributions. I think its a pain that only RedHat's directory > >> structure is supported right out of the tar file but that's my > >> opinion. > >> > >> Still, its inexcusable that Zend does not provide enough >information > >> to let people who are using another distro to "roll their own". I'm > >> getting used to doing this since RedHat is our 800lb Gorilla > >> regardless of what I might think, but can't claim to be thrilled at > >> this "contre-temps" since it only the crappyness of the >installation > >> instructions that stands between me, multi-platform clients and a > >> usable ZendStudio Server. > >> > >> -Charles-A > >> > >>> From: Hans Zaunere > >>> Organization: New York PHP > >>> Reply-To: talk at nyphp.org > >>> Date: Thu, 23 May 2002 19:19:42 -0400 > >>> To: NYPHP Talk > >>> Subject: Re: [nycphp-talk] Installing ZendStudio_Server. Anybody > >> know how? > >>> > >>> > >>>> Basically their installer (a perl script) sucks. It asks >questions > >>>> that I can't figure out or can't find/disambiguate the right >answer > >>>> to. (I do "find / -name '' -print" and come up with X > >>>> answers, which one am I supposed to use?) > >>> > >>> Well I don't think I can make it to Jersey City any time soon, but > >> post > >>> what the questions are it asks you that are giving you trouble and > >>> maybe we can get you started. The Perl script may very well be > >> poorly > >>> written, but Slackware is known for not being "your average" Linux > >>> distro these days; altough I'd never leave it. > >>> > >>> Hans Z. > >>> > >>> > >>> > >>> > >>> __________________________________________________ > >>> Do You Yahoo!? > >>> LAUNCH - Your Yahoo! Music Experience > >>> http://launch.yahoo.com > >>> > > > > From zeev at zend.com Fri May 24 12:38:31 2002 From: zeev at zend.com (Zeev Suraski) Date: Fri, 24 May 2002 19:38:31 +0300 Subject: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? In-Reply-To: <200205241624.g4OGOpp40828@slipdisc.virul.net> Message-ID: <5.1.0.14.2.20020524193240.0bcf7a68@localhost> Charles, Thanks for the input. To be honest, we're not in a position where we'd consider redoing the entire design of the installation from scratch right now, so these far-reaching changes you suggest are probably not going to happen in the foreseeable future (even though it would have been a Good Thing). There's simply no time to start doing that from scratch. I'm still interested in fixing the problems that were found, even if we don't turn it to an ideal recoverable installation program. I'm especially interested in hearing about the problems that people bumped into, which originally sparked this thread - specific texts you found to be unclear, incompatibilities with the way certain distributions are laid out, etc. Thanks, Zeev At 19:24 24/05/2002, charles at softwareprototypes.com wrote: >Hello Zeev, > >there are several things about the script that you might consider >re-doing. This is criticism but its constructive criticism. That's >the kind that leads to better products. > >Dialog control: > >It should consist of the script, [split into two parts: 1) data >collection/validation and 2) execution,] and a control file of >labels, explanations and defaults which would at least record user >input after every question and allow recovery of keystrokes in case >of a "failure to proceed" > >I'd use an XML format file with the following information: > > > > # > > some meaningful ascii string. Not just the word "root," > but the root of WHAT? Avoid purely generic words. > (this makes internationalization easy: > just replace the text) > > some meaningful ascii string which explains > what the desired value might be and some hints as to how > to disambiguate when the user might find many posible values. > This should definitely avoid generic words since you want to > get the user to provide specific answers. > (this also makes internationalization easy: > just replace the explanation) > > some value > > some Perl code to verify the value (possibly a > function/method name to execute which is passed the user > supplied/accepted value) > > recorded keystrokes/accepted default, validated value > > NIL | F > > > ... > > >Dialog flow: > >The script should gather all user input first, recording it in the >XML file and then proceed to the installation portion using the > information recorded in the XML file. > >When an value leads to a script's "failure to proceed" if should, if >possible, set the flag to false when it encounters a value that >leads to script failure (monitor the return values from processes you >fork off and synch with on their termination.) > >If you wanted to get fancy, you might place > value, # > >and be able to implement a finite state machine which would give you >some "make" like control and capabilities. > >Human-Machine Interface: > >The creation of the tags is really necessary. Without >them, even my SysAdmin friend who set up my slackware-8 box and >modified it to increase its robustness, doesn't want to attempt it. > >-Charles-A. Rovira >276 Varick Street, The Garden, >Jersey City, NJ, 07302 >(201)434-6088 >-OR- >28 Vesey Street #2113, >NYC, NY, 10007-21906 >(646)246-6088 > > > > From: Zeev Suraski > > Organization: New York PHP > > Reply-To: talk at nyphp.org > > Date: Fri, 24 May 2002 11:09:18 -0400 > > To: NYPHP Talk > > Subject: Re: FW: [nycphp-talk] Installing ZendStudio_Server. Anybody >know how? > > > > Guys, > > > > I got forwarded this letter, and I want to try and gain as much as >possible > > from it, in terms of improving the installations so that they fit > > everyone's needs. I just want you to know that the guys @Zend are >really > > not Redhat-centric, and that installations get tested on most of >the big > > distros. It's impossible to support them all, but we do try :) > > > > One thing I firmly believe in is that 'assumption is the mother of >all > > mess-ups' (that's the G rated version) - in this case, we assume >that > > everything's fine because we don't get bug reports, and you assume >that > > we're aware of these problems and feel frustrated that we don't >care about > > them enough to fix them. In reality, apparently, there are >problems, but > > we're not aware of them, and the result is negative... Sorry for >the short > > lecture :) > > > > As for the problems with the installation, the Perl script, >assumptions > > that you believe we make erroneously, unclear questions - please >let me > > know about them. I promise that we'll do our best to fix them in >the next > > release (which is coming out very shortly). > > > > Thanks, > > > > Zeev > > > >> From: charles at softwareprototypes.com > >> [mailto:charles at softwareprototypes.com] > >> Sent: Thursday, May 23, 2002 11:36 PM > >> To: NYPHP Talk > >> Subject: Re: [nycphp-talk] Installing ZendStudio_Server. Anybody >know > >> how? > >> > >> > >> > >> Hello Hans, > >> > >> good thing I'm NOT in a hurry. Still I'd like it installed before >the > >> next php course (May's got "canceled".) > >> > >> I'll grant that slackware is perhaps not your run-of-the-mill >distro, > >> (atually it respects the Linux directory structure more than RedHat > >> does.) No customized set up will be perfectly compliant with any > >> scheme. Which makes explanation of the installer questions and >their > >> answers even more important. > >> > >> Installing on Mac OS X would be a breeze since the ONLY way is the >OS > >> X way and the OS X installers don't have to contend with any > >> directory variance. Apps go in the Applications folder or one of >its > >> subfolders and that's that. Host servable Web documents go in > >> ":Library:WebServer:Documents:" User documents go in > >> ":Users::Sites:" > >> > >> However,the Linux world is NOT Mac OS X. Its important to provide > >> good information so that installation can occur on the various > >> distributions. I think its a pain that only RedHat's directory > >> structure is supported right out of the tar file but that's my > >> opinion. > >> > >> Still, its inexcusable that Zend does not provide enough >information > >> to let people who are using another distro to "roll their own". I'm > >> getting used to doing this since RedHat is our 800lb Gorilla > >> regardless of what I might think, but can't claim to be thrilled at > >> this "contre-temps" since it only the crappyness of the >installation > >> instructions that stands between me, multi-platform clients and a > >> usable ZendStudio Server. > >> > >> -Charles-A > >> > >>> From: Hans Zaunere > >>> Organization: New York PHP > >>> Reply-To: talk at nyphp.org > >>> Date: Thu, 23 May 2002 19:19:42 -0400 > >>> To: NYPHP Talk > >>> Subject: Re: [nycphp-talk] Installing ZendStudio_Server. Anybody > >> know how? > >>> > >>> > >>>> Basically their installer (a perl script) sucks. It asks >questions > >>>> that I can't figure out or can't find/disambiguate the right >answer > >>>> to. (I do "find / -name '' -print" and come up with X > >>>> answers, which one am I supposed to use?) > >>> > >>> Well I don't think I can make it to Jersey City any time soon, but > >> post > >>> what the questions are it asks you that are giving you trouble and > >>> maybe we can get you started. The Perl script may very well be > >> poorly > >>> written, but Slackware is known for not being "your average" Linux > >>> distro these days; altough I'd never leave it. > >>> > >>> Hans Z. > >>> > >>> > >>> > >>> > >>> __________________________________________________ > >>> Do You Yahoo!? > >>> LAUNCH - Your Yahoo! Music Experience > >>> http://launch.yahoo.com > >>> > > > > From ron at vnetworx.net Fri May 24 13:34:18 2002 From: ron at vnetworx.net (Ron Guerin) Date: 24 May 2002 13:34:18 -0400 Subject: [Fwd: [wwwac] Looking for PHP programmer] Message-ID: <1022261664.17800.72.camel@amory> -----Forwarded Message----- From: Daniel Kushner To: wwwac at lists.wwwac.org Subject: [wwwac] Looking for PHP programmer Date: 24 May 2002 12:42:27 -0400 Hi, I'm looking for a GOOD PHP programmer in NYC for a few hours of work. --Daniel ## The World Wide Web Artists' Consortium --- http://www.wwwac.org/ ## ## To Unsubscribe, send an e-mail to: wwwac-unsubscribe at lists.wwwac.org ## From charles at softwareprototypes.com Fri May 24 14:11:14 2002 From: charles at softwareprototypes.com (charles at softwareprototypes.com) Date: Fri, 24 May 2002 14:11:14 -0400 Subject: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? Message-ID: <226110-220025524181114531@softwareprototypes.com> Hello Zeev, I'm smiling at the irony of the situation right now. You're at the center of an open source software world. The quality and usefullness of php are without doubt. I'm sure that many people would want to help with your installer. If you ask people to lend you a hand with rewriting it, you have a pool of millions installations to ask. For all we know somebody out there has already done it or has an installer with the features you need: XML control file. Easy internationalization, Explanation text, Recording of selections, Recoverable process. Maybe you should put something up on your web site and see if there are any takers. I have time tomorrow so - I'll go through the installation again, - record all the question the installer asks and - all my questions about what I'm supposed to provide as an answer. You'll have a detailed email by Saturday night. -Charles-A. > From: Zeev Suraski > Organization: New York PHP > Reply-To: talk at nyphp.org > Date: Fri, 24 May 2002 12:40:31 -0400 > To: NYPHP Talk > Cc: N at slipdisc.virul.net > Subject: Re: [nycphp-talk] Installing ZendStudio_Server. Anybody know how? > > Charles, > > Thanks for the input. To be honest, we're not in a position where we'd > consider redoing the entire design of the installation from scratch right > now, so these far-reaching changes you suggest are probably not going to > happen in the foreseeable future (even though it would have been a Good > Thing). There's simply no time to start doing that from scratch. > > I'm still interested in fixing the problems that were found, even if we > don't turn it to an ideal recoverable installation program. I'm especially > interested in hearing about the problems that people bumped into, which > originally sparked this thread - specific texts you found to be unclear, > incompatibilities with the way certain distributions are laid out, etc. > > Thanks, > > Zeev From steven at sohh.com Fri May 24 17:26:01 2002 From: steven at sohh.com (Steven Samuel) Date: Fri, 24 May 2002 14:26:01 -0700 Subject: [nycphp-talk] [Fwd: [wwwac] Looking for PHP programmer] In-Reply-To: <200205241734.g4OHYjp41030@slipdisc.virul.net> Message-ID: Daniel, I'm in Jersey City which is pretty close to NYC. E-mail me a proposal of what you are looking to do and I'll see if I 'm up to it. Steven Samuel SOHH.com steven at sohh.com -----Original Message----- From: Ron Guerin [mailto:ron at vnetworx.net] Sent: Friday, May 24, 2002 10:35 AM To: NYPHP Talk Subject: [nycphp-talk] [Fwd: [wwwac] Looking for PHP programmer] -----Forwarded Message----- From: Daniel Kushner To: wwwac at lists.wwwac.org Subject: [wwwac] Looking for PHP programmer Date: 24 May 2002 12:42:27 -0400 Hi, I'm looking for a GOOD PHP programmer in NYC for a few hours of work. --Daniel ## The World Wide Web Artists' Consortium --- http://www.wwwac.org/ ## ## To Unsubscribe, send an e-mail to: wwwac-unsubscribe at lists.wwwac.org ## From liquidm3 at hotmail.com Sat May 25 00:38:09 2002 From: liquidm3 at hotmail.com (Ted Shieh) Date: Sat, 25 May 2002 00:38:09 -0400 Subject: [nycphp-talk] PHPXref 0.2a Message-ID: Edward, I've just added an "About LiquidMarkets" page here: http://www.liquidmarkets.com/?name=XForum&file=viewthread&tid=29 Ted Place a free classified ad with LiquidMarkets http://www.liquidmarkets.com/m.php?m=wish >From: Edward Potter >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: Re: [nycphp-talk] PHPXref 0.2a >Date: Mon, 20 May 2002 23:20:06 -0400 > >Xref looks cool, my question is, what exactly is Liquid Markets? Looks >like the beginnings of something interesting, but i can't really find a >mission like statement, maybe i'm just missing it... > >thanks... > >ed _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From ken_11223 at yahoo.com Sat May 25 01:04:40 2002 From: ken_11223 at yahoo.com (ken wu) Date: Fri, 24 May 2002 22:04:40 -0700 (PDT) Subject: [nycphp-talk] [Fwd: [wwwac] Looking for PHP programmer] In-Reply-To: <200205241734.g4OHYjp41030@slipdisc.virul.net> Message-ID: <20020525050440.6199.qmail@web12805.mail.yahoo.com> Hi, i am interested in your position. could you tell me more about that I am the college student in NYC and i like PHP 's web programming very much. I am coming from Java background see you --- Ron Guerin wrote: > -----Forwarded Message----- > > From: Daniel Kushner > To: wwwac at lists.wwwac.org > Subject: [wwwac] Looking for PHP programmer > Date: 24 May 2002 12:42:27 -0400 > > Hi, > > I'm looking for a GOOD PHP programmer in NYC for a > few hours of work. > > --Daniel > > > > ## The World Wide Web Artists' Consortium --- > http://www.wwwac.org/ ## > ## To Unsubscribe, send an e-mail to: > wwwac-unsubscribe at lists.wwwac.org ## > > > > > ===== Ken Wu ICQ - 56237206 http://www.kenfile.com __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From soazine at erols.com Sat May 25 18:25:53 2002 From: soazine at erols.com (Phil Powell) Date: Sat, 25 May 2002 18:25:53 -0400 Subject: PHP to write streaming text connection between server and client Message-ID: <012701c2043b$22830a70$43bd6444@scandinawa1bo6> Is it possible in PHP and/or other scripting languages to set up a streaming thread to pass messages back and forth between server and client? I want to update my chatroom to stream but don't know where I can turn to figure out how to do that. Thanx Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmanzur at yahoo.com Mon May 27 10:15:16 2002 From: rmanzur at yahoo.com (=?iso-8859-1?q?Romeo=20Manzur?=) Date: Mon, 27 May 2002 09:15:16 -0500 (CDT) Subject: [nycphp-talk] PHP to write streaming text connection between server and client In-Reply-To: <200205252226.g4PMQZp45688@slipdisc.virul.net> Message-ID: <20020527141516.48625.qmail@web11508.mail.yahoo.com> You could use flash with php to do this, actually I am developing a php,flash,oracle app to stream data for an oil field on real time... --- Phil Powell escribi?: > Is it possible in PHP and/or other scripting > languages to set up a streaming thread to pass > messages back and forth between server and client? > I want to update my chatroom to stream but don't > know where I can turn to figure out how to do that. > > Thanx > Phil > > ===== ---Static is yesterday, PHP is today--- Romeo Manzur Web Applications Developer Esgrima 208 Fracc. Deportiva C.P.: 86180 Villahermosa, Tabasco, Mexico Tel.: (52)+(993)351-5647 _________________________________________________________ Do You Yahoo!? Informaci?n de Estados Unidos y Am?rica Latina, en Yahoo! Noticias. Vis?tanos en http://noticias.espanol.yahoo.com From soazine at erols.com Mon May 27 12:28:47 2002 From: soazine at erols.com (Phil Powell) Date: Mon, 27 May 2002 12:28:47 -0400 Subject: [nycphp-talk] PHP to write streaming text connection between server and client References: <200205271415.g4REFKp49021@slipdisc.virul.net> Message-ID: <024a01c2059b$94179b40$43bd6444@scandinawa1bo6> Sounds interesting.. I however, do not have any tools that can help me be able to learn Flash sufficiently enough to attempt a real-time chatroom in it. :( Thanx Phil ----- Original Message ----- From: "Romeo Manzur" To: "NYPHP Talk" Sent: Monday, May 27, 2002 10:15 AM Subject: Re: [nycphp-talk] PHP to write streaming text connection between server and client > You could use flash with php to do this, actually I am > developing a php,flash,oracle app to stream data for > an oil field on real time... > > --- Phil Powell escribi?: > Is it > possible in PHP and/or other scripting > > languages to set up a streaming thread to pass > > messages back and forth between server and client? > > I want to update my chatroom to stream but don't > > know where I can turn to figure out how to do that. > > > > Thanx > > Phil > > > > > > ===== > ---Static is yesterday, PHP is today--- > Romeo Manzur > Web Applications Developer > Esgrima 208 Fracc. Deportiva > C.P.: 86180 > Villahermosa, Tabasco, Mexico > Tel.: (52)+(993)351-5647 > > _________________________________________________________ > Do You Yahoo!? > Informaci?n de Estados Unidos y Am?rica Latina, en Yahoo! Noticias. > Vis?tanos en http://noticias.espanol.yahoo.com > From gherson at snet.net Mon May 27 12:53:55 2002 From: gherson at snet.net (George Herson) Date: Mon, 27 May 2002 12:53:55 -0400 Subject: [nycphp-talk] PHP to write streaming text connection between server and client References: <200205252226.g4PMQZp45688@slipdisc.virul.net> Message-ID: <3CF264A3.1030904@snet.net> I haven't used sockets, but http://www.php.net/manual/en/ref.sockets.php's example 1 meantions streaming. Maybe that could be a starting point. george Phil Powell wrote: > Is it possible in PHP and/or other scripting languages to set up a streaming thread to pass messages back and forth between server and client? I want to update my chatroom to stream but don't know where I can turn to figure out how to do that. > > Thanx > Phil > > > From zaunere at yahoo.com Tue May 28 11:13:37 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Tue, 28 May 2002 08:13:37 -0700 (PDT) Subject: [nycphp-talk] Solaris installs/users? In-Reply-To: <200205240428.g4O4SSp37966@slipdisc.virul.net> Message-ID: <20020528151337.29070.qmail@web12803.mail.yahoo.com> unfortunately, I have *very* little expierence with Solaris. However, I *think* the GNU build tools are available for that platform, or might even come standard at this point. If they are, I would imagine things should work without a lot of pain. I Googled for "php solaris apache" and got what appeared to be some useful results. Also, maybe a look at some of the automatic install systems would be of use (the name of the major one escapes me at the moment). I'd be curious as to how it turns out - if you find anything useful or jot down some notes, this could be an interesting article. Hans Z. --- D C Krook wrote: > Greetings all, > > I'm wondering if anyone here has experience installing PHP - or the > other > regulars MySQL/PostgreSQL, Tomcat, and Apache - on a desktop Solaris > 8 > machine. > > I've been doing local development with Windows 2000/IIS and Mac OS > X/Apache > and deploying them to outsourced Linux hosts for a while now, but I'd > like > to mess around with configuring this Solaris machine on my local > network to > be a staging/experimental server of sorts. > > Most of the documentation I've been using over the years has been > Linux/BSD/Windows related so it's about 85% helpful for what I want > to do, > but I would also like to get a feel for any potential pitfalls before > I > really start messing with the SPARC box (I'm not exactly a Unix > guru...). > > So, does anyone have warnings or anecdotes that might come in handy? > > > Thanks in advance, > Dan > http://krook.net/ > > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From zaunere at yahoo.com Tue May 28 11:33:53 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Tue, 28 May 2002 08:33:53 -0700 (PDT) Subject: [nycphp-talk] PHP to write streaming text connection between server and client In-Reply-To: <200205252226.g4PMQZp45688@slipdisc.virul.net> Message-ID: <20020528153353.84499.qmail@web12806.mail.yahoo.com> The nature of HTTP doesn't permit this. However, HTTP/1.1 does allow for persistent connections. With some handy-work you might be able to keep the connection up, and have the browser poll the server, however this doens't really get you that much. I think this really needs to be implemented client-side, ie, have javascript or something refresh every few seconds, or so (not the whole page, necessarily, but maybe a little frame/piece of the page). One poster spoke of using Flash, which is a very exciting technology. A friend of mine uses Flash a lot and knows how this would work - unfortunatley I do not. Hans Z. --- Phil Powell wrote: > Is it possible in PHP and/or other scripting languages to set up a > streaming thread to pass messages back and forth between server and > client? I want to update my chatroom to stream but don't know where > I can turn to figure out how to do that. > > Thanx > Phil > > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From ejp at well.com Tue May 28 13:13:07 2002 From: ejp at well.com (Edward Potter) Date: Tue, 28 May 2002 13:13:07 -0400 Subject: Upgrading php problem.... Message-ID: <3CF3BAA3.8030603@well.com> ok, so i figure time to upgrade php. Downloaded to /usr/local/etc/, install everything, make install runs fine. Then I do phpinfo() and I keep getting the OLD version. So i do a which, and it says that rackspace has configured php like this in /bin: [moral do a which before hand!] -rwxr-xr-x 1 root root 1105740 Jul 16 2001 php -rwxr-xr-x 1 root root 426 Jul 16 2001 php-config -rwxr-xr-x 1 root root 593 Jul 16 2001 phpextdist -rwxr-xr-x 1 root root 688 Jul 16 2001 phpize And of course my /usr/local/etc looks like this [where i've installed apache]: lrwxrwxrwx 1 root root 24 May 28 11:56 php -> /usr/local/etc/php-4.2.1 drwxrwxr-x 16 root root 4096 May 28 11:48 php-4.2.1 -rw-r--r-- 1 root root 18974720 May 28 11:26 php-4.2.1.tar lrwxrwxrwx 1 root root 29 May 28 11:25 httpd -> /usr/local/etc/apache_1.3.22/ drwxr-xr-x 13 root root 4096 May 28 11:24 apache_1.3.22 SO THE QUESTION IS: [yes, i tried symbolic links, did not work.] Before I start hacking away [probably in the startup scripts], is there an easy way to just remap something here? The configuration that rackspace provided seems VERY different then what the regular php install writes out. SINCE everything has been working great, I dont want to have to reinstall postgres, apache, etc. thanks ed From dkrook at hotmail.com Tue May 28 13:49:55 2002 From: dkrook at hotmail.com (D C Krook) Date: Tue, 28 May 2002 13:49:55 -0400 Subject: [nycphp-talk] Solaris installs/users? Message-ID: Hans & Spencer, Thanks for all the tips. Googling with that particular string seems to have done me quite well as well as the GCC info from both of you. I will try to work on configuring the machine this weekend and whether I run into problems or not I'll report what I find to the list. Thanks again, Dan http://krook.net/ _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com From zaunere at yahoo.com Tue May 28 17:50:41 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Tue, 28 May 2002 14:50:41 -0700 (PDT) Subject: [nycphp-talk] Upgrading php problem.... In-Reply-To: <200205281714.g4SHE4p51638@slipdisc.virul.net> Message-ID: <20020528215041.18229.qmail@web12808.mail.yahoo.com> > -rwxr-xr-x 1 root root 1105740 Jul 16 2001 php > -rwxr-xr-x 1 root root 426 Jul 16 2001 php-config > -rwxr-xr-x 1 root root 593 Jul 16 2001 phpextdist > -rwxr-xr-x 1 root root 688 Jul 16 2001 phpize > > > And of course my /usr/local/etc looks like this [where i've installed > > apache]: > > lrwxrwxrwx 1 root root 24 May 28 11:56 php -> > /usr/local/etc/php-4.2.1 > drwxrwxr-x 16 root root 4096 May 28 11:48 php-4.2.1 > -rw-r--r-- 1 root root 18974720 May 28 11:26 php-4.2.1.tar > lrwxrwxrwx 1 root root 29 May 28 11:25 httpd -> > /usr/local/etc/apache_1.3.22/ > drwxr-xr-x 13 root root 4096 May 28 11:24 apache_1.3.22 > Ick.. this IS an odd install structure (why everything in /usr/local/etc? personally, I make /usr/local/apache and /usr/local/php). > SO THE QUESTION IS: [yes, i tried symbolic links, did not work.] > Before > I start hacking away [probably in the startup scripts], is there an > easy > way to just remap something here? The configuration that rackspace > provided seems VERY different then what the regular php install > writes > out. SINCE everything has been working great, I dont want to have to > reinstall postgres, apache, etc. Anyway, it looks like /bin/php is a binary, and the link /usr/local/etc/php is a link to a dir. Assuming the new php lives in /usr/local/etc/php-4.2.1 and that permissions are ok (which they look to be), maybe something like: mv /bin/php /bin/php.original ln -s /usr/local/etc/php-4.2.1/bin/php /bin/php would help. Symbolic links should really clear things up, but take note of some Apache and PHP settings about following symbolic links. Maybe a similar problem with httpd->apache, or maybe I'm way off. Always dumps vendor provided configurations when he can, Hans Z. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From dkrook at hotmail.com Tue May 28 23:16:39 2002 From: dkrook at hotmail.com (D C Krook) Date: Tue, 28 May 2002 23:16:39 -0400 Subject: Off-Topic: Mozilla 1.0 Release Party (New York City) Message-ID: Came across this via Slashdot. I thought it would be of general interest to the group, especially since it's only a mile south of where we meet... http://meetzilla.mozdev.org/events/mozilla-1.0.html Mozilla 1.0 Release Party (New York City) Mozilla 1.0 be landing soon! No one knows exactly when. In New York City, we'll be celebrating the big event on Wednesday, June 12th at Remote Lounge, a high-tech bar in the East Village. There won't be a cover charge or a guest list, but please do RSVP or send us email so we have a good idea of how many people to expect. _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com From j_r_sanchez at yahoo.com Wed May 29 15:18:15 2002 From: j_r_sanchez at yahoo.com (jose sanchez) Date: Wed, 29 May 2002 12:18:15 -0700 (PDT) Subject: Help!! Message-ID: <20020529191815.22328.qmail@web11706.mail.yahoo.com> Hi All: I am having a little problem: I am trying to load a file's path from a DB and store the record_id on an array. That way the next time the function is called I don't get a repeated file into the page. In other words, I'm trying to simulate randomized links to be included on the page but, I don't want it to repeat. $path='NULL'; $text = array( 2, 3, 6, 9 ); $currentPath = 1; //the function gets called from different places several times like this: function get_file($cur){ global $path, $text; if( $cur == 1 ) { $id = rand( 1, 10 ); $sql = "select path from table where rec_id=$id"; $result = runQuery( $sql ); ..... database functions work ....... $text[1]=$id; list( $path ) = mysql_fetch_array($result); } else { while( !checkId( $id=rand( 1, 10 ) ) ) { $id = rand( 1, 10 ); $sql = "select path from table where rec_id=$id"; $result = runQuery( $sql ); ..... database functions work ....... $text[$cur]=$id; list( $path ) = mysql_fetch_array($result); } } }// endFunction function checkId( $id ) { global $text; for($i=1; $i<5; $i++ ) { if( $text[$i]==$id ) print( 'Compared...' ); return true; } return false; } Some how the print statement in the checkId() never gets executed. I don't know why. What am I doing wrong? Please help. Thanks. ===== "An ounce of gold cannot buy an ounce of time." - Anonymous www.whmicro.com __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From jbkim at cs.pdx.edu Wed May 29 15:47:16 2002 From: jbkim at cs.pdx.edu (JeeBak Kim) Date: Wed, 29 May 2002 12:47:16 -0700 Subject: [nycphp-talk] Help!! In-Reply-To: <200205291918.g4TJIKp54672@slipdisc.virul.net>; from j_r_sanchez@yahoo.com on Wed, May 29, 2002 at 03:18:20PM -0400 References: <200205291918.g4TJIKp54672@slipdisc.virul.net> Message-ID: <20020529124716.A17430@cs.pdx.edu> * jose sanchez (j_r_sanchez at yahoo.com) [020529 12:21]: > Hi All: > > I am having a little problem: [snip] > function checkId( $id ) > { > global $text; > > for($i=1; $i<5; $i++ ) > { > if( $text[$i]==$id ) > print( 'Compared...' ); > return true; > } > return false; > > } > > Some how the print statement in the checkId() never > gets executed. I don't know why. What am I doing > wrong? Hmm... did you mean to have the the 'return true' within the if test? Basically, it's only doing one iteration of the for loop and returning true. Something like: function checkId( $id ) { global $text; for($i=1; $i<5; $i++ ) { if( $text[$i]==$id ) { // missing brace print( 'Compared...' ); return true; } // missing brace } return false; } This is the main reason I ALWAYS use {...} for if()'s, etc. even if there is only one statement ;). Don't know if this is what's causing your problem but it's something that seemed contrary to intent. Hope, this helps. -- jbkim From MLynn at exchange.ml.com Wed May 29 16:03:00 2002 From: MLynn at exchange.ml.com (Lynn, Michael (DCS)) Date: Wed, 29 May 2002 16:03:00 -0400 Subject: [nycphp-talk] Help!! Message-ID: <8FA07D8665A9D511B80E00B0D068A1510293A504@ehope16.hew.us.ml.com> Plaster that code with print statements ala: If ($debug) { print "ID: $id
"; print "I: $i
"; print "Text[$i]: $text[$i]"; print "---
"; } That's what I would do anyway. Good luck. Mike -----Original Message----- From: jose sanchez [mailto:j_r_sanchez at yahoo.com] Sent: Wednesday, May 29, 2002 3:18 PM To: NYPHP Talk Subject: [nycphp-talk] Help!! Hi All: I am having a little problem: I am trying to load a file's path from a DB and store the record_id on an array. That way the next time the function is called I don't get a repeated file into the page. In other words, I'm trying to simulate randomized links to be included on the page but, I don't want it to repeat. $path='NULL'; $text = array( 2, 3, 6, 9 ); $currentPath = 1; //the function gets called from different places several times like this: function get_file($cur){ global $path, $text; if( $cur == 1 ) { $id = rand( 1, 10 ); $sql = "select path from table where rec_id=$id"; $result = runQuery( $sql ); ..... database functions work ....... $text[1]=$id; list( $path ) = mysql_fetch_array($result); } else { while( !checkId( $id=rand( 1, 10 ) ) ) { $id = rand( 1, 10 ); $sql = "select path from table where rec_id=$id"; $result = runQuery( $sql ); ..... database functions work ....... $text[$cur]=$id; list( $path ) = mysql_fetch_array($result); } } }// endFunction function checkId( $id ) { global $text; for($i=1; $i<5; $i++ ) { if( $text[$i]==$id ) print( 'Compared...' ); return true; } return false; } Some how the print statement in the checkId() never gets executed. I don't know why. What am I doing wrong? Please help. Thanks. ===== "An ounce of gold cannot buy an ounce of time." - Anonymous www.whmicro.com __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From j_r_sanchez at yahoo.com Wed May 29 16:22:54 2002 From: j_r_sanchez at yahoo.com (jose sanchez) Date: Wed, 29 May 2002 13:22:54 -0700 (PDT) Subject: [nycphp-talk] Help!! In-Reply-To: <200205291947.g4TJlLp54768@slipdisc.virul.net> Message-ID: <20020529202254.90201.qmail@web11702.mail.yahoo.com> > > Some how the print statement in the checkId() > never > > gets executed. I don't know why. What am I doing > > wrong? > > Hmm... did you mean to have the the 'return true' > within > the if test? Basically, it's only doing one > iteration of > the for loop and returning true. Something like: > > function checkId( $id ) > { > global $text; > > for($i=1; $i<5; $i++ ) > { > if( $text[$i]==$id ) { // missing brace > print( 'Compared...' ); > return true; > } // missing brace > } > return false; > } > > This is the main reason I ALWAYS use {...} for > if()'s, etc. > even if there is only one statement ;). > > Don't know if this is what's causing your problem > but it's > something that seemed contrary to intent. Hope, > this helps. > In my original code the {} were in place. This is not causing the problem.. ===== "An ounce of gold cannot buy an ounce of time." - Anonymous www.whmicro.com __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From asmny at hotmail.com Wed May 29 16:24:20 2002 From: asmny at hotmail.com (A. Morales) Date: Wed, 29 May 2002 16:24:20 -0400 Subject: [nycphp-talk] Help!! Message-ID: Use $GLOBALS ! _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. From jbkim at cs.pdx.edu Wed May 29 16:53:51 2002 From: jbkim at cs.pdx.edu (JeeBak Kim) Date: Wed, 29 May 2002 13:53:51 -0700 Subject: [nycphp-talk] Help!! Message-ID: <20020529135351.A3764@cs.pdx.edu> * jose sanchez (j_r_sanchez at yahoo.com) [020529 12:21]: [snip] > > In my original code the {} were in place. This is not > causing the problem.. Hmm... could you post your original code instead of the code you posted to the list earlier (the one with the missing {}'s?) It's hard to make a diagnosis if they are different ;). -- jbkim From zaunere at yahoo.com Wed May 29 17:18:38 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Wed, 29 May 2002 14:18:38 -0700 (PDT) Subject: [nycphp-talk] Off-Topic: Mozilla 1.0 Release Party In-Reply-To: <200205290316.g4T3Gmp52766@slipdisc.virul.net> Message-ID: <20020529211838.83705.qmail@web12808.mail.yahoo.com> HAH, they're holding it at the Remote Lounge. That place is crazy - mildy cool (very original, I'll give it that), but, well wierd (and kinda small). Too bad it's on a weeknight, but I'll be there. Hans Z. --- D C Krook wrote: > Came across this via Slashdot. I thought it would be of general > interest to > the group, especially since it's only a mile south of where we > meet... > > > http://meetzilla.mozdev.org/events/mozilla-1.0.html > > Mozilla 1.0 Release Party (New York City) > > Mozilla 1.0 be landing soon! No one knows exactly when. In New York > City, > we'll be celebrating the big event on Wednesday, June 12th at Remote > Lounge, > a high-tech bar in the East Village. There won't be a cover charge or > a > guest list, but please do RSVP or send us email so we have a good > idea of > how many people to expect. > > > > > _________________________________________________________________ > Join the world?s largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From j_r_sanchez at yahoo.com Wed May 29 17:23:37 2002 From: j_r_sanchez at yahoo.com (jose sanchez) Date: Wed, 29 May 2002 14:23:37 -0700 (PDT) Subject: [nycphp-talk] Help!! In-Reply-To: <200205292053.g4TKrtp54987@slipdisc.virul.net> Message-ID: <20020529212337.43102.qmail@web11703.mail.yahoo.com> --- JeeBak Kim wrote: > * jose sanchez (j_r_sanchez at yahoo.com) [020529 > 12:21]: > [snip] > > > > In my original code the {} were in place. This is > not > > causing the problem.. > > Hmm... could you post your original code instead of > the code > you posted to the list earlier (the one with the > missing {}'s?) > It's hard to make a diagnosis if they are different > ;). Here's the original code: $text_path ='NULL'; $text = array( 0,0,0,0,0 ); $text_ads_count = 5 $current = 1; This function will be called 4 or five times per page like this: function get_random_number( $m, $l ) { srand((double) microtime() * 1000000); return rand( $m, $l ); } function get_text_ad( $cur ){ global $text_path, $text, $text_ads_count; // set the current table to be used $table_name = 'ads_text'; $update_field = 'presence'; if( $cur == 1 ) { $id = get_random_number( 1, $text_ads_count ); // Based on this number select the record from the db $sql = "select path from $table_name where ad_id=$id"; $result = runQuery( $sql ); list( $text_path ) = mysql_fetch_array( $result ); $text[$cur] = $id; update_table( $table_name, $id, $update_field); }// end if first occurrance else { while( !checkit( $id = get_random_number( 1, $text_ads_count ) ) ){ // Based on this number select the record from the db $sql = "select path from $table_name where ad_id=$id"; $result = runQuery( $sql ); list( $text_path ) = mysql_fetch_array( $result ); $text[$cur] = $id; update_table( $table_name, $id, $update_field ); }// end while loop }//end else }// end function get_text******************** function checkit( $g ){ global $text, $id; for( $i = 1; $i <= 6; $i++ ) { if( $text[$i] == $g ) { print( 'ID: ' . $id . '
I: ' . $i . '
Text[' . $i . ']: ' . $text[$i] . '
g: ' . $g ); return true; } } return false; } Thanks. ===== "An ounce of gold cannot buy an ounce of time." - Anonymous www.whmicro.com __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From jbkim at cs.pdx.edu Wed May 29 17:43:38 2002 From: jbkim at cs.pdx.edu (JeeBak Kim) Date: Wed, 29 May 2002 14:43:38 -0700 Subject: [nycphp-talk] Help!! In-Reply-To: <200205292123.g4TLNep55121@slipdisc.virul.net>; from j_r_sanchez@yahoo.com on Wed, May 29, 2002 at 05:23:40PM -0400 References: <200205292123.g4TLNep55121@slipdisc.virul.net> Message-ID: <20020529144338.A13763@cs.pdx.edu> Ahh... I added a print statement: print "text[$i]: " . $text[$i] . "
"; BEFORE the if() test in the for loop... and found that the if() test never passes since the $text[$cur] = $id; assignment never occurs. The checkit() function is called as: while(!checkit($id = get_random_number(1, $text_ads_count))){ ... } perhaps it should be called as: do { ... } while(!checkit($id = get_random_number(1, $text_ads_count))); so that the $text[$cur] = $id; assignment occurs at least once before the checkit() call. Hope this helps and good luck! * jose sanchez (j_r_sanchez at yahoo.com) [020529 14:25]: > > function checkit( $g ){ > global $text, $id; > > for( $i = 1; $i <= 6; $i++ ) > { > if( $text[$i] == $g ) > { > print( 'ID: ' . $id . '
I: ' . $i . '
Text[' . > $i . ']: ' . $text[$i] . > '
g: ' . $g ); > return true; > } > > } > return false; > } > > Thanks. From jbkim at cs.pdx.edu Wed May 29 17:59:39 2002 From: jbkim at cs.pdx.edu (JeeBak Kim) Date: Wed, 29 May 2002 14:59:39 -0700 Subject: [nycphp-talk] Help!! In-Reply-To: <200205292143.g4TLhgp55204@slipdisc.virul.net>; from jbkim@cs.pdx.edu on Wed, May 29, 2002 at 05:43:42PM -0400 References: <200205292143.g4TLhgp55204@slipdisc.virul.net> Message-ID: <20020529145939.A21139@cs.pdx.edu> Oh wait a minute! I played with your code a little bit more. This time I used your code exactly, commenting out any db-related statements and "running" it with: while ($current < 5) { get_text_ad( $current++ ); } and the print statement in checkit() works for me with your original code. Very strange! Sorry, I'm at a loss as to why it doesn't print for you. Perhaps someone else on the list will have more insight into this. * JeeBak Kim (jbkim at cs.pdx.edu) [020529 14:45]: > Ahh... I added a print statement: > > print "text[$i]: " . $text[$i] . "
"; > > BEFORE the if() test in the for loop... and found that > the if() test never passes since the $text[$cur] = $id; > assignment never occurs. The checkit() function is called as: > > while(!checkit($id = get_random_number(1, $text_ads_count))){ > ... > } > > perhaps it should be called as: > > do { > ... > } while(!checkit($id = get_random_number(1, $text_ads_count))); > > so that the $text[$cur] = $id; assignment occurs at least once > before the checkit() call. > > Hope this helps and good luck! From j_r_sanchez at yahoo.com Thu May 30 10:41:14 2002 From: j_r_sanchez at yahoo.com (jose sanchez) Date: Thu, 30 May 2002 07:41:14 -0700 (PDT) Subject: [nycphp-talk] Help!! - Fixed In-Reply-To: <200205292159.g4TLxip55280@slipdisc.virul.net> Message-ID: <20020530144114.22242.qmail@web11706.mail.yahoo.com> I fixed my problem. The while loop I had before was messing things up. Here's the fixed problem: $text_path ='NULL'; $text = array( 0,0,0,0,0 ); $text_ads_count = 5 $current = 1; This function will be called 4 or five times per page like this: function get_random_number( $m, $l ) { srand((double) microtime() * 1000000); return rand( $m, $l ); } function get_text_ad( $cur ){ // declare global variables that will be used in the function global $text; // declare local variable $useit = 'no'; // set the current table to be used $table_name = 'ads_text'; $update_field = 'presence'; // if is the first ad displayed on the page; go ahead and use it if( $cur == 1 ) { // set the id from a random generated number $id = get_random_number( 1, $GLOBALS['text_ads_count'] ); // Based on this number select the record from the db $sql = "select path from $table_name where ad_id=$id"; $result = runQuery( $sql, "-- Select from $table_name --" ); // set the path to the loaded path list( $GLOBALS['text_path'] ) = mysql_fetch_array( $result ); // set the current posistion in the array with the selected id $text[$cur] = $id; update_table( $table_name, $id, $update_field ); }// end if first occurrance else { while( $useit == 'no' ){ $useit = checkit( $id = rand( 1, $GLOBALS['text_ads_count'] ), $GLOBALS['text_ads_count'] ); if( $useit == 'yes' ){ // Based on this number select the record from the db $sql = "select path from $table_name where ad_id=$id"; $result = runQuery( $sql, "-- Select from $table_name --" ); // set the path to the loaded path list( $GLOBALS['text_path'] ) = mysql_fetch_array( $result ); // set the current posistion in the array with the selected id $text[$cur] = $id; update_table( $table_name, $id, $update_field ); }// end if useit or not else continue; // continue looping }// end while loop }//end else }// end function get_text******************** function checkit( $randomnumber, $count ){ // set local variables with global variables' data $t = $GLOBALS['text']; for( $i = 1; $i <= $count; $i++ ) { if( $t[$i] == $randomnumber ) return 'no'; // don't use the number/id }// end for loop return 'yes'; // use the number/id }//end function checkit********** ===== "An ounce of gold cannot buy an ounce of time." - Anonymous www.whmicro.com __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From jim at nettmedia.com Thu May 30 12:03:48 2002 From: jim at nettmedia.com (Jim Musil) Date: Thu, 30 May 2002 12:03:48 -0400 Subject: [nycphp-talk] Help!! - Fixed In-Reply-To: <200205301441.g4UEfKp58851@slipdisc.virul.net> Message-ID: Good job on fixing the problem. It seems, however, that you could simplify this whole process by doing something like the following. 1) Grab all the data in random order like so... $query = mysql_query("SELECT path FROM ads_text ORDER BY RAND()"); 2) Put it all in an array like so... while( $data = mysql_fetch_object($query)) { $paths[] = $data->path; } 3) Write a function get_next() that pulls one out and deletes it from the array... function get_next() { global $paths; $path = array_pop($paths); return $path; } 4) Then everytime you need it you write... Jim Musil On 5/30/02 10:41 AM, "jose sanchez" wrote: > I fixed my problem. The while loop I had before was > messing things up. Here's the fixed problem: > > $text_path ='NULL'; > $text = array( 0,0,0,0,0 ); > $text_ads_count = 5 > $current = 1; > > This function will be called 4 or five times per page > like this: > > > get_text_ad( $current++ ); > include( $text_path ); > ?> > > > > > function get_random_number( $m, $l ) > > { > srand((double) microtime() * 1000000); > return rand( $m, $l ); > } > > > > function get_text_ad( $cur ){ > > // declare global variables that will be used in the > function > global $text; > > // declare local variable > $useit = 'no'; > > // set the current table to be used > $table_name = 'ads_text'; > $update_field = 'presence'; > > // if is the first ad displayed on the page; go > ahead and use it > if( $cur == 1 ) > { // set the id from a random generated number > $id = get_random_number( 1, > $GLOBALS['text_ads_count'] ); > > // Based on this number select the record from the > db > $sql = "select path from $table_name where > ad_id=$id"; > > $result = runQuery( $sql, "-- Select from > $table_name --" ); > > // set the path to the loaded path > list( $GLOBALS['text_path'] ) = mysql_fetch_array( > $result ); > > // set the current posistion in the array with the > selected id > $text[$cur] = $id; > > update_table( $table_name, $id, $update_field ); > }// end if first occurrance > else > { > while( $useit == 'no' ){ > $useit = checkit( $id = rand( 1, > $GLOBALS['text_ads_count'] ), > $GLOBALS['text_ads_count'] ); > > if( $useit == 'yes' ){ > // Based on this number select the record from > the db > $sql = "select path from $table_name where > ad_id=$id"; > > $result = runQuery( $sql, "-- Select from > $table_name --" ); > > // set the path to the loaded path > list( $GLOBALS['text_path'] ) = > mysql_fetch_array( $result ); > > // set the current posistion in the array with > the selected id > $text[$cur] = $id; > > update_table( $table_name, $id, $update_field ); > > }// end if useit or not > else > continue; // continue looping > > }// end while loop > }//end else > }// end function get_text******************** > > > function checkit( $randomnumber, $count ){ > // set local variables with global variables' data > $t = $GLOBALS['text']; > > for( $i = 1; $i <= $count; $i++ ) > { > if( $t[$i] == $randomnumber ) > return 'no'; // don't use the number/id > }// end for loop > return 'yes'; // use the number/id > }//end function checkit********** > > > > ===== > "An ounce of gold cannot buy an ounce of time." > - Anonymous > > > www.whmicro.com > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > From zaunere at yahoo.com Fri May 31 09:34:27 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Fri, 31 May 2002 06:34:27 -0700 (PDT) Subject: TRAINING: Intermediate PHP Course Message-ID: <20020531133427.36040.qmail@web12808.mail.yahoo.com> PHP training has taken the next step with PHP Intermediate Training from Websapp Consulting. If you have had some experience with PHP, this is a great course. Starting with a refresher of PHP fundamentals, it quickly moves into more advanced topics, such as MySQL/SQL style and integration, Object Orientated Programming, security and performance, and design paradigms. Once completed, you will begin to see how PHP and AMP Technology can be used for rapid development of large enterprise applications. The course takes place in a professional training environment in midtown Manhattan, June 27th and 28th. For course outline, location details, testimonials, and to register, visit http://websapp.com/training.php. Direct any questions to training at nyphp.org Thank you, Hans Z. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From zaunere at yahoo.com Fri May 31 10:00:31 2002 From: zaunere at yahoo.com (Hans Zaunere) Date: Fri, 31 May 2002 07:00:31 -0700 (PDT) Subject: Job Forum - Don't Miss This! Message-ID: <20020531140031.46033.qmail@web12807.mail.yahoo.com> In cooperation with Community Connect, an established NYC Internet company, New York PHP is pleased to announce an Open House and Job Forum. Community Connect is one of PHP's greatest supporters, and they are seeking talented and innovative Senior & Managing Developers to join their team. For details, go to http://nyphp.org and click Job Forum, or view the attached Word document. This is a great opportunity so don?t forget to RSVP by June 7th! Thank you, Hans Z. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -------------- next part -------------- A non-text attachment was scrubbed... Name: ccjob.doc Type: application/msword Size: 45568 bytes Desc: ccjob.doc URL: From jim at nettmedia.com Fri May 31 10:26:04 2002 From: jim at nettmedia.com (Jim Musil) Date: Fri, 31 May 2002 10:26:04 -0400 Subject: Message Boards Message-ID: I need to find a fairly simple and customizable open-source message board application written in PHP using either mySQL or flat files. Using google and other web sources I have no problem finding hundreds, but how does one sift through all the junk? Can anyone recommend a good one? Jim Musil Senior Developer Nettmedia jim at nettmedia.com From fmarte at bellatlantic.net Fri May 31 10:30:38 2002 From: fmarte at bellatlantic.net (Felix A. Marte) Date: Fri, 31 May 2002 10:30:38 -0400 Subject: [nycphp-talk] Message Boards In-Reply-To: <200205311426.g4VEQAP62096@slipdisc.virul.net> Message-ID: Hello All, I am very new to this newsgroup, but figured I would share since I just spent the night working on it... I just installed Phorum. It runs on Apache/MySQL/PHP infrastructures. The only complaint that I've seen (too new to comment on actual usuage) is that a) the installation instructions are lacking, and b) it can run slowing depending on the load. The application lives at www.phorum.org -Enjoy, Felix Marte -----Original Message----- From: Jim Musil [mailto:jim at nettmedia.com] Sent: Friday, May 31, 2002 10:26 AM To: NYPHP Talk Subject: [nycphp-talk] Message Boards I need to find a fairly simple and customizable open-source message board application written in PHP using either mySQL or flat files. Using google and other web sources I have no problem finding hundreds, but how does one sift through all the junk? Can anyone recommend a good one? Jim Musil Senior Developer Nettmedia jim at nettmedia.com From nyphp at altunergil.com Fri May 31 06:29:56 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Fri, 31 May 2002 06:29:56 -0400 Subject: [nycphp-talk] Message Boards In-Reply-To: <200205311426.g4VEQAP62096@slipdisc.virul.net> References: <200205311426.g4VEQAP62096@slipdisc.virul.net> Message-ID: <20020531062956.110f92b2.nyphp@altunergil.com> If simple is your thing, check out Phorum (phorum.org). Oktay On Fri, 31 May 2002 10:26:10 -0400 Jim Musil wrote: > > I need to find a fairly simple and customizable open-source message board > application written in PHP using either mySQL or flat files. > > Using google and other web sources I have no problem finding hundreds, but > how does one sift through all the junk? > > Can anyone recommend a good one? > > Jim Musil > Senior Developer > Nettmedia > > jim at nettmedia.com > > From evan.heller at alum.rpi.edu Fri May 31 10:33:17 2002 From: evan.heller at alum.rpi.edu (evan heller) Date: Fri, 31 May 2002 10:33:17 -0400 Subject: [nycphp-talk] Message Boards References: <200205311430.g4VEUQP62125@slipdisc.virul.net> Message-ID: <3CF789AD.D5232776@alum.rpi.edu> Honestly, if you want a list with reviews and useful information, check out: http://www.hotscripts.com they seem to have quite a bit of useful php scripts that are sorted into categories. Quite a good collection of free and commercial ware stuff. -Evan -- Evan Heller evan.heller at alum.rpi.edu From jim at nettmedia.com Fri May 31 10:47:44 2002 From: jim at nettmedia.com (Jim Musil) Date: Fri, 31 May 2002 10:47:44 -0400 Subject: [nycphp-talk] Message Boards In-Reply-To: <200205311434.g4VEYNP62147@slipdisc.virul.net> Message-ID: I have a problem with hotscripts. Currently there are 125 scripts listed under "Discussion Boards." The system allows for anyone to join and write reviews of their own products (or trash other products). Anyone can post a script from first-time solo developer to experienced team. All the scripts are essentially the same, but there is no way to tell if a product is secure, tested, and stable. Just because some developer says it's version 2.2.3b doesn't mean it wasn't put up last night. I've also found intentional "bombs" and "black holes" in these scripts that do nasty things. Granted, most of the developers are probably ok, but how am I supposed to know who is legit and who spent four hours last night "faking" it? Jim On 5/31/02 10:34 AM, "evan heller" wrote: > Honestly, if you want a list with reviews and > useful information, check out: > http://www.hotscripts.com > > they seem to have quite a bit of useful php > scripts > that are sorted into categories. Quite a good > collection > of free and commercial ware stuff. > > -Evan From jim at nettmedia.com Fri May 31 10:51:46 2002 From: jim at nettmedia.com (Jim Musil) Date: Fri, 31 May 2002 10:51:46 -0400 Subject: Message Boards, Phorum Message-ID: >From Phorum.org... Phorum.org Hacked Category: Web Site News????Written by brianlmoon at 8:23pm on May 19, 2002 Yes, the phorum.org server was hacked using the known and fixed security bugs in Phorum 3.3.2a and before. The good news is that we did take some precautions and all that could be done is to delete the files in the web dir. The bad news is that the language files and our past poll results are gone. The irony is that I had a script ready to go that would backup all that stuff. I was waiting until tonight to put it in. Current Phorum users should know that anybody should upgrade if at all possible. If you used the secure script or followed the install instructions to the letter, you are probably safe. All of the files used in this hack would be protected by the .htaccess files that the secure script creates. If you have a language file, please upload it. From ejp at well.com Fri May 31 11:01:10 2002 From: ejp at well.com (Edward Potter) Date: Fri, 31 May 2002 11:01:10 -0400 Subject: [nycphp-talk] Message Boards References: <200205311434.g4VEYNP62147@slipdisc.virul.net> Message-ID: <3CF79036.6020507@well.com> the boards built on this code base seem very high end..., they claim 250,000 sites. http://www.infopop.com/products/ they use it here: www.bluelight.nu evan heller wrote: > Honestly, if you want a list with reviews and > useful information, check out: > http://www.hotscripts.com > > they seem to have quite a bit of useful php > scripts > that are sorted into categories. Quite a good > collection > of free and commercial ware stuff. > > -Evan > > From nyphp at altunergil.com Fri May 31 07:30:44 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Fri, 31 May 2002 07:30:44 -0400 Subject: [nycphp-talk] Message Boards, Phorum In-Reply-To: <200205311451.g4VEppP62222@slipdisc.virul.net> References: <200205311451.g4VEppP62222@slipdisc.virul.net> Message-ID: <20020531073044.6990b0f2.nyphp@altunergil.com> Don't make it a bad forum :) Oktay PS: please note that they were hacked using an exploit that was discovered and fixed at an earlier release. I don't know if this means that they've fixed the exploit after the hack or if they hadn't applied their own security fixes. I sure hope it's the prior. On Fri, 31 May 2002 10:51:51 -0400 Jim Musil wrote: > > > From Phorum.org... > > Phorum.org Hacked > Category: Web Site News????Written by brianlmoon at 8:23pm on May 19, 2002 > > Yes, the phorum.org server was hacked using the known and fixed security > bugs in Phorum 3.3.2a and before. The good news is that we did take some > precautions and all that could be done is to delete the files in the web > dir. The bad news is that the language files and our past poll results are > gone. The irony is that I had a script ready to go that would backup all > that stuff. I was waiting until tonight to put it in. > > Current Phorum users should know that anybody should upgrade if at all > possible. If you used the secure script or followed the install instructions > to the letter, you are probably safe. All of the files used in this hack > would be protected by the .htaccess files that the secure script creates. > > If you have a language file, please upload it. > > > From nyphp at altunergil.com Fri May 31 08:18:08 2002 From: nyphp at altunergil.com (Oktay Altunergil) Date: Fri, 31 May 2002 08:18:08 -0400 Subject: [nycphp-talk] Message Boards In-Reply-To: <200205311447.g4VElpP62194@slipdisc.virul.net> References: <200205311447.g4VElpP62194@slipdisc.virul.net> Message-ID: <20020531081808.07878e25.nyphp@altunergil.com> I've had the same problem while looking for a decent Project Managememt / PIM application recently. Everything looks good on paper (so to speak), but when you actually download and give it a go, they all suck. Unfortunately, this is pretty much all you can do, download/install/test. Your other option is to ask people whom you trust, for recommendations. You've done this already. Oktay On Fri, 31 May 2002 10:47:51 -0400 Jim Musil wrote: > > I have a problem with hotscripts. > > Currently there are 125 scripts listed under "Discussion Boards." The system > allows for anyone to join and write reviews of their own products (or trash > other products). Anyone can post a script from first-time solo developer to > experienced team. All the scripts are essentially the same, but there is no > way to tell if a product is secure, tested, and stable. Just because some > developer says it's version 2.2.3b doesn't mean it wasn't put up last night. > > I've also found intentional "bombs" and "black holes" in these scripts that > do nasty things. > > Granted, most of the developers are probably ok, but how am I supposed to > know who is legit and who spent four hours last night "faking" it? > > Jim > > > On 5/31/02 10:34 AM, "evan heller" wrote: > > > Honestly, if you want a list with reviews and > > useful information, check out: > > http://www.hotscripts.com > > > > they seem to have quite a bit of useful php > > scripts > > that are sorted into categories. Quite a good > > collection > > of free and commercial ware stuff. > > > > -Evan > > From jim at nettmedia.com Fri May 31 12:34:21 2002 From: jim at nettmedia.com (Jim Musil) Date: Fri, 31 May 2002 12:34:21 -0400 Subject: [nycphp-talk] Message Boards In-Reply-To: <200205311618.g4VGIdP62642@slipdisc.virul.net> Message-ID: Too true. Actually, it was this frustration that led me to NYPHP. Now at least I know who and what I'm dealing with. Thanks! Phorum is working out nicely. Jim On 5/31/02 12:18 PM, "Oktay Altunergil" wrote: > I've had the same problem while looking for a decent Project Managememt / PIM > application recently. Everything looks good on paper (so to speak), but when > you actually download and give it a go, they all suck. Unfortunately, this is > pretty much all you can do, download/install/test. Your other option is to > ask people whom you trust, for recommendations. You've done this already. > > Oktay > > On Fri, 31 May 2002 10:47:51 -0400 > Jim Musil wrote: > >> >> I have a problem with hotscripts. >> >> Currently there are 125 scripts listed under "Discussion Boards." The system >> allows for anyone to join and write reviews of their own products (or trash >> other products). Anyone can post a script from first-time solo developer to >> experienced team. All the scripts are essentially the same, but there is no >> way to tell if a product is secure, tested, and stable. Just because some >> developer says it's version 2.2.3b doesn't mean it wasn't put up last night. >> >> I've also found intentional "bombs" and "black holes" in these scripts that >> do nasty things. >> >> Granted, most of the developers are probably ok, but how am I supposed to >> know who is legit and who spent four hours last night "faking" it? >> >> Jim >> >> >> On 5/31/02 10:34 AM, "evan heller" wrote: >> >>> Honestly, if you want a list with reviews and >>> useful information, check out: >>> http://www.hotscripts.com >>> >>> they seem to have quite a bit of useful php >>> scripts >>> that are sorted into categories. Quite a good >>> collection >>> of free and commercial ware stuff. >>> >>> -Evan >> >> > From jay at wnymusic.com Fri May 31 12:50:30 2002 From: jay at wnymusic.com (Jay) Date: Fri, 31 May 2002 12:50:30 -0400 Subject: [nycphp-talk] Message Boards References: <200205311502.g4VF26P62262@slipdisc.virul.net> Message-ID: <014501c208c3$469d6400$8f00fa0a@jgerland1> Infopop is not freeware or opensource...and the last I checked, not written in PHP either. I've been running a message board (wnymusic.com/board) for about 6 years and started with Matt Wright's famous WWWBoard which was really great at the time. I then switched to Infopop's UBB and actually paid for a license but the whole thing was a monster and every thread was it's own HTML file. That got real ugly after a while and started to break down left and right. I now use what I consider to be the best opensource message board out there: phpBB version 1.4. They have since released version 2 which tries to keep up with pay-for message boards like vBulletin which is also written in PHP and is very good. Phorum is good but I don't care for the way the messages are arranged. You can get phpBB at http://www.phpbb.com Jay ----- Original Message ----- From: "Edward Potter" To: "NYPHP Talk" Sent: Friday, May 31, 2002 11:02 AM Subject: Re: [nycphp-talk] Message Boards > the boards built on this code base seem very high end..., they claim > 250,000 sites. > > http://www.infopop.com/products/ > > they use it here: www.bluelight.nu > > > > > evan heller wrote: > > > Honestly, if you want a list with reviews and > > useful information, check out: > > http://www.hotscripts.com > > > > they seem to have quite a bit of useful php > > scripts > > that are sorted into categories. Quite a good > > collection > > of free and commercial ware stuff. > > > > -Evan > > > > > > > > From liquidm3 at hotmail.com Fri May 31 13:52:52 2002 From: liquidm3 at hotmail.com (Ted Shieh) Date: Fri, 31 May 2002 13:52:52 -0400 Subject: Fwd: Re: [nycphp-talk] Message Boards Message-ID: I concur with Jay - phpBB is good. Which is probably why it is the #5 top download at SourceForge: http://sourceforge.net/ But I need to use something that integrates with PostNuke, so I use XForum, which you can see in action at http://www.liquidmarkets.com/?name=XForum Someone succeeded in integrating phpBB 2 with PHP-Nuke, but so far I think the highest version of phpBB that has been integrated with PostNuke is 1.4. If you'd like to try out XForum, and have read any of William Gibson's works, feel free to join the William Gibson discussion: http://www.liquidmarkets.com/?name=XForum&file=viewthread&tid=23 Ted >From: "Jay" >Reply-To: talk at nyphp.org >To: NYPHP Talk >Subject: Re: [nycphp-talk] Message Boards >Date: Fri, 31 May 2002 12:52:14 -0400 > >Infopop is not freeware or opensource...and the last I checked, not written >in PHP either. I've been running a message board (wnymusic.com/board) for >about 6 years and started with Matt Wright's famous WWWBoard which was >really great at the time. I then switched to Infopop's UBB and actually >paid >for a license but the whole thing was a monster and every thread was it's >own HTML file. That got real ugly after a while and started to break down >left and right. > >I now use what I consider to be the best opensource message board out >there: >phpBB version 1.4. They have since released version 2 which tries to keep >up >with pay-for message boards like vBulletin which is also written in PHP and >is very good. Phorum is good but I don't care for the way the messages are >arranged. > >You can get phpBB at http://www.phpbb.com > >Jay > >----- Original Message ----- >From: "Edward Potter" >To: "NYPHP Talk" >Sent: Friday, May 31, 2002 11:02 AM >Subject: Re: [nycphp-talk] Message Boards > > > > the boards built on this code base seem very high end..., they claim > > 250,000 sites. > > > > http://www.infopop.com/products/ > > > > they use it here: www.bluelight.nu > > > > > > > > > > evan heller wrote: > > > > > Honestly, if you want a list with reviews and > > > useful information, check out: > > > http://www.hotscripts.com > > > > > > they seem to have quite a bit of useful php > > > scripts > > > that are sorted into categories. Quite a good > > > collection > > > of free and commercial ware stuff. > > > > > > -Evan > > > > > > > > > > > > > > Place a free classified ad with LiquidMarkets http://www.liquidmarkets.com/m.php?m=wish _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com