From maxarbos at yahoo.com Tue Feb 1 13:55:49 2011 From: maxarbos at yahoo.com (Bill P.) Date: Tue, 1 Feb 2011 10:55:49 -0800 (PST) Subject: [nycphp-talk] Pear::LiveUser (or other ACL / RBAC Package) Message-ID: <55361.82162.qm@web65811.mail.ac4.yahoo.com> Hello, Does anyone have any experience with PEAR::LiveUser ? It's still listed as beta, but been around for a long time even before the last release. I am looking for an ACL / RBAC package and management component, but not finding much. A year and a half or so ago, I used ZF ACl, but was not totally happy with it. So any suggestions would be great. Thanks. Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: From consult at covenantedesign.com Wed Feb 2 18:54:43 2011 From: consult at covenantedesign.com (CED) Date: Wed, 02 Feb 2011 18:54:43 -0500 Subject: [nycphp-talk] Pear::LiveUser (or other ACL / RBAC Package) In-Reply-To: <55361.82162.qm@web65811.mail.ac4.yahoo.com> References: <55361.82162.qm@web65811.mail.ac4.yahoo.com> Message-ID: <4D49EEC3.9080201@covenantedesign.com> I wasn't sure how many people are close enough to the Albany area, but we have a sweet happening coming up: http://barcampalbany.org Bar camps are super fun and a great way to learn a lot of cool things... hope to see you there. On 2/1/2011 1:55 PM, Bill P. wrote: > Hello, > > Does anyone have any experience with PEAR::LiveUser ? > It's still listed as beta, but been around for a long time even before > the last release. > > I am looking for an ACL / RBAC package and management component, but > not finding much. > A year and a half or so ago, I used ZF ACl, but was not totally happy > with it. > > So any suggestions would be great. > > Thanks. > Bill > > > _______________________________________________ > New York PHP Users Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/Show-Participation -- 995 Maple Hill Road Castleton, New York 12033 518-331-5061 Consult at CovenanteDesign.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From consult at covenantedesign.com Wed Feb 2 18:55:32 2011 From: consult at covenantedesign.com (CED) Date: Wed, 02 Feb 2011 18:55:32 -0500 Subject: [nycphp-talk] Hijacker In-Reply-To: <4D49EEC3.9080201@covenantedesign.com> References: <55361.82162.qm@web65811.mail.ac4.yahoo.com> <4D49EEC3.9080201@covenantedesign.com> Message-ID: <4D49EEF4.9040305@covenantedesign.com> Sorry, I accidentally hijacked that... my bad. From jmcgraw1 at gmail.com Wed Feb 2 19:52:19 2011 From: jmcgraw1 at gmail.com (Jake McGraw) Date: Wed, 2 Feb 2011 19:52:19 -0500 Subject: [nycphp-talk] Pear::LiveUser (or other ACL / RBAC Package) In-Reply-To: <55361.82162.qm@web65811.mail.ac4.yahoo.com> References: <55361.82162.qm@web65811.mail.ac4.yahoo.com> Message-ID: What were some of the short comings you encountered while using Zend_Acl? I switched a fairly large PHP app to Zend Framework a year ago and thought Zend_Acl was a helpful component over the homegrown system we had built. - jake On Tue, Feb 1, 2011 at 1:55 PM, Bill P. wrote: > Hello, > > Does anyone have any experience with PEAR::LiveUser ? > It's still listed as beta, but been around for a long time even before the > last release. > > I am looking for an ACL / RBAC package and management component, but not > finding much. > A year and a half or so ago, I used ZF ACl, but was not totally happy with > it. > > So any suggestions would be great. > > Thanks. > Bill > > > _______________________________________________ > New York PHP Users Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/Show-Participation > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david at davidmintz.org Sat Feb 5 10:13:24 2011 From: david at davidmintz.org (David Mintz) Date: Sat, 5 Feb 2011 10:13:24 -0500 Subject: [nycphp-talk] any thoughts about the CMS concrete5? Message-ID: http://www.concrete5.org/ Seems they have a pretty high opinion of themselves, but that's not too unusual in the CMS business. I am planning to play around and see for myself but I wonder if any of you have any experience/opinions about this. -- David Mintz http://davidmintz.org/ It ain't over: http://www.healthcare-now.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From winterbeef at gmail.com Mon Feb 7 11:47:05 2011 From: winterbeef at gmail.com (Wellington Fan) Date: Mon, 07 Feb 2011 11:47:05 -0500 Subject: [nycphp-talk] OT: Front-end, jQuery/CSS developer needed Message-ID: <4D502209.7040608@gmail.com> Hi all, My company needs a jQuery/CSS developer for a couple of weeks. I posted the job description on the NYPHP Job list, but I vaguely recall that there was mention on this list of a dedicated Javascript list that would be more appropriate for Front-end development. Am I halluca-remembering? Any leads? -- Wellington From danielc at analysisandsolutions.com Wed Feb 9 17:19:05 2011 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Wed, 9 Feb 2011 17:19:05 -0500 Subject: [nycphp-talk] ot: rackspace cloud / slicehost Message-ID: <20110209221905.GA14827@panix.com> Hi Folks: I'm wondering if anyone here has personal experience using Rackspace's Cloud service and/or Slicehost. If so, what's your take, please? I guess if you have some other preferred vendor, that'd be interesting to hear. Thanks, --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 ben at projectskyline.com Wed Feb 9 17:24:29 2011 From: ben at projectskyline.com (Ben Sgro) Date: Wed, 9 Feb 2011 17:24:29 -0500 Subject: [nycphp-talk] ot: rackspace cloud / slicehost In-Reply-To: <20110209221905.GA14827@panix.com> References: <20110209221905.GA14827@panix.com> Message-ID: Hey, Rackspace is pretty good - I've used them for many years for professional work. Slicehost is great as well - except that I had some issues I couldn't solve and moved to linode instead. Slicehost's management UI is really slick. Recently I've been using linode (I still use Rackspace for work) for personal stuff and I really like it. I don't think you'll go wrong with any of those companies. - Ben On Feb 9, 2011, at 5:19 PM, Daniel Convissor wrote: > Hi Folks: > > I'm wondering if anyone here has personal experience using Rackspace's > Cloud service and/or Slicehost. If so, what's your take, please? > > I guess if you have some other preferred vendor, that'd be interesting > to hear. > > Thanks, > > --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 Users Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/Show-Participation From matt at atopia.net Wed Feb 9 17:25:08 2011 From: matt at atopia.net (Matt Juszczak) Date: Wed, 9 Feb 2011 17:25:08 -0500 (EST) Subject: [nycphp-talk] ot: rackspace cloud / slicehost In-Reply-To: <20110209221905.GA14827@panix.com> References: <20110209221905.GA14827@panix.com> Message-ID: I've used both EC2 and Rackspace Cloud extensively, and I'm a much larger fan of Rackspace Cloud for numerous reasons. See my blog posts here: http://www.atopia.net/blog/ -- there are two of them relating to Rackspace Cloud. What's your project like? Will you be developing entirely for commodity hardware? Will you be using something like puppet/chef to spin up and control instances? -Matt On Wed, 9 Feb 2011, Daniel Convissor wrote: > Hi Folks: > > I'm wondering if anyone here has personal experience using Rackspace's > Cloud service and/or Slicehost. If so, what's your take, please? > > I guess if you have some other preferred vendor, that'd be interesting > to hear. > > Thanks, > > --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 Users Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/Show-Participation > From matt at atopia.net Wed Feb 9 17:25:57 2011 From: matt at atopia.net (Matt Juszczak) Date: Wed, 9 Feb 2011 17:25:57 -0500 (EST) Subject: [nycphp-talk] ot: rackspace cloud / slicehost In-Reply-To: References: <20110209221905.GA14827@panix.com> Message-ID: Remember that Rackspace is Slicehost on steroids. Same underlying technology. -Matt On Wed, 9 Feb 2011, Ben Sgro wrote: > Hey, > > Rackspace is pretty good - I've used them for many years for professional work. > Slicehost is great as well - except that I had some issues I couldn't solve and moved to linode instead. > > Slicehost's management UI is really slick. > Recently I've been using linode (I still use Rackspace for work) for personal stuff and I really like it. > > I don't think you'll go wrong with any of those companies. > > - Ben > > On Feb 9, 2011, at 5:19 PM, Daniel Convissor wrote: > >> Hi Folks: >> >> I'm wondering if anyone here has personal experience using Rackspace's >> Cloud service and/or Slicehost. If so, what's your take, please? >> >> I guess if you have some other preferred vendor, that'd be interesting >> to hear. >> >> Thanks, >> >> --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 Users Group Community Talk Mailing List >> http://lists.nyphp.org/mailman/listinfo/talk >> >> http://www.nyphp.org/Show-Participation > > _______________________________________________ > New York PHP Users Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/Show-Participation > From rmarscher at beaffinitive.com Wed Feb 9 17:53:50 2011 From: rmarscher at beaffinitive.com (Rob Marscher) Date: Wed, 9 Feb 2011 17:53:50 -0500 Subject: [nycphp-talk] ot: rackspace cloud / slicehost In-Reply-To: <20110209221905.GA14827@panix.com> References: <20110209221905.GA14827@panix.com> Message-ID: On Feb 9, 2011, at 5:19 PM, Daniel Convissor wrote: > I guess if you have some other preferred vendor, that'd be interesting to hear. I've been following these new cloud offerings specifically for php: http://orchestra.io http://phpfog.com I just received beta access to phpfog, but I haven't gotten a chance to try it out yet. From rsd at electronink.com Wed Feb 9 17:58:45 2011 From: rsd at electronink.com (Russ Demarest) Date: Wed, 9 Feb 2011 17:58:45 -0500 Subject: [nycphp-talk] ot: rackspace cloud / slicehost In-Reply-To: References: <20110209221905.GA14827@panix.com> Message-ID: <889E5CEB-B5ED-49EB-9D84-AB55384C08FF@electronink.com> I been using slicehost for several projects and can recommend them. On Feb 9, 2011, at 5:53 PM, Rob Marscher wrote: > On Feb 9, 2011, at 5:19 PM, Daniel Convissor wrote: >> I guess if you have some other preferred vendor, that'd be interesting to hear. > > I've been following these new cloud offerings specifically for php: > > http://orchestra.io > http://phpfog.com > > I just received beta access to phpfog, but I haven't gotten a chance to try it out yet. > > > _______________________________________________ > New York PHP Users Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/Show-Participation From y2rob at aol.com Thu Feb 10 13:20:03 2011 From: y2rob at aol.com (Rob) Date: Thu, 10 Feb 2011 13:20:03 -0500 Subject: [nycphp-talk] ot: rackspace cloud / slicehost In-Reply-To: References: <20110209221905.GA14827@panix.com> Message-ID: <8CD97664573283E-189C-449@webmail-m065.sysops.aol.com> yeah, i had a friend do the same with moving to linode and he's pretty happy. -----Original Message----- From: Matt Juszczak To: NYPHP Talk Sent: Wed, Feb 9, 2011 5:25 pm Subject: Re: [nycphp-talk] ot: rackspace cloud / slicehost Remember that Rackspace is Slicehost on steroids. Same underlying technology. -Matt On Wed, 9 Feb 2011, Ben Sgro wrote: > Hey, > > Rackspace is pretty good - I've used them for many years for professional work. > Slicehost is great as well - except that I had some issues I couldn't solve and moved to linode instead. > > Slicehost's management UI is really slick. > Recently I've been using linode (I still use Rackspace for work) for personal stuff and I really like it. > > I don't think you'll go wrong with any of those companies. > > - Ben > > On Feb 9, 2011, at 5:19 PM, Daniel Convissor wrote: > >> Hi Folks: >> >> I'm wondering if anyone here has personal experience using Rackspace's >> Cloud service and/or Slicehost. If so, what's your take, please? >> >> I guess if you have some other preferred vendor, that'd be interesting >> to hear. >> >> Thanks, >> >> --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 Users Group Community Talk Mailing List >> http://lists.nyphp.org/mailman/listinfo/talk >> >> http://www.nyphp.org/Show-Participation > > _______________________________________________ > New York PHP Users Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/Show-Participation > _______________________________________________ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation -------------- next part -------------- An HTML attachment was scrubbed... URL: From anoland at indigente.net Sat Feb 12 12:02:17 2011 From: anoland at indigente.net (anoland) Date: Sat, 12 Feb 2011 11:02:17 -0600 Subject: [nycphp-talk] ot: rackspace cloud / slicehost In-Reply-To: References: <20110209221905.GA14827@panix.com> Message-ID: <4D56BD19.6020006@indigente.net> On 02/09/2011 04:25 PM, Matt Juszczak wrote: > Remember that Rackspace is Slicehost on steroids. Same underlying > technology. > > -Matt More than that... same company. http://www.slicehost.com/articles/2008/10/22/big-news-today I've had slicehost for over 2 years. I'm happy with them. Even before the acquisition, they had rackspace-like levels of customer support. It was a natural fit. The only beef I have is that their pricing is a little stale. I can find the same specs cheaper on other providers. One notable one I am trying right now is chunkhost.com; $18 cheaper than slicehost for 512MB VPS. I've only had a week with them so I haven't had any support issues yet. Free beta till March 9th. Sign up referral link: http://chunkhost.com/r/nyphp-talk From papillion at gmail.com Wed Feb 16 04:08:34 2011 From: papillion at gmail.com (Anthony Papillion) Date: Wed, 16 Feb 2011 03:08:34 -0600 Subject: [nycphp-talk] I am about to pull my hair out over file uploads with cURL. Help! Message-ID: <4D5B9412.4010806@gmail.com> Hi Everyone, So I'm working with this new API and doing something that SHOULD be really, really simple. The API documentation says that I should pass parameters in a POST call They are: cmd session file_name message_guid media The final variable (media) should contain the binary data of the file I'm uploading through this call. I'm using cURL and the following code to perform the call to the API: post = array("cmd"=>"uploadmessage", "session"=>"$_SESSION[sid]", "message_guid"=>"$msg_guid", "file_name"=>"$file_name.mov", "media"=>"@$target_path",); $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_VERBOSE, 0); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_URL, $baseURL); curl_setopt($ch, CURLOPT_POSTFIELDS, $post); $response = curl_exec($ch); A few notes: 1. the file is stored in a subdirectory called 'uploads' which is directly under the current directory the script is executing in. The variable $target_path will include the directory name and file name (which will vary). So an example of a $target_path value might be /uploads/myfile.mp4 2. Since I realize I *might* need to pass the full path to the file, I've tried replacing $target_path with something like /home/anthony/workspaces/appname/uploads/$filename and that didn't work either. For some reason, I am simply unable to upload this file! Isn't the code above *supposed* to work? Can anyone spot what's wrong? I've been wrestling with this little snippet of code for two days and Googleing my heart out. Help, please! Thank You, Anthony Papillion From lists at mollentze.co.za Wed Feb 16 05:29:48 2011 From: lists at mollentze.co.za (Werner) Date: Wed, 16 Feb 2011 12:29:48 +0200 Subject: [nycphp-talk] I am about to pull my hair out over file uploads with cURL. Help! In-Reply-To: <4D5B9412.4010806@gmail.com> References: <4D5B9412.4010806@gmail.com> Message-ID: <4D5BA71C.8060903@mollentze.co.za> Hi Anthony Your example code looks a bit sloppy, probably because you have changed it so much in order to try to make it work ;) In either case, are you using the double quotes around your variables to type-cast them? Consider removing the quotes unless really necessary, or results might be unexpected, e.g. rather use curly braces for $_SESSION[sid]: "{$_SESSION[sid]}". You mention that The final variable (media) should contain the binary data of the file In that case, the following code might be what one would expect to use? $post = array( 'cmd' => 'uploadmessage', 'session' => $_SESSION[sid], // No need for double quotes 'message_guid' => $msg_guid, // No need for double quotes 'file_name' => "$file_name.mov", 'media' => file_get_contents($target_path) // Assigning the binary file data ); Also, purely judging from the variable name, it looks like $baseURL might be pointing to a local URI or only a URL fragment? Is that what was intended? Regards, Werner On 16/02/2011 11:08, Anthony Papillion wrote: > Hi Everyone, > > So I'm working with this new API and doing something that SHOULD be > really, really simple. The API documentation says that I should pass > parameters in a POST call They are: > > cmd > session > file_name > message_guid > media > > The final variable (media) should contain the binary data of the file > I'm uploading through this call. I'm using cURL and the following code > to perform the call to the API: > > post = array("cmd"=>"uploadmessage", > "session"=>"$_SESSION[sid]", > "message_guid"=>"$msg_guid", > "file_name"=>"$file_name.mov", > "media"=>"@$target_path",); > > $ch = curl_init(); > curl_setopt($ch, CURLOPT_HEADER, 0); > curl_setopt($ch, CURLOPT_VERBOSE, 0); > curl_setopt($ch, CURLOPT_POST, true); > curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); > curl_setopt($ch, CURLOPT_URL, $baseURL); > curl_setopt($ch, CURLOPT_POSTFIELDS, $post); > > > $response = curl_exec($ch); > > A few notes: > > 1. the file is stored in a subdirectory called 'uploads' which is > directly under the current directory the script is executing in. The > variable $target_path will include the directory name and file name > (which will vary). So an example of a $target_path value might be > /uploads/myfile.mp4 > > 2. Since I realize I *might* need to pass the full path to the file, > I've tried replacing $target_path with something like > /home/anthony/workspaces/appname/uploads/$filename and that didn't work > either. > > For some reason, I am simply unable to upload this file! Isn't the code > above *supposed* to work? Can anyone spot what's wrong? I've been > wrestling with this little snippet of code for two days and Googleing my > heart out. Help, please! > > Thank You, > Anthony Papillion > _______________________________________________ > New York PHP Users Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/Show-Participation > From papillion at gmail.com Wed Feb 16 06:03:04 2011 From: papillion at gmail.com (Anthony Papillion) Date: Wed, 16 Feb 2011 05:03:04 -0600 Subject: [nycphp-talk] I am about to pull my hair out over file uploads with cURL. Help! In-Reply-To: <4D5BA71C.8060903@mollentze.co.za> References: <4D5B9412.4010806@gmail.com> <4D5BA71C.8060903@mollentze.co.za> Message-ID: <4D5BAEE8.2060409@gmail.com> On 02/16/2011 04:29 AM, Werner wrote: > > Your example code looks a bit sloppy, probably because you have changed > it so much in order to try to make it work ;) That and an extreme lack of sleep. Unfortunately, that sloppiness has infected a good part of my codebase over the last two days since I've gone through it and changed things to try to get the code to work. A cleanup job is definitely in order. > In either case, are you using the double quotes around your variables to > type-cast them? Consider removing the quotes unless really necessary, or > results might be unexpected, e.g. rather use curly braces for > $_SESSION[sid]: "{$_SESSION[sid]}". No, I did not need to typecast my variables. Hadn't even noticed the double quotes around them. They weren't there when I started this, I swear! lol > You mention that > > The final variable (media) should contain the binary data of the file > > > In that case, the following code might be what one would expect to use? > > $post = array( > 'cmd' => 'uploadmessage', > 'session' => $_SESSION[sid], // No need for double quotes > 'message_guid' => $msg_guid, // No need for double quotes > 'file_name' => "$file_name.mov", > 'media' => file_get_contents($target_path) // Assigning the binary > file data > ); You're very right. THAT code seems to work with no problem at all. Well, there *is* a problem, but I think it's on the server side as it seems to think that there is no 'cmd' variable being passed. Yet, when I print_r($post) I can clearly see that 'cmd' is being passed. Weird. But anyway, YOUR code does indeed work! Thank you for the corrections! > Also, purely judging from the variable name, it looks like $baseURL > might be pointing to a local URI or only a URL fragment? Is that what > was intended? Right. $baseURL has the HTTP address to the API (something like www.sitename.com/api). I'm using that so I don't have to type out a long site name over and over as this snippet is part of 9 different calls I have to make to the API to get a file uploaded and operated on. Again, thank you *very* much for the help. It is much appreciated. The use of file_get_contents() never even entered my head and I totally missed the double quotes. Thanks! Anthony From rmarscher at beaffinitive.com Wed Feb 16 10:08:26 2011 From: rmarscher at beaffinitive.com (Rob Marscher) Date: Wed, 16 Feb 2011 10:08:26 -0500 Subject: [nycphp-talk] I am about to pull my hair out over file uploads with cURL. Help! In-Reply-To: <4D5BAEE8.2060409@gmail.com> References: <4D5B9412.4010806@gmail.com> <4D5BA71C.8060903@mollentze.co.za> <4D5BAEE8.2060409@gmail.com> Message-ID: <001E22C4-273B-46CF-863E-9F443C4CFE36@beaffinitive.com> On Feb 16, 2011, at 5:29 AM, Werner wrote: >> You mention that >> The final variable (media) should contain the binary data of the file >> In that case, the following code might be what one would expect to use? >> >> $post = array( >> 'cmd' => 'uploadmessage', >> 'session' => $_SESSION[sid], // No need for double quotes >> 'message_guid' => $msg_guid, // No need for double quotes >> 'file_name' => "$file_name.mov", >> 'media' => file_get_contents($target_path) // Assigning the binary >> file data >> ); On Feb 16, 2011, at 6:03 AM, Anthony Papillion wrote: > You're very right. THAT code seems to work with no problem at all. Well, > there *is* a problem, but I think it's on the server side as it seems to > think that there is no 'cmd' variable being passed. Yet, when I > print_r($post) I can clearly see that 'cmd' is being passed. Weird. But > anyway, YOUR code does indeed work! Thank you for the corrections! Using the @ sign is the proper way to upload a file via curl in php. But it's possible that the API is expecting the data differently than how that works (or perhaps there's an issue with the path contained in $target_path). I think you need this to be an absolute path on the file system rather than relative to where your script is running. From php.net: CURLOPT_POSTFIELDS The full data to post in a HTTP "POST" operation. To post a file, prepend a filename with @ and use the full path. The filetype can be explicitly specified by following the filename with the type in the format ';type=mimetype'. This parameter can either be passed as a urlencoded string like 'para1=val1¶2=val2&...' or as an array with the field name as key and field data as value. If value is an array, the Content-Type header will be set tomultipart/form-data. As of PHP 5.2.0, files thats passed to this option with the @ prefix must be in array form to work. The server returning that 'cmd' wasn't passed is strange. Did you try setting verbose to true? It should output debug info to your error log (or output on command line if you're running it that way). curl_setopt($ch, CURLOPT_VERBOSE, true); Maybe also add follow location in case the server does some type of redirect? curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); Is HTTPS involved? From papillion at gmail.com Wed Feb 23 01:31:14 2011 From: papillion at gmail.com (Anthony Papillion) Date: Wed, 23 Feb 2011 00:31:14 -0600 Subject: [nycphp-talk] PHP Consultant/Developer available for hire Message-ID: <4D64A9B2.2030207@gmail.com> Hi Everyone, It's finally that time of year where I've wrapped up all the year end projects from last year and am looking for new ones to work on. If you need a LAMP developer, I encourage you to get in touch with me. My rates are reasonable (22.50/hr) and my turnaround is fast with professional results. Technologies: - PHP 4/5 w/OOP - Full command of the LAMP stack - Yahoo YUI Tools - HTML5 - Zend Framework - Symphony Framework - AJAX development If you're needing help, please feel free to get in touch. Thanks! Anthony Ph: (918) 320-9968 -- Anthony Papillion Office: (918) 919-4624 Mobile: (918) 320-9968 From zhangji87 at gmail.com Sun Feb 27 08:57:34 2011 From: zhangji87 at gmail.com (=?UTF-8?B?5byg5ZCJ?=) Date: Sun, 27 Feb 2011 21:57:34 +0800 Subject: [nycphp-talk] Could anyone recommend one or more popular php community, please? Message-ID: I'm a php developer (beginning level) and I really want to join a community or a group to discuss php or do trouble-shooting. Any recommendation? From ramons at gmx.net Sun Feb 27 09:10:00 2011 From: ramons at gmx.net (David Krings) Date: Sun, 27 Feb 2011 09:10:00 -0500 Subject: [nycphp-talk] Could anyone recommend one or more popular php community, please? In-Reply-To: References: Message-ID: <4D6A5B38.6070304@gmx.net> On 2/27/2011 8:57 AM, ?? wrote: > I'm a php developer (beginning level) and I really want to join a > community or a group to discuss php or do trouble-shooting. > > Any recommendation? Yea, the NYPHP talk list. Welcome! David From tedd.sperling at gmail.com Sun Feb 27 11:12:44 2011 From: tedd.sperling at gmail.com (tedd) Date: Sun, 27 Feb 2011 11:12:44 -0500 Subject: [nycphp-talk] Could anyone recommend one or more popular php community, please? In-Reply-To: References: Message-ID: At 9:57 PM +0800 2/27/11, =?UTF-8?B?5byg5ZCJ?= wrote: >I'm a php developer (beginning level) and I really want to join a >community or a group to discuss php or do trouble-shooting. > >Any recommendation? Yes, you could join the php General user List -- it has a lot more traffic. http://php.net/mailing-lists.php Cheers, tedd -- ------- http://sperling.com/