From adam at trachtenberg.com Sun May 1 04:14:50 2005 From: adam at trachtenberg.com (Adam Maccabee Trachtenberg) Date: Sun, 1 May 2005 04:14:50 -0400 (EDT) Subject: [nycphp-talk] Re: Monitoring for Bounce Mail In-Reply-To: References: <9f69c334287be39f769de2ca68772284@coolmacgames.com> <20050429013534.GA2273@uranus.faber.nom> <225358257b9685b068f67e2152d9460d@coolmacgames.com> <20050429021347.GA2410@uranus.faber.nom> <6a6328877ef5e77a328bed50acd10d3d@coolmacgames.com> <20050429032700.GA2601@uranus.faber.nom> <4b18871105042822584a698a6c@mail.gmail.com> <1884-38062@sneakemail.com> Message-ID: On Sat, 30 Apr 2005, John Nunez wrote: > This is exactly what I was thinking. The transmissions are monthly > but 3 bounces are good enough. Sometimes the emails are product > alerts (plain text) and mostly it's HTML. So you have the code in > plain sight? Like the footer? I need to get approval from by boss > for this one. How do you encode the email address? A quick idea > would be to send a md5 of the email address. Yes. We put the code in plain site. Probably in the footer. It's been a long time, and I don't have the code readily available. However, I would think that you would want something that was decodable by you, so you could extract the original e-mail address or user id when the mail bounced back. Unless you're worried about people spoofing bounce mail to unsubscribe their enemies, your data doesn't even necessarily have to be encrypted -- just formatted in a way that's easy to grep for. -adam -- adam at trachtenberg.com | http://www.trachtenberg.com author of o'reilly's "upgrading to php 5" and "php cookbook" avoid the holiday rush, buy your copies today! From jeff.knight at gmail.com Sun May 1 10:43:31 2005 From: jeff.knight at gmail.com (Jeff Knight) Date: Sun, 1 May 2005 10:43:31 -0400 Subject: [nycphp-talk] Free Book - PHP 5 Power Programming Message-ID: <2ca9ba9105050107436d63bfd@mail.gmail.com> The pdf of this book & several others in the Bruce Perens' Open Source Series can be downloaded from http://www.phptr.com/promotion/1484?redir=1 From mitch.pirtle at gmail.com Sun May 1 12:21:02 2005 From: mitch.pirtle at gmail.com (Mitch Pirtle) Date: Sun, 1 May 2005 12:21:02 -0400 Subject: [nycphp-talk] [OT] SSH security question In-Reply-To: References: Message-ID: <330532b60505010921640729eb@mail.gmail.com> On 4/30/05, David Mintz wrote: > > Is it normal to get attacked like this just about every day? That would be awesome, since I get scanned (these are not really attacks) about every 90 minutes. Some servers are almost constant, depends on who/what/how many you are hosting on one machine as well. These are really just scans and automated probes, if someone was really attacking your server you would most certainly know it - there is no real way to 'quietly attack a server'. I install Portsentry immediately upon having a shell on a remote server, if only to get rid of most of the skript kiddiez. Once that is done, I can take the time to harden the system. Some good reading: * Hardening Apache, by Tony Mobily (Apress) * Maximum Linux Security, by Anonymous (SAMS) * Linux Serve Security, by Michael D. Bauer (O'Reilly) Also there are a ton of resources out there, but the Apache book is a real good start for linux webservers. -- Mitch From dmintz at davidmintz.org Sun May 1 22:51:09 2005 From: dmintz at davidmintz.org (David Mintz) Date: Sun, 1 May 2005 22:51:09 -0400 (EDT) Subject: [nycphp-talk] [OT] SSH security question In-Reply-To: <330532b60505010921640729eb@mail.gmail.com> References: <330532b60505010921640729eb@mail.gmail.com> Message-ID: Great tips. Thanks again to all. --- David Mintz http://davidmintz.org/ From max at neuropunks.org Mon May 2 11:00:16 2005 From: max at neuropunks.org (max) Date: Mon, 2 May 2005 10:00:16 -0500 Subject: [nycphp-talk] [OT] SSH security question In-Reply-To: References: Message-ID: <20050502150016.GA22843@neuropunks.org> hello I get a ton of those every day. Since i use freebsd, they get reported to me via email as part of daily security check The format of that email looks like that: finn login failures: Apr 30 10:55:42 finn sshd[31415]: Failed password for illegal user nobody from 67.18.130.50 port 49027 ssh2 Apr 30 10:55:43 finn sshd[32022]: Failed password for illegal user patrick from 67.18.130.50 port 49063 ssh2 Apr 30 10:55:48 finn sshd[32404]: Failed password for illegal user patrick from 67.18.130.50 port 49117 ssh2 Apr 30 10:55:48 finn sshd[33059]: Failed password for illegal user root from 67.18.130.50 port 49150 ssh2 Apr 30 10:55:49 finn sshd[33106]: Failed password for illegal user root from 67.18.130.50 port 49186 ssh2 Apr 30 10:55:51 finn sshd[33753]: Failed password for illegal user root from 67.18.130.50 port 49217 ssh2 and so on, for many many pages. I got really fed up with this, and since i do believe in a bit of vigilantism, i made a little perl script which gets called from procmail in root's dir on every occurance of those emails. The script sends one email per attempt to security/technical contact for the ip address/block. Now, this will generate quite a bit of traffic on your end, but i found that nothing gets your attention more about a broken machine on your network than 5000 email messages. Call me a bastard : ) You can call it from procmail like so: --- [root at finn dev]# cat ~system/.procmail/rc.ssh :0c * ^Subject:.*security* | /root/system/bin/parse_ssh.pl [root at finn dev]# cat ~system/.procmailrc PROCMAILDIR=$HOME/.procmail INCLUDERC=$PROCMAILDIR/rc.ssh --- The script is below, just remember what happens when you use it... (yea its pretty bad perl, you'll even find a goto in it ) --- #!/usr/bin/perl foreach $line (){ chomp; if ($line =~ /192\.168|216\.254\.70\.208|127\.0/) { next; } if ($line =~ /Failed password for illegal user/) { @line = split (/ /, $line); $ip = @line[12]; if ($ip == "from" ) { $ip = @line[13]; } $email = do_lookup ($ip); do_notify($email, $ip, $line); } } sub do_lookup { $ip = pack("A*", @_); print "ip is $ip\n"; `whois -a @_ > /tmp/whois. at _.$$`; $file = "/tmp/whois. at _.$$"; open(FILE, $file) or die "Error: $!\n"; foreach $line () { chomp; if ($line =~ /ReferralServer/) { @referral_server = split (/\/\//, $line); print "Referral Server found: @referral_server[1] Forking whois..\n"; print "IP: $ip\n"; open(WHOIS, "whois $ip -h @referral_server[1] |") or die "Error: $!\n"; foreach $line () { chomp; if ($line =~ /e-mail:/) { @org_tech_email = split (/:/, $line); $email = @org_tech_email[1]; print "OrgTechEmail: @org_tech_email[1]\n"; #do_notify(@org_tech_email[1], $ip); close(WHOIS); return $email; goto DONE; } } } if ($line =~ /OrgTechEmail|TechEmail/) { @org_tech_email = split (/ /, $line); $email = @org_tech_email[2]; print "OrgTechEmail: @org_tech_email[2]\n"; return $email; #do_notify(@org_tech_email[2], $ip); } } DONE: close(FILE); unlink(FILE); `rm -f $file`; } sub do_notify { $email = @_[0]; $ip = @_[1]; $msg = @_[2]; print "$msg"; `echo "$msg" | mail -c root -s "SSH Breakin Attempt detected from your $ip, check your system!" $email\n`; } On Sat, Apr 30, 2005 at 01:26:27PM -0400, David Mintz wrote: > > Is it normal to get attacked like this just about every day? > > > --------------------- SSHD Begin ------------------------ > > > Failed logins from these: > bin/password from 210.68.71.220: 17 Time(s) > boss/password from 210.68.71.220: 17 Time(s) > chris/password from 210.68.71.220: 17 Time(s) > cristina/password from 210.68.71.220: 17 Time(s) > daemon/password from 210.68.71.220: 17 Time(s) > ftp/password from 210.68.71.220: 17 Time(s) > ftpuser/password from 210.68.71.220: 17 Time(s) > mailtest/password from 210.68.71.220: 17 Time(s) > michelle/password from 210.68.71.220: 17 Time(s) > mysql/password from 210.68.71.220: 17 Time(s) > news/password from 210.68.71.220: 17 Time(s) > oracle/password from 210.68.71.220: 17 Time(s) > postfix/password from 210.68.71.220: 17 Time(s) > postgres/password from 210.68.71.220: 17 Time(s) > richard/password from 210.68.71.220: 17 Time(s) > service/password from 210.68.71.220: 17 Time(s) > testuser/password from 210.68.71.220: 17 Time(s) > > > --- > David Mintz > http://davidmintz.org/ > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > From 1j0lkq002 at sneakemail.com Mon May 2 11:52:01 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Mon, 02 May 2005 11:52:01 -0400 Subject: [nycphp-talk] [OT] SSH security question In-Reply-To: <20050502150016.GA22843@neuropunks.org> References: <20050502150016.GA22843@neuropunks.org> Message-ID: <29862-56419@sneakemail.com> max max-at-neuropunks.org |nyphp dev/internal group use| wrote: >I got really fed up with this, and since i do believe in a bit of vigilantism, i made a little perl script which gets called from procmail in root's dir on every occurance of those emails. The script sends one email per attempt to security/technical contact for the ip address/block. > I understand your desire to be proactive, but now every port scan (which has been judged by the power-that-be to not practically impact system performance) on YOUR system runs a script, queries a flat file, constructs and generates an email (with potential for logging everything that may generate a warningor error or bounce or whatever). Seems to me like you're feeding the trolls. Are you setting your system up for more trouble? (not to mention the added complexity of another event-driven automated script running on your system at someone else's prompting... DOS oppty?). -=john andrews From max at neuropunks.org Mon May 2 11:58:11 2005 From: max at neuropunks.org (max) Date: Mon, 2 May 2005 10:58:11 -0500 Subject: [nycphp-talk] [OT] SSH security question In-Reply-To: <29862-56419@sneakemail.com> References: <20050502150016.GA22843@neuropunks.org> <29862-56419@sneakemail.com> Message-ID: <20050502155811.GA97307@neuropunks.org> You are absolutely correct, this solution needs to be used (if at all) on a "disclaimer" basis, where you would understand what you are getting yourself into. So far, in my case, my server never had a problem spamming some poor admin of a chinese ip block with literally over 5 thousand emails. All that does for me, is make a small dent in the bandwidth available to my server. Plenty of my friends who saw this script called me a spammer and a script kiddy for generating all the traffic and abusing some poor sap's mailbox, but you know, untill the law that says your system's security is your legal responsibility is passed, i am definetely sticking to this solution. On technical note, this script while sending out those emails for say an hour generates load ave of no more than 3, and 10mbit connection that this server is on handles the throughput with no problem, including replies and errors. But you're probably right, im just waiting for it... I just let the hatred to script kiddies, hack bots and clueless server admins get to me sometimes. On Mon, May 02, 2005 at 11:52:01AM -0400, inforequest wrote: > max max-at-neuropunks.org |nyphp dev/internal group use| wrote: > > >I got really fed up with this, and since i do believe in a bit of > >vigilantism, i made a little perl script which gets called from procmail > >in root's dir on every occurance of those emails. The script sends one > >email per attempt to security/technical contact for the ip address/block. > > > > I understand your desire to be proactive, but now every port scan (which > has been judged by the power-that-be to not practically impact system > performance) on YOUR system runs a script, queries a flat file, > constructs and generates an email (with potential for logging everything > that may generate a warningor error or bounce or whatever). > > Seems to me like you're feeding the trolls. > > Are you setting your system up for more trouble? (not to mention the > added complexity of another event-driven automated script running on > your system at someone else's prompting... DOS oppty?). > > -=john andrews > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > From lists at zaunere.com Mon May 2 14:11:42 2005 From: lists at zaunere.com (Hans Zaunere) Date: Mon, 2 May 2005 14:11:42 -0400 Subject: [nycphp-talk] Struts and PHP Message-ID: <0MKz5u-1DSfOR36W4-0005Eb@mrelay.perfora.net> Interesting thread developing on the Struts Apache Mailing list. Follow it here: http://mail-archives.apache.org/mod_mbox/struts-user/200505.mbox/threads.html Subject "Struts with PHP" --- Hans Zaunere President, Founder New York PHP http://www.nyphp.org AMP Technology Supporting Apache, MySQL and PHP From krook at us.ibm.com Mon May 2 14:31:27 2005 From: krook at us.ibm.com (Daniel Krook) Date: Mon, 2 May 2005 14:31:27 -0400 Subject: [nycphp-talk] Struts and PHP In-Reply-To: <0MKz5u-1DSfOR36W4-0005Eb@mrelay.perfora.net> Message-ID: > Interesting thread developing on the Struts Apache Mailing list. [...] I submitted an article to IBM's developerWorks recently on running WebSphere apps alongside PHP which share a single Apache and DB2 instance. The example code I provided with it uses a Struts application as a CMS to a PHP front-end. With that set up the situation that is described on the Apache list might be possible. The article is "tentatively" scheduled for publication on May 11, next Wednesday. I'll ping the list if/when it goes live. :) Daniel Krook, Advisory IT Specialist Application Development, Production Services - Tools, ibm.com Personal: http://info.krook.org/ BluePages: http://w3.ibm.com/bluepages?searchcnum=9A9796897 From chsnyder at gmail.com Mon May 2 14:59:16 2005 From: chsnyder at gmail.com (csnyder) Date: Mon, 2 May 2005 14:59:16 -0400 Subject: [nycphp-talk] Struts and PHP In-Reply-To: <0MKz5u-1DSfOR36W4-0005Eb@mrelay.perfora.net> References: <0MKz5u-1DSfOR36W4-0005Eb@mrelay.perfora.net> Message-ID: On 5/2/05, Hans Zaunere wrote: > > Interesting thread developing on the Struts Apache Mailing list. Follow it here: > > http://mail-archives.apache.org/mod_mbox/struts-user/200505.mbox/threads.html > > Subject "Struts with PHP" I have no idea what any of the words mean, but I wonder if this would be helpful to someone trying to hook PHP into Struts: http://www.php.net/manual/en/ref.java.php Seems like you should be able to pass stuff back and forth with no problem. From lists at zaunere.com Mon May 2 15:04:11 2005 From: lists at zaunere.com (Hans Zaunere) Date: Mon, 2 May 2005 15:04:11 -0400 Subject: [nycphp-talk] Struts and PHP In-Reply-To: Message-ID: <0MKz5u-1DSgDE3Vzi-0006cK@mrelay.perfora.net> > > Interesting thread developing on the Struts Apache Mailing list. Follow it here: > > > > http://mail-archives.apache.org/mod_mbox/struts-user/200505.mbox/threads.html > > > > Subject "Struts with PHP" > > > I have no idea what any of the words mean, but I wonder if this would > be helpful to someone trying to hook PHP into Struts: > http://www.php.net/manual/en/ref.java.php > > Seems like you should be able to pass stuff back and forth with no problem. Yeah, although I'm not sure how complete it is. I think Zend is also doing some work on this front. Would be a cool topic for a presentation - Krook? Zend folks? --- Hans Zaunere President, Founder New York PHP http://www.nyphp.org AMP Technology Supporting Apache, MySQL and PHP From matt at jobsforge.com Mon May 2 15:17:11 2005 From: matt at jobsforge.com (Matthew Terenzio) Date: Mon, 2 May 2005 15:17:11 -0400 Subject: [nycphp-talk] Struts and PHP In-Reply-To: <0MKz5u-1DSgDE3Vzi-0006cK@mrelay.perfora.net> References: <0MKz5u-1DSgDE3Vzi-0006cK@mrelay.perfora.net> Message-ID: <4d68b7639ac2c613cdd8e2336cdf27c0@jobsforge.com> On May 2, 2005, at 3:04 PM, Hans Zaunere wrote: > Yeah, although I'm not sure how complete it is. I think Zend is also > doing some work on this front. I've always thought it would be neat if you could write in PHP or Python or Javascript and compile it into JVM bytecode. If Microsoft can do it with Common Language Runtime why can't we? I'm actually surprised more progress hasn't been made in this area. From krook at us.ibm.com Mon May 2 15:53:34 2005 From: krook at us.ibm.com (Daniel Krook) Date: Mon, 2 May 2005 15:53:34 -0400 Subject: [nycphp-talk] Struts and PHP In-Reply-To: <4d68b7639ac2c613cdd8e2336cdf27c0@jobsforge.com> Message-ID: > > Yeah, although I'm not sure how complete it is. I think Zend is also > > doing some work on this front. > > I've always thought it would be neat if you could write in PHP or > Python or Javascript and compile it into JVM bytecode. > > If Microsoft can do it with Common Language Runtime why can't we? I'm > actually surprised more progress hasn't been made in this area. There is some movement towards this in the JSR mentioned in the Apache list thread: JSR 223: Scripting for the Java Platform http://jcp.org/en/jsr/detail?id=223 Zend is one of the members of the expert group on this request. It's not compilation into bytecode, but a way to use the language within a JVM. The PHP scripts would be included as part of the deployment unit for execution an application server (EAR or WAR... bundles of JSPs and servlets). "When Java developers write Web Applications, they write classes that interact with these objects in well defined security, resource and class loader contexts. The proposed specification will describe which of these Java objects will be exposed to pages written in other scripting languages. The specification will be grounded on at least one concrete scripting language example, PHP, but the concepts will remain independent of the scripting language and, if at all possible, the EG will also explore the bindings to at least another scripting language." Daniel Krook, Advisory IT Specialist Application Development, Production Services - Tools, ibm.com Personal: http://info.krook.org/ BluePages: http://w3.ibm.com/bluepages?searchcnum=9A9796897 From adam at trachtenberg.com Mon May 2 17:31:22 2005 From: adam at trachtenberg.com (Adam Maccabee Trachtenberg) Date: Mon, 2 May 2005 17:31:22 -0400 (EDT) Subject: [nycphp-talk] Struts and PHP In-Reply-To: <0MKz5u-1DSgDE3Vzi-0006cK@mrelay.perfora.net> References: <0MKz5u-1DSgDE3Vzi-0006cK@mrelay.perfora.net> Message-ID: On Mon, 2 May 2005, Hans Zaunere wrote: > > I have no idea what any of the words mean, but I wonder if this would > > be helpful to someone trying to hook PHP into Struts: > > http://www.php.net/manual/en/ref.java.php > > > > Seems like you should be able to pass stuff back and forth with no problem. > > Yeah, although I'm not sure how complete it is. I think Zend is also doing some work on this front. > > Would be a cool topic for a presentation - Krook? Zend folks? Don't waste your time. This is old and unmaintained. Even Sam Ruby agrees with me. :) -adam -- adam at trachtenberg.com | http://www.trachtenberg.com author of o'reilly's "upgrading to php 5" and "php cookbook" avoid the holiday rush, buy your copies today! From jayeshsh at ceruleansky.com Mon May 2 18:44:00 2005 From: jayeshsh at ceruleansky.com (Jayesh Sheth) Date: Mon, 2 May 2005 18:44:00 -0400 (EDT) Subject: [nycphp-talk] Struts and PHP Message-ID: <62162.69.86.84.233.1115073840.squirrel@webmail.ceruleansky.com> Hi guys, I think that Zend is working on a new replacement for the old Java-PHP bridge. I remember reading that somewhere, but I don't remember exactly where. Perhaps I am wrong, but maybe a little Googling will help me remember better. Also - another easy way to connect a Java struts system to a set of PHP scripts would be web services (XML-RPC or SOAP). You might be able to run the Struts system on the standard port 80 in Apache, and PHP on port 81, or somerthing. Then, if the Struts application needs to get information from a PHP script, and if there is a Java XML-RPC client similar to the jsolait one for JavaScript, then you could do something like (please 'translate' this JavaScript code to Java in your heads): var serviceURL = "http://localhost:81/my_php_script.php"; var methods = []; try { var service = new xmlrpc.ServiceProxy(serviceURL, methods); document.write( service.sayHello() ); } catch(e) { alert('Oops, that did not work out.'); } So, the idea is to create a ServiceProxy object in Java, and call PHP 'methods' as if they were part of a local PHP object. Hope that makes sense ... - Jay From mitch.pirtle at gmail.com Mon May 2 20:50:49 2005 From: mitch.pirtle at gmail.com (Mitch Pirtle) Date: Mon, 2 May 2005 20:50:49 -0400 Subject: [nycphp-talk] PHP Groupware (sigh) Message-ID: <330532b605050217505faf2cfb@mail.gmail.com> Ok people, I am desperate to find a PHP-based groupware system that I can use. Have taken a look at several demos and just cannot for the life of me find something that ends the pain. Here is what I am looking for: * calendar (shared) * tasks (shared) * email * files/documents (shared) Many do these things, but here is the wrench that I keep throwing in the engine. I want to be able to use external tools to access that data as well, like Thunderbird for email, and Sunbird for the calendar (iCal via ftp is fine with me). Any of you know of a package that will do the external integration part? -- Mitch From 1j0lkq002 at sneakemail.com Mon May 2 22:27:11 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Mon, 02 May 2005 22:27:11 -0400 Subject: [nycphp-talk] PHP Groupware (sigh) In-Reply-To: <330532b605050217505faf2cfb@mail.gmail.com> References: <330532b605050217505faf2cfb@mail.gmail.com> Message-ID: <27438-88737@sneakemail.com> Mitch Pirtle mitch.pirtle-at-gmail.com |nyphp dev/internal group use| wrote: >Ok people, > >I am desperate to find a PHP-based groupware system that I can use. >Have taken a look at several demos and just cannot for the life of me >find something that ends the pain. Here is what I am looking for: > >* calendar (shared) >* tasks (shared) >* email >* files/documents (shared) > >Many do these things, but here is the wrench that I keep throwing in >the engine. I want to be able to use external tools to access that >data as well, like Thunderbird for email, and Sunbird for the calendar >(iCal via ftp is fine with me). > >Any of you know of a package that will do the external integration part? > >-- Mitch > > Nope. That's the holy grail, ain't it? Chandler-matic type stuff (Basecamp, Salesforce, and you it LAMP with an API, too!) Sorry I can't help. Mitch, what's the best option you see so far? -=john From lists at zaunere.com Mon May 2 23:28:09 2005 From: lists at zaunere.com (Hans Zaunere) Date: Mon, 2 May 2005 23:28:09 -0400 Subject: [nycphp-talk] PHP Groupware (sigh) In-Reply-To: <27438-88737@sneakemail.com> Message-ID: <0MKyxe-1DSo4x1vVt-0001PL@mrelay.perfora.net> > >I am desperate to find a PHP-based groupware system that I can use. > >Have taken a look at several demos and just cannot for the life of me > >find something that ends the pain. Here is what I am looking for: > > > >* calendar (shared) > >* tasks (shared) > >* email > >* files/documents (shared) > > > >Many do these things, but here is the wrench that I keep throwing in > >the engine. I want to be able to use external tools to access that > >data as well, like Thunderbird for email, and Sunbird for the calendar > >(iCal via ftp is fine with me). > > > >Any of you know of a package that will do the external integration part? > > > >-- Mitch > > > > > Nope. That's the holy grail, ain't it? Chandler-matic type stuff > (Basecamp, Salesforce, and you it LAMP with an API, too!) Ditto... that's why Exchange is king... Now, there is an "Exchange" that runs on Linux, and actually works quite well. If your folks are using Outlook, Outlook 2003 doesn't even know the difference. You might also want to check out Novell - they may be working on something, or have a beta already under SuSE. I believe there were/are some projects on that attempt similar things, but then you likely won't have the PHP/Web side. H From brent at landover.com Tue May 3 08:39:30 2005 From: brent at landover.com (Brent Baisley) Date: Tue, 3 May 2005 08:39:30 -0400 Subject: [nycphp-talk] PHP Groupware (sigh) In-Reply-To: <330532b605050217505faf2cfb@mail.gmail.com> References: <330532b605050217505faf2cfb@mail.gmail.com> Message-ID: <0a817a6f6ddc4ac24921c3577072d47c@landover.com> I haven't seen anything that does all those nicely. You could create your own based on things that are out there. It would take a bit of coding to tie it all together, but since you have the source code, it would be doable. For calendar, you may look at WebCalendar (http://www.k5n.us/webcalendar.php), for tasks there is a very nice TasksPro (http://www.taskspro.com/), for email there is SquirrelMail of course. Can't think of anything for files/documents. For email, you may also look at dbMail for the backend, which uses MySQL for storage, so you'll be able to access emails in just about any way you want. On May 2, 2005, at 8:50 PM, Mitch Pirtle wrote: > Ok people, > > I am desperate to find a PHP-based groupware system that I can use. > Have taken a look at several demos and just cannot for the life of me > find something that ends the pain. Here is what I am looking for: > > * calendar (shared) > * tasks (shared) > * email > * files/documents (shared) > > Many do these things, but here is the wrench that I keep throwing in > the engine. I want to be able to use external tools to access that > data as well, like Thunderbird for email, and Sunbird for the calendar > (iCal via ftp is fine with me). > > Any of you know of a package that will do the external integration > part? > > -- Mitch > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > > -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577 From tom at supertom.com Tue May 3 08:56:19 2005 From: tom at supertom.com (Tom Melendez) Date: Tue, 03 May 2005 08:56:19 -0400 Subject: [nycphp-talk] PHP Groupware (sigh) In-Reply-To: <0a817a6f6ddc4ac24921c3577072d47c@landover.com> References: <330532b605050217505faf2cfb@mail.gmail.com> <0a817a6f6ddc4ac24921c3577072d47c@landover.com> Message-ID: <427774F3.8050709@supertom.com> Although not complete as of yet, it is coming: http://www.hula-project.org/Hula_Features This project is sponsored by Novell, and looks pretty damn sweet. My coworker has it running at home, it is buggy, but pretty cool nonetheless. Tom http://www.liphp.org Brent Baisley wrote: > I haven't seen anything that does all those nicely. You could create > your own based on things that are out there. It would take a bit of > coding to tie it all together, but since you have the source code, it > would be doable. > For calendar, you may look at WebCalendar > (http://www.k5n.us/webcalendar.php), for tasks there is a very nice > TasksPro (http://www.taskspro.com/), for email there is SquirrelMail > of course. Can't think of anything for files/documents. > > For email, you may also look at dbMail for the backend, which uses > MySQL for storage, so you'll be able to access emails in just about > any way you want. > > On May 2, 2005, at 8:50 PM, Mitch Pirtle wrote: > >> Ok people, >> >> I am desperate to find a PHP-based groupware system that I can use. >> Have taken a look at several demos and just cannot for the life of me >> find something that ends the pain. Here is what I am looking for: >> >> * calendar (shared) >> * tasks (shared) >> * email >> * files/documents (shared) >> >> Many do these things, but here is the wrench that I keep throwing in >> the engine. I want to be able to use external tools to access that >> data as well, like Thunderbird for email, and Sunbird for the calendar >> (iCal via ftp is fine with me). >> >> Any of you know of a package that will do the external integration part? >> >> -- Mitch >> _______________________________________________ >> New York PHP Talk Mailing List >> AMP Technology >> Supporting Apache, MySQL and PHP >> http://lists.nyphp.org/mailman/listinfo/talk >> http://www.nyphp.org >> >> From psaw at pswebcode.com Tue May 3 09:03:51 2005 From: psaw at pswebcode.com (Peter Sawczynec) Date: Tue, 3 May 2005 09:03:51 -0400 Subject: [nycphp-talk] PHP Groupware (sigh) In-Reply-To: <330532b605050217505faf2cfb@mail.gmail.com> Message-ID: <001f01c54fe0$90e19a60$6400a8c0@yourx1adg12jme> Please look at: PHPProjekt http://www.phprojekt.com/features.php Has what you need, even has chat... -----Original Message----- From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Mitch Pirtle Sent: Monday, May 02, 2005 8:51 PM To: NYPHP Talk Subject: [nycphp-talk] PHP Groupware (sigh) Ok people, I am desperate to find a PHP-based groupware system that I can use. Have taken a look at several demos and just cannot for the life of me find something that ends the pain. Here is what I am looking for: * calendar (shared) * tasks (shared) * email * files/documents (shared) Many do these things, but here is the wrench that I keep throwing in the engine. I want to be able to use external tools to access that data as well, like Thunderbird for email, and Sunbird for the calendar (iCal via ftp is fine with me). Any of you know of a package that will do the external integration part? -- Mitch _______________________________________________ New York PHP Talk Mailing List AMP Technology Supporting Apache, MySQL and PHP http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org From nhart at musicpf.org Tue May 3 09:10:00 2005 From: nhart at musicpf.org (NH) Date: Tue, 03 May 2005 09:10:00 -0400 Subject: [nycphp-talk] PHP Groupware (sigh) In-Reply-To: <330532b605050217505faf2cfb@mail.gmail.com> References: <330532b605050217505faf2cfb@mail.gmail.com> Message-ID: <42777828.5020606@musicpf.org> Mitch Pirtle wrote: >Ok people, > >I am desperate to find a PHP-based groupware system that I can use. >Have taken a look at several demos and just cannot for the life of me >find something that ends the pain. Here is what I am looking for: > >* calendar (shared) >* tasks (shared) >* email >* files/documents (shared) > >Many do these things, but here is the wrench that I keep throwing in >the engine. I want to be able to use external tools to access that >data as well, like Thunderbird for email, and Sunbird for the calendar >(iCal via ftp is fine with me). > >Any of you know of a package that will do the external integration part? > >-- Mitch >_______________________________________________ >New York PHP Talk Mailing List >AMP Technology >Supporting Apache, MySQL and PHP >http://lists.nyphp.org/mailman/listinfo/talk >http://www.nyphp.org > > > > Have you looked at egroupware? (www.egroupware.org). I was playing with this some time back and it looked quite promising. For secure document sharing, take a look at OpenAFS. -Nick H. From chsnyder at gmail.com Tue May 3 09:56:43 2005 From: chsnyder at gmail.com (csnyder) Date: Tue, 3 May 2005 09:56:43 -0400 Subject: [nycphp-talk] PHP Groupware (sigh) In-Reply-To: <42777828.5020606@musicpf.org> References: <330532b605050217505faf2cfb@mail.gmail.com> <42777828.5020606@musicpf.org> Message-ID: I'm working on one of these (though the name Groupware makes me shudder) based on earlier forays into calendaring, file sharing, and mailing lists. Not that it helps you right now, Mitch, but the future is bright for "Exchange workarounds" coded with PHP. Glad to see that other projects are coming along as well. From max at neuropunks.org Tue May 3 10:07:05 2005 From: max at neuropunks.org (max) Date: Tue, 3 May 2005 09:07:05 -0500 Subject: [nycphp-talk] PHP Groupware (sigh) In-Reply-To: <0MKyxe-1DSo4x1vVt-0001PL@mrelay.perfora.net> References: <27438-88737@sneakemail.com> <0MKyxe-1DSo4x1vVt-0001PL@mrelay.perfora.net> Message-ID: <20050503140705.GA25852@neuropunks.org> Yes, check this out: http://www.bynari.net/ Its not free, but its a good and solid solution. Its basically postfix, openldap, imap/pop server with some custom glue, and not too ridiculous of a licensing scheme. I am not terribly up to date on this type of software, but in the past when I had to find something like this for a client, I ended up recommending spending money, because I wasnt able to find anything that was a complete solution for free. Even on freshmeat the ones that *seem* to be good are not free. You can always code alot and charge 100 bucks an hour : ) O, Mon, May 02, 2005 at 11:28:09PM -0400, Hans Zaunere wrote: > > > >I am desperate to find a PHP-based groupware system that I can use. > > >Have taken a look at several demos and just cannot for the life of me > > >find something that ends the pain. Here is what I am looking for: > > > > > >* calendar (shared) > > >* tasks (shared) > > >* email > > >* files/documents (shared) > > > > > >Many do these things, but here is the wrench that I keep throwing in > > >the engine. I want to be able to use external tools to access that > > >data as well, like Thunderbird for email, and Sunbird for the calendar > > >(iCal via ftp is fine with me). > > > > > >Any of you know of a package that will do the external integration part? > > > > > >-- Mitch > > > > > > > > Nope. That's the holy grail, ain't it? Chandler-matic type stuff > > (Basecamp, Salesforce, and you it LAMP with an API, too!) > > Ditto... that's why Exchange is king... > > Now, there is an "Exchange" that runs on Linux, and actually works quite well. If your folks are using Outlook, Outlook 2003 doesn't even know the difference. > > You might also want to check out Novell - they may be working on something, or have a beta already under SuSE. I believe there were/are some projects on that attempt similar things, but then you likely won't have the PHP/Web side. > > H > > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > From mwithington at PLMresearch.com Tue May 3 10:14:32 2005 From: mwithington at PLMresearch.com (Mark Withington) Date: Tue, 3 May 2005 10:14:32 -0400 Subject: [nycphp-talk] PHP Groupware (sigh) Message-ID: <1F3CD8DDFB6A9B4C9B8DD06E4A7DE358D6A180@network.PLMresearch.com> Not sure if this gets you any closer, but try looking at TUTOS http://www.tutos.org/homepage/ -------------------------- Mark L. Withington PLMresearch v: 508-746-2383 m: 508-801-0181 Calendar: http://www.plmdev.com/plmr/plmresearch.com/calendar.php > -----Original Message----- > From: talk-bounces at lists.nyphp.org > [mailto:talk-bounces at lists.nyphp.org] On Behalf Of max > Sent: Tuesday, May 03, 2005 10:07 AM > To: NYPHP Talk > Subject: Re: [nycphp-talk] PHP Groupware (sigh) > > > Yes, check this out: http://www.bynari.net/ > Its not free, but its a good and solid solution. Its > basically postfix, openldap, imap/pop server with some custom > glue, and not too ridiculous of a licensing scheme. I am not > terribly up to date on this type of software, but in the past > when I had to find something like this for a client, I ended > up recommending spending money, because I wasnt able to find > anything that was a complete solution for free. Even on > freshmeat the ones that *seem* to be good are not free. You > can always code alot and charge 100 bucks an hour : ) > > > O, Mon, May 02, 2005 at 11:28:09PM -0400, Hans Zaunere wrote: > > > > > >I am desperate to find a PHP-based groupware system that > I can use. > > > >Have taken a look at several demos and just cannot for > the life of > > > >me find something that ends the pain. Here is what I am looking > > > >for: > > > > > > > >* calendar (shared) > > > >* tasks (shared) > > > >* email > > > >* files/documents (shared) > > > > > > > >Many do these things, but here is the wrench that I keep > throwing > > > >in the engine. I want to be able to use external tools to access > > > >that data as well, like Thunderbird for email, and > Sunbird for the > > > >calendar (iCal via ftp is fine with me). > > > > > > > >Any of you know of a package that will do the external > integration > > > >part? > > > > > > > >-- Mitch > > > > > > > > > > > Nope. That's the holy grail, ain't it? Chandler-matic type stuff > > > (Basecamp, Salesforce, and you it LAMP with an API, too!) > > > > Ditto... that's why Exchange is king... > > > > Now, there is an "Exchange" that runs on Linux, and actually works > > quite well. If your folks are using Outlook, Outlook 2003 doesn't > > even know the difference. > > > > You might also want to check out Novell - they may be working on > > something, or have a beta already under SuSE. I believe there > > were/are some projects on that attempt similar things, but then you > > likely won't have the PHP/Web side. > > > > H > > > > > > _______________________________________________ > > New York PHP Talk Mailing List > > AMP Technology > > Supporting Apache, MySQL and PHP > > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org > > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > From agfische at email.smith.edu Tue May 3 10:31:17 2005 From: agfische at email.smith.edu (Aaron Fischer) Date: Tue, 3 May 2005 10:31:17 -0400 Subject: [nycphp-talk] Printable PHP Cheat Sheet In-Reply-To: References: Message-ID: <8afaa64501479eb7574b94d7949b2f40@email.smith.edu> Thanks for the link, that's very helpful. Looking around my office for an appropriate place of honor to put it up... -Aaron On Apr 23, 2005, at 11:07 AM, csnyder wrote: > Here's a lovely desk accessory (or even a placemat for your baby's > highchair) that might cut down on roundtrips to the PHP manual. > http://www.ilovejackdaniels.com/php_cheat_sheet.png > > I haven't checked it for typos or anything, but it looks pretty handy. > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org From mitch.pirtle at gmail.com Tue May 3 11:23:53 2005 From: mitch.pirtle at gmail.com (Mitch Pirtle) Date: Tue, 3 May 2005 11:23:53 -0400 Subject: [nycphp-talk] PHP Groupware (sigh) In-Reply-To: References: <330532b605050217505faf2cfb@mail.gmail.com> <42777828.5020606@musicpf.org> Message-ID: <330532b605050308236be17d86@mail.gmail.com> On 5/3/05, csnyder wrote: > > Not that it helps you right now, Mitch, but the future is bright for > "Exchange workarounds" coded with PHP. Glad to see that other projects > are coming along as well. Oh thanks Chris. That is really reassuring. -- Mitch, with an evil grin on his face From mitch.pirtle at gmail.com Tue May 3 11:29:13 2005 From: mitch.pirtle at gmail.com (Mitch Pirtle) Date: Tue, 3 May 2005 11:29:13 -0400 Subject: [nycphp-talk] PHP Groupware (sigh) In-Reply-To: <20050503140705.GA25852@neuropunks.org> References: <27438-88737@sneakemail.com> <0MKyxe-1DSo4x1vVt-0001PL@mrelay.perfora.net> <20050503140705.GA25852@neuropunks.org> Message-ID: <330532b605050308293f758125@mail.gmail.com> Bynari is an excellent suite of software, but is primarily targeted as an Exchange replacement. They were one of the reasons that IBM was so quick to get linux running on their mainframe servers, so they could pitch mission-critical messaging platforms and dominate that very lucrative market. I'm also looking for project management stuff, but Bynari is definitely king of the hill for general messaging/groupware stuff. The pricing is not so bad either. -- Mitch On 5/3/05, max wrote: > Yes, check this out: http://www.bynari.net/ > Its not free, but its a good and solid solution. Its basically postfix, openldap, imap/pop server with some custom glue, and not too ridiculous of a licensing scheme. > I am not terribly up to date on this type of software, but in the past when I had to find something like this for a client, I ended up recommending spending money, because I wasnt able to find anything that was a complete solution for free. Even on freshmeat the ones that *seem* to be good are not free. > You can always code alot and charge 100 bucks an hour : ) > > > O, Mon, May 02, 2005 at 11:28:09PM -0400, Hans Zaunere wrote: > > > > > >I am desperate to find a PHP-based groupware system that I can use. > > > >Have taken a look at several demos and just cannot for the life of me > > > >find something that ends the pain. Here is what I am looking for: > > > > > > > >* calendar (shared) > > > >* tasks (shared) > > > >* email > > > >* files/documents (shared) > > > > > > > >Many do these things, but here is the wrench that I keep throwing in > > > >the engine. I want to be able to use external tools to access that > > > >data as well, like Thunderbird for email, and Sunbird for the calendar > > > >(iCal via ftp is fine with me). > > > > > > > >Any of you know of a package that will do the external integration part? > > > > > > > >-- Mitch > > > > > > > > > > > Nope. That's the holy grail, ain't it? Chandler-matic type stuff > > > (Basecamp, Salesforce, and you it LAMP with an API, too!) > > > > Ditto... that's why Exchange is king... > > > > Now, there is an "Exchange" that runs on Linux, and actually works quite well. If your folks are using Outlook, Outlook 2003 doesn't even know the difference. > > > > You might also want to check out Novell - they may be working on something, or have a beta already under SuSE. I believe there were/are some projects on that attempt similar things, but then you likely won't have the PHP/Web side. > > > > H > > > > > > _______________________________________________ > > New York PHP Talk Mailing List > > AMP Technology > > Supporting Apache, MySQL and PHP > > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org > > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > From jayeshsh at ceruleansky.com Tue May 3 12:35:40 2005 From: jayeshsh at ceruleansky.com (Jayesh Sheth) Date: Tue, 3 May 2005 12:35:40 -0400 (EDT) Subject: [nycphp-talk] PHP Groupware (sigh) Message-ID: <33479.69.86.84.233.1115138140.squirrel@webmail.ceruleansky.com> Hi guys, I had tried an online demo of SuSe's OpenExchange server some time ago, and found it to be quite good. They seem to be burying it within SuSe's site now, so I don't know if this (good) product is destined to be retired after Novell's purchase of SuSe. But it is still worth a look: Screenshots: http://www.novell.com/products/openexchange/screenshots.html There is an 'open letter' to customers stating that the status of this product may change in the future: http://www.novell.com/products/openexchange/slox_future.html It is a bit expensive to license, but seems really nice. It is also web based. Best regards, - Jay Sheth From codebowl at gmail.com Tue May 3 12:59:42 2005 From: codebowl at gmail.com (Joseph Crawford) Date: Tue, 3 May 2005 12:59:42 -0400 Subject: [nycphp-talk] PHP Groupware (sigh) In-Reply-To: <33479.69.86.84.233.1115138140.squirrel@webmail.ceruleansky.com> References: <33479.69.86.84.233.1115138140.squirrel@webmail.ceruleansky.com> Message-ID: <8d9a428005050309594cf7e282@mail.gmail.com> well why doesnt NYPHP develop something like this? -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at zaunere.com Tue May 3 18:25:55 2005 From: lists at zaunere.com (Hans Zaunere) Date: Tue, 3 May 2005 18:25:55 -0400 Subject: [nycphp-talk] Two Interesting Stories Message-ID: <0MKz1m-1DT5q048E4-0004od@mrelay.perfora.net> > Subject: Oracle's announced intention to lead the effort to build an open source and > support PHP in a big way > > http://www.oracle.com/technology/tech/php/index.html > Title: > GPL Sued For "Software Price Fixing" > > Link: > http://linuxbusinessnews.sys-con.com/read/80782.htm --- Hans Zaunere President, Founder New York PHP http://www.nyphp.org AMP Technology Supporting Apache, MySQL and PHP From chsnyder at gmail.com Tue May 3 18:40:43 2005 From: chsnyder at gmail.com (csnyder) Date: Tue, 3 May 2005 18:40:43 -0400 Subject: [nycphp-talk] Two Interesting Stories In-Reply-To: <0MKz1m-1DT5q048E4-0004od@mrelay.perfora.net> References: <0MKz1m-1DT5q048E4-0004od@mrelay.perfora.net> Message-ID: On 5/3/05, Hans Zaunere wrote: > > Title: > > GPL Sued For "Software Price Fixing" In other news, Walmart sues libraries, alleges illegal government subsidy of media consumption. From rahmin at insite-out.com Wed May 4 09:26:43 2005 From: rahmin at insite-out.com (Rahmin Pavlovic) Date: Wed, 04 May 2005 09:26:43 -0400 Subject: [nycphp-talk] image resizing quality loss Message-ID: <4278CD93.4080702@insite-out.com> I'm building a tool to resize large jpegs down to two smaller versions. The resized images look over-sharpened, with jaggedy-edges. I can't tell if this is a result of how I'm doing it or if it's something else. Here's basically what I'm doing: $image_file=@imagecreatefromjpeg('temp.jpg'); $new_image=imagecreate($new_width,$new_height); $new_image_name=$naming_convention.'.jpg'; imagecopyresized($new_image,$image_file,0,0,0,0,$new_width,$new_height,$image_size[0],$image_size[1]); imagejpeg($new_image,$new_image_name,100); Even tho I have the jpeg quality set to 100, the new images look way brighter, sharper and more pixelated, detracting from the quality. Does anyone know if/how I can tweak this behavior? From dcech at phpwerx.net Wed May 4 09:23:38 2005 From: dcech at phpwerx.net (Dan Cech) Date: Wed, 04 May 2005 09:23:38 -0400 Subject: [nycphp-talk] image resizing quality loss In-Reply-To: <4278CD93.4080702@insite-out.com> References: <4278CD93.4080702@insite-out.com> Message-ID: <4278CCDA.1090806@phpwerx.net> You may want to look into using the imagecopyresampled function if you are running GD 2.0.1 or later. I would also recommend investigating ImageMagick, as I've had very good luck with it in the past. (Personally I like to use the "montage" program it provides for doing image resizing and thumbnails.) Dan Rahmin Pavlovic wrote: > I'm building a tool to resize large jpegs down to two smaller versions. > The resized images look over-sharpened, with jaggedy-edges. I can't > tell if this is a result of how I'm doing it or if it's something else. > Here's basically what I'm doing: > > $image_file=@imagecreatefromjpeg('temp.jpg'); > $new_image=imagecreate($new_width,$new_height); > $new_image_name=$naming_convention.'.jpg'; > imagecopyresized($new_image,$image_file,0,0,0,0,$new_width,$new_height,$image_size[0],$image_size[1]); > > imagejpeg($new_image,$new_image_name,100); > > Even tho I have the jpeg quality set to 100, the new images look way > brighter, sharper and more pixelated, detracting from the quality. Does > anyone know if/how I can tweak this behavior? From psaw at pswebcode.com Wed May 4 11:17:53 2005 From: psaw at pswebcode.com (Peter Sawczynec) Date: Wed, 4 May 2005 11:17:53 -0400 Subject: [nycphp-talk] image resizing quality loss In-Reply-To: <4278CD93.4080702@insite-out.com> Message-ID: <000d01c550bc$74b415c0$6400a8c0@yourx1adg12jme> I have worked on several projects now where I have used gd 1.x, gd 2.x and ImageMagick 6.x My casual observations have been: gd 1.x to be poorer. gd 2.x to much better in quality. And, ImageMagick 6.x to be real good and faster. Peter -----Original Message----- From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Rahmin Pavlovic Sent: Wednesday, May 04, 2005 9:27 AM To: NYPHP Talk Subject: [nycphp-talk] image resizing quality loss I'm building a tool to resize large jpegs down to two smaller versions. The resized images look over-sharpened, with jaggedy-edges. I can't tell if this is a result of how I'm doing it or if it's something else. Here's basically what I'm doing: $image_file=@imagecreatefromjpeg('temp.jpg'); $new_image=imagecreate($new_width,$new_height); $new_image_name=$naming_convention.'.jpg'; imagecopyresized($new_image,$image_file,0,0,0,0,$new_width,$new_height,$imag e_size[0],$image_size[1]); imagejpeg($new_image,$new_image_name,100); Even tho I have the jpeg quality set to 100, the new images look way brighter, sharper and more pixelated, detracting from the quality. Does anyone know if/how I can tweak this behavior? _______________________________________________ New York PHP Talk Mailing List AMP Technology Supporting Apache, MySQL and PHP http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org From 1j0lkq002 at sneakemail.com Wed May 4 11:55:09 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Wed, 04 May 2005 11:55:09 -0400 Subject: [nycphp-talk] [OT] is your firewall getting you dropped from the search engines? In-Reply-To: <20050502155811.GA97307@neuropunks.org> References: <20050502150016.GA22843@neuropunks.org> <29862-56419@sneakemail.com> <20050502155811.GA97307@neuropunks.org> Message-ID: <23949-61519@sneakemail.com> Given the interest in search engine work I'm cross-posting this here f.y.i. Reports are coming in that SonicWall firewalls are now delivered preconfigured to block any IP that requests robots.txt. SonicWall allegedy included this via two of the thousands of recommended default security policies. What this means is that search engine spiders will be blocked from your site, and that will lead to being dropped from the indexes. In fact, some webmasters only found out about this when multiple websites were dropped following a firewall upgrade. This appears to be a major blunder, given how difficult it can be to get back into some SEs these days. The justification is ok, but having it ON by default or as part of a set of recommended policies is a blunder. (because robots.txt holds info on where you do not want spiders to go, it may highlight areas of your web server that contain privileged information. Given that, the robots.txt may provide sensitive info, and that is why Sonicwall claims it is a security risk) Since many webmasters have no involvement with their network firewalls it is probably very wise to give a heads-up to the netadmin people, or to otherwise be aware of this issue. see http://software.sonicwall.com/applications/ips/index.asp?ev=sig&sigid=1600 http://software.sonicwall.com/applications/ips/index.asp?ev=sig&sigid=1601 http://www.webmasterworld.com/forum93/631.htm -=john andrews http://www.seo-fun.com From yury at heavenspa.com Wed May 4 11:57:50 2005 From: yury at heavenspa.com (Yury :: heavenspa web services) Date: Wed, 4 May 2005 11:57:50 -0400 Subject: [nycphp-talk] FTP - users/access In-Reply-To: <000d01c550bc$74b415c0$6400a8c0@yourx1adg12jme> Message-ID: Hi folks.. i need to find an easy way to make FTP users on the fly. Client wants to give users individual usernames/passwords for FTP access ( can be 10 - 100 ). Can you suggest a script or an easy way to accomdate this.. should be relatively easy as the cleint wants to be able to do it himself. tia y From atul at monkeyclan.com Wed May 4 12:03:39 2005 From: atul at monkeyclan.com (Atul Ohri) Date: Wed, 04 May 2005 12:03:39 -0400 Subject: [nycphp-talk] image resizing quality loss Message-ID: <4278F25B.3010102@monkeyclan.com> I also have used ImageMagick 6.x and GD 2.x and although ImageMagick appears to be easier to use GD is not bad if you want to just use something that's already built into PHP. There's a couple reasons you're getting poor image quality. Definitely use imagecopyresampled, as Dan recommended, and also use imagecreatetruecolor instead of imagecreate. Hope that helps! Atul From gatzby3jr at gmail.com Wed May 4 12:45:30 2005 From: gatzby3jr at gmail.com (Brian O'Connor) Date: Wed, 4 May 2005 12:45:30 -0400 Subject: [nycphp-talk] image resizing quality loss In-Reply-To: <4278F25B.3010102@monkeyclan.com> References: <4278F25B.3010102@monkeyclan.com> Message-ID: <29da5d15050504094551fae25d@mail.gmail.com> I had the same problem on my website and imagecreatetruecolor solved it for me. On 5/4/05, Atul Ohri wrote: > I also have used ImageMagick 6.x and GD 2.x and although ImageMagick > appears to be easier to use GD is not bad if you want to just use > something that's already built into PHP. > > There's a couple reasons you're getting poor image quality. Definitely > use imagecopyresampled, as Dan recommended, and also use > imagecreatetruecolor instead of imagecreate. > > Hope that helps! > > Atul > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > -- Brian O'Connor From rahmin at insite-out.com Wed May 4 12:45:42 2005 From: rahmin at insite-out.com (Rahmin Pavlovic) Date: Wed, 4 May 2005 12:45:42 -0400 Subject: [nycphp-talk] image resizing quality loss Message-ID: <200505041645.j44GjgZb000366@webmail3.megamailservers.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From chsnyder at gmail.com Wed May 4 12:58:02 2005 From: chsnyder at gmail.com (csnyder) Date: Wed, 4 May 2005 12:58:02 -0400 Subject: [nycphp-talk] [OT] is your firewall getting you dropped from the search engines? In-Reply-To: <23949-61519@sneakemail.com> References: <20050502150016.GA22843@neuropunks.org> <29862-56419@sneakemail.com> <20050502155811.GA97307@neuropunks.org> <23949-61519@sneakemail.com> Message-ID: On 5/4/05, inforequest <1j0lkq002 at sneakemail.com> wrote: > (because robots.txt holds info on where you do not want spiders to go, > it may highlight areas of your web server that contain privileged > information. Given that, the robots.txt may provide sensitive info, and > that is why Sonicwall claims it is a security risk) The argument that robots.txt can be used as a roadmap to private areas is bogus -- private areas should be password protected. I suppose they would consider rel="nofollow" tags to be a security risk as well, eh? From danielc at analysisandsolutions.com Wed May 4 13:43:28 2005 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Wed, 4 May 2005 13:43:28 -0400 Subject: [nycphp-talk] SecurityFocus Newsletter #297 Message-ID: <20050504174327.GA28503@panix.com> SecurityFocus Newsletter #297 PHP --- PHP Group PHP Multiple Unspecified Vulnerabilities [in 4.3.11 and 5.0.3] http://www.securityfocus.com/bid/13143 PHP Group Exif Module IFD Tag Integer Overflow Vulnerability http://www.securityfocus.com/bid/13163 PHP Group Exif Module IFD Nesting Denial Of Service Vulnerability http://www.securityfocus.com/bid/13164 APPLICATIONS USING PHP ---------------------- RadScripts RadBids Gold Multiple Vulnerabilities http://www.securityfocus.com/bid/13080 Azerbaijan Development Group AzDGDatingPlatinum Multiple Vulnerability http://www.securityfocus.com/bid/13082 File Upload Script PHPBB Module Arbitrary Script Upload Vulnerability http://www.securityfocus.com/bid/13084 ModernGigabyte ModernBill News.PHP File Include Vulnerability http://www.securityfocus.com/bid/13086 ModernGigabyte ModernBill C_CODE Parameter Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13087 ModernGigabyte ModernBill Aid Parameter Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13089 TowerBlog User Credential Exposure Weakness http://www.securityfocus.com/bid/13090 Zoom Media Gallery Index.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/13094 Invision Power Board ST Parameter SQL Injection Vulnerability http://www.securityfocus.com/bid/13097 JPortal Banner.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/13103 AEwebworks Dating Software AeDating Index.PHP Local File Inc... http://www.securityfocus.com/bid/13108 AEwebworks Dating Software AeDating Sdating.PHP SQL Injectio... http://www.securityfocus.com/bid/13111 AEwebworks Dating Software AeDating Control Panel Cross-Site... http://www.securityfocus.com/bid/13113 XAMPP CDS.PHP Remote HTML Injection Vulnerability http://www.securityfocus.com/bid/13126 XAMPP Phonebook.PHP Remote HTML Injection Vulnerability http://www.securityfocus.com/bid/13127 XAMPP Insecure Default Password Disclosure Vulnerability http://www.securityfocus.com/bid/13131 EGroupWare EMail Attachment Information Disclosure Vulnerability http://www.securityfocus.com/bid/13137 Pinnacle Cart Index.PHP Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13138 PHPBB2 Plus GroupCP.PHP Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13149 PHPBB2 Plus Index.PHP Multiple Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13150 PHPBB2 Plus Portal.PHP Multiple Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13151 PHPBB2 Plus ViewForum.PHP Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13152 PHPBB2 Plus ViewTopic.PHP Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13153 PHPBB Photo Album Module Album_Search.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/13155 PHPBB Photo Album Module Album_Cat.PHP Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13157 PHPBB Photo Album Module Album_Comment.PHP Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13158 S9Y Serendipity Exit.PHP SQL injection Vulnerability http://www.securityfocus.com/bid/13161 All4WWW-HomePageCreator Index.PHP Arbitrary Remote File Incl... http://www.securityfocus.com/bid/13169 SPHPBlog Search.PHP Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13170 -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 From chsnyder at gmail.com Wed May 4 13:58:47 2005 From: chsnyder at gmail.com (csnyder) Date: Wed, 4 May 2005 13:58:47 -0400 Subject: [nycphp-talk] SecurityFocus Newsletter #297 In-Reply-To: <20050504174327.GA28503@panix.com> References: <20050504174327.GA28503@panix.com> Message-ID: On 5/4/05, Daniel Convissor wrote: > SecurityFocus Newsletter #297 Looks like Cross Site Scripting wins this week! Maybe we should start a pool... -- Chris Snyder http://chxo.com/ From danielc at analysisandsolutions.com Wed May 4 14:19:02 2005 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Wed, 4 May 2005 14:19:02 -0400 Subject: [nycphp-talk] SecurityFocus Newsletter #298 Message-ID: <20050504181902.GA4370@panix.com> SecurityFocus Newsletter #298 SecurityFocus Newsletter #298APPLICATIONS USING PHP ---------------------- Ariadne CMS Remote File Include Vulnerability http://www.securityfocus.com/bid/13206 PHPBB Remote Mod.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/13209 Datenbank Module For PHPBB Remote Mod.PHP Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13210 eGroupWare Multiple Cross-Site Scripting and SQL Injection V... http://www.securityfocus.com/bid/13212 Coppermine Photo Gallery X-Forwarded-For Logging HTML Inject... http://www.securityfocus.com/bid/13218 JAWS Glossary HTML Injection Vulnerability http://www.securityfocus.com/bid/13254 CityPost PHP LNKX Message.PHP Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13255 CityPost PHP Image Editor M1 URI Parameter Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13256 CityPost PHP Image Editor M2 URI Parameter Cross-Site Script... http://www.securityfocus.com/bid/13257 CityPost PHP Image Editor M3 URI Parameter Cross-Site Script... http://www.securityfocus.com/bid/13258 CityPost PHP Image Editor Imgsrc URI Parameter Cross-Site Sc... http://www.securityfocus.com/bid/13259 CityPost PHP Image Editor M4 URI Parameter Cross-Site Script... http://www.securityfocus.com/bid/13260 CityPost Simple PHP Upload Simple-upload-53.PHP Cross-Site S... http://www.securityfocus.com/bid/13261 AZ Bulletin Board Remote File Include Vulnerability http://www.securityfocus.com/bid/13272 AZ Bulletin Board Attachment Parameter Remote Directory Trav... http://www.securityfocus.com/bid/13277 AZ Bulletin Board Directory Traversal Vulnerability http://www.securityfocus.com/bid/13278 Netref Cat_for_gen.PHP Remote PHP Script Injection Vulnerability http://www.securityfocus.com/bid/13275 PHP Labs proFile Dir URI Variable Cross-Site Scripting Vulne... http://www.securityfocus.com/bid/13276 PHP Labs proFile File URI Variable Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13282 PHPBB-Auction Module Auction_Rating.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/13283 PHPBB-Auction Module Auction_Offer.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/13284 PHProjekt Chatroom Text Submission HTML Injection Vulnerability http://www.securityfocus.com/bid/13286 Coppermine Photo Gallery Favs SQL Injection Vulnerability http://www.securityfocus.com/bid/13287 Coppermine Photo Gallery ZipDownload.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/13289 FlexPHPNews News.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/13297 ProfitCode Software PayProCart Username Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13299 ProfitCode Software PayProCart ChckOutAction Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13302 ProfitCode Software PayProCart Ckprvd Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13303 ProfitCode Software PayProCart PageID Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13304 ProfitCode Software PayProCart AdminShop HDoc Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13305 ProfitCode Software PayProCart AdminShop ModID Cross-Site Sc... http://www.securityfocus.com/bid/13306 ProfitCode Software PayProCart AdminShop TaskID Cross-Site S... http://www.securityfocus.com/bid/13307 ProfitCode Software PayProCart AdminShop ProMod Cross-Site S... http://www.securityfocus.com/bid/13308 ProfitCode Software PayProCart AdminShop MMActionComm Cross-... http://www.securityfocus.com/bid/13309 MediaWiki Unspecified HTML Tidy Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13301 RELATED STUFF ------------- Mozilla Suite And Firefox Search Plug-In Remote Script Code ... http://www.securityfocus.com/bid/13211 Mozilla Firefox PLUGINSPAGE Remote Script Code Execution Vulnerability http://www.securityfocus.com/bid/13228 Mozilla Suite And Firefox Blocked Pop-Up Window Remote Scrip... http://www.securityfocus.com/bid/13229 Mozilla Suite And Firefox Global Scope Pollution Cross-Site ... http://www.securityfocus.com/bid/13230 Mozilla Firefox Search Target Sidebar Panel Script Code Exec... http://www.securityfocus.com/bid/13231 Mozilla Suite And Firefox XPInstall JavaScript Object Instan... http://www.securityfocus.com/bid/13232 Mozilla Suite And Firefox Document Object Model Nodes Code E... http://www.securityfocus.com/bid/13233 CVS Unspecified Buffer Overflow And Memory Access Vulnerability http://www.securityfocus.com/bid/13217 -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 From 1j0lkq002 at sneakemail.com Wed May 4 14:30:53 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Wed, 4 May 2005 14:30:53 -0400 (GMT-04:00) Subject: [nycphp-talk] SecurityFocus Newsletter #297 Message-ID: <22751-25968@sneakemail.com> there was probably a tutorial published two weeks ago. I like the idea of a pool, although it would be too easy to rig ;-) -----Original Message----- From: "csnyder chsnyder-at-gmail.com |nyphp dev/internal group use|" <...> Sent: May 4, 2005 1:58 PM To: NYPHP Talk Subject: Re: [nycphp-talk] SecurityFocus Newsletter #297 On 5/4/05, Daniel Convissor wrote: > SecurityFocus Newsletter #297 Looks like Cross Site Scripting wins this week! Maybe we should start a pool... -- Chris Snyder http://chxo.com/ _______________________________________________ New York PHP Talk Mailing List AMP Technology Supporting Apache, MySQL and PHP http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org From lists at zaunere.com Wed May 4 20:18:05 2005 From: lists at zaunere.com (Hans Zaunere) Date: Wed, 4 May 2005 20:18:05 -0400 Subject: [nycphp-talk] SecurityFocus Newsletter #297 In-Reply-To: <20050504174327.GA28503@panix.com> Message-ID: <0MKz1m-1DTU463POx-00016N@mrelay.perfora.net> > SecurityFocus Newsletter #297 > > PHP > --- > PHP Group PHP Multiple Unspecified Vulnerabilities [in 4.3.11 and 5.0.3] > http://www.securityfocus.com/bid/13143 Can someone explain this one to me? There is no exploit, no description, no nothing... and this is far from the first time that security focus publishes these types of exploits, PHP or not. --- Hans Zaunere President, Founder New York PHP http://www.nyphp.org AMP Technology Supporting Apache, MySQL and PHP From lists at zaunere.com Wed May 4 20:20:35 2005 From: lists at zaunere.com (Hans Zaunere) Date: Wed, 4 May 2005 20:20:35 -0400 Subject: [nycphp-talk] FTP - users/access In-Reply-To: Message-ID: <0MKz1m-1DTU6W3ueS-00019Q@mrelay.perfora.net> > Hi folks.. i need to find an easy way to make FTP users on the fly. Client > wants to give users individual usernames/passwords for FTP access ( can be > 10 - 100 ). Can you suggest a script or an easy way to accomdate this.. > should be relatively easy as the cleint wants to be able to do it himself. Depends on the FTP daemon. If it's something modern, like ProFTPd, you can plug it into a database like MySQL, which is then trivial to work with. H From mitch.pirtle at gmail.com Wed May 4 20:49:12 2005 From: mitch.pirtle at gmail.com (Mitch Pirtle) Date: Wed, 4 May 2005 20:49:12 -0400 Subject: [nycphp-talk] FTP - users/access In-Reply-To: <0MKz1m-1DTU6W3ueS-00019Q@mrelay.perfora.net> References: <0MKz1m-1DTU6W3ueS-00019Q@mrelay.perfora.net> Message-ID: <330532b6050504174956baa48e@mail.gmail.com> On 5/4/05, Hans Zaunere wrote: > > Depends on the FTP daemon. If it's something modern, like ProFTPd, you can plug it into a database like MySQL, which is then trivial to work with. Ditto for vsftpd (very secure ftp daemon) - which not only is secure, but is fast, fast, fast! Also a good fit for virtual account setups and external authentication schemes. -- Mitch From nyphp at n0p.net Wed May 4 21:22:51 2005 From: nyphp at n0p.net (Flavio daCosta) Date: Wed, 04 May 2005 21:22:51 -0400 Subject: [nycphp-talk] SecurityFocus Newsletter #297 In-Reply-To: <0MKz1m-1DTU463POx-00016N@mrelay.perfora.net> References: <0MKz1m-1DTU463POx-00016N@mrelay.perfora.net> Message-ID: <1115256171.8891.22.camel@localhost.localdomain> On Wed, 2005-05-04 at 20:18 -0400, Hans Zaunere wrote: > > SecurityFocus Newsletter #297 > > > > PHP > > --- > > PHP Group PHP Multiple Unspecified Vulnerabilities [in 4.3.11 and 5.0.3] > > http://www.securityfocus.com/bid/13143 > > Can someone explain this one to me? There is no exploit, no description, > no nothing... and this is far from the first time that security focus > publishes these types of exploits, PHP or not. As to the authoritative answer to why they include it, I do not know, but here is my assumption. In the PHP 4.3.11 Release Announcement they mention "...addresses several security issues inside the exif and fbsql extensions as well as the unserialize(), swf_definepoly() and getimagesize() functions" http://www.php.net/release_4_3_11.php Also reviewing the ChangeLog and with all the _bug_ fixes one can only assume that many of these _could_ be potential vulnerabilities. http://www.php.net/release_4_3_11.php http://www.php.net/ChangeLog-5.php#5.0.4 All this coupled with their desire to be an definitive source for security/update information, I can see why they would identify version upgrades regardless of whether there is a known vulnerability/exploit. Just my opinion. Flavio From lists at zaunere.com Wed May 4 21:48:45 2005 From: lists at zaunere.com (Hans Zaunere) Date: Wed, 4 May 2005 21:48:45 -0400 Subject: [nycphp-talk] SecurityFocus Newsletter #297 In-Reply-To: <1115256171.8891.22.camel@localhost.localdomain> Message-ID: <0MKz1m-1DTVTr1aJL-0003Zn@mrelay.perfora.net> > > > SecurityFocus Newsletter #297 > > > > > > PHP > > > --- > > > PHP Group PHP Multiple Unspecified Vulnerabilities [in 4.3.11 and 5.0.3] > > > http://www.securityfocus.com/bid/13143 > > > > Can someone explain this one to me? There is no exploit, no description, > > no nothing... and this is far from the first time that security focus > > publishes these types of exploits, PHP or not. > > As to the authoritative answer to why they include it, I do not know, > but here is my assumption. > > In the PHP 4.3.11 Release Announcement they mention "...addresses > several security issues inside the exif and fbsql extensions as well as > the unserialize(), swf_definepoly() and getimagesize() functions" > > http://www.php.net/release_4_3_11.php > > Also reviewing the ChangeLog and with all the _bug_ fixes one can only > assume that many of these _could_ be potential vulnerabilities. > > http://www.php.net/release_4_3_11.php > > http://www.php.net/ChangeLog-5.php#5.0.4 > > All this coupled with their desire to be an definitive source for > security/update information, I can see why they would identify version > upgrades regardless of whether there is a known vulnerability/exploit. True, but they say the problems are *in* 4.3.11 - yet 4.3.11 fixes them. Perhaps a typo, but this isn't the first time of these types of alerts, and quite a serious typo. H From lists at genoverly.net Wed May 4 22:16:07 2005 From: lists at genoverly.net (michael) Date: Wed, 4 May 2005 22:16:07 -0400 Subject: [nycphp-talk] FTP - users/access In-Reply-To: <20050505005034.F3106A87AF@virtu.nyphp.org> References: <20050505005034.F3106A87AF@virtu.nyphp.org> Message-ID: <20050504221607.3f8c2a29@genoverly.com> On Wed, 4 May 2005 20:50:34 -0400 (EDT) talk-request at lists.nyphp.org wrote: > ------------------------------ > > Message: 11 > Date: Wed, 4 May 2005 20:49:12 -0400 > From: Mitch Pirtle > Subject: Re: [nycphp-talk] FTP - users/access > To: NYPHP Talk > Message-ID: <330532b6050504174956baa48e at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On 5/4/05, Hans Zaunere wrote: > > > > Depends on the FTP daemon. If it's something modern, like ProFTPd, you can plug it into a database like MySQL, which is then trivial to work with. > > Ditto for vsftpd (very secure ftp daemon) - which not only is secure, > but is fast, fast, fast! Also a good fit for virtual account setups > and external authentication schemes. > > -- Mitch > > > ------------------------------ +1 vsftp & mysql Michael -- From matt at jiffycomp.com Wed May 4 22:53:51 2005 From: matt at jiffycomp.com (Matt Morgan) Date: Wed, 04 May 2005 22:53:51 -0400 Subject: [nycphp-talk] [OT] SSH security question In-Reply-To: <20050430225655.GF28979@lola.aquick.org> References: <4273C3C0.7020008@omnistep.com> <20050430225655.GF28979@lola.aquick.org> Message-ID: <42798ABF.8010104@jiffycomp.com> Adam Fields wrote: >On Sat, Apr 30, 2005 at 06:50:17PM -0400, David Mintz wrote: > > >>sshd is running and this is happening on the port where it's listening (I >>presume). I use ssh to communicate with this box from Out There, and >>unauthorized others also attempt to, evidently. >> >> > >Change the port ssh listens on. > > I second this recommendation. All the exploit robots out there try only port 22. The only disadvantage is usually when you're behind a firewall you don't have control over. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shiflett at php.net Thu May 5 00:21:40 2005 From: shiflett at php.net (Chris Shiflett) Date: Thu, 05 May 2005 00:21:40 -0400 Subject: [nycphp-talk] SecurityFocus Newsletter #297 In-Reply-To: <0MKz1m-1DTU463POx-00016N@mrelay.perfora.net> References: <0MKz1m-1DTU463POx-00016N@mrelay.perfora.net> Message-ID: <42799F54.8030501@php.net> Hans Zaunere wrote: > > PHP Group PHP Multiple Unspecified Vulnerabilities [in 4.3.11 and 5.0.3] > > http://www.securityfocus.com/bid/13143 > > Can someone explain this one to me? There is no exploit, no description, > no nothing... and this is far from the first time that security focus > publishes these types of exploits, PHP or not. This report is likely referencing the release announcement that Ilia sent: "The PHP Development Team would like to announce the immediate release of PHP 4.3.11 and 5.0.4. These are maintenance releases that in addition to fixing over 70 non-critical bugs, address several security issues. The addressed security issues include fixes to the exif and fbsql extensions, as well as fixes to unserialize(), swf_definepoly() and getimagesize()." Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/ From leam at reuel.net Thu May 5 09:38:32 2005 From: leam at reuel.net (leam) Date: Thu, 05 May 2005 08:38:32 -0500 Subject: [nycphp-talk] Naming conventions? Message-ID: Okay, newbie time again. When I first started with PHP and MySQL I wrote some scripts to do forms and some that would be called to process the forms. I'm now going back and sorting through the mess and trying to come up with a standard naming scheme so I can get a better idea of which script does what. While I'm here I wanted to ask you wiser folks what other naming conventions you might suggest I start using now so I can avoid the pain later... ciao! leam -- From krook at us.ibm.com Thu May 5 09:54:36 2005 From: krook at us.ibm.com (Daniel Krook) Date: Thu, 5 May 2005 09:54:36 -0400 Subject: [nycphp-talk] Naming conventions? In-Reply-To: Message-ID: > Okay, newbie time again. When I first started with PHP and MySQL I wrote > some scripts to do forms and some that would be called to process the > forms. I'm now going back and sorting through the mess and trying to > come up with a standard naming scheme so I can get a better idea of > which script does what. > > While I'm here I wanted to ask you wiser folks what other naming > conventions you might suggest I start using now so I can avoid the pain > later... There are no hard and fast rules that I use, with the exception that underscores are a no-no. I can't stand them in filenames. Hyphens are the one true way to separate words in URLs. :) As for a directory structure which may be related to your question, I use the following structure (sans the application specific directories), though NYPHP Phundamentals has a whole include location how to. http://krook.org/etc/directory-structure.gif http://education.nyphp.org/phundamentals/PH_sitestructure.php?expiredate=11/5/2003 Daniel Krook, Advisory IT Specialist Application Development, Production Services - Tools, ibm.com Personal: http://info.krook.org/ BluePages: http://w3.ibm.com/bluepages?searchcnum=9A9796897 From dmintz at davidmintz.org Thu May 5 10:25:08 2005 From: dmintz at davidmintz.org (David Mintz) Date: Thu, 5 May 2005 10:25:08 -0400 (EDT) Subject: [nycphp-talk] Naming conventions? In-Reply-To: References: Message-ID: On Thu, 5 May 2005, leam wrote: > [...] > While I'm here I wanted to ask you wiser folks what other naming > conventions you might suggest I start using now so I can avoid the pain > later... I believe Schlossnagle's "Advanced PHP Programming" has a good discussion in the chapter on style. "Believe," because I don't have my copy on hand and can't quote chapter and verse. I recall reading something like, mediocre but self-consistent style is better than partially brilliant but inconsistent style. Yeah, style is a superset of "naming conventions" but I think it applies. --- David Mintz http://davidmintz.org/ From danielc at analysisandsolutions.com Thu May 5 13:04:29 2005 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Thu, 5 May 2005 13:04:29 -0400 Subject: [nycphp-talk] SecurityFocus Newsletter #297 In-Reply-To: <0MKz1m-1DTVTr1aJL-0003Zn@mrelay.perfora.net> References: <1115256171.8891.22.camel@localhost.localdomain> <0MKz1m-1DTVTr1aJL-0003Zn@mrelay.perfora.net> Message-ID: <20050505170429.GA13409@panix.com> Mr H: On Wed, May 04, 2005 at 09:48:45PM -0400, Hans Zaunere wrote: > True, but they say the problems are *in* 4.3.11 - yet 4.3.11 fixes them. A typo on my part. Meant 4.3.10. Sorry for the confusion. The announcement was vague, but I assume it was mainly intended to encourage people to upgrade. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 From 1j0lkq002 at sneakemail.com Thu May 5 19:42:32 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Thu, 05 May 2005 19:42:32 -0400 Subject: [nycphp-talk] Naming conventions? In-Reply-To: References: Message-ID: <29080-29796@sneakemail.com> Daniel Krook krook-at-us.ibm.com |nyphp dev/internal group use| wrote: >>Okay, newbie time again. When I first started with PHP and MySQL I wrote >>some scripts to do forms and some that would be called to process the >>forms. I'm now going back and sorting through the mess and trying to >>come up with a standard naming scheme so I can get a better idea of >>which script does what. >> >>While I'm here I wanted to ask you wiser folks what other naming >>conventions you might suggest I start using now so I can avoid the pain >>later... >> >> > >There are no hard and fast rules that I use, with the exception that >underscores are a no-no. I can't stand them in filenames. Hyphens are >the one true way to separate words in URLs. :) > >As for a directory structure which may be related to your question, I use >the following structure (sans the application specific directories), >though NYPHP Phundamentals has a whole include location how to. > >http://krook.org/etc/directory-structure.gif >http://education.nyphp.org/phundamentals/PH_sitestructure.php?expiredate=11/5/2003 > > > > > >Daniel Krook, Advisory IT Specialist >Application Development, Production Services - Tools, ibm.com > > George suggests (Adv PHP Prog): - underscores in function names, and suggests always using meaningful names for clarity e.g. print_hello{} - follow Sun JAVA conventions for classes and methods - always match var names to database fields when they correspond e.g. SELECT firstname --> $firstname - be cosistent as possible (whatever you call index vars, always call them that; whateveryou call max/min/whatever stick with it) Other than that he just suggests consistent, readable code. From danielc at analysisandsolutions.com Fri May 6 19:46:08 2005 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Fri, 6 May 2005 19:46:08 -0400 Subject: [nycphp-talk] SecurityFocus Newsletter #299 Message-ID: <20050506234608.GA11330@panix.com> APPLICATIONS USING PHP ---------------------- PHPBB Profile.PHP Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13344 PHPBB Viewtopic.PHP Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13345 PHPMyVisites Part Variable Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13352 PHPMyVisites Per Variable Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13356 PHPMyVisites Site Variable Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13357 PHPMyVisites Set_Lang File Include Vulnerability http://www.securityfocus.com/bid/13370 WoltLab Burning Board PMS.PHP Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13353 SWSoft Confixx Change User SQL Injection Vulnerability http://www.securityfocus.com/bid/13355 Horde Vacation Remote Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13360 Horde MNemo Remote Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13362 Horde Nag Remote Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13363 Horde Chora Remote Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13364 Horde Accounts Module Remote Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13365 Horde Forward Module Remote Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13366 Yappa-NG Unspecified Remote File Include Vulnerability http://www.securityfocus.com/bid/13371 Yappa-NG Unspecified Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/13372 Invision Power Board QPid Parameter SQL Injection Vulnerability http://www.securityfocus.com/bid/13375 GrayCMS Error.PHP Remote File Include Vulnerability http://www.securityfocus.com/bid/13381 BBlog Index.PHP HTML Injection Vulnerability http://www.securityfocus.com/bid/13397 BBlog PostID Parameter SQL Injection Vulnerability http://www.securityfocus.com/bid/13398 PHP-Calendar Search.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/13405 PHPCart Input Validation Vulnerability http://www.securityfocus.com/bid/13406 Claroline E-Learning Application Multiple Remote Input Valid... http://www.securityfocus.com/bid/13407 S9Y Serendipity BBCode Plugin HTML Injection Vulnerability http://www.securityfocus.com/bid/13411 Dream4 Koobi CMS Index.PHP P Parameter SQL Injection Vulnerability http://www.securityfocus.com/bid/13412 Dream4 Koobi CMS Index.PHP Q Parameter SQL Injection Vulnerability http://www.securityfocus.com/bid/13413 Notes Module for PHPBB SQL Injection Vulnerability http://www.securityfocus.com/bid/13417 Just William's Amazon Webstore Closeup.PHP Image Parameter C... http://www.securityfocus.com/bid/13419 Just William's Amazon Webstore CurrentIsExpanded Parameter C... http://www.securityfocus.com/bid/13425 Just William's Amazon Webstore SearchFor Parameter Cross-Sit... http://www.securityfocus.com/bid/13426 Just William's Amazon Webstore CurrentNumber Parameter Cross... http://www.securityfocus.com/bid/13427 Just William's Amazon Webstore HTTP Response Splitting Vulnerability http://www.securityfocus.com/bid/13428 MyPHP Forum Post.PHP Username Spoofing Vulnerability http://www.securityfocus.com/bid/13429 MyPHP Forum Privmsg.PHP Username Spoofing Vulnerability http://www.securityfocus.com/bid/13430 PHPCoin Multiple SQL Injection Vulnerabilities http://www.securityfocus.com/bid/13433 RELATED STUFF ------------- MySQL MaxDB HTTP GET Request Remote Buffer Overflow Vulnerability http://www.securityfocus.com/bid/13368 MySQL MaxDB WebDAV Lock Token Remote Buffer Overflow Vulnerability http://www.securityfocus.com/bid/13369 MySQL MaxDB WebDAV IF Parameter Remote Buffer Overflow Vulnerability http://www.securityfocus.com/bid/13378 -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 From leam at reuel.net Sat May 7 07:53:19 2005 From: leam at reuel.net (leam at reuel.net) Date: Sat, 7 May 2005 07:53:19 -0400 Subject: [nycphp-talk] Writing a file and ownership In-Reply-To: References: <20050430140335.GB2941@leitz> <20050430143643.GE2941@leitz> Message-ID: <20050507115319.GB2902@leitz> I still haven't found a good solution to this. I'm even more confused because it *used* to work. Not sure what to do. I have a work around, I think, but it is a fairly manual process of copying the files off the server and then putting them back after I *own* them. Any thoughts would be appreciated. I'm trying to avoid world write permissions and I can't use chown/chgrp because my user is not the same as the web server user. ciao! leam On Sun, May 01, 2005 at 08:05:18AM +0530, Sajith A wrote: > On 4/30/05, leam at reuel.net wrote: > >The shared host is Linux with the user private group so the files > have been written as > >"user:user". Until a few days ago they started to be written as > "nobody:nobody", the > >user:group the apache server runs under. The issue is that I can't > edit my own file, which > >is a problem. ;) > > If php is not properly configured[open_basedir , safe_mode], leaving > it ownership as nobody might allow other people to access you script > with thier php code. > > Did you try executing Filesystem functions from php. so after creating > file you could try changing thier permissions. > > http://in2.php.net/manual/en/ref.filesystem.php > http://in2.php.net/manual/en/features.safe-mode.php > > God bless > > Sajith A From tgales at tgaconnect.com Sat May 7 11:36:35 2005 From: tgales at tgaconnect.com (Tim Gales) Date: Sat, 7 May 2005 09:36:35 -0600 Subject: [nycphp-talk] Writing a file and ownership In-Reply-To: <20050507115319.GB2902@leitz> References: <20050430140335.GB2941@leitz> <20050507115319.GB2902@leitz> Message-ID: <200505070936.35456.tgales@tgaconnect.com> On Saturday 07 May 2005 05:53, leam at reuel.net wrote: > I still haven't found a good solution to this. I'm even more confused > because it *used* to work. ... > Any thoughts would be appreciated. I'm trying to avoid world write > permissions and I can't use chown/chgrp because my user is not the same as > the web server user. > > >The shared host is Linux with the user private group so the file > > have been written as "user:user". Until a few days ago they started to be > > written as "nobody:nobody" "the nobody group, which usually only has one member -- nobody -- should not be permitted to own, or write to, any files." http://www.onlamp.com/pub/a/apache/2004/05/28/apacheckbk.html -- T. Gales & Associates 'Helping People Connect with Technology' http://www.tgaconnect.com From dmintz at davidmintz.org Sat May 7 10:32:03 2005 From: dmintz at davidmintz.org (David Mintz) Date: Sat, 7 May 2005 10:32:03 -0400 (EDT) Subject: [nycphp-talk] Writing a file and ownership In-Reply-To: <200505070936.35456.tgales@tgaconnect.com> References: <20050430140335.GB2941@leitz> <20050507115319.GB2902@leitz> <200505070936.35456.tgales@tgaconnect.com> Message-ID: On Sat, 7 May 2005, Tim Gales wrote: > > "the nobody group, which usually only has one member -- nobody -- should not > be permitted to own, or write to, any files." > > http://www.onlamp.com/pub/a/apache/2004/05/28/apacheckbk.html It bears mentioning that there are exceptions, as Rich Bowen himself mentions in that same article. If your PHP scripts are being executed by nobody and you would like that nobody to be able to write somewhere for caching purposes, for example... What alternatives are there besides either making that cache directory world-writeable, or chowning it to nobody:nobody? --- David Mintz http://davidmintz.org/ From chsnyder at gmail.com Sat May 7 11:05:48 2005 From: chsnyder at gmail.com (csnyder) Date: Sat, 7 May 2005 11:05:48 -0400 Subject: [nycphp-talk] Writing a file and ownership In-Reply-To: References: <20050430140335.GB2941@leitz> <20050507115319.GB2902@leitz> <200505070936.35456.tgales@tgaconnect.com> Message-ID: On 5/7/05, David Mintz wrote: > What alternatives are there besides either making that cache directory > world-writeable, or chowning it to nobody:nobody? Write an ftp or sftp backend that takes the file and "uploads" it to your user account on the same server. That way the file is owned and writeable by you. Otherwise, um.... store it in a database? From chsnyder at gmail.com Sat May 7 11:07:23 2005 From: chsnyder at gmail.com (csnyder) Date: Sat, 7 May 2005 11:07:23 -0400 Subject: [nycphp-talk] Writing a file and ownership In-Reply-To: <200505070936.35456.tgales@tgaconnect.com> References: <20050430140335.GB2941@leitz> <20050507115319.GB2902@leitz> <200505070936.35456.tgales@tgaconnect.com> Message-ID: On 5/7/05, Tim Gales wrote: > "the nobody group, which usually only has one member -- nobody -- should not > be permitted to own, or write to, any files." Well, there goes the entire concept of WebDAV... From dmintz at davidmintz.org Sat May 7 12:31:37 2005 From: dmintz at davidmintz.org (David Mintz) Date: Sat, 7 May 2005 12:31:37 -0400 (EDT) Subject: [nycphp-talk] Writing a file and ownership In-Reply-To: References: <20050430140335.GB2941@leitz> <20050507115319.GB2902@leitz> <200505070936.35456.tgales@tgaconnect.com> Message-ID: On Sat, 7 May 2005, csnyder wrote: > On 5/7/05, David Mintz wrote: > > > What alternatives are there besides either making that cache directory > > world-writeable, or chowning it to nobody:nobody? > > Write an ftp or sftp backend that takes the file and "uploads" it to > your user account on the same server. That way the file is owned and > writeable by you. > > Otherwise, um.... store it in a database? Continuing with the caching example: The database idea would be a non-starter in those cases where database access is one of the expensive things that you're trying to avoid. Doesn't it seem that the s?ftp cure would have to be coded with the utmost care or it might be worse than the disease, especially on a shared host? For example, if username/password are embedded in PHP scripts that themselves are world-readable... It would be interesting to see an example or psuedocode/outline showing an implementation. --- David Mintz http://davidmintz.org/ From tgales at tgaconnect.com Sat May 7 14:57:53 2005 From: tgales at tgaconnect.com (Tim Gales) Date: Sat, 7 May 2005 12:57:53 -0600 Subject: [nycphp-talk] Writing a file and ownership In-Reply-To: References: <20050430140335.GB2941@leitz> <200505070936.35456.tgales@tgaconnect.com> Message-ID: <200505071257.53628.tgales@tgaconnect.com> csnyder writes: > On 5/7/05, Tim Gales wrote: > > "the nobody group, which usually only has one member -- nobody -- should > > not be permitted to own, or write to, any files." > > Well, there goes the entire concept of WebDAV... That's subversion -- in general you don't want to let Apache go writing around on your server. (WebDav is not a general case) -- T. Gales & Associates 'Helping People Connect with Technology' http://www.tgaconnect.com From chsnyder at gmail.com Sat May 7 13:58:34 2005 From: chsnyder at gmail.com (csnyder) Date: Sat, 7 May 2005 13:58:34 -0400 Subject: [nycphp-talk] Writing a file and ownership In-Reply-To: References: <20050430140335.GB2941@leitz> <20050507115319.GB2902@leitz> <200505070936.35456.tgales@tgaconnect.com> Message-ID: On 5/7/05, David Mintz wrote: > Doesn't it seem that the s?ftp cure would have to be coded with the utmost > care or it might be worse than the disease, especially on a shared host? > For example, if username/password are embedded in PHP scripts that > themselves are world-readable... It would be interesting to see an example > or psuedocode/outline showing an implementation. You are exactly right. It depends on which is more distasteful in a given situation: world-writeable directories and files, or the possibility that another user will discover the (s)ftp password embedded in a configuration file. On a shared host, and particularly for a cache, it's probably preferable to have nobody own the files then to risk exposing your password to all other scripts on the box. But for the caching example, the workaround could be that you render the pages on a local server that you control, which then (s)ftps them to a shared host that has a public address and scads of bandwidth. Not unlike Blogger, really. A better but more complex workaround could be that files are uploaded to a world-writeable directory that works as a drop box. A cron job, running as you, could check the drop box for new files now and then, and copy them to a normal directory with correct ownership and permissions. It should compare the file with a hash stored in a database to ensure that the file wasn't modified by someone else in the meantime. The webserver will need to clean up the drop box directory, since you won't be able to delete files owned by nobody. Three parts to that, but I think it solves most of the problems without storing a password or implicitly trusting what are, for all practical purposes, world-writeable files. ---- Chris Snyder http://chxo.com/ From codebowl at gmail.com Sat May 7 15:25:39 2005 From: codebowl at gmail.com (Joseph Crawford) Date: Sat, 7 May 2005 15:25:39 -0400 Subject: [nycphp-talk] PHP & Word Documents Message-ID: <8d9a42800505071225376a175e@mail.gmail.com> Hey everyone, has anyone here ever needed the ability to parse a word document? I have a client that creates his newsletters in MS Word and wants to upload them and send them to his users in an HTML or text based newsletter. This wouldnt be a proablem if i have ever heard of an MS Word Parser, i know there is an Excel parser class.. Is there a way to parse a word document? What i would need to do is take the contents of the word document and convert it to html, saving the images from the word doc to a directory so that the HTML links could show them. Any suggestions appreciated. Thanks. -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmintz at davidmintz.org Sat May 7 15:32:55 2005 From: dmintz at davidmintz.org (David Mintz) Date: Sat, 7 May 2005 15:32:55 -0400 (EDT) Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: <8d9a42800505071225376a175e@mail.gmail.com> References: <8d9a42800505071225376a175e@mail.gmail.com> Message-ID: On Sat, 7 May 2005, Joseph Crawford wrote: > has anyone here ever needed the ability to parse a word document? I have a > client that creates his newsletters in MS Word and wants to upload them and > send them to his users in an HTML or text based newsletter. This wouldnt be > a proablem if i have ever heard of an MS Word Parser, i know there is an > Excel parser class.. Is there a way to parse a word document? Any chance you can train the client to save it as HTML with MS Word before uploading? Your upload handler could check the content type and remind them if they forget. Then you could repair it with Tidy. --- David Mintz http://davidmintz.org/ From codebowl at gmail.com Sat May 7 15:42:16 2005 From: codebowl at gmail.com (Joseph Crawford) Date: Sat, 7 May 2005 15:42:16 -0400 Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: References: <8d9a42800505071225376a175e@mail.gmail.com> Message-ID: <8d9a42800505071242441d6d31@mail.gmail.com> i think that is the next alternative, the client is dumb and just wants to upload a word doc. I mean i was going to go the route of using TinyMCE so they could do the save as HTML, upload the photos to a directory then have the script parse all the image tags... -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.southwell at nyphp.org Sat May 7 15:47:08 2005 From: michael.southwell at nyphp.org (Michael Southwell) Date: Sat, 07 May 2005 15:47:08 -0400 Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: <8d9a42800505071225376a175e@mail.gmail.com> References: <8d9a42800505071225376a175e@mail.gmail.com> Message-ID: <6.1.2.0.2.20050507153838.02123ec0@mail.optonline.net> At 03:25 PM 5/7/2005, you wrote: >Hey everyone, > >has anyone here ever needed the ability to parse a word document? I have >a client that creates his newsletters in MS Word and wants to upload them >and send them to his users in an HTML or text based newsletter. This >wouldnt be a proablem if i have ever heard of an MS Word Parser, i know >there is an Excel parser class.. Is there a way to parse a word document? > >What i would need to do is take the contents of the word document and >convert it to html, saving the images from the word doc to a directory so >that the HTML links could show them. As David Mintz already suggested, Word has the capability of doing all of this itself. If he can't/won't save it as HTML (NB: it should be *filtered* HTML, which will strip out at least some of the garbage), you can do it yourself. I then use some macros to strip it further, at which point it is easily displayed. >Any suggestions appreciated. > >Thanks. > >-- >Joseph Crawford Jr. >Codebowl Solutions >codebowl at gmail.com >_______________________________________________ >New York PHP Talk Mailing List >AMP Technology >Supporting Apache, MySQL and PHP >http://lists.nyphp.org/mailman/listinfo/talk >http://www.nyphp.org Michael Southwell, Vice President for Education New York PHP http://nyphp.org/twoday - In-depth PHP Training Courses From dmintz at davidmintz.org Sat May 7 16:11:32 2005 From: dmintz at davidmintz.org (David Mintz) Date: Sat, 7 May 2005 16:11:32 -0400 (EDT) Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: <6.1.2.0.2.20050507153838.02123ec0@mail.optonline.net> References: <8d9a42800505071225376a175e@mail.gmail.com> <6.1.2.0.2.20050507153838.02123ec0@mail.optonline.net> Message-ID: On Sat, 7 May 2005, Michael Southwell wrote: > [...] > As David Mintz already suggested, Word has the capability of doing all of > this itself. If he can't/won't save it as HTML (NB: it should be > *filtered* HTML, which will strip out at least some of the garbage), you > can do it yourself. I then use some macros to strip it further, at which > point it is easily displayed. I think Joe would rather get PHP to do this work for him. How about just telling the client your fee for word processing is $800/hour? Comparable to an anesthesiologist or something. --- David Mintz http://davidmintz.org/ From codebowl at gmail.com Sat May 7 17:14:09 2005 From: codebowl at gmail.com (Joseph Crawford) Date: Sat, 7 May 2005 17:14:09 -0400 Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: References: <8d9a42800505071225376a175e@mail.gmail.com> <6.1.2.0.2.20050507153838.02123ec0@mail.optonline.net> Message-ID: <8d9a4280050507141436a5d89a@mail.gmail.com> haha $800/hr yea i wouldnt mind doing this but the guy doesnt want that, he wants this whole automatic system. He doesnt want to have to pay for services like that, nor does he want to take the time to do it himself, so i was going to develop a system to do it for him auto at a good price. -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From susan_shemin at yahoo.com Sat May 7 17:16:44 2005 From: susan_shemin at yahoo.com (Susan Shemin) Date: Sat, 7 May 2005 14:16:44 -0700 (PDT) Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: <8d9a42800505071225376a175e@mail.gmail.com> Message-ID: <20050507211644.71761.qmail@web53704.mail.yahoo.com> If you dump the Word document into Dreamweaver, you can graphically add the HTML/layout around the text and easily add any PHP code. Susan Joseph Crawford wrote: Hey everyone, has anyone here ever needed the ability to parse a word document? I have a client that creates his newsletters in MS Word and wants to upload them and send them to his users in an HTML or text based newsletter. This wouldnt be a proablem if i have ever heard of an MS Word Parser, i know there is an Excel parser class.. Is there a way to parse a word document? What i would need to do is take the contents of the word document and convert it to html, saving the images from the word doc to a directory so that the HTML links could show them. Any suggestions appreciated. Thanks. -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com _______________________________________________ New York PHP Talk Mailing List AMP Technology Supporting Apache, MySQL and PHP http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org --------------------------------- Yahoo! Mail Stay connected, organized, and protected. Take the tour -------------- next part -------------- An HTML attachment was scrubbed... URL: From LeeEyerman at aol.com Sat May 7 17:26:01 2005 From: LeeEyerman at aol.com (LeeEyerman at aol.com) Date: Sat, 7 May 2005 17:26:01 EDT Subject: [nycphp-talk] PHP & Word Documents Message-ID: <15d.506a20cd.2fae8c69@aol.com> You may be able to convert it to a pdf document automatically then parse that. There is a package call PDF2WEB I saw on some website. The PDF format should be easier to parse. In a message dated 5/7/2005 3:42:34 PM Eastern Daylight Time, codebowl at gmail.com writes: i think that is the next alternative, the client is dumb and just wants to upload a word doc. I mean i was going to go the route of using TinyMCE so they could do the save as HTML, upload the photos to a directory then have the script parse all the image tags... -- Joseph Crawford Jr. Codebowl Solutions _codebowl at gmail.com_ (mailto:codebowl at gmail.com) -------------- next part -------------- An HTML attachment was scrubbed... URL: From rolan at omnistep.com Sat May 7 18:13:35 2005 From: rolan at omnistep.com (Rolan Yang) Date: Sat, 07 May 2005 18:13:35 -0400 Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: <8d9a42800505071225376a175e@mail.gmail.com> References: <8d9a42800505071225376a175e@mail.gmail.com> Message-ID: <427D3D8F.9070106@omnistep.com> http://word2x.sourceforge.net/ Rolan Yang Omnistep Inc Joseph Crawford wrote: > Hey everyone, > > has anyone here ever needed the ability to parse a word document? I > have a client that creates his newsletters in MS Word and wants to > upload them and send them to his users in an HTML or text based > newsletter. This wouldnt be a proablem if i have ever heard of an MS > Word Parser, i know there is an Excel parser class.. Is there From tgales at tgaconnect.com Sat May 7 20:18:32 2005 From: tgales at tgaconnect.com (Tim Gales) Date: Sat, 7 May 2005 18:18:32 -0600 Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: <8d9a42800505071225376a175e@mail.gmail.com> References: <8d9a42800505071225376a175e@mail.gmail.com> Message-ID: <200505071818.32369.tgales@tgaconnect.com> Joseph Crawford writes: > Is there a way to parse a word document? ... > Any suggestions appreciated. Open Office will parse word documents. It stores them in files with sxw and stw extensions. They use a 'zip' format and can be unzipped into there xml components. Have a look at: http://books.evc-cit.info/ch01.php and http://www.xml.com/pub/a/2005/01/26/hacking-ooo.html Once you have some raw xml you should be able to 'xslt' it into just about anything you need. -- T. Gales & Associates 'Helping People Connect with Technology' http://www.tgaconnect.com From mitch.pirtle at gmail.com Sat May 7 18:24:09 2005 From: mitch.pirtle at gmail.com (Mitch Pirtle) Date: Sat, 7 May 2005 18:24:09 -0400 Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: <8d9a42800505071225376a175e@mail.gmail.com> References: <8d9a42800505071225376a175e@mail.gmail.com> Message-ID: <330532b6050507152426865c30@mail.gmail.com> You can do this automagically using OpenOffice.org's UNO, more specifically the Python-UNO bridge. Not aware of a PHP bridge at the moment, but this is definitely something you could handle via CGI: http://udk.openoffice.org/python/python-bridge.html -- Mitch On 5/7/05, Joseph Crawford wrote: > Hey everyone, > > has anyone here ever needed the ability to parse a word document? I have a > client that creates his newsletters in MS Word and wants to upload them and > send them to his users in an HTML or text based newsletter. This wouldnt be > a proablem if i have ever heard of an MS Word Parser, i know there is an > Excel parser class.. Is there a way to parse a word document? > > What i would need to do is take the contents of the word document and > convert it to html, saving the images from the word doc to a directory so > that the HTML links could show them. > > Any suggestions appreciated. > > Thanks. > > -- > Joseph Crawford Jr. > Codebowl Solutions > codebowl at gmail.com > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > > From leam at reuel.net Sun May 8 07:22:50 2005 From: leam at reuel.net (leam at reuel.net) Date: Sun, 8 May 2005 07:22:50 -0400 Subject: [nycphp-talk] Writing a file and ownership In-Reply-To: References: <20050430140335.GB2941@leitz> <20050507115319.GB2902@leitz> <200505070936.35456.tgales@tgaconnect.com> Message-ID: <20050508112250.GA2951@leitz> On Sat, May 07, 2005 at 01:58:34PM -0400, csnyder wrote: > On 5/7/05, David Mintz wrote: > > > Doesn't it seem that the s?ftp cure would have to be coded with the utmost > > care or it might be worse than the disease, especially on a shared host? > > For example, if username/password are embedded in PHP scripts that > > themselves are world-readable... It would be interesting to see an example > > or psuedocode/outline showing an implementation. > > You are exactly right. > > It depends on which is more distasteful in a given situation: > world-writeable directories and files, or the possibility that another > user will discover the (s)ftp password embedded in a configuration > file. On a shared host, and particularly for a cache, it's probably > preferable to have nobody own the files then to risk exposing your > password to all other scripts on the box. > > But for the caching example, the workaround could be that you render > the pages on a local server that you control, which then (s)ftps them > to a shared host that has a public address and scads of bandwidth. Not > unlike Blogger, really. > > A better but more complex workaround could be that files are uploaded > to a world-writeable directory that works as a drop box. A cron job, > running as you, could check the drop box for new files now and then, > and copy them to a normal directory with correct ownership and > permissions. It should compare the file with a hash stored in a > database to ensure that the file wasn't modified by someone else in > the meantime. The webserver will need to clean up the drop box > directory, since you won't be able to delete files owned by nobody. > > Three parts to that, but I think it solves most of the problems > without storing a password or implicitly trusting what are, for all > practical purposes, world-writeable files. > > ---- > Chris Snyder > http://chxo.com/ Well, it looks like I'll have to apologize to the hosting company for assuming the "write them as my user" was the norm. I'm a bit baffled becuase it *used* to do so, but... The solution for me will be to let "nobody" write the files in the "holding tank" and leave them as that ownership in case someone needs to edit the file by re-entering it on the form. I will scp (easier to script than sftp) them to my local host where I have root and can edit the ownership/files at my leisure and then put them back on the remote host in the directory where they belong. Since I own the holding directory I can delete the files when I'm done with them. Thanks all! leam From andrew at digitalpulp.com Sat May 7 17:49:25 2005 From: andrew at digitalpulp.com (Andrew Yochum) Date: Sat, 7 May 2005 17:49:25 -0400 Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: <8d9a42800505071225376a175e@mail.gmail.com> References: <8d9a42800505071225376a175e@mail.gmail.com> Message-ID: <94D323D0-9637-459D-AB50-86F619EB0B85@digitalpulp.com> On May 7, 2005, at 3:25 PM, Joseph Crawford wrote: > has anyone here ever needed the ability to parse a word document? You can use wvware to convert the word docs to HTML or text. I'd suggest pushing it through tidy, too, after. HTH, Andrew From andrew at plexpod.com Sat May 7 18:13:11 2005 From: andrew at plexpod.com (Andrew Yochum) Date: Sat, 7 May 2005 18:13:11 -0400 Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: <94D323D0-9637-459D-AB50-86F619EB0B85@digitalpulp.com> References: <8d9a42800505071225376a175e@mail.gmail.com> <94D323D0-9637-459D-AB50-86F619EB0B85@digitalpulp.com> Message-ID: <827AC54A-A7E5-45C2-87FE-2EAEECBA9BF4@plexpod.com> On May 7, 2005, at 5:49 PM, Andrew Yochum wrote: > On May 7, 2005, at 3:25 PM, Joseph Crawford wrote: > >> has anyone here ever needed the ability to parse a word document? >> > > You can use wvware to convert the word docs to HTML or text. I'd > suggest pushing it through tidy, too, after. Link: http://wvware.sourceforge.net/ From danielc at analysisandsolutions.com Sun May 8 12:19:55 2005 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Sun, 8 May 2005 12:19:55 -0400 Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: <8d9a42800505071225376a175e@mail.gmail.com> References: <8d9a42800505071225376a175e@mail.gmail.com> Message-ID: <20050508161955.GA14928@panix.com> Hi Joseph: On Sat, May 07, 2005 at 03:25:39PM -0400, Joseph Crawford wrote: > > has anyone here ever needed the ability to parse a word document? I have a > client that creates his newsletters in MS Word and wants to upload them and > send them to his users in an HTML or text based newsletter. "antiword" is a command line utility common on Unix-like systems that can convert Word into text. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 From susan_shemin at yahoo.com Sun May 8 18:28:37 2005 From: susan_shemin at yahoo.com (Susan Shemin) Date: Sun, 8 May 2005 15:28:37 -0700 (PDT) Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: <8d9a42800505071225376a175e@mail.gmail.com> Message-ID: <20050508222837.17916.qmail@web53702.mail.yahoo.com> Another suggestion. On this month's British Web Design magazine companion disk there's 10 HTML converters. One of them is an RTF to XHTML converter that could work with your situation. The Word document can be saved as an .rtf file, which strips the Word formatting. Susan "Thinking outside the box" Joseph Crawford wrote: Hey everyone, has anyone here ever needed the ability to parse a word document? I have a client that creates his newsletters in MS Word and wants to upload them and send them to his users in an HTML or text based newsletter. This wouldnt be a proablem if i have ever heard of an MS Word Parser, i know there is an Excel parser class.. Is there a way to parse a word document? What i would need to do is take the contents of the word document and convert it to html, saving the images from the word doc to a directory so that the HTML links could show them. Any suggestions appreciated. Thanks. -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com _______________________________________________ New York PHP Talk Mailing List AMP Technology Supporting Apache, MySQL and PHP http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org --------------------------------- Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sajith.ml at gmail.com Mon May 9 04:44:03 2005 From: sajith.ml at gmail.com (Sajith A) Date: Mon, 9 May 2005 14:14:03 +0530 Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: <8d9a42800505071225376a175e@mail.gmail.com> References: <8d9a42800505071225376a175e@mail.gmail.com> Message-ID: On 5/8/05, Joseph Crawford wrote: >Is there a way to parse a word document? Months back i came across a document management system which does this http://dms.markuswestphal.de/ It basically uses exec command. On a windows server it uses cscript convert.word.js {SOURCE} {TARGET} where the contents of convert.word.js is ---------------------------------------------------------------------------------------------------------------------------- var source = WScript.Arguments(0); var target = WScript.Arguments(1); var WordApp; WordApp = new ActiveXObject("Word.Application"); var Newdoc; Newdoc = WordApp.Documents.Open(source); Newdoc.SaveAs(target, 8); // wdFormatHTML = 8 WordApp.Quit(); ---------------------------------------------------------------------------------------------------------------------------- On a Linux server it uses mswordview -o {TARGET} {SOURCE} There could be better ways for doing it. Would love to hear if any... Regards Sajith A -------------- next part -------------- An HTML attachment was scrubbed... URL: From sailer at bnl.gov Mon May 9 09:21:58 2005 From: sailer at bnl.gov (Tim Sailer) Date: Mon, 9 May 2005 09:21:58 -0400 Subject: [nycphp-talk] PHP & Word Documents In-Reply-To: <8d9a42800505071225376a175e@mail.gmail.com> References: <8d9a42800505071225376a175e@mail.gmail.com> Message-ID: <20050509132158.GB14973@bnl.gov> On Sat, May 07, 2005 at 03:25:39PM -0400, Joseph Crawford wrote: > Hey everyone, > > has anyone here ever needed the ability to parse a word document? I have a > client that creates his newsletters in MS Word and wants to upload them and > send them to his users in an HTML or text based newsletter. This wouldnt be > a proablem if i have ever heard of an MS Word Parser, i know there is an > Excel parser class.. Is there a way to parse a word document? > > What i would need to do is take the contents of the word document and > convert it to html, saving the images from the word doc to a directory so > that the HTML links could show them. > > Any suggestions appreciated. users:~> antiword Name: antiword Purpose: Display MS-Word files Author: (C) 1998-2003 Adri van Os Version: 0.35 (14 Nov 2003) Status: GNU General Public License Usage: antiword [switches] wordfile1 [wordfile2 ...] Switches: [-t|-p papersize|-x dtd][-m mapping][-w #][-i #][-Ls] -t text output (default) -p PostScript output like: a4, letter or legal -x XML output like: db (DocBook) -m character mapping file -w in characters of text output -i image level (PostScript only) -L use landscape mode (PostScript only) -s Show hidden (by Word) text -- Tim Sailer Information and Special Technologies Program Office of CounterIntelligence Brookhaven National Laboratory (631) 344-3001 From psaw at pswebcode.com Mon May 9 10:12:59 2005 From: psaw at pswebcode.com (Peter Sawczynec) Date: Mon, 9 May 2005 10:12:59 -0400 Subject: [nycphp-talk] AWStats vs Webalizer Message-ID: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> ....for web log analysis. Comments, evaluations, feedback... Warmest regards, Peter Sawczynec Technology Director PSWebcode psaw at pswebcode.com 718.543.3240 From fields at hedge.net Mon May 9 10:53:00 2005 From: fields at hedge.net (Adam Fields) Date: Mon, 9 May 2005 10:53:00 -0400 Subject: [nycphp-talk] AWStats vs Webalizer In-Reply-To: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> Message-ID: <20050509145300.GX12589@lola.aquick.org> On Mon, May 09, 2005 at 10:12:59AM -0400, Peter Sawczynec wrote: > ....for web log analysis. Comments, evaluations, feedback... I've used AWStats. It's an easy install, it's pretty customizable, it's easy to hack. The newer versions have XML data files, so you can pretty much do whatever you want with them on the display side. The source is a bit difficult to read, but then again, it's perl. I found it not too terribly difficult to hack it up to extract some other pattern analysis from the logs, although I never did get around to getting that data into its output files (I wrote it separately to a database). -- - Adam ** I can fix your database problems: http://www.everylastounce.com/mysql.html ** Blog............... [ http://www.aquick.org/blog ] Links.............. [ http://del.icio.us/fields ] Photos............. [ http://www.aquick.org/photoblog ] Experience......... [ http://www.adamfields.com/resume.html ] Product Reviews: .. [ http://www.buyadam.com/blog ] From chsnyder at gmail.com Mon May 9 12:38:57 2005 From: chsnyder at gmail.com (csnyder) Date: Mon, 9 May 2005 12:38:57 -0400 Subject: [nycphp-talk] AWStats vs Webalizer In-Reply-To: <20050509145300.GX12589@lola.aquick.org> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <20050509145300.GX12589@lola.aquick.org> Message-ID: AWStats has a few annoying little quirks (rendering algo for page view bar charts has been "broken" for a while), but it works great and generally stays out of the way. Stats are saved into a series of flatfile databases which *must* be backed up, but they are a lot smaller than the raw log files. Other annoying quirk is that all stats must be generated in chronological order. It skips records that it thinks it has already seen, whether that is in fact the case or not. No experience with Webalizer, except that I've considered it once or twice, but for some reason stuck with AWStats each time. From 1j0lkq002 at sneakemail.com Mon May 9 12:42:19 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Mon, 09 May 2005 12:42:19 -0400 Subject: [nycphp-talk] [OT]critical Firefox vulernability again today In-Reply-To: <20050509145300.GX12589@lola.aquick.org> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <20050509145300.GX12589@lola.aquick.org> Message-ID: <30369-02302@sneakemail.com> Register/Secunia reports. Recommendation is disable js in addition to the "allow websites to install sw" for now. http://www.theregister.co.uk/2005/05/09/firefox_0day_exploit/ From codebowl at gmail.com Mon May 9 12:58:02 2005 From: codebowl at gmail.com (Joseph Crawford) Date: Mon, 9 May 2005 12:58:02 -0400 Subject: [nycphp-talk] [OT]critical Firefox vulernability again today In-Reply-To: <30369-02302@sneakemail.com> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <20050509145300.GX12589@lola.aquick.org> <30369-02302@sneakemail.com> Message-ID: <8d9a428005050909581b6dd947@mail.gmail.com> thanks this is good to know ;) -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mitch.pirtle at gmail.com Mon May 9 16:17:53 2005 From: mitch.pirtle at gmail.com (Mitch Pirtle) Date: Mon, 9 May 2005 16:17:53 -0400 Subject: [nycphp-talk] AWStats vs Webalizer In-Reply-To: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> Message-ID: <330532b605050913174c19eb9f@mail.gmail.com> On 5/9/05, Peter Sawczynec wrote: > ....for web log analysis. Comments, evaluations, feedback... I have migrated all of my sites to AWStats, as I found the presentation much more attractive and logical, and have also seen nothing but positive responses from my clients after they switch. Still looking for full-blown analysis tools, but for your basic usage reports, AWStats is the better choice IMHO. -- Mitch From 1j0lkq002 at sneakemail.com Mon May 9 17:03:32 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Mon, 9 May 2005 17:03:32 -0400 (GMT-04:00) Subject: [nycphp-talk] AWStats vs Webalizer Message-ID: <2277-27198@sneakemail.com> Whatever software you choose, do your homework regarding file permissions before you post it live. You may want the world to know your traffic stats, but if you are in business or responsible for others personal data, I know of no acceptable reason to have your stats acessible on the public internet. Hint: your web stats are a primary souce of competitive business intelligence. -=john andrews flippant, casual and unpolished blog post on this topic went up just yesterday on http://360.yahoo.com/badcaptcha -----Original Message----- From: "Mitch Pirtle mitch.pirtle-at-gmail.com |nyphp dev/internal group use|" <...> Sent: May 9, 2005 4:17 PM To: NYPHP Talk Subject: Re: [nycphp-talk] AWStats vs Webalizer On 5/9/05, Peter Sawczynec wrote: > ....for web log analysis. Comments, evaluations, feedback... I have migrated all of my sites to AWStats, as I found the presentation much more attractive and logical, and have also seen nothing but positive responses from my clients after they switch. Still looking for full-blown analysis tools, but for your basic usage reports, AWStats is the better choice IMHO. -- Mitch From eric at persson.tm Mon May 9 17:13:32 2005 From: eric at persson.tm (Eric Persson) Date: Mon, 09 May 2005 23:13:32 +0200 Subject: [nycphp-talk] AWStats vs Webalizer In-Reply-To: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> Message-ID: <427FD27C.7090904@persson.tm> Peter Sawczynec wrote: > ....for web log analysis. Comments, evaluations, feedback... Been using webalizer for years, and it works good, shows you what you want to know. However, it needs a short lesson to get clients to like it. It could need some improvement on the guiside, but its sufficient, but many other tools are better here, although I havent found anyone thats better to script and as easy to implement on large virtual hosts. /eric From 1j0lkq002 at sneakemail.com Mon May 9 20:42:09 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Mon, 09 May 2005 20:42:09 -0400 Subject: [nycphp-talk] Should I try Zend Studio (again) ? In-Reply-To: <427FD27C.7090904@persson.tm> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <427FD27C.7090904@persson.tm> Message-ID: <16287-07688@sneakemail.com> Thanks in advance for any experience-based comments or suggestions. I bought Zend Studio Pro at version 3, and never really used it. I encountered some annoyances on install (like what seemed to be a hang during install, which turned out to be a hidden console window awaiting a key press to continue) and difficulty getting the debugger to work properly with the server (turned out to be problems with the GUI labeling... we worked our way to success eventually). In the end the client/server aspects from the Windows client to a Linux server were a hassle. In my experience it was too slow, and not reliable for interactive debugging. I never got it to work smoothly from the notebook on and off the network. Because of the struggle I never fully adopted the client so I admit I didn't give the IDE a good chance to impress me. I still have the license for Safeguard (at v3.5) Performance Suite 3.6 and Studio Pro 3.0 and Encoder 3.5 Plus, according to my Zend account. Now with PHP 5 pretty widely available to me and all the progress I have seen from Zend I want to try again. Sadly, it seems everything I had before (still available for use) is not upgradeable to the current versions. I hardly see the point in buying it again, especially now that it costs even more. So then there's the trial downloads. Available to try the product -- seems a good idea, right? Experienced as I am (whatever that is), I fully expect that a trial of a 4.x generation product, installed on my Windows machine, perhaps with their Windows enhancer (whatever that is), will muck up my system if I decide to use the 3.x product afterwards. You know, blind forward compatibility issues and all. Anybody using the 4 or have any hands-on experience that would help me out? I know about the so-called "small business development" plan. Even if I qualified for it (gross revenue of $250k/year is hardly a reasonable limit for an east coast small business, even during "development") the same situation applies. Basically Zend is asking for between $1k and $5k *per year* for their product which is not insignificant for an IDE with debugger and encoder. I was a user of NuSphere's PHP-IDE for a while prior to trying Zend 3, but I have never found enough bonus to the specialized IDE over UlraEdit or Textpad-configured. The debugger is the draw, so if it works well enough for me to be productive with it I want to use it. Anybody care to tell me they *know* the trial versions will be a good experience? Or that I should rock on with my 3.x licenses? Or to save my time and continue the edit-post-refresh routine and accept that there really isn't a decent interactive debugger for the independent web developer? One thinks about PHP certification, which leads to Zend, which suggests the IDE (again), which teases with promises of a real debugger and server-side toolkit.... is it time to try again? Thanks again. -=john andrews From tommyo at gmail.com Mon May 9 21:31:58 2005 From: tommyo at gmail.com (Thomas O'Neill) Date: Mon, 9 May 2005 20:31:58 -0500 Subject: [nycphp-talk] Should I try Zend Studio (again) ? In-Reply-To: <16287-07688@sneakemail.com> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <427FD27C.7090904@persson.tm> <16287-07688@sneakemail.com> Message-ID: John, Contact Zend sales tell them your situation and i bet you they will give you a free upgrade. They gave me one. On 5/9/05, inforequest <1j0lkq002 at sneakemail.com> wrote: > > Thanks in advance for any experience-based comments or suggestions. > > I bought Zend Studio Pro at version 3, and never really used it. I > encountered some annoyances on install (like what seemed to be a hang > during install, which turned out to be a hidden console window awaiting > a key press to continue) and difficulty getting the debugger to work > properly with the server (turned out to be problems with the GUI > labeling... we worked our way to success eventually). In the end the > client/server aspects from the Windows client to a Linux server were a > hassle. In my experience it was too slow, and not reliable for > interactive debugging. I never got it to work smoothly from the notebook > on and off the network. Because of the struggle I never fully adopted > the client so I admit I didn't give the IDE a good chance to impress me. > I still have the license for Safeguard (at v3.5) Performance Suite 3.6 > and Studio Pro 3.0 and Encoder 3.5 Plus, according to my Zend account. > > Now with PHP 5 pretty widely available to me and all the progress I have > seen from Zend I want to try again. Sadly, it seems everything I had > before (still available for use) is not upgradeable to the current > versions. I hardly see the point in buying it again, especially now that > it costs even more. > > So then there's the trial downloads. Available to try the product -- > seems a good idea, right? > > Experienced as I am (whatever that is), I fully expect that a trial of a > 4.x generation product, installed on my Windows machine, perhaps with > their Windows enhancer (whatever that is), will muck up my system if I > decide to use the 3.x product afterwards. You know, blind forward > compatibility issues and all. Anybody using the 4 or have any hands-on > experience that would help me out? > > I know about the so-called "small business development" plan. Even if I > qualified for it (gross revenue of $250k/year is hardly a reasonable > limit for an east coast small business, even during "development") the > same situation applies. Basically Zend is asking for between $1k and $5k > *per year* for their product which is not insignificant for an IDE with > debugger and encoder. > > I was a user of NuSphere's PHP-IDE for a while prior to trying Zend 3, > but I have never found enough bonus to the specialized IDE over UlraEdit > or Textpad-configured. The debugger is the draw, so if it works well > enough for me to be productive with it I want to use it. > > Anybody care to tell me they *know* the trial versions will be a good > experience? Or that I should rock on with my 3.x licenses? Or to save my > time and continue the edit-post-refresh routine and accept that there > really isn't a decent interactive debugger for the independent web > developer? > > One thinks about PHP certification, which leads to Zend, which suggests > the IDE (again), which teases with promises of a real debugger and > server-side toolkit.... is it time to try again? > > Thanks again. > > -=john andrews > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > -- Tom O'Neill tommyo at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at persson.tm Tue May 10 04:18:34 2005 From: eric at persson.tm (Eric Persson) Date: Tue, 10 May 2005 10:18:34 +0200 Subject: [nycphp-talk] lighttpd and load-balanced php via fastcgi? Message-ID: <42806E5A.5000000@persson.tm> Hi, I just found the lighttpd at http://www.lighttpd.net/ which supports some sort of fastcgi which can help to load balance php among a set of servers. Is this an oppurtunity and feature of all fastcgi implementations? Is there any issues using php with fastcgi? I've always used it as a module with apache, and thought that was the best way, but it sure sounds interesting to have some loadbalancing on some projects. Have anyone tried this approach and would like to share some thoughts about it? More timeconsuming to develop? Maintainability? Scalability? Stability? Thanks in advance, Eric From jeff.knight at gmail.com Tue May 10 09:26:19 2005 From: jeff.knight at gmail.com (Jeff Knight) Date: Tue, 10 May 2005 09:26:19 -0400 Subject: [nycphp-talk] Should I try Zend Studio (again) ? In-Reply-To: References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <427FD27C.7090904@persson.tm> <16287-07688@sneakemail.com> Message-ID: <2ca9ba9105051006265ff199c6@mail.gmail.com> I was able to use 3.5 and evaluate 4 on my machine simultaneously. The installer created a /config_4.0 folder next to my /config_3.5 folder and didn't override any of the original 3.5 application files (putting all the 4.0 versions is a subfolder), Of course, I don't use windows, but I don't see why they wouldn't keep those sorts of features the same. On the other hand, after my 30 days were up, I ended up going back to 3.5, seeing 4.0 as too little improvement for too much money. On 5/9/05, Thomas O'Neill wrote: > John, > > Contact Zend sales tell them your situation and i bet you they will give > you a free upgrade. They gave me one. > > > On 5/9/05, inforequest < 1j0lkq002 at sneakemail.com> wrote: > > Thanks in advance for any experience-based comments or suggestions. > > > > I bought Zend Studio Pro at version 3, and never really used it. I > > encountered some annoyances on install (like what seemed to be a hang > > during install, which turned out to be a hidden console window awaiting > > a key press to continue) and difficulty getting the debugger to work > > properly with the server (turned out to be problems with the GUI > > labeling... we worked our way to success eventually). In the end the > > client/server aspects from the Windows client to a Linux server were a > > hassle. In my experience it was too slow, and not reliable for > > interactive debugging. I never got it to work smoothly from the notebook > > on and off the network. Because of the struggle I never fully adopted > > the client so I admit I didn't give the IDE a good chance to impress me. > > I still have the license for Safeguard (at v3.5) Performance Suite 3.6 > > and Studio Pro 3.0 and Encoder 3.5 Plus, according to my Zend account. > > > > Now with PHP 5 pretty widely available to me and all the progress I have > > seen from Zend I want to try again. Sadly, it seems everything I had > > before (still available for use) is not upgradeable to the current > > versions. I hardly see the point in buying it again, especially now that > > it costs even more. > > > > So then there's the trial downloads. Available to try the product -- > > seems a good idea, right? > > > > Experienced as I am (whatever that is), I fully expect that a trial of a > > 4.x generation product, installed on my Windows machine, perhaps with > > their Windows enhancer (whatever that is), will muck up my system if I > > decide to use the 3.x product afterwards. You know, blind forward > > compatibility issues and all. Anybody using the 4 or have any hands-on > > experience that would help me out? > > > > I know about the so-called "small business development" plan. Even if I > > qualified for it (gross revenue of $250k/year is hardly a reasonable > > limit for an east coast small business, even during "development") the > > same situation applies. Basically Zend is asking for between $1k and $5k > > *per year* for their product which is not insignificant for an IDE with > > debugger and encoder. > > > > I was a user of NuSphere's PHP-IDE for a while prior to trying Zend 3, > > but I have never found enough bonus to the specialized IDE over UlraEdit > > or Textpad-configured. The debugger is the draw, so if it works well > > enough for me to be productive with it I want to use it. > > > > Anybody care to tell me they *know* the trial versions will be a good > > experience? Or that I should rock on with my 3.x licenses? Or to save my > > time and continue the edit-post-refresh routine and accept that there > > really isn't a decent interactive debugger for the independent web > > developer? > > > > One thinks about PHP certification, which leads to Zend, which suggests > > the IDE (again), which teases with promises of a real debugger and > > server-side toolkit.... is it time to try again? > > > > Thanks again. > > > > -=john andrews > > > > _______________________________________________ > > New York PHP Talk Mailing List > > AMP Technology > > Supporting Apache, MySQL and PHP > > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org > > > > > > -- > Tom O'Neill > tommyo at gmail.com > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > > From jeff.knight at gmail.com Tue May 10 09:37:24 2005 From: jeff.knight at gmail.com (Jeff Knight) Date: Tue, 10 May 2005 09:37:24 -0400 Subject: [nycphp-talk] AWStats vs Webalizer In-Reply-To: <427FD27C.7090904@persson.tm> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <427FD27C.7090904@persson.tm> Message-ID: <2ca9ba91050510063715a1b209@mail.gmail.com> Webalizer is ugly, real ugly, makes me a little queasy just looking at it. One of the worst pieces of information design I've ever seen. AWStats provides more information, more thoughtfully laid out, and is immediatly intuitive to use (i.e. no schooling for clients). However, John's point about locking it down are far from paranoid ramblings. My personal development site has very little traffic and no public pages at all. As I review the logs, over the last couple months pokes at AWStats outnumber any other sort of malicious behavior (although phpBB seems on its way back up). On 5/9/05, Eric Persson wrote: > Peter Sawczynec wrote: > > ....for web log analysis. Comments, evaluations, feedback... > > Been using webalizer for years, and it works good, shows you what you > want to know. However, it needs a short lesson to get clients to like > it. It could need some improvement on the guiside, but its sufficient, > but many other tools are better here, although I havent found anyone > thats better to script and as easy to implement on large virtual hosts. > > /eric > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > From tommyo at gmail.com Tue May 10 10:08:52 2005 From: tommyo at gmail.com (Thomas O'Neill) Date: Tue, 10 May 2005 09:08:52 -0500 Subject: [nycphp-talk] AWStats vs Webalizer In-Reply-To: <2ca9ba91050510063715a1b209@mail.gmail.com> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <427FD27C.7090904@persson.tm> <2ca9ba91050510063715a1b209@mail.gmail.com> Message-ID: I use urchin for a log analyizer. The company i lease my server through ( ev1servers.net ) offers it for free. You should check with your hosting provider to see if its available. It is a very robust, very slick, very professional program. It includes a user management system that will create users by domain name so if you have a bunch of virtual sites you can give them each seperate logins. -Tom On 5/10/05, Jeff Knight wrote: > > Webalizer is ugly, real ugly, makes me a little queasy just looking at > it. One of the worst pieces of information design I've ever seen. > AWStats provides more information, more thoughtfully laid out, and is > immediatly intuitive to use (i.e. no schooling for clients). However, > John's point about locking it down are far from paranoid ramblings. My > personal development site has very little traffic and no public pages > at all. As I review the logs, over the last couple months pokes at > AWStats outnumber any other sort of malicious behavior (although phpBB > seems on its way back up). > > > On 5/9/05, Eric Persson wrote: > > Peter Sawczynec wrote: > > > ....for web log analysis. Comments, evaluations, feedback... > > > > Been using webalizer for years, and it works good, shows you what you > > want to know. However, it needs a short lesson to get clients to like > > it. It could need some improvement on the guiside, but its sufficient, > > but many other tools are better here, although I havent found anyone > > thats better to script and as easy to implement on large virtual hosts. > > > > /eric > > _______________________________________________ > > New York PHP Talk Mailing List > > AMP Technology > > Supporting Apache, MySQL and PHP > > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org > > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > -- Tom O'Neill tommyo at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From yury at heavenspa.com Tue May 10 10:37:11 2005 From: yury at heavenspa.com (Yury :: heavenspa web services) Date: Tue, 10 May 2005 10:37:11 -0400 Subject: [nycphp-talk] FTP - users/access In-Reply-To: <20050504221607.3f8c2a29@genoverly.com> Message-ID: Hi Folks -- still dealing with my FTP questions. It looks like the server has ProFTPD on it.. But it also (ensim) has AddVirtUser via command line.. does anyone out there have any web based php scripts that add users via AddVirtUser? Tia yury I've searched google... found a few that are run via command line/SSH..need something similar, but web based. -----Original Message----- From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]On Behalf Of michael Sent: Wednesday, May 04, 2005 9:16 PM To: talk at lists.nyphp.org Subject: Re: [nycphp-talk] FTP - users/access On Wed, 4 May 2005 20:50:34 -0400 (EDT) talk-request at lists.nyphp.org wrote: > ------------------------------ > > Message: 11 > Date: Wed, 4 May 2005 20:49:12 -0400 > From: Mitch Pirtle > Subject: Re: [nycphp-talk] FTP - users/access > To: NYPHP Talk > Message-ID: <330532b6050504174956baa48e at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On 5/4/05, Hans Zaunere wrote: > > > > Depends on the FTP daemon. If it's something modern, like ProFTPd, you can plug it into a database like MySQL, which is then trivial to work with. > > Ditto for vsftpd (very secure ftp daemon) - which not only is secure, > but is fast, fast, fast! Also a good fit for virtual account setups > and external authentication schemes. > > -- Mitch > > > ------------------------------ +1 vsftp & mysql Michael -- _______________________________________________ New York PHP Talk Mailing List AMP Technology Supporting Apache, MySQL and PHP http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org From nasir81 at gmail.com Tue May 10 11:51:22 2005 From: nasir81 at gmail.com (Nasir Zubair) Date: Tue, 10 May 2005 11:51:22 -0400 Subject: [nycphp-talk] FTP - users/access In-Reply-To: References: <20050504221607.3f8c2a29@genoverly.com> Message-ID: <40fcda73050510085156c2b92@mail.gmail.com> Do you have root access to the server? Well, since you are trying to add users, you must :-) ProFTP has a mysql module you can include at compile time. More information at http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-SQL.html I have personally done a recompile of ProFTPD with mysql for a client who wanted to provide free hosting with dynamic account creation, the setup was a breeze and is still up and running. Hope that helps. On 5/10/05, Yury :: heavenspa web services wrote: > Hi Folks -- still dealing with my FTP questions. It looks like the server > has ProFTPD on it.. > But it also (ensim) has AddVirtUser via command line.. does anyone out there > have any web based php scripts that add users via AddVirtUser? > Tia > yury > > I've searched google... found a few that are run via command line/SSH..need > something similar, but web based. > > > -----Original Message----- > From: talk-bounces at lists.nyphp.org > [mailto:talk-bounces at lists.nyphp.org]On Behalf Of michael > Sent: Wednesday, May 04, 2005 9:16 PM > To: talk at lists.nyphp.org > Subject: Re: [nycphp-talk] FTP - users/access > > On Wed, 4 May 2005 20:50:34 -0400 (EDT) > talk-request at lists.nyphp.org wrote: > > > ------------------------------ > > > > Message: 11 > > Date: Wed, 4 May 2005 20:49:12 -0400 > > From: Mitch Pirtle > > Subject: Re: [nycphp-talk] FTP - users/access > > To: NYPHP Talk > > Message-ID: <330532b6050504174956baa48e at mail.gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > On 5/4/05, Hans Zaunere wrote: > > > > > > Depends on the FTP daemon. If it's something modern, like ProFTPd, you > can plug it into a database like MySQL, which is then trivial to work with. > > > > Ditto for vsftpd (very secure ftp daemon) - which not only is secure, > > but is fast, fast, fast! Also a good fit for virtual account setups > > and external authentication schemes. > > > > -- Mitch > > > > > > ------------------------------ > > +1 vsftp & mysql > Michael > > -- > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > -- Nasir Zubair http://www.nasir.us/ From 1j0lkq002 at sneakemail.com Tue May 10 11:53:34 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Tue, 10 May 2005 11:53:34 -0400 Subject: [nycphp-talk] AWStats vs Webalizer In-Reply-To: References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <427FD27C.7090904@persson.tm> <2ca9ba91050510063715a1b209@mail.gmail.com> Message-ID: <2731-40293@sneakemail.com> Thomas O'Neill tommyo-at-gmail.com |nyphp dev/internal group use| wrote: > I use urchin for a log analyizer. The company i lease my server > through (ev1servers.net ) offers it for free. > You should check with your hosting provider to see if its available. > It is a very robust, very slick, very professional program. It > includes a user management system that will create users by domain > name so if you have a bunch of virtual sites you can give them each > seperate logins. > > -Tom > Urchin is now part of the Googleplex, and is getting very low-cost. It is widely believed it will be free soon, because Google wants your stats. By trading free stat software for access to your site stats, Google gets what I was just saying is a very valuable competitive intelligence. Not unlike GMail in some ways, and very much different in other ways (I'd sooner use GMail than the new urchin, for sure). -=john andrews From 1j0lkq002 at sneakemail.com Tue May 10 11:55:58 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Tue, 10 May 2005 11:55:58 -0400 Subject: [nycphp-talk] Should I try Zend Studio (again) ? In-Reply-To: <2ca9ba9105051006265ff199c6@mail.gmail.com> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <427FD27C.7090904@persson.tm> <16287-07688@sneakemail.com> <2ca9ba9105051006265ff199c6@mail.gmail.com> Message-ID: <4755-28137@sneakemail.com> Jeff Knight jeff.knight-at-gmail.com |nyphp dev/internal group use| wrote: >I was able to use 3.5 and evaluate 4 on my machine simultaneously. >The installer created a /config_4.0 folder next to my /config_3.5 >folder and didn't override any of the original 3.5 application files >(putting all the 4.0 versions is a subfolder), Of course, I don't use >windows, but I don't see why they wouldn't keep those sorts of >features the same. > >On the other hand, after my 30 days were up, I ended up going back to >3.5, seeing 4.0 as too little improvement for too much money. > > > Thanks, Jeff that's very helpful. On Wndows we have DLL and registry issues that make it more problematic. XAMP gets around it nicely, so it is possible to do it, but I'd rather not find out the hard way right now. From andrew at plexpod.com Tue May 10 21:44:29 2005 From: andrew at plexpod.com (Andrew Yochum) Date: Tue, 10 May 2005 21:44:29 -0400 Subject: [nycphp-talk] TruStudio - Eclipse-based PHP/Python IDE In-Reply-To: <4755-28137@sneakemail.com> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <427FD27C.7090904@persson.tm> <16287-07688@sneakemail.com> <2ca9ba9105051006265ff199c6@mail.gmail.com> <4755-28137@sneakemail.com> Message-ID: <3C1C7B34-345F-47F0-BCB5-7928ABDBB827@plexpod.com> I was inspired by the Zend Studio discussion to revisit PHP IDEs other than my glorified swiss army knife, Vim... Has anyone had experience with TruStudio from xored? I really like Eclipse for Java which is the underlying platform. This TruStudio looks pretty killer if its solid. Any experience? Worth $95/year? -- Andrew Yochum Plexpod andrew at plexpod.com 718-360-0879 From tommyo at gmail.com Tue May 10 22:23:28 2005 From: tommyo at gmail.com (Thomas O'Neill) Date: Tue, 10 May 2005 21:23:28 -0500 Subject: [nycphp-talk] TruStudio - Eclipse-based PHP/Python IDE In-Reply-To: <3C1C7B34-345F-47F0-BCB5-7928ABDBB827@plexpod.com> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <427FD27C.7090904@persson.tm> <16287-07688@sneakemail.com> <2ca9ba9105051006265ff199c6@mail.gmail.com> <4755-28137@sneakemail.com> <3C1C7B34-345F-47F0-BCB5-7928ABDBB827@plexpod.com> Message-ID: I would say its not worth the money... just go grab the phpeclipse plugins.. they seem more stable the trustudio in my opinion. I use eclipse every day for java development too.. I think that trustudio is close but not there yet. I still think that zend studio is the best php ide. I personally think that it has come along way. 4.0 is more stable, seems *quicker*, and has a few cool new features. I really like zde's free debugger. I have it installed on our staging/development server and it has proven very helpful for debuggin/profiling php code. If i where you i would give ZDE another whirl. I don't think either of the eclipse based dev environments (phpeclipse or trustudio) are there yet. ZDE is close. Just my 2 cents.. TOM On 5/10/05, Andrew Yochum wrote: > > I was inspired by the Zend Studio discussion to revisit PHP IDEs > other than my glorified swiss army knife, Vim... > > Has anyone had experience with TruStudio from xored? I really like > Eclipse for Java which is the underlying platform. This TruStudio > looks pretty killer if its solid. > > Any experience? Worth $95/year? > > -- > Andrew Yochum > Plexpod > andrew at plexpod.com > 718-360-0879 > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > -- Tom O'Neill tommyo at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan at cain.sh Tue May 10 22:36:53 2005 From: dan at cain.sh (Daniel J Cain Jr.) Date: Tue, 10 May 2005 21:36:53 -0500 Subject: [nycphp-talk] TruStudio - Eclipse-based PHP/Python IDE In-Reply-To: <3C1C7B34-345F-47F0-BCB5-7928ABDBB827@plexpod.com> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <427FD27C.7090904@persson.tm> <16287-07688@sneakemail.com> <2ca9ba9105051006265ff199c6@mail.gmail.com> <4755-28137@sneakemail.com> <3C1C7B34-345F-47F0-BCB5-7928ABDBB827@plexpod.com> Message-ID: <42816FC5.2070305@cain.sh> Andrew Yochum wrote: > I was inspired by the Zend Studio discussion to revisit PHP IDEs other > than my glorified swiss army knife, Vim... If you haven't seen it already you should check out http://www.satokar.com/viplugin/index.php for Eclipse... I *really* like being able to use my vim-fu within a nice IDE. You can check it out for free (older version I think), but its like ~$20 US to get the 'real' deal. From hans at cyberxdesigns.com Wed May 11 08:16:50 2005 From: hans at cyberxdesigns.com (Hans Kaspersetz) Date: Wed, 11 May 2005 08:16:50 -0400 Subject: [nycphp-talk] Should I try Zend Studio (again) ? In-Reply-To: <4755-28137@sneakemail.com> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <427FD27C.7090904@persson.tm> <16287-07688@sneakemail.com> <2ca9ba9105051006265ff199c6@mail.gmail.com> <4755-28137@sneakemail.com> Message-ID: <4281F7B2.9080601@cyberxdesigns.com> I have both versions on my PC right now. I am trying the trial version. Having both does not seem to messing either up. I also have both on my Powerbook. I am most likely going to upgrade to 4 because of documenter and the SQL stuff. And I think it is the right thing to do. I like Zends products, I use them all the time and I make my living with them, so I think it is appropriate I support them. I know that might be a weird view on that but I know when people use my stuff and make a living from it I would like them to give back a little. Sort of a principle thing. Hans K -- Hans Kaspersetz Cyber X Designs http://www.cyberxdesigns.com inforequest wrote: > Jeff Knight jeff.knight-at-gmail.com |nyphp dev/internal group use| > wrote: > >> I was able to use 3.5 and evaluate 4 on my machine simultaneously. >> The installer created a /config_4.0 folder next to my /config_3.5 >> folder and didn't override any of the original 3.5 application files >> (putting all the 4.0 versions is a subfolder), Of course, I don't use >> windows, but I don't see why they wouldn't keep those sorts of >> features the same. >> >> On the other hand, after my 30 days were up, I ended up going back to >> 3.5, seeing 4.0 as too little improvement for too much money. >> >> >> > Thanks, Jeff that's very helpful. > > On Wndows we have DLL and registry issues that make it more > problematic. XAMP gets around it nicely, so it is possible to do it, > but I'd rather not find out the hard way right now. > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > > > From 1j0lkq002 at sneakemail.com Wed May 11 09:41:51 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Wed, 11 May 2005 09:41:51 -0400 (GMT-04:00) Subject: [nycphp-talk] Should I try Zend Studio (again) ? Message-ID: <810-34400@sneakemail.com> Thanks Hans. Sounds like an infomercial for Zend! Seriously though, so you have been a user of 3.5? or 3.0? Do you use the server side debugger or are you commenting on how you like the IDE? If you use the debugger, you have a Windows client and a remote Linux server so I'd love to hear your experiences with reliabiliy and speed of the interactive debugging, especially when you dock/undock/connect remotely. Andif you don't mind clarifying, are you being supportive because you make your living off of the IDE or did you mean PHP? The former says alot abut the product; the latter speaks to the value of PHP (undisputed). After your 30 days when you remove the trial I'd be interested in your experience with the Windows dual setup. Usually the problems happen when you finish and delete (I bet they pay alot of attention to getting it working properly as a trial on someone's system, but I wish companies would pay more attention to leaving your system cleanly when you don't buy/upgrade. Yeah sure, right?) My license is for 3.0 and I would have to pay more to even go to 3.5, let alone 4.0 I guess that's the reward for being an early adopter (!). I'm pretty close to moving on at this point. Doesn't seem to enough gains for the added complexity. Thanks again for the feedback. I am sure there are others benefitting from these discussions on the list. -=john andrews -----Original Message----- From: "Hans Kaspersetz hans-at-cyberxdesigns.com |nyphp dev/internal group use|" <...> Sent: May 11, 2005 8:16 AM To: NYPHP Talk Subject: Re: [nycphp-talk] Should I try Zend Studio (again) ? I have both versions on my PC right now. I am trying the trial version. Having both does not seem to messing either up. I also have both on my Powerbook. I am most likely going to upgrade to 4 because of documenter and the SQL stuff. And I think it is the right thing to do. I like Zends products, I use them all the time and I make my living with them, so I think it is appropriate I support them. I know that might be a weird view on that but I know when people use my stuff and make a living from it I would like them to give back a little. Sort of a principle thing. Hans K From andrew at plexpod.com Wed May 11 10:35:53 2005 From: andrew at plexpod.com (Andrew Yochum) Date: Wed, 11 May 2005 10:35:53 -0400 Subject: [nycphp-talk] TruStudio - Eclipse-based PHP/Python IDE In-Reply-To: <42816FC5.2070305@cain.sh> References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <427FD27C.7090904@persson.tm> <16287-07688@sneakemail.com> <2ca9ba9105051006265ff199c6@mail.gmail.com> <4755-28137@sneakemail.com> <3C1C7B34-345F-47F0-BCB5-7928ABDBB827@plexpod.com> <42816FC5.2070305@cain.sh> Message-ID: <20050511143553.GB10901@zoidberg.digitalpulp.com> On Tue, May 10, 2005 at 09:36:53PM -0500, Daniel J Cain Jr. wrote: > > Andrew Yochum wrote: > >I was inspired by the Zend Studio discussion to revisit PHP IDEs other > >than my glorified swiss army knife, Vim... > > If you haven't seen it already you should check out > http://www.satokar.com/viplugin/index.php for Eclipse... I *really* like > being able to use my vim-fu within a nice IDE. > > You can check it out for free (older version I think), but its like ~$20 > US to get the 'real' deal. Sounds nifty. I'll certainly give it a shot! Thanks, Andrew -- Andrew Yochum Plexpod andrew at plexpod.com 718-360-0879 From andrew at plexpod.com Wed May 11 10:26:51 2005 From: andrew at plexpod.com (Andrew Yochum) Date: Wed, 11 May 2005 10:26:51 -0400 Subject: [nycphp-talk] TruStudio - Eclipse-based PHP/Python IDE In-Reply-To: References: <001801c554a1$377835e0$6400a8c0@yourx1adg12jme> <427FD27C.7090904@persson.tm> <16287-07688@sneakemail.com> <2ca9ba9105051006265ff199c6@mail.gmail.com> <4755-28137@sneakemail.com> <3C1C7B34-345F-47F0-BCB5-7928ABDBB827@plexpod.com> Message-ID: <20050511142650.GA10901@zoidberg.digitalpulp.com> On Tue, May 10, 2005 at 09:23:28PM -0500, Thomas O'Neill wrote: > I would say its not worth the money... just go grab the phpeclipse plugins.. > they seem more stable the trustudio in my opinion. I should try phpeclipse again... my most recent trial of it left me with a half working install. I can't stop to debug my debugger. > I use eclipse every day for java development too.. I think that trustudio is > close but not there yet. I still think that zend studio is the best php ide. > I personally think that it has come along way. 4.0 is more stable, seems > *quicker*, and has a few cool new features. I really like zde's free > debugger. I have it installed on our staging/development server and it has > proven very helpful for debuggin/profiling php code. If i where you i would > give ZDE another whirl. I don't think either of the eclipse based dev > environments (phpeclipse or trustudio) are there yet. ZDE is close. Well, I'll probably be giving that a whirl again, too. I haven't tried 4.0 yet. I'm also giving TruStudio a try, too. From my initial perusal of their site I was under the impression I couldn't use it without a license, but it seems you may download it. The licensing still isn't clear, but I'm downloading it now and I'll soon find out. Through the years, I keep coming back to Vim with my own little set of perl and python interface scripts for templating, munging & managing my buffers. For the curious: http://vimdoc.sourceforge.net/htmldoc/if_perl.html http://vimdoc.sourceforge.net/htmldoc/if_pyth.html I hear there is a Ruby interface too, but I haven't drank that koolaid yet. Andrew -- Andrew Yochum Plexpod andrew at plexpod.com 718-360-0879 From pl at eskimo.net Wed May 11 13:31:20 2005 From: pl at eskimo.net (Peter Lehrer) Date: Wed, 11 May 2005 13:31:20 -0400 (EDT) Subject: [nycphp-talk] OT: Choosing Hosting Companies Message-ID: <48471.64.152.49.244.1115832680.squirrel@64.152.49.244> Hi, I am a relative newbie at this. I suggested to a client that she choose between godaddy.com, yahoo.com and register.com to host her site. I am not sure which one over the other to advise though. Does anyone on the list have any preference among these three and/or any experience with them that they could share. I don't think she has more than $20 per month to spend on a site and I like the 24/7 phone support that all these sites say they have. I did hear though, that register.com is one of the most reliable. Any advice you have would be appreciated. Regards, Peter Lehrer From max at neuropunks.org Wed May 11 13:36:13 2005 From: max at neuropunks.org (max) Date: Wed, 11 May 2005 12:36:13 -0500 Subject: [nycphp-talk] OT: Choosing Hosting Companies In-Reply-To: <48471.64.152.49.244.1115832680.squirrel@64.152.49.244> References: <48471.64.152.49.244.1115832680.squirrel@64.152.49.244> Message-ID: <20050511173613.GA98914@neuropunks.org> I personally like gandi.net, its a French registrar, comes out to be around 10EU/year. They are a little lacking on customer support side, but I just like the idea of not using an American registrar. They have a fully featured interface, but I would say this recommendation will fare better for technically oriented. By hosting, do you also mean webhosting/server hosting? For webhosting, I would recommend www.webhost4life.com. They are cheap, reliable, very flexible, and feature pretty much dymmy-proof control panel. If you want to host a server, I am using www.pilosoft.com, and they charge me $75/mo/1U with 50Gb/mo bandwidth in a datacenter at 55 Broad st. downtown. Im sure you can do better in either category, just recommending something I've used and had a good experience with. On Wed, May 11, 2005 at 01:31:20PM -0400, Peter Lehrer wrote: > Hi, > > I am a relative newbie at this. I suggested to a client that she choose > between godaddy.com, yahoo.com and register.com to host her site. I am not > sure which one over the other to advise though. Does anyone on the list > have any preference among these three and/or any experience with them that > they could share. I don't think she has more than $20 per month to spend > on a site and I like the 24/7 phone support that all these sites say they > have. I did hear though, that register.com is one of the most reliable. > > Any advice you have would be appreciated. > > > Regards, > > Peter Lehrer > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > From rolan at omnistep.com Wed May 11 14:26:32 2005 From: rolan at omnistep.com (Rolan Yang) Date: Wed, 11 May 2005 14:26:32 -0400 Subject: [nycphp-talk] OT: Choosing Hosting Companies In-Reply-To: <48471.64.152.49.244.1115832680.squirrel@64.152.49.244> References: <48471.64.152.49.244.1115832680.squirrel@64.152.49.244> Message-ID: <42824E58.30508@omnistep.com> I usually go to netcraft.com to check up on the reliability of web hosts. A google search for web hosting came up with this link: http://www.webhostingunleashed.com/ It looks like all the links on that page are affliate clickthru's so take the "top 10" list with a grain of salt, but the customer submitted reviews should insightful. ~Rolan Peter Lehrer wrote: >Hi, > >I am a relative newbie at this. I suggested to a client that she choose >between godaddy.com, yahoo.com and register.com to host her site. I am not >sure which one over the other to advise though. Does anyone on the list >have any preference among these three and/or any experience with them that >they could share. I don't think she has more than $20 per month to spend >on a site and I like the 24/7 phone support that all these sites say they >have. I did hear though, that register.com is one of the most reliable. > >Any advice you have would be appreciated. > > >Regards, > >Peter Lehrer >_______________________________________________ >New York PHP Talk Mailing List >AMP Technology >Supporting Apache, MySQL and PHP >http://lists.nyphp.org/mailman/listinfo/talk >http://www.nyphp.org > > > From tommyo at gmail.com Wed May 11 14:51:06 2005 From: tommyo at gmail.com (Thomas O'Neill) Date: Wed, 11 May 2005 13:51:06 -0500 Subject: [nycphp-talk] Should I try Zend Studio (again) ? In-Reply-To: <810-34400@sneakemail.com> References: <810-34400@sneakemail.com> Message-ID: I use the Linux server side debugger in combination with a windows client and it works great. In fact we have about 8 developers with ZDE installed all developing on the same linux server across multiple web applications. It works great. -Tom On 5/11/05, inforequest <1j0lkq002 at sneakemail.com> wrote: > > Thanks Hans. Sounds like an infomercial for Zend! > > Seriously though, so you have been a user of 3.5? or 3.0? Do you use the > server side debugger or are you commenting on how you like the IDE? If you > use the debugger, you have a Windows client and a remote Linux server so I'd > love to hear your experiences with reliabiliy and speed of the interactive > debugging, especially when you dock/undock/connect remotely. > > Andif you don't mind clarifying, are you being supportive because you make > your living off of the IDE or did you mean PHP? The former says alot abut > the product; the latter speaks to the value of PHP (undisputed). > > After your 30 days when you remove the trial I'd be interested in your > experience with the Windows dual setup. Usually the problems happen when you > finish and delete (I bet they pay alot of attention to getting it working > properly as a trial on someone's system, but I wish companies would pay more > attention to leaving your system cleanly when you don't buy/upgrade. Yeah > sure, right?) > > My license is for 3.0 and I would have to pay more to even go to 3.5, let > alone 4.0 I guess that's the reward for being an early adopter (!). > > I'm pretty close to moving on at this point. Doesn't seem to enough gains > for the added complexity. > > Thanks again for the feedback. I am sure there are others benefitting from > these discussions on the list. > > -=john andrews > > > -----Original Message----- > From: > "Hans Kaspersetz hans-at-cyberxdesigns.com|nyphp dev/internal group use|" <...> > Sent: May 11, 2005 8:16 AM > To: NYPHP Talk > Subject: Re: [nycphp-talk] Should I try Zend Studio (again) ? > > I have both versions on my PC right now. I am trying the trial > version. Having both does not seem to messing either up. I also have > both on my Powerbook. I am most likely going to upgrade to 4 because of > documenter and the SQL stuff. And I think it is the right thing to do. > I like Zends products, I use them all the time and I make my living with > them, so I think it is appropriate I support them. I know that might be > a weird view on that but I know when people use my stuff and make a > living from it I would like them to give back a little. Sort of a > principle thing. > > Hans K > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > -- Tom O'Neill tommyo at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.southwell at nyphp.org Wed May 11 14:59:31 2005 From: michael.southwell at nyphp.org (Michael Southwell) Date: Wed, 11 May 2005 14:59:31 -0400 Subject: [nycphp-talk] terminating semi-colon in mysql_query Message-ID: <6.1.2.0.2.20050511145820.020b9b20@mail.optonline.net> Despite the clear injunction at http://php.net/mysql_query that "The query string should not end with a semicolon," it appears that there is no problem doing it. This line $query="SELECT `address` FROM `units` WHERE `unitid`=106;"; is working just fine for me (on MySQL 3.23.51 and 4.0.22). Does anybody have ideas about what might be going on here? If the injunction is not enforced, why was it originally issued? Or am I overlooking something obvious? Michael Southwell, Vice President for Education New York PHP http://nyphp.org/twoday - In-depth PHP Training Courses From jsiegel1 at optonline.net Thu May 12 10:10:52 2005 From: jsiegel1 at optonline.net (Jeff Siegel) Date: Thu, 12 May 2005 10:10:52 -0400 Subject: [nycphp-talk] OT: Permanently delete files Message-ID: <0IGD00GSEREA3X@mta4.srv.hcvlny.cv.net> Can anyone recommend a utility for permanently deleting files from a Windows machine? Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From codebowl at gmail.com Thu May 12 10:16:15 2005 From: codebowl at gmail.com (Joseph Crawford) Date: Thu, 12 May 2005 10:16:15 -0400 Subject: [nycphp-talk] OT: Permanently delete files In-Reply-To: <0IGD00GSEREA3X@mta4.srv.hcvlny.cv.net> References: <0IGD00GSEREA3X@mta4.srv.hcvlny.cv.net> Message-ID: <8d9a428005051207162f0e2c41@mail.gmail.com> wont php do this with unlink() ? -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From max at neuropunks.org Thu May 12 10:31:17 2005 From: max at neuropunks.org (max) Date: Thu, 12 May 2005 09:31:17 -0500 Subject: [nycphp-talk] OT: Permanently delete files In-Reply-To: <0IGD00GSEREA3X@mta4.srv.hcvlny.cv.net> References: <0IGD00GSEREA3X@mta4.srv.hcvlny.cv.net> Message-ID: <20050512143117.GA62226@neuropunks.org> Hi, If you mean secure multipass deletion, this seems to be pretty cool: http://www.download.com/Eraser/3000-2092_4-10231813.html?tag=lst-0-5 But consider this (waaaay OT, from recent Bugtraq post): ----- Hello, Device Configuration Overlays (DCO) is a not so well known optional feature set in the ATA-6 standard and forwards. It is supported by a lot of, but not all, modern disks. Using DCO it is possible to tell a disk that it should appear smaller than it really is, thus hiding an arbitrarily large part of the disk from the operating system. We have made some tests with DCO and a few common imaging and wiping tools. It seems that most tools are *not* capable of handling DCO at all. For example we have found that even using the DOS boot floppy of EnCase Forensic Edition 4.18a, the part of a disk hidden with DCO will not get aquired. Another really bad thing is that disk wipe tools do not wipe a disk with a DCO set on it. For example, the very common tool ExpertEraser 2.0 from IBAS can be tricked into wiping as little of a disk as wished by setting a DCO on the disk before the wipe. I would like to emphasize that these are only examples of tools that cannot handle DCO, so simply switching to another manufacturers tool will *not* solve the problem. Because the issue affects so many tools we have chosen not to try to contact all manufacturers before releasing this information. There is a freeware tool coded by me that can set & discover & remove DCO: http://vidstrom.net/stools/taft/ We have been using it for our research for a few months now but I haven't published it until now. Also, I have written a report (which was finished already in January this year) on this and other issues related to ATA and Computer Forensics but it has taken time to get it through all the formalities with classification and such, so it will probably take another couple of weeks before I can publish it. Regards /Arne Vidstr?m Researcher, IT Security Swedish Defence Research Agency http://www.foi.se On Thu, May 12, 2005 at 10:10:52AM -0400, Jeff Siegel wrote: > Can anyone recommend a utility for permanently deleting files from a Windows > machine? > > Jeff > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org From rolan at omnistep.com Thu May 12 10:40:15 2005 From: rolan at omnistep.com (Rolan Yang) Date: Thu, 12 May 2005 10:40:15 -0400 Subject: [nycphp-talk] OT: Permanently delete files In-Reply-To: <0IGD00GSEREA3X@mta4.srv.hcvlny.cv.net> References: <0IGD00GSEREA3X@mta4.srv.hcvlny.cv.net> Message-ID: <42836ACF.5070703@omnistep.com> How permanent? Some places can physically recover data off a hard drive even after it has been formatted several times. A reliable way to assure destruction of data would be to store it all in a ram drive and make sure it doesn't get cached on the hard disk as swap. Jeff Siegel wrote: > Can anyone recommend a utility for permanently deleting files from a > Windows machine? > > Jeff > >------------------------------------------------------------------------ > > > From jsiegel1 at optonline.net Thu May 12 10:57:56 2005 From: jsiegel1 at optonline.net (Jeff Siegel) Date: Thu, 12 May 2005 10:57:56 -0400 Subject: [nycphp-talk] OT: Permanently delete files In-Reply-To: <8d9a428005051207162f0e2c41@mail.gmail.com> Message-ID: <0IGD00725TJZYP@mta9.srv.hcvlny.cv.net> Sorry if I wasn't clear about my question. I'm looking for a utility that runs on Windows (i.e., windows software), kinda of like the Ontrack data eraser utility (except THEIR utility costs $500 bucks!!). Jeff _____ From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Joseph Crawford Sent: Thursday, May 12, 2005 9:16 AM To: NYPHP Talk Subject: Re: [nycphp-talk] OT: Permanently delete files wont php do this with unlink() ? -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dcech at phpwerx.net Thu May 12 11:09:08 2005 From: dcech at phpwerx.net (Dan Cech) Date: Thu, 12 May 2005 11:09:08 -0400 Subject: [nycphp-talk] OT: Permanently delete files In-Reply-To: <0IGD00725TJZYP@mta9.srv.hcvlny.cv.net> References: <0IGD00725TJZYP@mta9.srv.hcvlny.cv.net> Message-ID: <42837194.9010507@phpwerx.net> Jeff, You may find this page useful: http://dban.sourceforge.net/ I'm not sure if DBAN in exactly what you are looking for, but there is a list of other similar products at the bottom. Dan Jeff Siegel wrote: > Sorry if I wasn't clear about my question. I'm looking for a utility that > runs on Windows (i.e., windows software), kinda of like the Ontrack data > eraser utility (except THEIR utility costs $500 bucks!!). > > Jeff From chsnyder at gmail.com Thu May 12 11:51:14 2005 From: chsnyder at gmail.com (csnyder) Date: Thu, 12 May 2005 11:51:14 -0400 Subject: [nycphp-talk] OT: Permanently delete files In-Reply-To: <42836ACF.5070703@omnistep.com> References: <0IGD00GSEREA3X@mta4.srv.hcvlny.cv.net> <42836ACF.5070703@omnistep.com> Message-ID: On 5/12/05, Rolan Yang wrote: > How permanent? Some places can physically recover data off a hard drive > even after it has been formatted several times. As long at we're OT, I noticed the other day that Apple's drive formatter offers the option of overwriting each block of an erased volume 35 times. As in, I really really really (x35!) want that data gone. From jsiegel1 at optonline.net Thu May 12 11:58:33 2005 From: jsiegel1 at optonline.net (Jeff Siegel) Date: Thu, 12 May 2005 11:58:33 -0400 Subject: [nycphp-talk] OT: Permanently delete files In-Reply-To: <42837194.9010507@phpwerx.net> Message-ID: <0IGD003D9WC2RR@mta8.srv.hcvlny.cv.net> Thanks for all of the suggestions. Someone sent me a copy of SuperDelete and I'm not sure if it has the flaw that was pointed out in one of the emails. And to answer someone else's question...a RAM drive doesn't apply here since they are files that already exist on a hard drive. The initial question about permanent deletion came from a lawyer who needs to make sure that certain files on a hard drive are gone...forever! Jeff From danielc at analysisandsolutions.com Thu May 12 12:07:53 2005 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Thu, 12 May 2005 12:07:53 -0400 Subject: [nycphp-talk] OT: Permanently delete files In-Reply-To: <0IGD00GSEREA3X@mta4.srv.hcvlny.cv.net> References: <0IGD00GSEREA3X@mta4.srv.hcvlny.cv.net> Message-ID: <20050512160753.GA18709@panix.com> Hey Jeff: On Thu, May 12, 2005 at 10:10:52AM -0400, Jeff Siegel wrote: > Can anyone recommend a utility for permanently deleting files from a Windows > machine? I do such things using "shred -u", which is part my Cygwin installation. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 From jsiegel1 at optonline.net Thu May 12 12:46:46 2005 From: jsiegel1 at optonline.net (Jeff Siegel) Date: Thu, 12 May 2005 12:46:46 -0400 Subject: [nycphp-talk] OT: Permanently delete files In-Reply-To: <20050512160753.GA18709@panix.com> Message-ID: <0IGD005A0YLD4H@mta9.srv.hcvlny.cv.net> Not likely that the average end user will install Cygwin. Jeff -----Original Message----- From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Daniel Convissor Sent: Thursday, May 12, 2005 11:08 AM To: NYPHP Talk Subject: Re: [nycphp-talk] OT: Permanently delete files Hey Jeff: On Thu, May 12, 2005 at 10:10:52AM -0400, Jeff Siegel wrote: > Can anyone recommend a utility for permanently deleting files from a Windows > machine? I do such things using "shred -u", which is part my Cygwin installation. --Dan From chsnyder at gmail.com Thu May 12 12:58:55 2005 From: chsnyder at gmail.com (csnyder) Date: Thu, 12 May 2005 12:58:55 -0400 Subject: [nycphp-talk] OT: Permanently delete files In-Reply-To: <0IGD005A0YLD4H@mta9.srv.hcvlny.cv.net> References: <20050512160753.GA18709@panix.com> <0IGD005A0YLD4H@mta9.srv.hcvlny.cv.net> Message-ID: On 5/12/05, Jeff Siegel wrote: > Not likely that the average end user will install Cygwin. > The average user doesn't need to shred the deleted data on their harddrives either, what? From chubbard at next-online.net Thu May 12 13:08:52 2005 From: chubbard at next-online.net (Chris Hubbard) Date: Thu, 12 May 2005 10:08:52 -0700 Subject: [nycphp-talk] OT: Permanently delete files In-Reply-To: References: <20050512160753.GA18709@panix.com> <0IGD005A0YLD4H@mta9.srv.hcvlny.cv.net> Message-ID: <42838DA4.9000500@next-online.net> An alternative is to remove the disks (platters), and have a barbecue. I'm assuming that if you were to melt the platters into a small pile of slag, that even the most enterprising of data-recovery specialists would have difficulties. If a barbecue doesn't seem hot enough there are various additives you could add to increase the heat. The additives I'm thinking of will certainly spoil your franks, some may even lead to the barbecue being included in the pile of slag. Of course, there's probably information encoded in the barbecue that would end up being recovered. Chris csnyder wrote: >On 5/12/05, Jeff Siegel wrote: > > >>Not likely that the average end user will install Cygwin. >> >> >> > >The average user doesn't need to shred the deleted data >on their harddrives either, what? >_______________________________________________ >New York PHP Talk Mailing List >AMP Technology >Supporting Apache, MySQL and PHP >http://lists.nyphp.org/mailman/listinfo/talk >http://www.nyphp.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tommyo at gmail.com Thu May 12 14:55:52 2005 From: tommyo at gmail.com (Thomas O'Neill) Date: Thu, 12 May 2005 13:55:52 -0500 Subject: [nycphp-talk] AMP on AS400 Message-ID: Hey Guys, I have a client that is currently running a website on an AS400 with Websphere. Has anyone had any experience getting PHP installed and running on an AS400. How about MySQL? We are going to build a small portal site for this client with a calender and CMS for about 10 users. Nothing fancy. Do you think it would make more sense to put AMP on a new Linux box on their network rather then messing with their AS400? Thanks! -- Tom O'Neill tommyo at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mitch.pirtle at gmail.com Thu May 12 15:01:52 2005 From: mitch.pirtle at gmail.com (Mitch Pirtle) Date: Thu, 12 May 2005 15:01:52 -0400 Subject: [nycphp-talk] AMP on AS400 In-Reply-To: References: Message-ID: <330532b605051212017ba64729@mail.gmail.com> On 5/12/05, Thomas O'Neill wrote: > Hey Guys, > > I have a client that is currently running a website on an AS400 with > Websphere. Has anyone had any experience getting PHP installed and running > on an AS400. How about MySQL? Yup, IIRC they (IBM) have an add-on for OS400 that allows you to run a linux virtual machine, with a data gateway (to DB2) and so on. > We are going to build a small portal site for this client with a calender > and CMS for about 10 users. Nothing fancy. Do you think it would make more > sense to put AMP on a new Linux box on their network rather then messing > with their AS400? If they are already running their other websites on the AS400, then it would make sense to keep all the other websites on that machine as well. The one exception to this idea is that you might want to introduce an alternative webserving platform, but that should be a strategic decision on the client's part. -- Mitch, fighting mightily with ubuntu on the cranky laptop From jsiegel1 at optonline.net Thu May 12 15:29:58 2005 From: jsiegel1 at optonline.net (Jeff Siegel) Date: Thu, 12 May 2005 15:29:58 -0400 Subject: [nycphp-talk] OT: Permanently delete files In-Reply-To: <42838DA4.9000500@next-online.net> Message-ID: <0IGE001CY67L85@mta1.srv.hcvlny.cv.net> Hmmm....what if the grill is a Weber? Would that handle the heat better? ;) Jeff From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Chris Hubbard Sent: Thursday, May 12, 2005 12:09 PM To: NYPHP Talk Subject: Re: [nycphp-talk] OT: Permanently delete files An alternative is to remove the disks (platters), and have a barbecue. I'm assuming that if you were to melt the platters into a small pile of slag, that even the most enterprising of data-recovery specialists would have difficulties. If a barbecue doesn't seem hot enough there are various additives you could add to increase the heat. The additives I'm thinking of will certainly spoil your franks, some may even lead to the barbecue being included in the pile of slag. Of course, there's probably information encoded in the barbecue that would end up being recovered. Chris From frank_wong2 at informationideas.com Thu May 12 17:17:50 2005 From: frank_wong2 at informationideas.com (Frank Wong) Date: Thu, 12 May 2005 17:17:50 -0400 Subject: [nycphp-talk] Dynamically write functions Message-ID: <4283C7FE.5010108@informationideas.com> I am wondering if there is a way to write functions dynamically. This is what I am trying to do. Currently, I have the following: ------------------------------------------------- function foo1 () { global bar1, bar2; // code } function foo2 () { global bar1, bar2; // code } ------------------------------------------------- I want to do something like the following: ------------------------------------------------- function write_globals() { $output = 'global bar1, bar2;' return $output; } function foo1 () { write_globals(); // code } functioin foo2 () { write_globals(); // code } ------------------------------------------------- Obviously, the above code does not work as it is written. But I was wondering if anyone knows a way to make that happen. TIA ________________________ Frank Wong From chsnyder at gmail.com Thu May 12 17:31:28 2005 From: chsnyder at gmail.com (csnyder) Date: Thu, 12 May 2005 17:31:28 -0400 Subject: [nycphp-talk] Dynamically write functions In-Reply-To: <4283C7FE.5010108@informationideas.com> References: <4283C7FE.5010108@informationideas.com> Message-ID: On 5/12/05, Frank Wong wrote: > I want to do something like the following: > ------------------------------------------------- > function write_globals() { > $output = 'global bar1, bar2;' > return $output; > } > function foo1 () { > write_globals(); > > // code > } Not sure exactly what the goal is, and there may be a much better way to do it, but if I understand correctly then this might work: function write_globals() { $command = ' global $bar1, $bar2; '; return $command; } function foo1() { $command = write_globals(); eval( $command ); // code } Be extremely careful with eval() to ensure that no user input finds its way into the $command string, otherwise somebody could execute arbitrary php code within your application. Like I said, there's probably a better way to do whatever you are trying to do.... From frank_wong2 at informationideas.com Thu May 12 18:39:28 2005 From: frank_wong2 at informationideas.com (Frank Wong) Date: Thu, 12 May 2005 18:39:28 -0400 Subject: [nycphp-talk] Dynamically write functions In-Reply-To: References: <4283C7FE.5010108@informationideas.com> Message-ID: <4283DB20.8040108@informationideas.com> csnyder wrote: >On 5/12/05, Frank Wong wrote: > > >>I want to do something like the following: >>------------------------------------------------- >>function write_globals() { >> $output = 'global bar1, bar2;' >> return $output; >>} >>function foo1 () { >> write_globals(); >> >> // code >>} >> >> > >Not sure exactly what the goal is, and there may be a much better way >to do it, but if I understand correctly then this might work: > > > Well, what I have are some global variables that is set in a global include file. I need to use them within my functions. The problem I have been faced with is that once in a while my code changes require a new global variable. I find myself going into every function to add 'global $bar1;'. My thinking was that if I had a function that wrote all my global vars, the next time a new global is introducted all I have to do is modify the write_globals() function. >function write_globals() { > $command = ' global $bar1, $bar2; '; > return $command; >} >function foo1() { > $command = write_globals(); > eval( $command ); > > // code >} > > > Aha, eval is what I was missing. I will try that. Thanks. >Be extremely careful with eval() to ensure that no user input finds >its way into the $command string, otherwise somebody could execute >arbitrary php code within your application. > > > Thanks for the reminder on the security issue with eval. In my case, I am safe since I only intend to put globals in my eval. >Like I said, there's probably a better way to do whatever you are >trying to do.... >_______________________________________________ >New York PHP Talk Mailing List >AMP Technology >Supporting Apache, MySQL and PHP >http://lists.nyphp.org/mailman/listinfo/talk >http://www.nyphp.org > > > > > From alanseiden at yahoo.com Thu May 12 21:40:31 2005 From: alanseiden at yahoo.com (Alan Seiden) Date: Thu, 12 May 2005 18:40:31 -0700 (PDT) Subject: [nycphp-talk] AMP on AS400 Message-ID: <20050513014031.26335.qmail@web32205.mail.mud.yahoo.com> Tom, I run PHP (CGI version) and MySql in the PASE environment on the AS/400. PASE does not require an additional Linux partition. PASE supports AIX binaries. I run Mambo and PHPAdsNew there. The performance is mediocre, so I wouldn't try it with a high-volume site. IBM states that they will improve support for PHP by the end of 2005. This web site is helpful: i5php.net --Alan --------- Alan Seiden Senior Developer and Technical Lead Strategic Business Systems, Inc. Ramsey, N.J. alanseiden (at) yahoo.com From rolan at omnistep.com Fri May 13 00:23:57 2005 From: rolan at omnistep.com (Rolan Yang) Date: Fri, 13 May 2005 00:23:57 -0400 Subject: [nycphp-talk] Dynamically write functions In-Reply-To: <4283DB20.8040108@informationideas.com> References: <4283C7FE.5010108@informationideas.com> <4283DB20.8040108@informationideas.com> Message-ID: <42842BDD.7000908@omnistep.com> I remember doing something like: function write_globals($bar) { global $$bar; print "The value of $bar is $$bar"; } put the name of the variable into $bar and pass it to the function. ~Rolan Frank Wong wrote: > csnyder wrote: > >> On 5/12/05, Frank Wong wrote: >> >> >>> I want to do something like the following: >>> ------------------------------------------------- >>> function write_globals() { >>> $output = 'global bar1, bar2;' >>> return $output; >>> } >>> function foo1 () { >>> write_globals(); >>> >>> // code >>> } >>> >> >> >> Not sure exactly what the goal is, and there may be a much better way >> to do it, but if I understand correctly then this might work: >> >> >> > Well, what I have are some global variables that is set in a global > include file. I need to use them within my functions. The problem I > have been faced with is that once in a while my code changes require a > new global variable. I find myself going into every function to add > 'global $bar1;'. My thinking was that if I had a function that wrote > all my global vars, the next time a new global is introducted all I > have to do is modify the write_globals() function. > >> function write_globals() { >> $command = ' global $bar1, $bar2; '; return $command; >> } >> function foo1() { >> $command = write_globals(); >> eval( $command ); >> >> // code >> } >> >> >> > Aha, eval is what I was missing. I will try that. Thanks. > >> Be extremely careful with eval() to ensure that no user input finds >> its way into the $command string, otherwise somebody could execute >> arbitrary php code within your application. >> >> >> > Thanks for the reminder on the security issue with eval. In my case, > I am safe since I only intend to put globals in my eval. > >> Like I said, there's probably a better way to do whatever you are >> trying to do.... >> _______________________________________________ >> New York PHP Talk Mailing List >> AMP Technology >> Supporting Apache, MySQL and PHP >> http://lists.nyphp.org/mailman/listinfo/talk >> http://www.nyphp.org >> >> >> >> >> > > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > From kenrbnsn at rbnsn.com Fri May 13 05:08:38 2005 From: kenrbnsn at rbnsn.com (Ken Robinson) Date: Fri, 13 May 2005 05:08:38 -0400 Subject: [nycphp-talk] Dynamically write functions In-Reply-To: <4283DB20.8040108@informationideas.com> References: <4283C7FE.5010108@informationideas.com> <4283DB20.8040108@informationideas.com> Message-ID: <6.2.3.0.2.20050513050053.024df900@mail.rbnsn.com> At 06:39 PM 5/12/2005, Frank Wong wrote: >csnyder wrote: > >>On 5/12/05, Frank Wong wrote: >> >> >>>I want to do something like the following: >>>------------------------------------------------- >>>function write_globals() { >>> $output = 'global bar1, bar2;' >>> return $output; >>>} >>>function foo1 () { >>> write_globals(); >>> >>> // code >>>} >>> >> >>Not sure exactly what the goal is, and there may be a much better way >>to do it, but if I understand correctly then this might work: >> >> >Well, what I have are some global variables that is set in a global >include file. I need to use them within my functions. The problem >I have been faced with is that once in a while my code changes >require a new global variable. I find myself going into every >function to add 'global $bar1;'. My thinking was that if I had a >function that wrote all my global vars, the next time a new global >is introducted all I have to do is modify the write_globals() function. You might want to re-think how you handle the globals in the first place. Since all global variables are stored in the $_GLOBALS super array, why don't you either reference the global variables as an index of that array ($_GLOBALS['variable_name']) or use the extract() function at the start of each function to get variable names? Ken From nhart at musicpf.org Fri May 13 09:22:45 2005 From: nhart at musicpf.org (NH) Date: Fri, 13 May 2005 09:22:45 -0400 Subject: [nycphp-talk] AMP on AS400 In-Reply-To: References: Message-ID: <4284AA25.2000400@musicpf.org> Thomas, I have PHP currently running on our AS/400. Here is a link: http://www.i5php.net/ You have to install the PASE environment on the ISeries and there is a patch provided by IBM which enables you to access DB2 data directly within PHP. So far IBM has provided this patch for up to PHP 4.3 which I currently have working in a test environment. I recently had an email from the following guys from IBM Germany who wanted to know if anyone is interested in further PHP development for the ISeries. Please let them know you would like to see further development and support as this may get the gears turning: heiko_mueller at at.ibm.com BARLEN at de.ibm.com wolfgang_pauer at at.ibm.com Keep in touch and let me know what you decide. It didn't look any easier to me to try to get real-time data exchanged between a linux/MySQL system and AS/400/DB2. Regards, Nicholas Hart 212-391-3950 X320 Thomas O'Neill wrote: > Hey Guys, > > I have a client that is currently running a website on an AS400 with > Websphere. Has anyone had any experience getting PHP installed and > running on an AS400. How about MySQL? > > We are going to build a small portal site for this client with a > calender and CMS for about 10 users. Nothing fancy. Do you think it > would make more sense to put AMP on a new Linux box on their network > rather then messing with their AS400? > > Thanks! > > -- > Tom O'Neill > tommyo at gmail.com > >------------------------------------------------------------------------ > >_______________________________________________ >New York PHP Talk Mailing List >AMP Technology >Supporting Apache, MySQL and PHP >http://lists.nyphp.org/mailman/listinfo/talk >http://www.nyphp.org > From stephen at musgrave.org Fri May 13 10:26:42 2005 From: stephen at musgrave.org (Stephen Musgrave) Date: Fri, 13 May 2005 10:26:42 -0400 Subject: [nycphp-talk] PHP to OBDC / Exchange Message-ID: <8d7510912e0ce011eb158fdfd509de13@musgrave.org> List - I am in the early stages of researching how to go about connecting to a remote OBDC server and an Microsoft Exchange server (likely on two different servers) via PHP. At this point I do not know if the polling web server will be running on Unix or Windows. With the OBDC connection, I would like the option of having a web interface to an Access database. The interface would be used to create custom queries for reporting. Does a product like that exist? I see that there are many interfaces for Microsoft SQL server, but not explicitly Access. With the Microsoft Exchange server, I am thinking of writing a program to poll emails from accounts for correspondence logging - nothing dramatic. The PHP native IMAP drivers look like they can handle the job - but being unfamiliar with Exchange, is it a given that Exchange is always running IMAP? Thanks for any advice, links, etc. Your advisement is well appreciated. Thanks, Stephen ??????????????????????????????? email: stephen at musgrave.org web: http://stephen.musgrave.org/career office: 917.721.3378 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1189 bytes Desc: not available URL: From frank_wong2 at informationideas.com Fri May 13 10:30:11 2005 From: frank_wong2 at informationideas.com (Frank Wong) Date: Fri, 13 May 2005 10:30:11 -0400 Subject: [nycphp-talk] Dynamically write functions In-Reply-To: <6.2.3.0.2.20050513050053.024df900@mail.rbnsn.com> References: <4283C7FE.5010108@informationideas.com> <4283DB20.8040108@informationideas.com> <6.2.3.0.2.20050513050053.024df900@mail.rbnsn.com> Message-ID: <4284B9F3.9010108@informationideas.com> Ken Robinson wrote: > You might want to re-think how you handle the globals in the first place. > > Since all global variables are stored in the $_GLOBALS super array, > why don't you either reference the global variables as an index of > that array ($_GLOBALS['variable_name']) or use the extract() function > at the start of each function to get variable names? > I was just lazy and didn't want to type all the $_GLOBALS[...] when I first developed the application. Now I regret it. :-( The extract function is perfect! I had never used it before. That should solve my problems instead of using a function to write the globals into all other functions. Thanks a bunch for all the help. From chsnyder at gmail.com Fri May 13 10:35:37 2005 From: chsnyder at gmail.com (csnyder) Date: Fri, 13 May 2005 10:35:37 -0400 Subject: [nycphp-talk] PHP to OBDC / Exchange In-Reply-To: <8d7510912e0ce011eb158fdfd509de13@musgrave.org> References: <8d7510912e0ce011eb158fdfd509de13@musgrave.org> Message-ID: On 5/13/05, Stephen Musgrave wrote: > The PHP native IMAP drivers look like they can handle the > job - but being unfamiliar with Exchange, is it a given that Exchange > is always running IMAP? It's not a given that Exchange is running imap, but I believe it's any easy option to turn on. If not, maybe you can screen-scrape from Outlook Web Access. Imap will give you access to messages and mailboxes/folders, but events, tasklists, and contacts are basically off-limits. True that you can devine the existence and subject of these items, but you can't get at the yummy Microsoft metadata that makes them useful. From krook at us.ibm.com Fri May 13 10:38:21 2005 From: krook at us.ibm.com (Daniel Krook) Date: Fri, 13 May 2005 10:38:21 -0400 Subject: [nycphp-talk] PHP and WebSphere together Message-ID: Hey folks, An article I wrote for IBM's developerWorks site went live this week with the May issue of the IBM WebSphere Developer Technical Journal. The article argues that while PHP and WebSphere are generally considered competitors, they can work together to support a common type of application. The article covers the roles of a web application, where PHP and WebSphere fit in, and how to install them together with Apache and DB2 on a Linux server. I also provided a sample application as a proof of concept. The example code consists of a J2EE Struts application which serves as a content management system to a PHP-driven public website. Enjoy, and don't forget to submit a rating at the bottom of the article - if that module shows up for you... I seem to have been spared of it for now :) Pair J2EE with PHP to implement a common Web application infrastructure http://ibm.com/developerworks/websphere/techjournal/0505_krook/0505_krook.html IBM WebSphere Developer Technical Journal http://ibm.com/developerworks/websphere/techjournal/ Daniel Krook, Advisory IT Specialist Application Development, Production Services - Tools, ibm.com Personal: http://info.krook.org/ BluePages: http://w3.ibm.com/bluepages?searchcnum=9A9796897 From stephen at musgrave.org Fri May 13 10:50:46 2005 From: stephen at musgrave.org (Stephen Musgrave) Date: Fri, 13 May 2005 10:50:46 -0400 Subject: [nycphp-talk] PHP to OBDC / Exchange In-Reply-To: <8d7510912e0ce011eb158fdfd509de13@musgrave.org> References: <8d7510912e0ce011eb158fdfd509de13@musgrave.org> Message-ID: <8a5e4d30c9e34ba9fa24ca9a3fa2c5be@musgrave.org> > With the OBDC connection, I would like the option of having a web > interface to an Access database. The interface would be used to > create custom queries for reporting. Does a product like that exist? > I see that there are many interfaces for Microsoft SQL server, but not > explicitly Access. And while we're on the topic, is there a way to use a visual environment like Access to view MySQL? I have used Navicat before which was quite useful, any other suggestions? From stephen at musgrave.org Fri May 13 10:53:43 2005 From: stephen at musgrave.org (Stephen Musgrave) Date: Fri, 13 May 2005 10:53:43 -0400 Subject: [nycphp-talk] PHP to OBDC / Exchange In-Reply-To: References: <8d7510912e0ce011eb158fdfd509de13@musgrave.org> Message-ID: <07bcafb3a514fb394031e90e725ac66f@musgrave.org> On May 13, 2005, at 10:35 AM, csnyder wrote: > Imap will give you access to messages and mailboxes/folders, but > events, tasklists, and contacts are basically off-limits. True that > you can devine the existence and subject of these items, but you can't > get at the yummy Microsoft metadata that makes them useful. I ran across this in the comments section for imap_open() on the php.net site: 14-Jan-2004 03:03 In order to make a IMAP connection to a Microsoft Exchange Server 5.5, I used this connection-string : By replacing "Inbox" with, e.g. "Tasks", its possible to see all your tasks. I Hope this helps anybody! Regards From nyphp at n0p.net Fri May 13 11:01:52 2005 From: nyphp at n0p.net (Flavio daCosta) Date: Fri, 13 May 2005 11:01:52 -0400 Subject: [nycphp-talk] Dynamically write functions In-Reply-To: <4284B9F3.9010108@informationideas.com> References: <4283C7FE.5010108@informationideas.com> <4283DB20.8040108@informationideas.com> <6.2.3.0.2.20050513050053.024df900@mail.rbnsn.com> <4284B9F3.9010108@informationideas.com> Message-ID: <1115996512.9821.7.camel@localhost.localdomain> > the extract() function Just be careful when using extract() as it is one of those functions you look for when checking for exploitable code. ;) For example, I have seen nasty stuff like extract($_POST) which is register_globals all over again. Flavio From willie at pdfsystems.com Fri May 13 11:27:19 2005 From: willie at pdfsystems.com (William Klein) Date: Fri, 13 May 2005 11:27:19 -0400 Subject: [php] Re: [nycphp-talk] PHP to OBDC / Exchange In-Reply-To: <8a5e4d30c9e34ba9fa24ca9a3fa2c5be@musgrave.org> Message-ID: <20050513152855.B3787A86D8@virtu.nyphp.org> >And while we're on the topic, is there a way to use a visual >environment like Access to view MySQL? I have used Navicat before >which was quite useful, any other suggestions? I use MySQL Administrator and phpMyAdmin _______________________________________________ From chsnyder at gmail.com Fri May 13 11:57:36 2005 From: chsnyder at gmail.com (csnyder) Date: Fri, 13 May 2005 11:57:36 -0400 Subject: [nycphp-talk] PHP to OBDC / Exchange In-Reply-To: <07bcafb3a514fb394031e90e725ac66f@musgrave.org> References: <8d7510912e0ce011eb158fdfd509de13@musgrave.org> <07bcafb3a514fb394031e90e725ac66f@musgrave.org> Message-ID: On 5/13/05, Stephen Musgrave wrote: > By replacing "Inbox" with, e.g. "Tasks", its possible to see all your > tasks. I Hope this helps anybody! In my experience, you can see the tasks, but not any of the details associated with them (such as whether they are completed or not). If you find out how to do this through imap, please share! From max at neuropunks.org Fri May 13 11:58:48 2005 From: max at neuropunks.org (max) Date: Fri, 13 May 2005 10:58:48 -0500 Subject: [nycphp-talk] php.ini not loading Message-ID: <20050513155848.GA80108@neuropunks.org> Hello, I have a ridiculous issue, php.ini is not being read by apache. I put a copy (all identical) into /usr/local/lib/php /usr/lib/php /usr/local/etc/ /etc/ My current project's default html/php scripts dir Server root as specified in httpd.conf or pick any other random location, and its still not being read. I tried every permutation of dirs above, first only one of them, then all, then some other only one, etc, still nothing. I still get errors displayed, and upload temp file path is still not changing. I restart my apache after every attempt. This is on freebsd 5.2.1 on sparc64, apache 1.3.33 installed from ports, and php 5.0.4 installed from source in /usr/local/lib/php I am lost. Is there some function may be where I can specify within my script where to look for php.ini? Thank you! From frank_wong2 at informationideas.com Fri May 13 11:59:35 2005 From: frank_wong2 at informationideas.com (Frank Wong) Date: Fri, 13 May 2005 11:59:35 -0400 Subject: [nycphp-talk] Dynamically write functions In-Reply-To: <1115996512.9821.7.camel@localhost.localdomain> References: <1115996512.9821.7.camel@localhost.localdomain> Message-ID: <4284CEE7.5010100@informationideas.com> > >Just be careful when using extract() as it is one of those functions you >look for when checking for exploitable code. ;) For example, I have >seen nasty stuff like extract($_POST) which is register_globals all over >again. > > > Thanks for the heads up on extract. But do you see any security issues with extract($_GLOBALS)? From 1j0lkq002 at sneakemail.com Fri May 13 12:20:21 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: 13 May 2005 12:20:21 -0400 Subject: [nycphp-talk] php.ini not loading Message-ID: <20584-86636@sneakemail.com> Perhaps run phpinfo() and see which one is in use? -----Original Message----- From: max max-at-neuropunks.org |nyphp dev/internal group use| Date: 5/13/05 11:59 am To: talk at lists.nyphp.org Subj: [nycphp-talk] php.ini not loading Hello, I have a ridiculous issue, php.ini is not being read by apache. I put a copy (all identical) into /usr/local/lib/php /usr/lib/php /usr/local/etc/ /etc/ My current project's default html/php scripts dir Server root as specified in httpd.conf or pick any other random location, and its still not being read. I tried every permutation of dirs above, first only one of them, then all, then some other only one, etc, still nothing. I still get errors displayed, and upload temp file path is still not changing. I restart my apache after every attempt. This is on freebsd 5.2.1 on sparc64, apache 1.3.33 installed from ports, and php 5.0.4 installed from source in /usr/local/lib/php I am lost. Is there some function may be where I can specify within my script where to look for php.ini? Thank you! _______________________________________________ New York PHP Talk Mailing List AMP Technology Supporting Apache, MySQL and PHP http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org From andrew at plexpod.com Fri May 13 12:25:36 2005 From: andrew at plexpod.com (Andrew Yochum) Date: Fri, 13 May 2005 12:25:36 -0400 Subject: [nycphp-talk] php.ini not loading In-Reply-To: <20050513155848.GA80108@neuropunks.org> References: <20050513155848.GA80108@neuropunks.org> Message-ID: <20050513162536.GB21534@zoidberg.digitalpulp.com> On Fri, May 13, 2005 at 10:58:48AM -0500, max wrote: > I am lost. Is there some function may be where I can specify within my > script where to look for php.ini? The output of phpinfo() tells you where that build is looking for its php.ini HTH, Andrew From dcech at phpwerx.net Fri May 13 12:29:08 2005 From: dcech at phpwerx.net (Dan Cech) Date: Fri, 13 May 2005 12:29:08 -0400 Subject: [nycphp-talk] Dynamically write functions In-Reply-To: <4284CEE7.5010100@informationideas.com> References: <1115996512.9821.7.camel@localhost.localdomain> <4284CEE7.5010100@informationideas.com> Message-ID: <4284D5D4.8040100@phpwerx.net> Frank, What you could do is to make a helper function like: function &get_globals() { return array( 'var1' => $GLOBALS['var1'], 'var2' => $GLOBALS['var2'] ); } then use: function myfunc() { extract(get_globals(),EXTR_REFS); // code } This way you will have all the same access to the variables that you had before, and full control over which variables are available. Dan Frank Wong wrote: >> Just be careful when using extract() as it is one of those functions you >> look for when checking for exploitable code. ;) For example, I have >> seen nasty stuff like extract($_POST) which is register_globals all over >> again. > > Thanks for the heads up on extract. But do you see any security issues > with extract($_GLOBALS)? From dcech at phpwerx.net Fri May 13 12:34:32 2005 From: dcech at phpwerx.net (Dan Cech) Date: Fri, 13 May 2005 12:34:32 -0400 Subject: [nycphp-talk] Dynamically write functions In-Reply-To: <4284CEE7.5010100@informationideas.com> References: <1115996512.9821.7.camel@localhost.localdomain> <4284CEE7.5010100@informationideas.com> Message-ID: <4284D718.3070301@phpwerx.net> Frank, Another thought about using extract($GLOBALS) is that all of the 'superglobals' ($_SESSION,$_REQUEST,$_POST,etc) are entries in the $GLOBALS array, so just using that by itself would probably introduce 'interesting' behaviours. Dan Frank Wong wrote: >> Just be careful when using extract() as it is one of those functions you >> look for when checking for exploitable code. ;) For example, I have >> seen nasty stuff like extract($_POST) which is register_globals all over >> again. > > Thanks for the heads up on extract. But do you see any security issues > with extract($_GLOBALS)? From nyphp at n0p.net Fri May 13 12:44:40 2005 From: nyphp at n0p.net (Flavio daCosta) Date: Fri, 13 May 2005 12:44:40 -0400 Subject: [nycphp-talk] Dynamically write functions In-Reply-To: <4284CEE7.5010100@informationideas.com> References: <1115996512.9821.7.camel@localhost.localdomain> <4284CEE7.5010100@informationideas.com> Message-ID: <1116002680.9821.46.camel@localhost.localdomain> On Fri, 2005-05-13 at 11:59 -0400, Frank Wong wrote: > Thanks for the heads up on extract. But do you see any security issues > with extract($_GLOBALS)? Heh, trick question. In theory it appears fine seeing as the variables were somehow global in the first place, you are just brining them into a function. However: Many times exploits are not just one obvious blaring problem, but a series of ~questionable~ issues coupled together. In general, I just consider extract() to be one of those questionable functions. You said: > I find myself going into every function to add 'global $bar1;' But aren't you in the functions anyway actually utilizing the _new_ global variable. I dont understand why you would need them in _every_ function if you aren't actually in the function coding to them... Flavio From nyphp at n0p.net Fri May 13 12:58:04 2005 From: nyphp at n0p.net (Flavio daCosta) Date: Fri, 13 May 2005 12:58:04 -0400 Subject: [nycphp-talk] Dynamically write functions In-Reply-To: <4284D5D4.8040100@phpwerx.net> References: <1115996512.9821.7.camel@localhost.localdomain> <4284CEE7.5010100@informationideas.com> <4284D5D4.8040100@phpwerx.net> Message-ID: <1116003484.9821.49.camel@localhost.localdomain> On Fri, 2005-05-13 at 12:29 -0400, Dan Cech wrote: Personally I like what Dan wrote in the fact that it gives you more control over such an unwieldy function... It gives me better "warm fizzies" then just using extract() raw. From max at neuropunks.org Fri May 13 13:11:38 2005 From: max at neuropunks.org (max) Date: Fri, 13 May 2005 12:11:38 -0500 Subject: [nycphp-talk] php.ini not loading In-Reply-To: <20584-86636@sneakemail.com> References: <20584-86636@sneakemail.com> Message-ID: <20050513171138.GA8190@neuropunks.org> yes that worked, thank you! was in /usr/local/lib for some reason.. thanks On Fri, May 13, 2005 at 12:20:21PM -0400, inforequest wrote: > Perhaps run phpinfo() and see which one is in use? > > -----Original Message----- > From: max max-at-neuropunks.org |nyphp dev/internal group use| > Date: 5/13/05 11:59 am > To: talk at lists.nyphp.org > Subj: [nycphp-talk] php.ini not loading > > Hello, > I have a ridiculous issue, php.ini is not being read by apache. > I put a copy (all identical) into > /usr/local/lib/php > /usr/lib/php > /usr/local/etc/ > /etc/ > My current project's default html/php scripts dir > Server root as specified in httpd.conf > or pick any other random location, and its still not being read. I tried every permutation of dirs above, first only one of them, then all, then some other only one, etc, still nothing. > I still get errors displayed, and upload temp file path is still not changing. > I restart my apache after every attempt. > This is on freebsd 5.2.1 on sparc64, apache 1.3.33 installed from ports, and php 5.0.4 installed from source in /usr/local/lib/php > I am lost. Is there some function may be where I can specify within my script where to look for php.ini? > > > Thank you! > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > From frank_wong2 at informationideas.com Fri May 13 13:37:11 2005 From: frank_wong2 at informationideas.com (Frank Wong) Date: Fri, 13 May 2005 13:37:11 -0400 Subject: [nycphp-talk] Dynamically write functions In-Reply-To: <4284D5D4.8040100@phpwerx.net> References: <1115996512.9821.7.camel@localhost.localdomain> <4284CEE7.5010100@informationideas.com> <4284D5D4.8040100@phpwerx.net> Message-ID: <4284E5C7.9080909@informationideas.com> Dan Cech wrote: > Frank, > > What you could do is to make a helper function like: > > function &get_globals() > { > return array( > 'var1' => $GLOBALS['var1'], > 'var2' => $GLOBALS['var2'] > ); > } > > then use: > > function myfunc() > { > extract(get_globals(),EXTR_REFS); > > // code > } > > This way you will have all the same access to the variables that you > had before, and full control over which variables are available. > I like that a lot. This is the method I'm going to go with. Thank you very much for the pointers. From frank_wong2 at informationideas.com Fri May 13 13:43:43 2005 From: frank_wong2 at informationideas.com (Frank Wong) Date: Fri, 13 May 2005 13:43:43 -0400 Subject: [nycphp-talk] Dynamically write functions In-Reply-To: <1116002680.9821.46.camel@localhost.localdomain> References: <1115996512.9821.7.camel@localhost.localdomain> <4284CEE7.5010100@informationideas.com> <1116002680.9821.46.camel@localhost.localdomain> Message-ID: <4284E74F.6060600@informationideas.com> Flavio daCosta wrote: > >You said: > > >>I find myself going into every function to add 'global $bar1;' >> >> > >But aren't you in the functions anyway actually utilizing the _new_ >global variable. I dont understand why you would need them in _every_ >function if you aren't actually in the function coding to them... > > > It's true that I would be in the functions making changes anyway. But again as I have stated before, I am lazy and would like to type as little as possible. I rather add one global var by just typing in one place and have it take effect anywhere I want to use the global. Maybe some would consider this extraneous work but my laziness still makes me think that it is worth the effort at the end. :-) From rrust at r2communications.com Fri May 13 21:19:48 2005 From: rrust at r2communications.com (Randal Rust) Date: Fri, 13 May 2005 21:19:48 -0400 Subject: [nycphp-talk] Help Needed with PHP 5 Error Handling Message-ID: <42855234.30009@r2communications.com> I use the ADOdb abstraction library for my db calls, and I am working on migrating some code from PHP 4.+ to 5. I have run the same code before on PHP 5, but did not get any error warnings, so I'm thinking that it is how I have error_reporting set in my php.ini file. All of the errors are from my adodb.inc.php file. Here are the errors: Strict Standards: Assigning the return value of new by reference is deprecated in C:\web\ohcentral_v2\adodb\adodb.inc.php on line 3790 Strict Standards: Declaration of ADORecordSet_array::FetchField() should be compatible with that of ADORecordSet::FetchField() in C:\web\ohcentral_v2\adodb\adodb.inc.php on line 3383 And here is what I have for error_reporting: error_reporting = E_ALL & ~E_STRICT I thought that ~E_STRICT was supposed to hide those 'Strict Standards' messages? TIA. -- Randal Rust R.Squared Communications http://www.r2communications.com Digital Design for Bricks-and-Mortar Businesses From tom at supertom.com Sat May 14 15:33:18 2005 From: tom at supertom.com (Tom) Date: Sat, 14 May 2005 15:33:18 -0400 Subject: [nycphp-talk] phpMyAdmin for ODBC? In-Reply-To: <42855234.30009@r2communications.com> Message-ID: <0IGH001BBUTX73@mta1.srv.hcvlny.cv.net> Hey Folks, Looking for recommendations on a phpMyAdmin equivalent for MS Access (via ODBC) on windows. Really doesn't have to be the equivalent, if it can add/edit/delete/view tables that is fine. Needs to be PHP, as I'm not running anything else on the box. Some quick Googling didn't provide any results. Any suggestions? Thanks, Tom http://www.liphp.org From jeff.loiselle at gmail.com Mon May 16 06:24:10 2005 From: jeff.loiselle at gmail.com (Jeff Loiselle) Date: Mon, 16 May 2005 06:24:10 -0400 Subject: [nycphp-talk] PHP and WebSphere together In-Reply-To: References: Message-ID: <4b1887110505160324207c6825@mail.gmail.com> This article was published the same day you made this post: http://news.com.com/Grassroots%20computing%20languages%20hit%20the%20big%20time/2100-1007_3-5705448.html?tag=nefd.lede On 5/13/05, Daniel Krook wrote: > Hey folks, > > An article I wrote for IBM's developerWorks site went live this week with > the May issue of the IBM WebSphere Developer Technical Journal. > > The article argues that while PHP and WebSphere are generally considered > competitors, they can work together to support a common type of > application. The article covers the roles of a web application, where PHP > and WebSphere fit in, and how to install them together with Apache and DB2 > on a Linux server. > > I also provided a sample application as a proof of concept. The example > code consists of a J2EE Struts application which serves as a content > management system to a PHP-driven public website. > > Enjoy, and don't forget to submit a rating at the bottom of the article - > if that module shows up for you... I seem to have been spared of it for > now :) > > Pair J2EE with PHP to implement a common Web application infrastructure > http://ibm.com/developerworks/websphere/techjournal/0505_krook/0505_krook.html > > IBM WebSphere Developer Technical Journal > http://ibm.com/developerworks/websphere/techjournal/ > > Daniel Krook, Advisory IT Specialist > Application Development, Production Services - Tools, ibm.com > > Personal: http://info.krook.org/ > BluePages: http://w3.ibm.com/bluepages?searchcnum=9A9796897 > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > -- --- Jeff Loiselle Web Developer, Musician, and Observer http://jeff.loiselles.com From danielc at analysisandsolutions.com Mon May 16 13:18:10 2005 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Mon, 16 May 2005 13:18:10 -0400 Subject: [nycphp-talk] stuff in SecurityFocus Newsletter #300 Message-ID: <20050516171810.GA3110@panix.com> SecurityFocus Newsletter #300 APPLICATIONS USING PHP ---------------------- JGS-Portal ID Variable SQL Injection Vulnerability http://www.securityfocus.com/bid/ 13451 PHPMyAdmin Insecure SQL Install Script Permissions Vulnerability http://www.securityfocus.com/bid/ 13452 CodeToSell ViArt Shop Enterprise Multiple Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/ 13462 OSTicket Multiple Input Validation and Remote Code Injection... http://www.securityfocus.com/bid/ 13478 SitePanel2 Multiple Input Validation Vulnerabilities http://www.securityfocus.com/bid/ 13481 Invision Power Board Act Parameter Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/ 13483 Invision Power Board Topics.PHP Highlite Parameter Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/ 13534 Invision Power Board Login.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/ 13529 Invision Power Board Search.PHP Highlite Parameter Scripting Vulnerability http://www.securityfocus.com/bid/ 13532 PHP Advanced Transfer Manager Arbitrary File Upload Vulnerability http://www.securityfocus.com/bid/ 13542 Interspire ArticleLive Multiple Remote Vulnerabilities http://www.securityfocus.com/bid/ 13493 FishNet FishCart Multiple Cross-Site Scripting and SQL Injection Vulnerability http://www.securityfocus.com/bid/ 13499 MyBloggie Multiple Input Validation Vulnerabilities http://www.securityfocus.com/bid/ 13507 MidiCart PHP Search_List.PHP SearchString Parameter SQL Injection Vulnerability http://www.securityfocus.com/bid/ 13512 MidiCart PHP Item_List.PHP MainGroup Parameter SQL Injection Vulnerability http://www.securityfocus.com/bid/ 13513 MidiCart PHP Item_List.PHP SecondGroup Parameter SQL Injection Vulnerability http://www.securityfocus.com/bid/ 13514 MidiCart PHP Item_Show.PHP Code_No Parameter SQL Injection V... http://www.securityfocus.com/bid/ 13515 MidiCart PHP Search_List.PHP SearchString Parameter Scripting Vulnerability http://www.securityfocus.com/bid/ 13516 MidiCart PHP Item_List.PHP SecondGroup Parameter Cross-Site ... http://www.securityfocus.com/bid/ 13517 MidiCart PHP Item_List.PHP Maingroup Parameter Cross-Site Sc... http://www.securityfocus.com/bid/ 13518 BirdBlog BB Code HTML Injection Vulnerability http://www.securityfocus.com/bid/ 13520 CJ Ultra Plus OUT.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/ 13533 RELATED STUFF ------------- If you're using the Firefox or Mozilla web browsers, make sure you upgrade to the latest versions (FF = 1.0.4, Moz = 1.7.8). -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 From aaron at aarond.com Mon May 16 16:06:49 2005 From: aaron at aarond.com (aaron at aarond.com) Date: Mon, 16 May 2005 16:06:49 -0400 Subject: [nycphp-talk] php web form Message-ID: <4288FD59.4030300@aarond.com> Anyone have recommendations on how to secure a webform? What I'm trying to do is have the code processing page be able to tell if the referring page is on the same server. For example I'd like to avoid someone trying to send post data from a copy of my form on another server to mine. thanks, Aaron From nasir81 at gmail.com Mon May 16 16:41:05 2005 From: nasir81 at gmail.com (Nasir Zubair) Date: Mon, 16 May 2005 16:41:05 -0400 Subject: [nycphp-talk] php web form In-Reply-To: <4288FD59.4030300@aarond.com> References: <4288FD59.4030300@aarond.com> Message-ID: <40fcda73050516134151495777@mail.gmail.com> The simplest way would be to place a hidden field in your form, which can contain some kind of secret, like MD5/SHA-1 hash of something known to the server only. If you pick a random secret, you can store it in a session and check the submitted hash with the hash of the secret from the session. On 5/16/05, aaron at aarond.com wrote: > Anyone have recommendations on how to secure a webform? What I'm trying > to do is have the code processing page be able to tell if the referring > page is on the same server. > > For example I'd like to avoid someone trying to send post data from a > copy of my form on another server to mine. > > thanks, > Aaron > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > -- Nasir Zubair http://www.nasir.us/ From danielc at analysisandsolutions.com Mon May 16 16:43:05 2005 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Mon, 16 May 2005 16:43:05 -0400 Subject: [nycphp-talk] php web form In-Reply-To: <4288FD59.4030300@aarond.com> References: <4288FD59.4030300@aarond.com> Message-ID: <20050516204305.GA20767@panix.com> On Mon, May 16, 2005 at 04:06:49PM -0400, aaron at aarond.com wrote: > > For example I'd like to avoid someone trying to send post data from a > copy of my form on another server to mine. http://education.nyphp.org/phundamentals/PH_spoofed_submission.php --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 From nasir81 at gmail.com Mon May 16 16:45:58 2005 From: nasir81 at gmail.com (Nasir Zubair) Date: Mon, 16 May 2005 16:45:58 -0400 Subject: [nycphp-talk] php web form In-Reply-To: <20050516204305.GA20767@panix.com> References: <4288FD59.4030300@aarond.com> <20050516204305.GA20767@panix.com> Message-ID: <40fcda730505161345683253c4@mail.gmail.com> doh On 5/16/05, Daniel Convissor wrote: > On Mon, May 16, 2005 at 04:06:49PM -0400, aaron at aarond.com wrote: > > > > For example I'd like to avoid someone trying to send post data from a > > copy of my form on another server to mine. > > http://education.nyphp.org/phundamentals/PH_spoofed_submission.php > > --Dan > > -- > T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y > data intensive web and database programming > http://www.AnalysisAndSolutions.com/ > 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > -- Nasir Zubair http://www.nasir.us/ From alexchan.1976 at gmail.com Mon May 16 18:45:27 2005 From: alexchan.1976 at gmail.com (Alex C) Date: Mon, 16 May 2005 18:45:27 -0400 Subject: [nycphp-talk] SOAP deamon ish Message-ID: <8f494f76050516154555dcc589@mail.gmail.com> Hi everbody, I need to write SOAP server /deamon.. basicially it has to do the following.. it needs to ping a server via a soap message... then.. it will become a soap server that will accept soap messages .. any idea how i can do this? thanks in advance.. alex From shiflett at php.net Mon May 16 19:31:03 2005 From: shiflett at php.net (Chris Shiflett) Date: Mon, 16 May 2005 19:31:03 -0400 Subject: [nycphp-talk] php web form In-Reply-To: <4288FD59.4030300@aarond.com> References: <4288FD59.4030300@aarond.com> Message-ID: <42892D37.30403@php.net> aaron at aarond.com wrote: > For example I'd like to avoid someone trying to send post data from a > copy of my form on another server to mine. Aside from the helpful information that has been posted, I think it's very important to realize that clients send requests, not servers. (Even in cases where you want to send a request from your PHP script, you play the role of an HTTP client.) Stated differently, it doesn't matter where an HTML form is located, the client (browser) sends the request when the form is submitted. Hope that helps. Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/ From mjdewitt at alexcommgrp.com Wed May 18 15:13:20 2005 From: mjdewitt at alexcommgrp.com (DeWitt, Michael) Date: Wed, 18 May 2005 15:13:20 -0400 Subject: [nycphp-talk] OT: Looking to share office space in the Flatiron district Message-ID: Please pardon my off-topic post, but there doesn't seem to be a more appropriate list to get in touch with NYC based NYPHPer's who might be interested. We have space available for three to four people and maybe more. Your space will include: - Generously sized, fully equiped semi-private work areas - Desk, file cabinet, chair, phone - Shared lobby/reception area staffed by our employees - Shared use of conference room - Shared kitchenette - Safe, secure space - Cleaning service - Internet access, local telephone (voice mail and generic greeting), and just about everything you would expect. Perfect space for small developer or design firm that appreciates lots of light in a clean, well-maintained space with virtually no start up costs. Serious inquiries only. $525 per desk -- negotiable for the right firm. If you are interested, please respond to me off-list at mailto:mjdewitt at alexcommgrp.com Mike DeWitt From mark at thirdstation.com Thu May 19 10:44:38 2005 From: mark at thirdstation.com (Mark Donoghue) Date: Thu, 19 May 2005 10:44:38 -0400 Subject: [nycphp-talk] phpMyAdmin output options Message-ID: <4212f9ca69661813d74efd3f57208bf5@thirdstation.com> Hi, I have a client who is using phpMyAdmin to output their database as XML, one XML file per table in their database. What I need is a few fields from some of the tables, not everything, so I can have only one XML file to process. Is it possible to have phpMyAdmin output XML based off the results of a query? Best, Mark /********************************************* * Mark Donoghue * Consulting Engineer * Content Directions, Inc. * * p: (845) 242-8501 * e: MDonoghue at ContentDirections.com * doi: http://dx.doi.org/10.1570/m.donoghue */ From dcech at phpwerx.net Thu May 19 10:51:40 2005 From: dcech at phpwerx.net (Dan Cech) Date: Thu, 19 May 2005 10:51:40 -0400 Subject: [nycphp-talk] phpMyAdmin output options In-Reply-To: <4212f9ca69661813d74efd3f57208bf5@thirdstation.com> References: <4212f9ca69661813d74efd3f57208bf5@thirdstation.com> Message-ID: <428CA7FC.7080608@phpwerx.net> If you are using a recent version of phpMyAdmin (I tested this on 2.5.7-pl1) you can click the 'Export' link under any result set. Dan Mark Donoghue wrote: > Hi, > > I have a client who is using phpMyAdmin to output their database as XML, > one XML file per table in their database. > > What I need is a few fields from some of the tables, not everything, so > I can have only one XML file to process. > > Is it possible to have phpMyAdmin output XML based off the results of a > query? > > Best, > Mark From mike at mikebrittain.com Thu May 19 22:01:55 2005 From: mike at mikebrittain.com (Mike Brittain) Date: Thu, 19 May 2005 22:01:55 -0400 Subject: [nycphp-talk] [JOB] PHP Freelance Job (1-2 weeks, on-site) Message-ID: <428D4513.7070509@mikebrittain.com> ID Society has an immediate need for a PHP/MySQL web application programmer for a 1-2 week project. He/She will be required to work on-site at our office in New York City, must be able to work with other developers on staff, and must have demonstrated skills with database-driven projects. For more information, please send us your resume, hourly rate, and 2-3 sample URLs of previous work including a description of the role you had in each project. Send these materials to technologyjobs at idsociety.com -- Mike Brittain Director of Technology ID Society, Inc. www.idsociety.com From ps at pswebcode.com Fri May 20 22:00:50 2005 From: ps at pswebcode.com (Peter Sawczynec) Date: Fri, 20 May 2005 22:00:50 -0400 Subject: [nycphp-talk] PHP DOMXM LQuestion Message-ID: <001e01c55da8$ecb12b50$6400a8c0@yourx1adg12jme> For the life of me, I can't get the domxml set_content() method to work on a node. I can do get_content() on the node. How does one update a single node? For example: The following read process works: $xml = join('',file('listings_list.xml')); $dom = domxml_open_mem($xml); $xpObj = xpath_new_context($dom); $resObj = xpath_eval($xpObj, "//listing[@id=$id]"); $theOne = $resObj->nodeset[0]; $y1Element = $theOne->get_elements_by_tagname('images1'); $i1 = $y1Element[0]->get_content(); echo $i1 The self-same update does not: $xml = join('',file('listings_list.xml')); $dom = domxml_open_mem($xml); $xpObj = xpath_new_context($dom); $resObj = xpath_eval($xpObj, "//listing[@id=$id]"); $theOne = $resObj->nodeset[0]; $y1Element = $theOne->get_elements_by_tagname('images1'); $y1Element[0]->set_content(); Warmest regards, Peter Sawczynec Technology Director PSWebcode ps at pswebcode.com 718.543.3240 From ps at pswebcode.com Sat May 21 10:42:09 2005 From: ps at pswebcode.com (Peter Sawczynec) Date: Sat, 21 May 2005 10:42:09 -0400 Subject: [nycphp-talk] PHP DOMXM LQuestion In-Reply-To: <001e01c55da8$ecb12b50$6400a8c0@yourx1adg12jme> Message-ID: <001901c55e13$478b0590$6400a8c0@yourx1adg12jme> Rescind this query. Works fine as wine. Peter -----Original Message----- From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Peter Sawczynec Sent: Friday, May 20, 2005 10:01 PM To: 'Org, Talk at Nyphp.' Subject: [nycphp-talk] PHP DOMXM LQuestion For the life of me, I can't get the domxml set_content() method to work on a node. I can do get_content() on the node. How does one update a single node? For example: The following read process works: $xml = join('',file('listings_list.xml')); $dom = domxml_open_mem($xml); $xpObj = xpath_new_context($dom); $resObj = xpath_eval($xpObj, "//listing[@id=$id]"); $theOne = $resObj->nodeset[0]; $y1Element = $theOne->get_elements_by_tagname('images1'); $i1 = $y1Element[0]->get_content(); echo $i1 The self-same update does not: $xml = join('',file('listings_list.xml')); $dom = domxml_open_mem($xml); $xpObj = xpath_new_context($dom); $resObj = xpath_eval($xpObj, "//listing[@id=$id]"); $theOne = $resObj->nodeset[0]; $y1Element = $theOne->get_elements_by_tagname('images1'); $y1Element[0]->set_content(); Warmest regards, Peter Sawczynec Technology Director PSWebcode ps at pswebcode.com 718.543.3240 _______________________________________________ New York PHP Talk Mailing List AMP Technology Supporting Apache, MySQL and PHP http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org From codebowl at gmail.com Sat May 21 10:51:46 2005 From: codebowl at gmail.com (Joseph Crawford) Date: Sat, 21 May 2005 10:51:46 -0400 Subject: [nycphp-talk] Mail Headers Malformed??? Message-ID: <8d9a42800505210751bbe6613@mail.gmail.com> Hello everyone. i have a site i am developing on my windows machine and i keep getting this error when calling the mail() function *Warning*: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in * D:\clients\JVMedia\Simonvolkov\System\Email\Mailer.class.php* on line *97* The problem could be simply solved by me setting my sendmail_from in my php.ini, however what if i was in a shared environment, something fishy here. here are my headers in code $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'To: '.$mail['fname'].' '.$mail['lname'].' <'.$mail['email'].'>' . "\r\n"; $headers .= 'From: "Simon Volkov Newsletters" <'.Application::Configuration()->NewsletterFromEmail().'>' . "\r\n"; and here are my headers printed out MIME-Version: 1.0 Content-type: text/html; charset=iso-8859-1 To: Joseph Crawford > From: Simon Volkov Newsletters > Here is my actual mail function call mail($mail['email'], $mail['subject'], $mail['body'], $headers); Is there something obvious that i am doing wrong here? I think my headers must be malformed because php doesnt see a good custom From header in the specified headers it falls back to the php.ini setting (which i have commented out) Any help would be appreciated. -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From codebowl at gmail.com Sat May 21 10:54:22 2005 From: codebowl at gmail.com (Joseph Crawford) Date: Sat, 21 May 2005 10:54:22 -0400 Subject: [nycphp-talk] Re: Mail Headers Malformed??? In-Reply-To: <8d9a42800505210751bbe6613@mail.gmail.com> References: <8d9a42800505210751bbe6613@mail.gmail.com> Message-ID: <8d9a428005052107542b572cc7@mail.gmail.com> I should also add that when i remove the $headers from the actual mail() function call i still recieve this error. So it seems as though i get this error no matter what i specify for my custom from header. -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From danielc at analysisandsolutions.com Sat May 21 17:09:24 2005 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Sat, 21 May 2005 17:09:24 -0400 Subject: [nycphp-talk] Mail Headers Malformed??? In-Reply-To: <8d9a42800505210751bbe6613@mail.gmail.com> References: <8d9a42800505210751bbe6613@mail.gmail.com> Message-ID: <20050521210924.GA431@panix.com> On Sat, May 21, 2005 at 10:51:46AM -0400, Joseph Crawford wrote: > From: Simon Volkov Newsletters > > ^^^^^^^^^^^^^^^^^^^^^ I've never seen a from header with THAT in there. I'd bet removing that portion will resolve the issue. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 From codebowl at gmail.com Sat May 21 19:55:28 2005 From: codebowl at gmail.com (Joseph Crawford) Date: Sat, 21 May 2005 19:55:28 -0400 Subject: [nycphp-talk] Mail Headers Malformed??? In-Reply-To: <20050521210924.GA431@panix.com> References: <8d9a42800505210751bbe6613@mail.gmail.com> <20050521210924.GA431@panix.com> Message-ID: <8d9a4280050521165558572153@mail.gmail.com> i think gmail malformed that now lol on my end it doesnt look like that :) however i did get it to work i guess it is mandatory on windows to set the php.ini values -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.loiselle at gmail.com Sun May 22 21:42:22 2005 From: jeff.loiselle at gmail.com (Jeff Loiselle) Date: Sun, 22 May 2005 21:42:22 -0400 Subject: [nycphp-talk] Zend Development Environment SFTP Issues Message-ID: <4b18871105052218423b303db1@mail.gmail.com> Just wanted to share a quick tip with everyone regarding ZDE sometimes having issues connecting via SFTP to an SSH server. I know some of us have had problems with this in the past, so I figured it was a good tip if not a trivial one. Both ZDE and Dreamweaver cannot connect via SFTP unless PasswordAuthentication is set to 'yes' in the sshd_config file. Then your problems will mystically disappear along with your obligation to pay income tax. Related link: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19491 Have fun. --- Jeff Loiselle Web Developer, Musician, and Observer http://jeff.loiselles.com From jayeshsh at ceruleansky.com Mon May 23 12:39:11 2005 From: jayeshsh at ceruleansky.com (Jayesh Sheth) Date: Mon, 23 May 2005 12:39:11 -0400 (EDT) Subject: [nycphp-talk] plPHP Message-ID: <62405.69.86.84.233.1116866351.squirrel@webmail.ceruleansky.com> Hello all, I found something really cool: plPHP. Procedures, Functions, and Triggers in PHP What is plPHP? plPHP stands for Procedural Language PHP. The language has the PHP engine at its core and provides PHP scripting support for procedural language scripts in PostgreSQL. Written by Command Prompt, Inc. plPHP is Open Source and licensed under the PHP license and the PostgreSQL (BSD) License. http://www.commandprompt.com/community/plphp/ Best regards, - Jay From danielc at analysisandsolutions.com Mon May 23 13:41:38 2005 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Mon, 23 May 2005 13:41:38 -0400 Subject: [nycphp-talk] php in SecurityFocus Newsletter #301 Message-ID: <20050523174137.GA21775@panix.com> SecurityFocus Newsletter #301 APPLICATIONS USING PHP ---------------------- PHPBB Unspecified BBCode.PHP Vulnerability http://www.securityfocus.com/bid/ 13545 Advanced Guestbook Index.PHP Entry Parameter SQL Injection V... http://www.securityfocus.com/bid/ 13548 NukeScripts NukeSentinel Input Validation Vulnerability http://www.securityfocus.com/bid/ 13556 PHP Nuke Double Hex Encoded Input Validation Vulnerability http://www.securityfocus.com/bid/ 13557 CodeThat.com CodeThatShoppingCart Multiple Input Validation ... http://www.securityfocus.com/bid/ 13560 PWSPHP Multiple Cross-Site Scripting Vulnerabilities http://www.securityfocus.com/bid/ 13561 PWSPHP Profil.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/ 13563 WoltLab Burning Board Unspecified Vulnerability http://www.securityfocus.com/bid/ 13568 WowBB View_User.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/ 13569 e107 Website System Search.PHP Remote File Include Vulnerability http://www.securityfocus.com/bid/ 13572 e107 Website System Request.PHP Directory Traversal Vulnerability http://www.securityfocus.com/bid/ 13573 e107 Website System Forum_viewforum.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/ 13576 e107 Website System Global Variables Unauthorized Access Vulnerability http://www.securityfocus.com/bid/ 13577 Open Solution Quick.Cart Index.PHP Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/ 13599 BoastMachine Remote Arbitrary File Upload Vulnerability http://www.securityfocus.com/bid/ 13600 Open Solution Quick.Forum NewTopic HTML Injection Vulnerability http://www.securityfocus.com/bid/ 13602 DirectTopics Topic.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/ 13608 DirectTopics HTML Injection Vulnerability http://www.securityfocus.com/bid/ 13609 Bug Report Multiple HTML Injection Vulnerabilities http://www.securityfocus.com/bid/ 13610 1Two News Multiple HTML Injection Vulnerabilities http://www.securityfocus.com/bid/ 13612 PHPBB Attachment Mod Unspecified Realname Vulnerability http://www.securityfocus.com/bid/ 13617 All Enthusiast PhotoPost PHP Pro Member.PHP SQL Injection Vu... http://www.securityfocus.com/bid/ 13620 Ultimate PHP Board ViewForum.PHP Cross-Site Scripting Vulner... http://www.securityfocus.com/bid/ 13621 Ultimate PHP Board ViewForum.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/ 13622 OpenBB Read.PHP SQL Injection Vulnerability http://www.securityfocus.com/bid/ 13624 OpenBB Member.PHP Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/ 13625 PHPHeaven PHPMyChat Start-Page.CSS.PHP3 Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/ 13627 PHPHeaven PHPMyChat Style.CSS.PHP3 Cross-Site Scripting Vulnerability http://www.securityfocus.com/bid/ 13628 RELATED STUFF ------------- Squid Proxy Unspecified DNS Spoofing Vulnerability http://www.securityfocus.com/bid/ 13592 -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 From shiflett at php.net Mon May 23 23:43:51 2005 From: shiflett at php.net (Chris Shiflett) Date: Mon, 23 May 2005 23:43:51 -0400 Subject: [nycphp-talk] Free Books Message-ID: <4292A2F7.9000707@php.net> I'm moving to a new apartment this weekend, and as always, this involves getting rid of anything I haven't used in the past year. I have quite a few books currently scheduled to be tossed out. Let me know if you're interested in any of these. They're free (of course), but I would prefer that you pick them up (I live on W 34th St) sometime between now and the end of the week. Some of these are brand new (given to me within the last year and never opened), and several are hard to part with. Maximum Linux Security PKI: Implementing and Managing E-Security Fundamentals of Database Systems Foundations of Algorithms Data Structures, Algorithms, and Software Principles in C Sequential and Parallel Algorithms Advanced Programming in the UNIX Environment Understanding Data Communications and Networks HTTP Essentials Linux Programming SSL and TLS Web Protocols and Practice C++ Primer PHP Developer's Cookbook Secure Programming Cookbook for C and C++ Learning Python Programming Python Online Investing Hacks Ruby in a Nutshell I also have a few extra copies of HTTP Developer's Handbook and Zend PHP Certification Study Guide that I might bring to the meeting to give away. If you want one of the above books and can't pick it up, I might be convinced to carry one or two to the meeting in exchange for free beer. Chris From hans at cyberxdesigns.com Tue May 24 00:41:16 2005 From: hans at cyberxdesigns.com (Hans C. Kaspersetz) Date: Tue, 24 May 2005 00:41:16 -0400 Subject: [nycphp-talk] Free Books In-Reply-To: <4292A2F7.9000707@php.net> References: <4292A2F7.9000707@php.net> Message-ID: <4292B06C.9000905@cyberxdesigns.com> Chris, I could use one of those study guides. Thanks, Hans Chris Shiflett wrote: > I'm moving to a new apartment this weekend, and as always, this > involves getting rid of anything I haven't used in the past year. I > have quite a few books currently scheduled to be tossed out. Let me > know if you're interested in any of these. They're free (of course), > but I would prefer that you pick them up (I live on W 34th St) > sometime between now and the end of the week. Some of these are brand > new (given to me within the last year and never opened), and several > are hard to part with. > > Maximum Linux Security > PKI: Implementing and Managing E-Security > Fundamentals of Database Systems > Foundations of Algorithms > Data Structures, Algorithms, and Software Principles in C > Sequential and Parallel Algorithms > Advanced Programming in the UNIX Environment > Understanding Data Communications and Networks > HTTP Essentials > Linux Programming > SSL and TLS > Web Protocols and Practice > C++ Primer > PHP Developer's Cookbook > Secure Programming Cookbook for C and C++ > Learning Python > Programming Python > Online Investing Hacks > Ruby in a Nutshell > > I also have a few extra copies of HTTP Developer's Handbook and Zend > PHP Certification Study Guide that I might bring to the meeting to > give away. > > If you want one of the above books and can't pick it up, I might be > convinced to carry one or two to the meeting in exchange for free beer. > > Chris > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > > > -- Hans C. Kaspersetz Cyber X Designs Office: 201-558-7929 Mobile: 201-681-4156 hans at cyberxdesigns.com http://www.cyberxdesigns.com From codebowl at gmail.com Tue May 24 06:31:08 2005 From: codebowl at gmail.com (Joseph Crawford) Date: Tue, 24 May 2005 06:31:08 -0400 Subject: [nycphp-talk] Free Books In-Reply-To: <4292B06C.9000905@cyberxdesigns.com> References: <4292A2F7.9000707@php.net> <4292B06C.9000905@cyberxdesigns.com> Message-ID: <8d9a42800505240331bb4c226@mail.gmail.com> i would be interested in any/all you want to get rid of, i can always learn ;) let me know if you are willing to ship and what the costs would be to ship to vermont. On 5/24/05, Hans C. Kaspersetz wrote: > > Chris, > > I could use one of those study guides. > > Thanks, > Hans > > Chris Shiflett wrote: > > > I'm moving to a new apartment this weekend, and as always, this > > involves getting rid of anything I haven't used in the past year. I > > have quite a few books currently scheduled to be tossed out. Let me > > know if you're interested in any of these. They're free (of course), > > but I would prefer that you pick them up (I live on W 34th St) > > sometime between now and the end of the week. Some of these are brand > > new (given to me within the last year and never opened), and several > > are hard to part with. > > > > Maximum Linux Security > > PKI: Implementing and Managing E-Security > > Fundamentals of Database Systems > > Foundations of Algorithms > > Data Structures, Algorithms, and Software Principles in C > > Sequential and Parallel Algorithms > > Advanced Programming in the UNIX Environment > > Understanding Data Communications and Networks > > HTTP Essentials > > Linux Programming > > SSL and TLS > > Web Protocols and Practice > > C++ Primer > > PHP Developer's Cookbook > > Secure Programming Cookbook for C and C++ > > Learning Python > > Programming Python > > Online Investing Hacks > > Ruby in a Nutshell > > > > I also have a few extra copies of HTTP Developer's Handbook and Zend > > PHP Certification Study Guide that I might bring to the meeting to > > give away. > > > > If you want one of the above books and can't pick it up, I might be > > convinced to carry one or two to the meeting in exchange for free beer. > > > > Chris > > _______________________________________________ > > New York PHP Talk Mailing List > > AMP Technology > > Supporting Apache, MySQL and PHP > > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org > > > > > > > > > -- > Hans C. Kaspersetz > Cyber X Designs > > Office: 201-558-7929 > Mobile: 201-681-4156 > hans at cyberxdesigns.com > http://www.cyberxdesigns.com > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ps at pswebcode.com Tue May 24 08:46:31 2005 From: ps at pswebcode.com (Peter Sawczynec) Date: Tue, 24 May 2005 08:46:31 -0400 Subject: [nycphp-talk] Free Books In-Reply-To: <4292A2F7.9000707@php.net> Message-ID: <002501c5605e$9fa54d10$6400a8c0@yourx1adg12jme> Maximum Linux Security PKI: Implementing and Managing E-Security Online Investing Hacks PHP Developer's Cookbook Meeting not doable, but if any of these (in order of pref) are left over. I would pick up from your location and remunerate with apropos quant of foreign brewski. PSaw -----Original Message----- From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Chris Shiflett Sent: Monday, May 23, 2005 11:44 PM To: NYPHP Talk Subject: [nycphp-talk] Free Books I'm moving to a new apartment this weekend, and as always, this involves getting rid of anything I haven't used in the past year. I have quite a few books currently scheduled to be tossed out. Let me know if you're interested in any of these. They're free (of course), but I would prefer that you pick them up (I live on W 34th St) sometime between now and the end of the week. Some of these are brand new (given to me within the last year and never opened), and several are hard to part with. Maximum Linux Security PKI: Implementing and Managing E-Security Fundamentals of Database Systems Foundations of Algorithms Data Structures, Algorithms, and Software Principles in C Sequential and Parallel Algorithms Advanced Programming in the UNIX Environment Understanding Data Communications and Networks HTTP Essentials Linux Programming SSL and TLS Web Protocols and Practice C++ Primer PHP Developer's Cookbook Secure Programming Cookbook for C and C++ Learning Python Programming Python Online Investing Hacks Ruby in a Nutshell I also have a few extra copies of HTTP Developer's Handbook and Zend PHP Certification Study Guide that I might bring to the meeting to give away. If you want one of the above books and can't pick it up, I might be convinced to carry one or two to the meeting in exchange for free beer. Chris _______________________________________________ New York PHP Talk Mailing List AMP Technology Supporting Apache, MySQL and PHP http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org From mitch.pirtle at gmail.com Tue May 24 10:39:03 2005 From: mitch.pirtle at gmail.com (Mitch Pirtle) Date: Tue, 24 May 2005 10:39:03 -0400 Subject: [nycphp-talk] Free Books In-Reply-To: <4292A2F7.9000707@php.net> References: <4292A2F7.9000707@php.net> Message-ID: <330532b605052407393df2e36c@mail.gmail.com> > Understanding Data Communications and Networks ??? My copy says 'Understanding Data Communications'. Oh, mine was purchased 1990, 'cause the one I bought in 1988 was lost somewhere. -- Mitch, suddenly feeling rather old From jen at castedlots.org Tue May 24 14:07:44 2005 From: jen at castedlots.org (jen at castedlots.org) Date: Tue, 24 May 2005 11:07:44 -0700 Subject: [nycphp-talk] Free books Message-ID: <20050524180744.18354.qmail@webmail13.mesa1.secureserver.net> An HTML attachment was scrubbed... URL: From gatzby3jr at gmail.com Tue May 24 15:22:13 2005 From: gatzby3jr at gmail.com (Brian O'Connor) Date: Tue, 24 May 2005 15:22:13 -0400 Subject: [nycphp-talk] Free Books In-Reply-To: <330532b605052407393df2e36c@mail.gmail.com> References: <4292A2F7.9000707@php.net> <330532b605052407393df2e36c@mail.gmail.com> Message-ID: <29da5d1505052412223e205c42@mail.gmail.com> I could use C++ Primer, I just need to see if I can arrange for it to be picked up. On 5/24/05, Mitch Pirtle wrote: > > Understanding Data Communications and Networks > > ??? My copy says 'Understanding Data Communications'. > > Oh, mine was purchased 1990, 'cause the one I bought in 1988 was lost somewhere. > > -- Mitch, suddenly feeling rather old > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > -- Brian O'Connor From max at neuropunks.org Tue May 24 15:34:13 2005 From: max at neuropunks.org (max) Date: Tue, 24 May 2005 14:34:13 -0500 Subject: [nycphp-talk] Free Books In-Reply-To: <4292A2F7.9000707@php.net> References: <4292A2F7.9000707@php.net> Message-ID: <20050524193413.GA16222@neuropunks.org> Hello, ill gladly take python book/books if they are still there. Id like the programming python one if its still available. thanks! On Mon, May 23, 2005 at 11:43:51PM -0400, Chris Shiflett wrote: > I'm moving to a new apartment this weekend, and as always, this involves > getting rid of anything I haven't used in the past year. I have quite a > few books currently scheduled to be tossed out. Let me know if you're > interested in any of these. They're free (of course), but I would prefer > that you pick them up (I live on W 34th St) sometime between now and the > end of the week. Some of these are brand new (given to me within the > last year and never opened), and several are hard to part with. > > Maximum Linux Security > PKI: Implementing and Managing E-Security > Fundamentals of Database Systems > Foundations of Algorithms > Data Structures, Algorithms, and Software Principles in C > Sequential and Parallel Algorithms > Advanced Programming in the UNIX Environment > Understanding Data Communications and Networks > HTTP Essentials > Linux Programming > SSL and TLS > Web Protocols and Practice > C++ Primer > PHP Developer's Cookbook > Secure Programming Cookbook for C and C++ > Learning Python > Programming Python > Online Investing Hacks > Ruby in a Nutshell > > I also have a few extra copies of HTTP Developer's Handbook and Zend PHP > Certification Study Guide that I might bring to the meeting to give away. > > If you want one of the above books and can't pick it up, I might be > convinced to carry one or two to the meeting in exchange for free beer. > > Chris > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > From pl at eskimo.net Tue May 24 16:18:44 2005 From: pl at eskimo.net (Peter Lehrer) Date: Tue, 24 May 2005 16:18:44 -0400 (EDT) Subject: [nycphp-talk] Free Books In-Reply-To: <4292A2F7.9000707@php.net> References: <4292A2F7.9000707@php.net> Message-ID: <1130.4.250.171.23.1116965924.squirrel@4.250.171.23> I would like the Learning Python if still available, HTTP essentials and PHP Cookbook if still available. Peter > I'm moving to a new apartment this weekend, and as always, this involves > getting rid of anything I haven't used in the past year. I have quite a > few books currently scheduled to be tossed out. Let me know if you're > interested in any of these. They're free (of course), but I would prefer > that you pick them up (I live on W 34th St) sometime between now and the > end of the week. Some of these are brand new (given to me within the > last year and never opened), and several are hard to part with. > > Maximum Linux Security > PKI: Implementing and Managing E-Security > Fundamentals of Database Systems > Foundations of Algorithms > Data Structures, Algorithms, and Software Principles in C > Sequential and Parallel Algorithms > Advanced Programming in the UNIX Environment > Understanding Data Communications and Networks > HTTP Essentials > Linux Programming > SSL and TLS > Web Protocols and Practice > C++ Primer > PHP Developer's Cookbook > Secure Programming Cookbook for C and C++ > Learning Python > Programming Python > Online Investing Hacks > Ruby in a Nutshell > > I also have a few extra copies of HTTP Developer's Handbook and Zend PHP > Certification Study Guide that I might bring to the meeting to give away. > > If you want one of the above books and can't pick it up, I might be > convinced to carry one or two to the meeting in exchange for free beer. > > Chris > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > From shiflett at php.net Tue May 24 17:45:08 2005 From: shiflett at php.net (Chris Shiflett) Date: Tue, 24 May 2005 17:45:08 -0400 Subject: [nycphp-talk] Free Books In-Reply-To: <4292A2F7.9000707@php.net> References: <4292A2F7.9000707@php.net> Message-ID: <4293A064.9020309@php.net> I unfortunately won't be able to make the meeting tonight, but I'll contact each person who emailed me about the books to try to schedule another time to meet. This means I also have 3-4 copies of HTTP Developer's Handbook and Zend PHP Certification Study Guide, since I planned on bringing those to the meeting. Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/ From pl at eskimo.net Tue May 24 22:55:36 2005 From: pl at eskimo.net (Peter Lehrer) Date: Tue, 24 May 2005 22:55:36 -0400 (EDT) Subject: [nycphp-talk] Free Books In-Reply-To: <4293A064.9020309@php.net> References: <4292A2F7.9000707@php.net> <4293A064.9020309@php.net> Message-ID: <1130.64.24.25.27.1116989736.squirrel@64.24.25.27> Hi Chris, I would be interested in both books. Peter > I unfortunately won't be able to make the meeting tonight, but I'll > contact each person who emailed me about the books to try to schedule > another time to meet. This means I also have 3-4 copies of HTTP > Developer's Handbook and Zend PHP Certification Study Guide, since I > planned on bringing those to the meeting. > > Chris > > -- > Chris Shiflett > Brain Bulb, The PHP Consultancy > http://brainbulb.com/ > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > From dmintz at davidmintz.org Tue May 24 23:26:35 2005 From: dmintz at davidmintz.org (David Mintz) Date: Tue, 24 May 2005 23:26:35 -0400 (EDT) Subject: [nycphp-talk] Free Books In-Reply-To: <1130.64.24.25.27.1116989736.squirrel@64.24.25.27> References: <4292A2F7.9000707@php.net> <4293A064.9020309@php.net> <1130.64.24.25.27.1116989736.squirrel@64.24.25.27> Message-ID: Look, let's make this simple. Just drop all the books off at my place. 177 Coles St in Jersey City. --- David Mintz http://davidmintz.org/ From jayeshsh at ceruleansky.com Wed May 25 00:27:34 2005 From: jayeshsh at ceruleansky.com (Jayesh Sheth) Date: Wed, 25 May 2005 00:27:34 -0400 (EDT) Subject: [nycphp-talk] presentation download links Message-ID: <55749.69.86.84.233.1116995254.squirrel@webmail.ceruleansky.com> Hello all, Thanks for coming to and participating in the presentation I gave this evening. I enjoyed giving it and talking to all of you very much. Some of you asked for presentation download links. It is available in a lot of formats, including HTML, OO 2, OO 1, PDF and Flash. There is also a links and resources page containing links from each slide: http://www.moztips.com/presentations/nyphp2/links.html You can find various versions of the presentation available for download here: http://www.moztips.com/presentations/nyphp2/ Best regards, - Jay Sheth From steve.rieger at tbwachiat.com Wed May 25 13:13:27 2005 From: steve.rieger at tbwachiat.com (Steve Rieger) Date: Wed, 25 May 2005 13:13:27 -0400 Subject: [nycphp-talk] oracle client on freebsd Message-ID: hi all have a question installed the following /usr/ports/databases/oracle7-client /usr/ports/databases/php4-oracle the following is in my extension list extension=oracle.so yet when i try the oracle client connection i get [Wed May 25 10:56:12 2005] [error] PHP Fatal error: Call to undefined function: ociexecute() in /usr/local/www/data-dist/phpSysInfo/oratest.php on line 3 in the logs any ideas as to why it aint workin thanx -- Steve Rieger (212) 804-1131 (Work) (646) 335-8915 (Cell) chozrim (aim) From scott at crisscott.com Wed May 25 13:19:25 2005 From: scott at crisscott.com (Scott Mattocks) Date: Wed, 25 May 2005 13:19:25 -0400 Subject: [nycphp-talk] oracle client on freebsd In-Reply-To: References: Message-ID: <4294B39D.2070002@crisscott.com> Steve Rieger wrote: > yet when i try the oracle client connection i get > [Wed May 25 10:56:12 2005] [error] PHP Fatal error: Call to undefined > function: ociexecute() in > /usr/local/www/data-dist/phpSysInfo/oratest.php on line 3 > > any ideas as to why it aint workin Sorry for the silly question but you did restart Apache right? -- Scott Mattocks scott at crisscott.com http://www.crisscott.com From steve.rieger at tbwachiat.com Wed May 25 13:26:05 2005 From: steve.rieger at tbwachiat.com (Steve Rieger) Date: Wed, 25 May 2005 13:26:05 -0400 Subject: [nycphp-talk] oracle client on freebsd In-Reply-To: <4294B39D.2070002@crisscott.com> References: <4294B39D.2070002@crisscott.com> Message-ID: <46549a6a3132643dc9507a52063e69cd@tbwachiat.com> On May 25, 2005, at 1:19 PM, Scott Mattocks wrote: > Steve Rieger wrote: > >> yet when i try the oracle client connection i get >> [Wed May 25 10:56:12 2005] [error] PHP Fatal error: Call to >> undefined function: ociexecute() in >> /usr/local/www/data-dist/phpSysInfo/oratest.php on line 3 >> any ideas as to why it aint workin > > Sorry for the silly question but you did restart Apache right? > > -- > Scott Mattocks > scott at crisscott.com > http://www.crisscott.com > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > > > yup -- Steve Rieger (212) 804-1131 (Work) (646) 335-8915 (Cell) chozrim (aim) From eric at persson.tm Wed May 25 14:02:24 2005 From: eric at persson.tm (Eric Persson) Date: Wed, 25 May 2005 20:02:24 +0200 Subject: [nycphp-talk] php and xul Message-ID: <4294BDB0.5030005@persson.tm> Hi, I listened on a quick presentation of what could be done with php and xul to create richer client side applications. However, havent heard much since then, so, is there any project or community working with these things available out there? Does anyone know? :) Best regards, Eric From aaron at aarond.com Wed May 25 15:00:58 2005 From: aaron at aarond.com (aaron) Date: Wed, 25 May 2005 15:00:58 -0400 Subject: [nycphp-talk] josso In-Reply-To: <4294BDB0.5030005@persson.tm> References: <4294BDB0.5030005@persson.tm> Message-ID: <4294CB6A.3030507@aarond.com> Anyone ever used JOSSO for application login administration? http://www.josso.org/index.html Comments on it? From michael.southwell at nyphp.org Wed May 25 16:23:57 2005 From: michael.southwell at nyphp.org (Michael Southwell) Date: Wed, 25 May 2005 16:23:57 -0400 Subject: [nycphp-talk] $$ question Message-ID: <6.1.2.0.2.20050525162303.020e8e20@mail.optonline.net> I have a question about interpreting $$variable. I have this: $concerts2006 = array( array("January 28","Cypress Club - West Palm Beach, FL"), ); and then I have this: function showSchedule( $year ) { .... $list = 'concerts' . $year; // this gets 'concerts2006' ok when called with 2006 $num = count( {$$list} ); // but this does not get count( $concerts2006 ) .... // so of course this doesn't work So the problem is at $$list. It doesn't seem to matter whether I have {$$list} or just $$list. I also seem to remember from somewhere that the $$list[][] never works but I couldn't find it in the docs. Help?? Thanks. Michael Southwell, Vice President for Education New York PHP http://nyphp.org/twoday - In-depth PHP Training Courses From andrew at digitalpulp.com Wed May 25 16:35:25 2005 From: andrew at digitalpulp.com (Andrew Yochum) Date: Wed, 25 May 2005 16:35:25 -0400 Subject: [nycphp-talk] $$ question In-Reply-To: <6.1.2.0.2.20050525162303.020e8e20@mail.optonline.net> References: <6.1.2.0.2.20050525162303.020e8e20@mail.optonline.net> Message-ID: <20050525203525.GQ21534@zoidberg.digitalpulp.com> On Wed, May 25, 2005 at 04:23:57PM -0400, Michael Southwell wrote: > I have a question about interpreting $$variable. > > I have this: > $concerts2006 = array( > array("January 28","Cypress Club - West Palm Beach, FL"), > ); > > and then I have this: > function showSchedule( $year ) { > .... > $list = 'concerts' . $year; // this gets 'concerts2006' ok when called with > 2006 > $num = count( {$$list} ); // but this does not get count( $concerts2006 ) > .... > // so of course this doesn't work > > So the problem is at $$list. It doesn't seem to matter whether I have > {$$list} or just $$list. > > I also seem to remember from somewhere that the $$list[][] never works but > I couldn't find it in the docs. > > Help?? Thanks. How about: $list = 'concerts' . $year; $listref = &$$list; $num = count( $listref ); ... HTH, Andrew From danielc at analysisandsolutions.com Wed May 25 16:37:51 2005 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Wed, 25 May 2005 16:37:51 -0400 Subject: [nycphp-talk] $$ question In-Reply-To: <6.1.2.0.2.20050525162303.020e8e20@mail.optonline.net> References: <6.1.2.0.2.20050525162303.020e8e20@mail.optonline.net> Message-ID: <20050525203751.GA1086@panix.com> Michael: echo count(${$list}); echo ${$list}[0][0]; --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 From tom at supertom.com Wed May 25 16:38:43 2005 From: tom at supertom.com (Tom Melendez) Date: Wed, 25 May 2005 16:38:43 -0400 Subject: [nycphp-talk] $$ question In-Reply-To: <6.1.2.0.2.20050525162303.020e8e20@mail.optonline.net> References: <6.1.2.0.2.20050525162303.020e8e20@mail.optonline.net> Message-ID: <4294E253.2070206@supertom.com> That $concerts2006 array is available in the function I presume, right? If it isn't, you won't get the value of it because it is not local. Just checking. Other than that, I'm not sure. I've used the same, and it has worked for me in the past. Thanks, Tom http://www.liphp.org Michael Southwell wrote: > I have a question about interpreting $$variable. > > I have this: > $concerts2006 = array( > array("January 28","Cypress Club - West Palm Beach, FL"), > ); > > and then I have this: > function showSchedule( $year ) { > .... > $list = 'concerts' . $year; // this gets 'concerts2006' ok when called > with 2006 > $num = count( {$$list} ); // but this does not get count( $concerts2006 ) > .... > // so of course this doesn't work > > So the problem is at $$list. It doesn't seem to matter whether I have > {$$list} or just $$list. > > I also seem to remember from somewhere that the $$list[][] never works > but > I couldn't find it in the docs. > > Help?? Thanks. > > > Michael Southwell, Vice President for Education > New York PHP > http://nyphp.org/twoday - In-depth PHP Training Courses > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > From nasir81 at gmail.com Wed May 25 16:44:15 2005 From: nasir81 at gmail.com (Nasir Zubair) Date: Wed, 25 May 2005 16:44:15 -0400 Subject: [nycphp-talk] $$ question In-Reply-To: <6.1.2.0.2.20050525162303.020e8e20@mail.optonline.net> References: <6.1.2.0.2.20050525162303.020e8e20@mail.optonline.net> Message-ID: <40fcda7305052513442ac2c058@mail.gmail.com> Well, according to php manual, the braces are used in the following fashions: $$var ${$var} I can't find {$$var} syntax, neither does it work. it throws a syntax error. >From that, the following code works for me on an php 4.3.11 machine: $num = count( ${$list} ); echo ${$list}[0][0]; Hope that helps. On 5/25/05, Michael Southwell wrote: > I have a question about interpreting $$variable. > > I have this: > $concerts2006 = array( > array("January 28","Cypress Club - West Palm Beach, FL"), > ); > > and then I have this: > function showSchedule( $year ) { > .... > $list = 'concerts' . $year; // this gets 'concerts2006' ok when called with > 2006 > $num = count( {$$list} ); // but this does not get count( $concerts2006 ) > .... > // so of course this doesn't work > > So the problem is at $$list. It doesn't seem to matter whether I have > {$$list} or just $$list. > > I also seem to remember from somewhere that the $$list[][] never works but > I couldn't find it in the docs. > > Help?? Thanks. > > > Michael Southwell, Vice President for Education > New York PHP > http://nyphp.org/twoday - In-depth PHP Training Courses > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > -- Nasir Zubair http://www.nasir.us/ From michael.southwell at nyphp.org Wed May 25 16:53:10 2005 From: michael.southwell at nyphp.org (Michael Southwell) Date: Wed, 25 May 2005 16:53:10 -0400 Subject: [nycphp-talk] $$ question In-Reply-To: <6.1.2.0.2.20050525162303.020e8e20@mail.optonline.net> References: <6.1.2.0.2.20050525162303.020e8e20@mail.optonline.net> Message-ID: <6.1.2.0.2.20050525165148.020e30a8@mail.optonline.net> At 04:23 PM 5/25/2005, you wrote: aargh!! scope! >function showSchedule( $year ) { >.... >$list = 'concerts' . $year; // this gets 'concerts2006' ok when called >with 2006 global $$list // fixes it sorry for the dumb question. Michael Southwell, Vice President for Education New York PHP http://nyphp.org/twoday - In-depth PHP Training Courses From andrew at plexpod.com Wed May 25 17:00:53 2005 From: andrew at plexpod.com (Andrew Yochum) Date: Wed, 25 May 2005 17:00:53 -0400 Subject: [nycphp-talk] $$ question In-Reply-To: <6.1.2.0.2.20050525165148.020e30a8@mail.optonline.net> References: <6.1.2.0.2.20050525162303.020e8e20@mail.optonline.net> <6.1.2.0.2.20050525165148.020e30a8@mail.optonline.net> Message-ID: <20050525210051.GO19317@zoidberg.digitalpulp.com> On Wed, May 25, 2005 at 04:53:10PM -0400, Michael Southwell wrote: > At 04:23 PM 5/25/2005, you wrote: > aargh!! scope! Eh... scope is over-rated anyway. Here's an easy fix: function somefunction() { for ($key in array_keys($GLOBALS)) global $$key; ... } ;-) Andrew -- Andrew Yochum Plexpod andrew at plexpod.com 718-360-0879 From ps at pswebcode.com Wed May 25 21:22:54 2005 From: ps at pswebcode.com (Peter Sawczynec) Date: Wed, 25 May 2005 21:22:54 -0400 Subject: [nycphp-talk] $$ question In-Reply-To: <20050525210051.GO19317@zoidberg.digitalpulp.com> Message-ID: <000b01c56191$746a1a70$6400a8c0@yourx1adg12jme> Man, I gotta party after that round. But seriously I think variable variables belongs "forever in the dog pound". So streamlined and clean -- like looking at a Bang & Olufsen. Why have five moving parts when you only need two or none. -----Original Message----- From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Andrew Yochum Sent: Wednesday, May 25, 2005 5:01 PM To: NYPHP Talk Subject: Re: [nycphp-talk] $$ question On Wed, May 25, 2005 at 04:53:10PM -0400, Michael Southwell wrote: > At 04:23 PM 5/25/2005, you wrote: > aargh!! scope! Eh... scope is over-rated anyway. Here's an easy fix: function somefunction() { for ($key in array_keys($GLOBALS)) global $$key; ... } ;-) Andrew -- Andrew Yochum Plexpod andrew at plexpod.com 718-360-0879 _______________________________________________ New York PHP Talk Mailing List AMP Technology Supporting Apache, MySQL and PHP http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org From lists at zaunere.com Wed May 25 22:17:17 2005 From: lists at zaunere.com (Hans Zaunere) Date: Wed, 25 May 2005 22:17:17 -0400 Subject: [nycphp-talk] $$ question In-Reply-To: <6.1.2.0.2.20050525162303.020e8e20@mail.optonline.net> Message-ID: <20050526021112.5D05999D8@mailrelay.t-mobile.com> > I have a question about interpreting $$variable. > > I have this: > $concerts2006 = array( > array("January 28","Cypress Club - West Palm Beach, FL"), > ); > > and then I have this: > function showSchedule( $year ) { > .... > $list = 'concerts' . $year; // this gets 'concerts2006' ok when called with > 2006 > $num = count( {$$list} ); // but this does not get count( $concerts2006 ) > .... > // so of course this doesn't work > > So the problem is at $$list. It doesn't seem to matter whether I have > {$$list} or just $$list. > > I also seem to remember from somewhere that the $$list[][] never works but > I couldn't find it in the docs. > > Help?? Thanks. $concerts2006 = array(array("January 28","Cypress Club - West Side!")); function showSchedule( $year ) { $list = 'concerts'.$year; $num = count($GLOBALS[$list]); echo $num; } Ehh, right? From andrew at plexpod.com Wed May 25 22:51:12 2005 From: andrew at plexpod.com (Andrew Yochum) Date: Wed, 25 May 2005 22:51:12 -0400 Subject: [nycphp-talk] $$ question In-Reply-To: <000b01c56191$746a1a70$6400a8c0@yourx1adg12jme> References: <000b01c56191$746a1a70$6400a8c0@yourx1adg12jme> Message-ID: <5F2AFCBA-80F2-4872-A27B-4C7B67418C6D@plexpod.com> On May 25, 2005, at 9:22 PM, Peter Sawczynec wrote: > Man, I gotta party after that round. But seriously I think variable > variables belongs "forever in the dog pound". So streamlined and > clean -- > like looking at a Bang & Olufsen. Why have five moving parts when > you only > need two or none. I agree. There is a time and place for variable variables and they are few and far between. One appropriate scenario is when using the reflection APIs, for instance. With what info we had about the scenario originally in question, I don't feel that is a case where I think they are appropriate. As an alternative solution, personally I'd would have reworked it to use a 3 dimensional array, even if the first dimension was small. $concerts[$year][$i][$field] No need for variable variables. Either way its a hash lookup - either in the symbol table or the associative array. I'm sure someone out there may know if there is a difference between those in PHP - I don't off the top of my head. Regardless of what the difference might be, I think the array is a better solution overall for clean code with the least exposures. Andrew -- Andrew Yochum Plexpod andrew at plexpod.com 718-360-0879 From michael.southwell at nyphp.org Wed May 25 23:49:51 2005 From: michael.southwell at nyphp.org (Michael Southwell) Date: Wed, 25 May 2005 23:49:51 -0400 Subject: [nycphp-talk] $$ question In-Reply-To: <5F2AFCBA-80F2-4872-A27B-4C7B67418C6D@plexpod.com> References: <000b01c56191$746a1a70$6400a8c0@yourx1adg12jme> <5F2AFCBA-80F2-4872-A27B-4C7B67418C6D@plexpod.com> Message-ID: <6.1.2.0.2.20050525233322.020e13e0@mail.optonline.net> At 10:51 PM 5/25/2005, you wrote: >I agree. There is a time and place for variable variables and they >are few and far between. One appropriate scenario is when using the >reflection APIs, for instance. With what info we had about the >scenario originally in question, I don't feel that is a case where I >think they are appropriate. At the risk of looking dumb again, let me revisit this, to explain why I was doing it this way, in the interest of exposing some of the smart thinking to be found on this list and learning something (and with a possible phundamental in mind as well ;-). I have an array of 2005 concert dates; I want to display them in a table with a heading and date and venue columns. I have another array of 2006 concert dates; I want to do the same in a different table. I wrote a function to pull in information for the appropriate year and display it. Then I call the function for 2005 and again for 2006. This gives me no redundant display coding. Next year I will simply insert the info into the appropriate 2007 array, and call the function with that year. You can see this at work at http://lauratheodore.com/schedule.php. Relevant code is here: ============= $concerts2006 = array( array("January 28","Cypress Club - West Palm Beach, FL"), // etc. ); function showSchedule( $year ) { ?>

Tour Schedule,

Date Venue
As an alternative solution, personally I'd would have reworked it to >use a 3 dimensional array, even if the first dimension was small. > $concerts[$year][$i][$field] The best I can figure out, this does not permit the (easy) creation of two distinct tables. But from the educational point of view, above is the task I had and the solution I found. How can it be done better? Michael Southwell, Vice President for Education New York PHP http://nyphp.org/twoday - In-depth PHP Training Courses From rolan at omnistep.com Thu May 26 01:56:33 2005 From: rolan at omnistep.com (Rolan Yang) Date: Thu, 26 May 2005 01:56:33 -0400 Subject: [nycphp-talk] $$ question In-Reply-To: <6.1.2.0.2.20050525233322.020e13e0@mail.optonline.net> References: <000b01c56191$746a1a70$6400a8c0@yourx1adg12jme> <5F2AFCBA-80F2-4872-A27B-4C7B67418C6D@plexpod.com> <6.1.2.0.2.20050525233322.020e13e0@mail.optonline.net> Message-ID: <42956511.7030306@omnistep.com> I'd have to agre with Andrew's solution mentioned above. Looks like your simple script could even do without a function block. Here's a more concise way of doing it: ============= $concerts[2005] = array( array("January 28","Cypress Club - West Palm Beach, FL"), // etc. ); $concerts[2006] = array( array("January 28","Cypress Club - West Palm Beach, FL"), // etc. ); while (list($year,$data)=each($concerts)) { ?>

Tour Schedule,

Date Venue
~Rolan From dmintz at davidmintz.org Thu May 26 09:21:55 2005 From: dmintz at davidmintz.org (David Mintz) Date: Thu, 26 May 2005 09:21:55 -0400 (EDT) Subject: [nycphp-talk] $$ question In-Reply-To: <42956511.7030306@omnistep.com> References: <000b01c56191$746a1a70$6400a8c0@yourx1adg12jme> <5F2AFCBA-80F2-4872-A27B-4C7B67418C6D@plexpod.com> <6.1.2.0.2.20050525233322.020e13e0@mail.optonline.net> <42956511.7030306@omnistep.com> Message-ID: On Thu, 26 May 2005, Rolan Yang wrote: > I'd have to agre with Andrew's solution mentioned above. > Looks like your simple script could even do without a function block. > Here's a more concise way of doing it: > References: <000b01c56191$746a1a70$6400a8c0@yourx1adg12jme> <5F2AFCBA-80F2-4872-A27B-4C7B67418C6D@plexpod.com> <6.1.2.0.2.20050525233322.020e13e0@mail.optonline.net> <42956511.7030306@omnistep.com> Message-ID: <4295CE2D.80006@phpwerx.net> David Mintz wrote: > On Thu, 26 May 2005, Rolan Yang wrote: >>I'd have to agre with Andrew's solution mentioned above. >>Looks like your simple script could even do without a function block. >>Here's a more concise way of doing it: > > > >> > > or for even less typing: > > while(list(,$event) = each($data)) { > or even foreach ($data as $event) { ... which has the advantage of running faster too Dan From danielc at analysisandsolutions.com Thu May 26 10:14:28 2005 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Thu, 26 May 2005 10:14:28 -0400 Subject: [nycphp-talk] $$ question In-Reply-To: <6.1.2.0.2.20050525233322.020e13e0@mail.optonline.net> References: <000b01c56191$746a1a70$6400a8c0@yourx1adg12jme> <5F2AFCBA-80F2-4872-A27B-4C7B67418C6D@plexpod.com> <6.1.2.0.2.20050525233322.020e13e0@mail.optonline.net> Message-ID: <20050526141428.GC20871@panix.com> On Wed, May 25, 2005 at 11:49:51PM -0400, Michael Southwell wrote: > The best I can figure out, this does not permit the (easy) creation of two > distinct tables. Sure it does. $concerts = array( '2005' => array( '2005-04-05' => 'a lovely evening', '2005-06-10' => 'spring is grand', ), '2006' => array( '2006-01-05' => 'join us in Hawaii', '2006-07-05' => 'music in the fall', ), ); $year = '2006'; foreach ($concerts[$year] as $date => $text) { echo "On $date see '$text'\n"; } --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 From rolan at omnistep.com Thu May 26 10:29:06 2005 From: rolan at omnistep.com (Rolan Yang) Date: Thu, 26 May 2005 10:29:06 -0400 Subject: [nycphp-talk] $$ question In-Reply-To: <4295CE2D.80006@phpwerx.net> References: <000b01c56191$746a1a70$6400a8c0@yourx1adg12jme> <5F2AFCBA-80F2-4872-A27B-4C7B67418C6D@plexpod.com> <6.1.2.0.2.20050525233322.020e13e0@mail.optonline.net> <42956511.7030306@omnistep.com> <4295CE2D.80006@phpwerx.net> Message-ID: <4295DD32.20209@omnistep.com> Dan Cech wrote: > David Mintz wrote: > >> On Thu, 26 May 2005, Rolan Yang wrote: >> >>> I'd have to agre with Andrew's solution mentioned above. >>> Looks like your simple script could even do without a function block. >>> Here's a more concise way of doing it: >> >> >> >> >>> > >> >> >> or for even less typing: >> >> while(list(,$event) = each($data)) { >> > > or even > foreach ($data as $event) { > > ... which has the advantage of running faster too > There is so much valuable knowledge (and entertainment) to be gained by watching a mob of developers optimize code. If this were all compiled into a book or wiki, I would read it all day long. ~Rolan From hans at cyberxdesigns.com Thu May 26 10:30:21 2005 From: hans at cyberxdesigns.com (Hans C. Kaspersetz) Date: Thu, 26 May 2005 10:30:21 -0400 Subject: [nycphp-talk] [OT] SMS Messaging. Message-ID: <4295DD7D.9070309@cyberxdesigns.com> Good morning, I am about to embark on a project with a client that needs to send SMS messages to their customers. I am wondering if anyone on the list has had luck partnering directly with he cell phone providers and by passing the services like http://www.simplewire.com. If anyone has any recommendations for resources or materials please speak up. Hans -- Hans C. Kaspersetz Cyber X Designs http://www.cyberxdesigns.com From 1j0lkq002 at sneakemail.com Thu May 26 10:41:40 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Thu, 26 May 2005 10:41:40 -0400 (EDT) Subject: [nycphp-talk] $$ question Message-ID: <25386-38589@sneakemail.com> > > ... which has the advantage of running faster too > There is so much valuable knowledge (and entertainment) to be gained by watching a mob of developers optimize code. If this were all compiled into a book or wiki, I would read it all day long. ~Rolan Exactly. That was the real value I saw in a NYPHP code archive, which would allow commenting by the comunity but be moderated by the organizers (and classified for the didactic value of each discussion). It is a knowledge base. Most of those end up accommodating the least common demoninator; the code gets dummed down to the level of greatest consumption. At NYPHP, it is obvious that virtually any code segment that is interesting to these senior guys could generate this kind of discussion -- valuable to those who can follow it, and therefore very valuable IMHO as a high-level PHP resource. -=jon From dmintz at davidmintz.org Thu May 26 11:42:23 2005 From: dmintz at davidmintz.org (David Mintz) Date: Thu, 26 May 2005 11:42:23 -0400 (EDT) Subject: [nycphp-talk] $$ question In-Reply-To: <4295DD32.20209@omnistep.com> References: <000b01c56191$746a1a70$6400a8c0@yourx1adg12jme> <5F2AFCBA-80F2-4872-A27B-4C7B67418C6D@plexpod.com> <6.1.2.0.2.20050525233322.020e13e0@mail.optonline.net> <42956511.7030306@omnistep.com> <4295CE2D.80006@phpwerx.net> <4295DD32.20209@omnistep.com> Message-ID: On Thu, 26 May 2005, Rolan Yang wrote: > > > There is so much valuable knowledge (and entertainment) to be gained by > watching a mob of developers optimize code. If this were all compiled > into a book or wiki, I would read it all day long. Instead we just check this list every $n minutes, which sometimes amounts to all day (-: --- David Mintz http://davidmintz.org/ From 1j0lkq002 at sneakemail.com Thu May 26 11:55:53 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Thu, 26 May 2005 11:55:53 -0400 (EDT) Subject: [nycphp-talk] [OT] bluetooth headset services, Jabra and IBM Thinkpad T42p Message-ID: <13427-42793@sneakemail.com> Thanks in advance for entertaining [OT] posts like this one. I know there are alot of IBM TP users out there in PHP land. I have a Jabra BT250 bluetooth headset and a Thinpad T42p w/Bluetooth and w/WinXP SP2. Sounds like it should work. Works fine with my cellphone. After settng up WinXP sp2 I can get the device, driver, and connection but there are no headset services for the Bluetooth headset on the thinkpad and/or the Jabra. No, Jabra doesn't supply them on their website from what I can determine. So bascially I get setup with a wireless bluetooth headset for my laptop softphone but no functionality. Doh! Anybody try this? All I have found on the net are "me too"s with no authoritative answers. DOCS suggest that the services should be on the device, but with this setup there are no services listed. Thanks again. -=john andrews From dmintz at davidmintz.org Thu May 26 11:57:51 2005 From: dmintz at davidmintz.org (David Mintz) Date: Thu, 26 May 2005 11:57:51 -0400 (EDT) Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: <25386-38589@sneakemail.com> References: <25386-38589@sneakemail.com> Message-ID: On Thu, 26 May 2005, inforequest wrote: > It is a knowledge base. Most of those end up accommodating the least > common demoninator; the code gets dummed down to the level of greatest > consumption. At NYPHP, it is obvious that virtually any code segment > that is interesting to these senior guys could generate this kind of > discussion -- valuable to those who can follow it, and therefore very > valuable IMHO as a high-level PHP resource. which brings me to an idea that's related, if not quite the same thing as the above. I propose: let's create an NYPHP Cookbook. There are several fine Cookbooks that we all know and love. This one would would have many authors; would cover Apache/MySQL/PHP, perhaps more; would not duplicate anything already existing in the aforesaid Cookbooks. If you wanted to make it truly unique and amusing, add a gastronomic angle as well: every technical recipe submitted must be accompanied by an actual food/drink recipe as well. You could make it tongue-in-cheek if you aren't handy in the kitchen. Finally, make this an online publication; let each recipe-submitter upload a brief bio and optional JPEG of h(er|im)self and thus get a little exposure. Of course, we could also consider whether it would be cost-effective to try to print and sell it as hardcopy and raise some $$$ for nyphp. Who's up for cookbook.nyphp.org? I'll volunteer to be part of the editorial team. --- David Mintz http://davidmintz.org/ From matt at jobsforge.com Thu May 26 12:15:11 2005 From: matt at jobsforge.com (Matthew Terenzio) Date: Thu, 26 May 2005 12:15:11 -0400 Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: References: <25386-38589@sneakemail.com> Message-ID: <74cbc16d0c394307c32e641e57f50080@jobsforge.com> On May 26, 2005, at 11:57 AM, David Mintz wrote: > Who's up for cookbook.nyphp.org? I'll volunteer to be part of the > editorial team. > I'll bite. I wonder if we could get Rachel Ray from the food network....... http://www.durzy.com/news/rachelray10252003.htm? PHPSESSID=888504395b0815aeb68456e1515baf73 From mitch.pirtle at gmail.com Thu May 26 12:20:10 2005 From: mitch.pirtle at gmail.com (Mitch Pirtle) Date: Thu, 26 May 2005 12:20:10 -0400 Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: <74cbc16d0c394307c32e641e57f50080@jobsforge.com> References: <25386-38589@sneakemail.com> <74cbc16d0c394307c32e641e57f50080@jobsforge.com> Message-ID: <330532b605052609206055bf32@mail.gmail.com> Maybe each article could get a rating on how spicy it is. -- Mitch, waiting for rimshot On 5/26/05, Matthew Terenzio wrote: > > On May 26, 2005, at 11:57 AM, David Mintz wrote: > > > Who's up for cookbook.nyphp.org? I'll volunteer to be part of the > > editorial team. > > > > I'll bite. > > I wonder if we could get Rachel Ray from the food network....... > > http://www.durzy.com/news/rachelray10252003.htm? > PHPSESSID=888504395b0815aeb68456e1515baf73 > > > > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > From krook at us.ibm.com Thu May 26 12:41:00 2005 From: krook at us.ibm.com (Daniel Krook) Date: Thu, 26 May 2005 12:41:00 -0400 Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: <74cbc16d0c394307c32e641e57f50080@jobsforge.com> Message-ID: > > Who's up for cookbook.nyphp.org? I'll volunteer to be part of the > > editorial team. > > > > I'll bite. > > I wonder if we could get Rachel Ray from the food network....... "PHP coding on $40 a day" "Thirty minute deadlines" We should pitch a show to the Discovery channel on giving a development team 7 days to implement a content management system and e-commerce site with a pretty Flash interface. :) Daniel Krook, Advisory IT Specialist Application Development, Production Services - Tools, ibm.com Personal: http://info.krook.org/ BluePages: http://bluepages.redirect.webahead.ibm.com/ BlogPages: http://blogpages.redirect.webahead.ibm.com/ From 1j0lkq002 at sneakemail.com Thu May 26 12:42:57 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Thu, 26 May 2005 12:42:57 -0400 (GMT-04:00) Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) Message-ID: <2016-65486@sneakemail.com> -----Original Message----- From: "Daniel Krook krook-at-us.ibm.com |nyphp dev/internal group use|" <...> "PHP coding on $40 a day" ------------------------------- Sounds like a rentacoder advertisement! From codebowl at gmail.com Thu May 26 14:37:55 2005 From: codebowl at gmail.com (Joseph Crawford) Date: Thu, 26 May 2005 14:37:55 -0400 Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: <2016-65486@sneakemail.com> References: <2016-65486@sneakemail.com> Message-ID: <8d9a428005052611371806305b@mail.gmail.com> i would like to see this would probably participate ;) On 5/26/05, inforequest <1j0lkq002 at sneakemail.com> wrote: > > > > -----Original Message----- > From: > "Daniel Krook krook-at-us.ibm.com |nyphp > dev/internal group use|" <...> > > "PHP coding on $40 a day" > ------------------------------- > > > > Sounds like a rentacoder advertisement! > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rolan at omnistep.com Thu May 26 16:22:15 2005 From: rolan at omnistep.com (Rolan Yang) Date: Thu, 26 May 2005 16:22:15 -0400 Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: References: <25386-38589@sneakemail.com> Message-ID: <42962FF7.4060803@omnistep.com> David Mintz wrote: >On Thu, 26 May 2005, inforequest wrote > > >which brings me to an idea that's related, if not quite the same thing as >the above. I propose: let's create an NYPHP Cookbook. There are several >fine Cookbooks that we all know and love. > > >Finally, make this an online publication; let each recipe-submitter upload >a brief bio and optional JPEG of h(er|im)self and thus get a little >exposure. Of course, we could also consider whether it would be >cost-effective to try to print and sell it as hardcopy and raise some $$$ >for nyphp. > >Who's up for cookbook.nyphp.org? I'll volunteer to be part of the >editorial team. > > Hrm.. If you added a centerfold spread it would have everything. From dmintz at davidmintz.org Thu May 26 17:42:05 2005 From: dmintz at davidmintz.org (David Mintz) Date: Thu, 26 May 2005 17:42:05 -0400 (EDT) Subject: [nycphp-talk] Re: proposing NYPHP Cookbook In-Reply-To: <8d9a428005052611371806305b@mail.gmail.com> References: <2016-65486@sneakemail.com> <8d9a428005052611371806305b@mail.gmail.com> Message-ID: I'm aware that the NYPHP charter contemplates "New Project Proposal Submission" and what not, and it isn't totally clear to me whether this idea would constitute a Project, or whether anybody can formally propose one. But I'm not kidding, I think it's a cool idea and thought I'd throw it out there informally to see what people think. --- David Mintz http://davidmintz.org/ From hans at cyberxdesigns.com Thu May 26 17:46:41 2005 From: hans at cyberxdesigns.com (Hans C. Kaspersetz) Date: Thu, 26 May 2005 17:46:41 -0400 Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: <42962FF7.4060803@omnistep.com> References: <25386-38589@sneakemail.com> <42962FF7.4060803@omnistep.com> Message-ID: <429643C1.9010106@cyberxdesigns.com> Rolan Yang wrote: > David Mintz wrote: > >> On Thu, 26 May 2005, inforequest wrote >> >> >> which brings me to an idea that's related, if not quite the same >> thing as >> the above. I propose: let's create an NYPHP Cookbook. There are several >> fine Cookbooks that we all know and love. >> >> Finally, make this an online publication; let each recipe-submitter >> upload >> a brief bio and optional JPEG of h(er|im)self and thus get a little >> exposure. Of course, we could also consider whether it would be >> cost-effective to try to print and sell it as hardcopy and raise some >> $$$ >> for nyphp. >> >> Who's up for cookbook.nyphp.org? I'll volunteer to be part of the >> editorial team. >> >> Didn't we recently start a project similar to this? I think it was the code archive project? I think that project is living in suspended animation. Not to poo-poo on the parade but I think we should pick up the code archive project and add a couple of fields that cover the submitter and beta it. I know there was a lot of talk about the code archive project, I think there were a couple of meetings and even some documents written. Who knows the current status of the code archive project? Are any of you ready to take up the gauntlet and work with the core NYPHP people to get this thing done? I imagine that we could spin the basic set of scripts fairly quickly so that we could start taking submissions and compiling a database of NYPHP Tasty Morsels. I would like to see community involvement on this project. I know for a fact that the core NYPHP people are currently working on a new frame work for the entire NYPHP web site, so if any of you out there would like to join us and help us finish the code archive project and make a new home for the tasty bits of code we all love to read about, contact me. If the scripts are kept fairly straight forward and we attempt to solve just this problem, I think we have a chance of making the project work. This is a great opportunity to get involved, if you are not an uber coder or you have some fear about getting involved, just come and give it a shot. You will learn a bunch, get to know some really cool people and end up with a dog, a beautiful spouse and a white picket fence. Plus, we could use the help. Anyone interested please contact me. Also, anyone with information about the whereabouts of the code archive, please email me. Hans K -- Hans C. Kaspersetz Co-founder Cyber X Designs hans at cyberxdesigns.com http://www.cyberxdesigns.com Operations Guy and Presentations Lacky New York PHP From gatzby3jr at gmail.com Thu May 26 22:32:32 2005 From: gatzby3jr at gmail.com (Brian O'Connor) Date: Thu, 26 May 2005 22:32:32 -0400 Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: <429643C1.9010106@cyberxdesigns.com> References: <25386-38589@sneakemail.com> <42962FF7.4060803@omnistep.com> <429643C1.9010106@cyberxdesigns.com> Message-ID: <29da5d1505052619323327c56b@mail.gmail.com> I am almost certain that nothing I've written would be unique / valuble enough to be in a "nyphp Cookbook", but I know personally I'd find one extremely useful for my own purposes. On 5/26/05, Hans C. Kaspersetz wrote: > Rolan Yang wrote: > > > David Mintz wrote: > > > >> On Thu, 26 May 2005, inforequest wrote > >> > >> > >> which brings me to an idea that's related, if not quite the same > >> thing as > >> the above. I propose: let's create an NYPHP Cookbook. There are several > >> fine Cookbooks that we all know and love. > >> > >> Finally, make this an online publication; let each recipe-submitter > >> upload > >> a brief bio and optional JPEG of h(er|im)self and thus get a little > >> exposure. Of course, we could also consider whether it would be > >> cost-effective to try to print and sell it as hardcopy and raise some > >> $$$ > >> for nyphp. > >> > >> Who's up for cookbook.nyphp.org? I'll volunteer to be part of the > >> editorial team. > >> > >> > Didn't we recently start a project similar to this? I think it was the > code archive project? I think that project is living in suspended > animation. Not to poo-poo on the parade but I think we should pick up > the code archive project and add a couple of fields that cover the > submitter and beta it. I know there was a lot of talk about the code > archive project, I think there were a couple of meetings and even some > documents written. Who knows the current status of the code archive > project? Are any of you ready to take up the gauntlet and work with the > core NYPHP people to get this thing done? I imagine that we could spin > the basic set of scripts fairly quickly so that we could start taking > submissions and compiling a database of NYPHP Tasty Morsels. > > I would like to see community involvement on this project. I know for a > fact that the core NYPHP people are currently working on a new frame > work for the entire NYPHP web site, so if any of you out there would > like to join us and help us finish the code archive project and make a > new home for the tasty bits of code we all love to read about, contact me. > > If the scripts are kept fairly straight forward and we attempt to solve > just this problem, I think we have a chance of making the project work. > This is a great opportunity to get involved, if you are not an uber > coder or you have some fear about getting involved, just come and give > it a shot. You will learn a bunch, get to know some really cool people > and end up with a dog, a beautiful spouse and a white picket fence. > Plus, we could use the help. Anyone interested please contact me. > Also, anyone with information about the whereabouts of the code archive, > please email me. > > Hans K > > -- > Hans C. Kaspersetz > Co-founder > Cyber X Designs > hans at cyberxdesigns.com > http://www.cyberxdesigns.com > > Operations Guy and Presentations Lacky > New York PHP > > > _______________________________________________ > New York PHP Talk Mailing List > AMP Technology > Supporting Apache, MySQL and PHP > http://lists.nyphp.org/mailman/listinfo/talk > http://www.nyphp.org > -- Brian O'Connor From joshmccormack at travelersdiary.com Thu May 26 22:49:12 2005 From: joshmccormack at travelersdiary.com (Josh McCormack) Date: Thu, 26 May 2005 22:49:12 -0400 Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: <29da5d1505052619323327c56b@mail.gmail.com> References: <25386-38589@sneakemail.com> <42962FF7.4060803@omnistep.com> <429643C1.9010106@cyberxdesigns.com> <29da5d1505052619323327c56b@mail.gmail.com> Message-ID: <42968AA8.9090409@travelersdiary.com> How about filming explanations of the recipes. Make them entertaining, in front of an enthusiastic studio audience, with lots of "Bam! Bam!". Make a DVD. Josh Brian O'Connor wrote: > I am almost certain that nothing I've written would be unique / > valuble enough to be in a "nyphp Cookbook", but I know personally I'd > find one extremely useful for my own purposes. > > On 5/26/05, Hans C. Kaspersetz wrote: > >>Rolan Yang wrote: >> >> >>>David Mintz wrote: >>> >>> >>>>On Thu, 26 May 2005, inforequest wrote >>>> >>>> >>>>which brings me to an idea that's related, if not quite the same >>>>thing as >>>>the above. I propose: let's create an NYPHP Cookbook. There are several >>>>fine Cookbooks that we all know and love. >>>> >>>>Finally, make this an online publication; let each recipe-submitter >>>>upload >>>>a brief bio and optional JPEG of h(er|im)self and thus get a little >>>>exposure. Of course, we could also consider whether it would be >>>>cost-effective to try to print and sell it as hardcopy and raise some >>>>$$$ >>>>for nyphp. >>>> >>>>Who's up for cookbook.nyphp.org? I'll volunteer to be part of the >>>>editorial team. >>>> >>>> >> >>Didn't we recently start a project similar to this? I think it was the >>code archive project? I think that project is living in suspended >>animation. Not to poo-poo on the parade but I think we should pick up >>the code archive project and add a couple of fields that cover the >>submitter and beta it. I know there was a lot of talk about the code >>archive project, I think there were a couple of meetings and even some >>documents written. Who knows the current status of the code archive >>project? Are any of you ready to take up the gauntlet and work with the >>core NYPHP people to get this thing done? I imagine that we could spin >>the basic set of scripts fairly quickly so that we could start taking >>submissions and compiling a database of NYPHP Tasty Morsels. >> >>I would like to see community involvement on this project. I know for a >>fact that the core NYPHP people are currently working on a new frame >>work for the entire NYPHP web site, so if any of you out there would >>like to join us and help us finish the code archive project and make a >>new home for the tasty bits of code we all love to read about, contact me. >> >>If the scripts are kept fairly straight forward and we attempt to solve >>just this problem, I think we have a chance of making the project work. >>This is a great opportunity to get involved, if you are not an uber >>coder or you have some fear about getting involved, just come and give >>it a shot. You will learn a bunch, get to know some really cool people >>and end up with a dog, a beautiful spouse and a white picket fence. >>Plus, we could use the help. Anyone interested please contact me. >>Also, anyone with information about the whereabouts of the code archive, >>please email me. >> >>Hans K >> >>-- >>Hans C. Kaspersetz >>Co-founder >>Cyber X Designs >>hans at cyberxdesigns.com >>http://www.cyberxdesigns.com >> >>Operations Guy and Presentations Lacky >>New York PHP >> >> >>_______________________________________________ >>New York PHP Talk Mailing List >>AMP Technology >>Supporting Apache, MySQL and PHP >>http://lists.nyphp.org/mailman/listinfo/talk >>http://www.nyphp.org >> > > > From james at 2-bit-toys.com Fri May 27 02:18:30 2005 From: james at 2-bit-toys.com (James Tu) Date: Thu, 26 May 2005 23:18:30 -0700 Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: <42968AA8.9090409@travelersdiary.com> References: <25386-38589@sneakemail.com> <42962FF7.4060803@omnistep.com> <429643C1.9010106@cyberxdesigns.com> <29da5d1505052619323327c56b@mail.gmail.com> <42968AA8.9090409@travelersdiary.com> Message-ID: <6.2.0.14.0.20050526231741.0318bc40@www.2-bit-toys.com> Why don't you guys do some podcasts about MYSQL/PHP/APACHE? That would be awesome! -James -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 266.11.17 - Release Date: 5/25/2005 From matt at jobsforge.com Thu May 26 23:53:58 2005 From: matt at jobsforge.com (Matthew Terenzio) Date: Thu, 26 May 2005 23:53:58 -0400 Subject: [nycphp-talk] Pear XML_RPC + AJAX Message-ID: Been playing with this tonight. Took a bit of Javascript hair pulling but then ........ Hooorahhhh!! test You have got to love it. I may never load more than one page again. Perhaps it's the tequila talking but moments like this only happen a couple times a year, so I had to share it. But really, it's pretty cool. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 583 bytes Desc: not available URL: From 1j0lkq002 at sneakemail.com Thu May 26 23:58:10 2005 From: 1j0lkq002 at sneakemail.com (inforequest) Date: Thu, 26 May 2005 23:58:10 -0400 Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: <6.2.0.14.0.20050526231741.0318bc40@www.2-bit-toys.com> References: <25386-38589@sneakemail.com> <42962FF7.4060803@omnistep.com> <429643C1.9010106@cyberxdesigns.com> <29da5d1505052619323327c56b@mail.gmail.com> <42968AA8.9090409@travelersdiary.com> <6.2.0.14.0.20050526231741.0318bc40@www.2-bit-toys.com> Message-ID: <7635-14748@sneakemail.com> James Tu james-at-2-bit-toys.com |nyphp dev/internal group use| wrote: > Why don't you guys do some podcasts about MYSQL/PHP/APACHE? That > would be awesome! > > -James > > +1 A capital idea! Hey James, when will your recording be ready to upload? Maybe we will use beercasting.com ? From mikeh at dtev.com Fri May 27 00:38:40 2005 From: mikeh at dtev.com (mike hjorleifsson) Date: Fri, 27 May 2005 00:38:40 -0400 Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: <6.2.0.14.0.20050526231741.0318bc40@www.2-bit-toys.com> References: <25386-38589@sneakemail.com> <42962FF7.4060803@omnistep.com> <429643C1.9010106@cyberxdesigns.com> <29da5d1505052619323327c56b@mail.gmail.com> <42968AA8.9090409@travelersdiary.com> <6.2.0.14.0.20050526231741.0318bc40@www.2-bit-toys.com> Message-ID: <4296A450.3000306@dtev.com> take some donations... i will fork over some $$ to see a cookbook :) James Tu wrote: > Why don't you guys do some podcasts about MYSQL/PHP/APACHE? That > would be awesome! > > -James > > -- ======================= Mike Hjorleifsson 1110 South Ave Staten Island, NY 10314 Direct Ph: 718-889-0687 Fx: 718-247-1673 Online Store: http://www.elementcomputer.com PLEASE NOTE: This e-mail message may contain confidential and privileged material for the sole use of the intended recipient(s). If you are not the intended recipient you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error,please contact me immediately by e-mail or by telephone at (888) 858-4ION and delete the original message and any copies. Thank you. From shiflett at php.net Fri May 27 01:23:01 2005 From: shiflett at php.net (Chris Shiflett) Date: Fri, 27 May 2005 01:23:01 -0400 Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: <6.2.0.14.0.20050526231741.0318bc40@www.2-bit-toys.com> References: <25386-38589@sneakemail.com> <42962FF7.4060803@omnistep.com> <429643C1.9010106@cyberxdesigns.com> <29da5d1505052619323327c56b@mail.gmail.com> <42968AA8.9090409@travelersdiary.com> <6.2.0.14.0.20050526231741.0318bc40@www.2-bit-toys.com> Message-ID: <4296AEB5.7090404@php.net> James Tu wrote: > Why don't you guys do some podcasts about MYSQL/PHP/APACHE? Sounds a lot like this: http://pro-php.com/ Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/ From rolan at omnistep.com Fri May 27 01:57:51 2005 From: rolan at omnistep.com (Rolan Yang) Date: Fri, 27 May 2005 01:57:51 -0400 Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: <429643C1.9010106@cyberxdesigns.com> References: <25386-38589@sneakemail.com> <42962FF7.4060803@omnistep.com> <429643C1.9010106@cyberxdesigns.com> Message-ID: <4296B6DF.4010901@omnistep.com> Hans C. Kaspersetz wrote: > Didn't we recently start a project similar to this? I think it was the > code archive project? I think that project is living in suspended > animation. Not to poo-poo on the parade but I think we should pick up > the code archive project and add a couple of fields that cover the > > Hans K > I haven't actually joined any nyphp projects yet, so I can't authoritatively comment on why the project faded into oblivion, but I am given the impression that the current projects are large, complex, and require some sort of approval process to join. These barriers of entry are probably intimidating to a lot of people. Comittment to join a long term project is also intimidating, where as firing off a quick hack or suggestion on a mailing list is not. Small projects are simply easier to bite off and swallow. You know what might work? If once a week, a small script or real world problem is presented and everyone tosses out suggestions, solutions, and optimizations. OH WAIT. THE MAILING LIST IS JUST THAT! (well, some of the time, heh). The rapidfire "development cycles" of mailing list chatter results in a optimized solution much faster than with large projects. To help guide content for the book, the problems should probably be hand picked. Also, if people knew that they will eventually be published, they might be more inclined to contribute. ~Rolan From ps at pswebcode.com Fri May 27 09:47:47 2005 From: ps at pswebcode.com (Peter Sawczynec) Date: Fri, 27 May 2005 09:47:47 -0400 Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: <4296B6DF.4010901@omnistep.com> Message-ID: <000601c562c2$adbed770$6400a8c0@yourx1adg12jme> Looking for sponsorship (or at least publicity assistance) could be a good idea too, like maybe presenting all the code in screen captures from the Zend Studio or UltraEdit. Get Rasmus Lerdorf to do three paragraph intro (Somebody knows him good enough). Ultimately, even if the book didn't make it to a brick and mortar publisher. NYPHP could easily convert the project to PDF (Adobe sponsor? Gets a blurb touting full range of PDF capabilities.) and make available as appropriately-priced digital download straight from NYPHP or even make a click-through deal with Amazon. PSaw -----Original Message----- From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Rolan Yang Sent: Friday, May 27, 2005 1:58 AM To: NYPHP Talk Subject: Re: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) Hans C. Kaspersetz wrote: > Didn't we recently start a project similar to this? I think it was > the code archive project? I think that project is living in suspended > animation. Not to poo-poo on the parade but I think we should pick up > the code archive project and add a couple of fields that cover the > > Hans K > I haven't actually joined any nyphp projects yet, so I can't authoritatively comment on why the project faded into oblivion, but I am given the impression that the current projects are large, complex, and require some sort of approval process to join. These barriers of entry are probably intimidating to a lot of people. Comittment to join a long term project is also intimidating, where as firing off a quick hack or suggestion on a mailing list is not. Small projects are simply easier to bite off and swallow. You know what might work? If once a week, a small script or real world problem is presented and everyone tosses out suggestions, solutions, and optimizations. OH WAIT. THE MAILING LIST IS JUST THAT! (well, some of the time, heh). The rapidfire "development cycles" of mailing list chatter results in a optimized solution much faster than with large projects. To help guide content for the book, the problems should probably be hand picked. Also, if people knew that they will eventually be published, they might be more inclined to contribute. ~Rolan _______________________________________________ New York PHP Talk Mailing List AMP Technology Supporting Apache, MySQL and PHP http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org From dmintz at davidmintz.org Fri May 27 10:08:39 2005 From: dmintz at davidmintz.org (David Mintz) Date: Fri, 27 May 2005 10:08:39 -0400 (EDT) Subject: proposing NYPHP Cookbook (aka Re: [nycphp-talk] $$ question) In-Reply-To: <000601c562c2$adbed770$6400a8c0@yourx1adg12jme> References: <000601c562c2$adbed770$6400a8c0@yourx1adg12jme> Message-ID: On Fri, 27 May 2005, Peter Sawczynec wrote: > Looking for sponsorship (or at least publicity assistance) could be a good > idea too, like maybe presenting all the code in screen captures from the > Zend Studio or UltraEdit. > > Get Rasmus Lerdorf to do three paragraph intro (Somebody knows him good > enough). > > Ultimately, even if the book didn't make it to a brick and mortar publisher. > NYPHP could easily convert the project to PDF (Adobe sponsor? Gets a blurb > touting full range of PDF capabilities.) and make available as > appropriately-priced digital download straight from NYPHP or even make a > click-through deal with Amazon. Now you're talkin'! One of the challenges would be to mine the list archives, which surely has a couple hundred gourmet recipes. I have seen more cool things than I can remember. --- David Mintz http://davidmintz.org/ From nestorflorez at earthlink.net Fri May 27 12:10:32 2005 From: nestorflorez at earthlink.net (Nestor Florez) Date: Fri, 27 May 2005 09:10:32 -0700 (GMT-07:00) Subject: [nycphp-talk] Pear XML_RPC + AJAX Message-ID: <32438386.1117210232294.JavaMail.root@wamui-norfolk.atl.sa.earthlink.net> Mathew, I do not understand, What did you accomplished and can we see a working example of this. Thanks, Nestor :-) -----Original Message----- From: Matthew Terenzio Sent: May 26, 2005 8:53 PM To: NYPHP Talk Subject: [nycphp-talk] Pear XML_RPC + AJAX Been playing with this tonight. Took a bit of Javascript hair pulling but then ........ Hooorahhhh!! test You have got to love it. I may never load more than one page again. Perhaps it's the tequila talking but moments like this only happen a couple times a year, so I had to share it. But really, it's pretty cool. From matt at jobsforge.com Fri May 27 12:39:50 2005 From: matt at jobsforge.com (Matthew Terenzio) Date: Fri, 27 May 2005 12:39:50 -0400 Subject: [nycphp-talk] Pear XML_RPC + AJAX In-Reply-To: <32438386.1117210232294.JavaMail.root@wamui-norfolk.atl.sa.earthlink.net> References: <32438386.1117210232294.JavaMail.root@wamui-norfolk.atl.sa.earthlink.net> Message-ID: On May 27, 2005, at 12:10 PM, Nestor Florez wrote: > Mathew, > > I do not understand, What did you accomplished and can we see a > working example of this. Ajax is a way to update a web page without reloading using the xmlhttprequest object in javascript. If you tie that in to an XML-RPC call you can have a web-services style data being written to a page in real time. I knew about this for a while but was just happy to spend the time to get it to work for me. here's an example. on the client (which is just an html page, no server side processing necessary) I fed the javascript function below the url (the server), the XML_RPC method I want to invoke, and the value, in this case a string. The XMLHTTP REQUEST object does its magic and if the XML_RPC returns an XML Doc. The processReqChange() waits for a reply and if its Ok (200) I can handle the reply how i'd like . (I use a delegate() function which I feed the XML_RPC method type to so I hnow what kind of value I'm expecting. I can explain more thoroughly later, but I'm late for work. I'm just starting to work with this stuff. It might be old hat for some around here. But basically, it enables you to call a remote procedure from somewhere on the web and display it within a web page without the need to reload the page. I'm not going to mention a Stock Ticker or anything like that : ). There are many possible uses.