From msyk at msyk.net Sun Jul 8 06:56:19 2012 From: msyk at msyk.net (Masayuki Nii) Date: Sun Jul 8 06:14:58 2012 Subject: [FX.php List] FMS12's bug? Message-ID: <274617771.0.1341752179135.JavaMail.msyk@msyk.net> Hi everyone, I notice the issue on FileMaker Server 12's XML Sharing. Is that already known? http://homeserver.msyk.net/wiki/pages/L2X4g1U/ ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From tcmeyers at troymeyers.com Sun Jul 8 07:07:21 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Sun Jul 8 06:26:01 2012 Subject: [FX.php List] FMS12's bug? Message-ID: Masayuki, Are you to referring to the response to FMPXMLRESULT queries, where (if there are portals with no data) the number of is less than the number of field names in the section? If so, yes, boy do I know it. -Troy > Hi everyone, I notice the issue on FileMaker Server 12's XML Sharing. Is > that already known? > > http://homeserver.msyk.net/wiki/pages/L2X4g1U/ From tcmeyers at troymeyers.com Sun Jul 8 08:04:54 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Sun Jul 8 07:23:33 2012 Subject: [FX.php List] FMS12's bug? Message-ID: <27823671.612F.42D4.A51A.22153F7B3CDC@106.1162059> Masayuki, If we had a way to ask FX to request data using the other grammar, FMRESULTSET, then I think FX could deal with the response. FMRESULTSET also omits data for portals that have no related records, but since the data itself is wrapped with the field identity, this would not cause the misalignment of field/data problem assuming FX could parse it correctly. -Troy > Hi everyone, I notice the issue on FileMaker Server 12's XML Sharing. Is > that already known? > > http://homeserver.msyk.net/wiki/pages/L2X4g1U/ From msyk at msyk.net Sun Jul 8 11:19:14 2012 From: msyk at msyk.net (Masayuki Nii) Date: Sun Jul 8 10:37:50 2012 Subject: [FX.php List] Re-FMS12's bug? In-Reply-To: <27823671.612F.42D4.A51A.22153F7B3CDC@106.1162059> References: <27823671.612F.42D4.A51A.22153F7B3CDC@106.1162059> Message-ID: <558519794.0.1341767954884.JavaMail.msyk@msyk.net> Troy, Troy Meyers ????2012/7/8 23:04:54????? ??---?Re: [FX.php List] FMS12's bug???????? > If we had a way to ask FX to request data using the other grammar, FMRESULTSET, then I think FX could deal with the response. FX.php's implementation depends on FMPXMLRESULT scheme, and it's not easy task to fit the fmresultset scheme. I mean it's not enough to replace the URL string. It has to process each XML element appropriately. I will report this to FM Inc, but it can not be fixed as far as how previous bugs were handled. ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From beverlyvoth at gmail.com Sun Jul 8 11:41:51 2012 From: beverlyvoth at gmail.com (Beverly Voth) Date: Sun Jul 8 11:00:31 2012 Subject: [FX.php List] Re-FMS12's bug? In-Reply-To: <558519794.0.1341767954884.JavaMail.msyk@msyk.net> References: <27823671.612F.42D4.A51A.22153F7B3CDC@106.1162059> <558519794.0.1341767954884.JavaMail.msyk@msyk.net> Message-ID: <5FD985C6-C9C7-4C5F-87DA-515074C302BB@gmail.com> Masayuki, there was a long thread on this bug. FX does use the FMPXMLRESULT grammar, but Chris, aka iViking, had asked if we (the community) might like to have access to the other grammar, as well. And FMI has already said there IS a bug fix for FMS12. We just need to wait for one or both of these to happen. :) -- sent from my iPhone4 -- Beverly Voth -- On Jul 8, 2012, at 1:19 PM, Masayuki Nii wrote: > Troy, > > Troy Meyers ????2012/7/8 23:04:54????? > ??---?Re: [FX.php List] FMS12's bug???????? >> If we had a way to ask FX to request data using the other grammar, FMRESULTSET, then I think FX could deal with the response. > > FX.php's implementation depends on FMPXMLRESULT scheme, and it's not easy task > to fit the fmresultset scheme. I mean it's not enough to replace the URL string. > It has to process each XML element appropriately. I will report this to FM Inc, > but it can not be fixed as far as how previous bugs were handled. > > ________________________________________________________________________ > ????/Masayuki Nii Web Site > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > INTER-Mediator [for Web App] http://inter-mediator.info > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From msyk at msyk.net Sun Jul 8 18:52:08 2012 From: msyk at msyk.net (Masayuki Nii) Date: Sun Jul 8 18:10:44 2012 Subject: [FX.php List] Re-FMS12's bug? In-Reply-To: <5FD985C6-C9C7-4C5F-87DA-515074C302BB@gmail.com> References: <27823671.612F.42D4.A51A.22153F7B3CDC@106.1162059> <558519794.0.1341767954884.JavaMail.msyk@msyk.net> <5FD985C6-C9C7-4C5F-87DA-515074C302BB@gmail.com> Message-ID: <1938822199.0.1341795128753.JavaMail.msyk@msyk.net> Beverly, Thanks for letting me know. I will wait for too. Beverly Voth ????2012/7/9 2:41:51????? ??---?Re: [FX.php List] Re-FMS12's bug???????? > Masayuki, there was a long thread on this bug. FX does use the FMPXMLRESULT grammar, but Chris, aka iViking, had asked if we (the community) might like to have access to the other grammar, as well. And FMI has already said there IS a bug fix for FMS12. We just need to wait for one or both of these to happen. :) > > -- sent from my iPhone4 -- > Beverly Voth > -- > > On Jul 8, 2012, at 1:19 PM, Masayuki Nii wrote: > > > Troy, > > > > Troy Meyers ????2012/7/8 23:04:54????? > > ??---?Re: [FX.php List] FMS12's bug???????? > >> If we had a way to ask FX to request data using the other grammar, FMRESULTSET, then I think FX could deal with the response. > > > > FX.php's implementation depends on FMPXMLRESULT scheme, and it's not easy task > > to fit the fmresultset scheme. I mean it's not enough to replace the URL string. > > It has to process each XML element appropriately. I will report this to FM Inc, > > but it can not be fixed as far as how previous bugs were handled. > > > > ________________________________________________________________________ > > ????/Masayuki Nii Web Site > > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > > INTER-Mediator [for Web App] http://inter-mediator.info > > > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From bob at patin.com Mon Jul 9 09:19:32 2012 From: bob at patin.com (Bob Patin) Date: Mon Jul 9 08:39:04 2012 Subject: [FX.php List] PHP send-mail problems Message-ID: <226A9F7D-1D29-4AB4-B3DF-0806D5E95CDF@patin.com> I've been using a sockmail script for years, and it's worked great; for some reason, I'm getting huge delays now, so decided I'd look into using something different. I found a script that uses PEAR, but it requires a file called PEAR.php, which I don't have and don't know where to download; I assume that since this is PHP 5, PEAR's running on the server, but without this file, I can't make anything work. I need to be able to send mail using authentication, which PHP's vanilla SEND doesn't do; does anyone have either a script or whatever I might need to try sending mail using another method? Thanks, Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker From leo at finalresort.org Mon Jul 9 09:25:27 2012 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Jul 9 08:44:01 2012 Subject: [FX.php List] PHP send-mail problems In-Reply-To: <226A9F7D-1D29-4AB4-B3DF-0806D5E95CDF@patin.com> References: <226A9F7D-1D29-4AB4-B3DF-0806D5E95CDF@patin.com> Message-ID: <4D9E1AF9-BCE3-4708-8E55-CF7A43C169E7@finalresort.org> Try using Swiftmailer or PHPmailer. I usually use the former. 9 jul 2012 kl. 17.19 skrev Bob Patin: > I've been using a sockmail script for years, and it's worked great; for some reason, I'm getting huge delays now, so decided I'd look into using something different. > > I found a script that uses PEAR, but it requires a file called PEAR.php, which I don't have and don't know where to download; I assume that since this is PHP 5, PEAR's running on the server, but without this file, I can't make anything work. > > I need to be able to send mail using authentication, which PHP's vanilla SEND doesn't do; does anyone have either a script or whatever I might need to try sending mail using another method? > > Thanks, > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From lelandlong at me.com Mon Jul 9 09:35:54 2012 From: lelandlong at me.com (LELAND LONG) Date: Mon Jul 9 08:55:06 2012 Subject: [FX.php List] Re: FX.php_List Digest, Vol 96, Issue 1 In-Reply-To: <20120709143906.D7973EF7641@mail.iviking.org> Message-ID: <2a43269d-054c-c23a-f307-db879fc3b522@me.com> This works for me in v11 and v12: "http://maps.googleapis.com/maps/api/staticmap?" & "markers=" & "1 Infinite Loop" & "," & "Cupertino" & "," & "CA" & "," & "95014" & "," & "USA" & "&size=640x560&zoom=14&sensor=false" Hope this helps, Leland Long On Jul 09, 2012, at 10:39 AM, fx.php_list-request@mail.iviking.org wrote: Hey People, I do zilch filemaker work these days. But for some data analysis I decided to whip out FM. Two questions: I am getting the Font Size Not Supported when using google maps in a web viewer. Second, anybody know how to get rid of the annoying pop up annotations on the map? I know this is not the filemaker support line, but thought this is something you spiffy devs would have encountered already. My only solution i can think is use a php page on my server to generate and server the map to the filemaker database (dynamic map address per record). Any info would be appreciated. In the meantime I will continue to search google for the answer. Regards Ernest -------------- next part -------------- Skipped content of type multipart/related From jschwartz at exit445.com Mon Jul 9 09:36:18 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Mon Jul 9 08:58:32 2012 Subject: [FX.php List] PHP send-mail problems In-Reply-To: <226A9F7D-1D29-4AB4-B3DF-0806D5E95CDF@patin.com> References: <226A9F7D-1D29-4AB4-B3DF-0806D5E95CDF@patin.com> Message-ID: Bob, PEAR is part of most modern PHP installations, including the version installed with FMS. Dig into FileMaker Server folder: - Web Publishing - publishing-engine - php - (snow leopard or lion) - lib - php - PEAR.php Hope that helps. BTW...I use PHPMAiler. J At 10:19 AM -0500 7/9/12, Bob Patin wrote: >I've been using a sockmail script for years, and it's worked great; >for some reason, I'm getting huge delays now, so decided I'd look >into using something different. > >I found a script that uses PEAR, but it requires a file called >PEAR.php, which I don't have and don't know where to download; I >assume that since this is PHP 5, PEAR's running on the server, but >without this file, I can't make anything work. > >I need to be able to send mail using authentication, which PHP's >vanilla SEND doesn't do; does anyone have either a script or >whatever I might need to try sending mail using another method? > >Thanks, > >Bob Patin >Longterm Solutions LLC >bob@longtermsolutions.com >615-333-6858 >http://www.longtermsolutions.com >FileMaker 9, 10 & 11 Certified Developer >Member of FileMaker Business Alliance and FileMaker TechNet >-- >Twitter: bobpatin >Google+: http://www.longtermsolutions.com/plus >AIM: longterm1954 >iChat: bobpatin >-- >Expert FileMaker Consulting >FileMaker Hosting for all versions of FileMaker > >_______________________________________________ >FX.php_List mailing list >FX.php_List@mail.iviking.org >http://www.iviking.org/mailman/listinfo/fx.php_list -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From steve at bluecrocodile.co.nz Mon Jul 9 10:23:02 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Mon Jul 9 09:41:41 2012 Subject: [FX.php List] PHP send-mail problems In-Reply-To: References: <226A9F7D-1D29-4AB4-B3DF-0806D5E95CDF@patin.com> Message-ID: <55DE60BD-90D9-48F4-A03B-581353F39258@bluecrocodile.co.nz> Hi Bob FWIW, and just to complete a trifecta, I also use PHPmailer - it does anything/everything that you might need from a mailer, has SMTP authentication, is OO, and is dead easy to implement? Let me know if you need a crash course?! Cheers Steve > Bob, > > PEAR is part of most modern PHP installations, including the version > installed with FMS. Dig into FileMaker Server folder: > - Web Publishing > - publishing-engine > - php > - (snow leopard or lion) > - lib > - php > - PEAR.php > > Hope that helps. > > BTW...I use PHPMAiler. > > J > > > At 10:19 AM -0500 7/9/12, Bob Patin wrote: >> I've been using a sockmail script for years, and it's worked great; >> for some reason, I'm getting huge delays now, so decided I'd look >> into using something different. >> >> I found a script that uses PEAR, but it requires a file called >> PEAR.php, which I don't have and don't know where to download; I >> assume that since this is PHP 5, PEAR's running on the server, but >> without this file, I can't make anything work. >> >> I need to be able to send mail using authentication, which PHP's >> vanilla SEND doesn't do; does anyone have either a script or >> whatever I might need to try sending mail using another method? >> >> Thanks, >> >> Bob Patin >> Longterm Solutions LLC >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> FileMaker 9, 10 & 11 Certified Developer >> Member of FileMaker Business Alliance and FileMaker TechNet >> -- >> Twitter: bobpatin >> Google+: http://www.longtermsolutions.com/plus >> AIM: longterm1954 >> iChat: bobpatin >> -- >> Expert FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From dale.bengston at gmail.com Mon Jul 9 11:11:27 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Mon Jul 9 10:30:02 2012 Subject: [FX.php List] PHP send-mail problems In-Reply-To: <4D9E1AF9-BCE3-4708-8E55-CF7A43C169E7@finalresort.org> References: <226A9F7D-1D29-4AB4-B3DF-0806D5E95CDF@patin.com> <4D9E1AF9-BCE3-4708-8E55-CF7A43C169E7@finalresort.org> Message-ID: I use Swift as well. Very easy to get set up using their samples and online doc. Dale On Jul 9, 2012, at 10:25 AM, Leo R. Lundgren wrote: > Try using Swiftmailer or PHPmailer. I usually use the former. > > 9 jul 2012 kl. 17.19 skrev Bob Patin: > >> I've been using a sockmail script for years, and it's worked great; for some reason, I'm getting huge delays now, so decided I'd look into using something different. >> >> I found a script that uses PEAR, but it requires a file called PEAR.php, which I don't have and don't know where to download; I assume that since this is PHP 5, PEAR's running on the server, but without this file, I can't make anything work. >> >> I need to be able to send mail using authentication, which PHP's vanilla SEND doesn't do; does anyone have either a script or whatever I might need to try sending mail using another method? >> >> Thanks, >> >> Bob Patin >> Longterm Solutions LLC >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> FileMaker 9, 10 & 11 Certified Developer >> Member of FileMaker Business Alliance and FileMaker TechNet >> -- >> Twitter: bobpatin >> Google+: http://www.longtermsolutions.com/plus >> AIM: longterm1954 >> iChat: bobpatin >> -- >> Expert FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > > -| > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at patin.com Mon Jul 9 12:43:27 2012 From: bob at patin.com (Bob Patin) Date: Mon Jul 9 12:02:51 2012 Subject: [FX.php List] PHP send-mail problems In-Reply-To: References: <226A9F7D-1D29-4AB4-B3DF-0806D5E95CDF@patin.com> <4D9E1AF9-BCE3-4708-8E55-CF7A43C169E7@finalresort.org> Message-ID: <1672F36B-B183-4BA4-BF54-E4A6C48E96F0@patin.com> Sigh... I can't get anything to go through with either PHPMailer or Swiftmailer. Frustrating... Here's the Swift code I'm using: setUsername('swiftmailer') ->setPassword('*****') ; // Create the message $message = Swift_Message::newInstance($transport) // Give the message a subject ->setSubject('Test Swiftmailer message') // Set the From address with an associative array ->setFrom(array('swiftmailer@patin.com' => 'Swiftmailer')) // Set the To addresses with an associative array ->setTo(array('bob@patin.com', 'info@longtermsolutions.com' => 'recipients')) // Give it a body ->setBody('Here is the message itself') ; echo 'Message sent at '.date('h:i:s').'...'; ?> Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker On Jul 9, 2012, at 12:11 PM, Dale Bengston wrote: > I use Swift as well. Very easy to get set up using their samples and online doc. > > Dale > > On Jul 9, 2012, at 10:25 AM, Leo R. Lundgren wrote: > >> Try using Swiftmailer or PHPmailer. I usually use the former. >> >> 9 jul 2012 kl. 17.19 skrev Bob Patin: >> >>> I've been using a sockmail script for years, and it's worked great; for some reason, I'm getting huge delays now, so decided I'd look into using something different. >>> >>> I found a script that uses PEAR, but it requires a file called PEAR.php, which I don't have and don't know where to download; I assume that since this is PHP 5, PEAR's running on the server, but without this file, I can't make anything work. >>> >>> I need to be able to send mail using authentication, which PHP's vanilla SEND doesn't do; does anyone have either a script or whatever I might need to try sending mail using another method? >>> >>> Thanks, >>> >>> Bob Patin >>> Longterm Solutions LLC >>> bob@longtermsolutions.com >>> 615-333-6858 >>> http://www.longtermsolutions.com >>> FileMaker 9, 10 & 11 Certified Developer >>> Member of FileMaker Business Alliance and FileMaker TechNet >>> -- >>> Twitter: bobpatin >>> Google+: http://www.longtermsolutions.com/plus >>> AIM: longterm1954 >>> iChat: bobpatin >>> -- >>> Expert FileMaker Consulting >>> FileMaker Hosting for all versions of FileMaker >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> >> -| >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From leo at finalresort.org Mon Jul 9 12:46:46 2012 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Jul 9 12:05:21 2012 Subject: [FX.php List] PHP send-mail problems In-Reply-To: <1672F36B-B183-4BA4-BF54-E4A6C48E96F0@patin.com> References: <226A9F7D-1D29-4AB4-B3DF-0806D5E95CDF@patin.com> <4D9E1AF9-BCE3-4708-8E55-CF7A43C169E7@finalresort.org> <1672F36B-B183-4BA4-BF54-E4A6C48E96F0@patin.com> Message-ID: See the mail I sent you earlier :) 9 jul 2012 kl. 20.43 skrev Bob Patin: > Sigh... I can't get anything to go through with either PHPMailer or Swiftmailer. Frustrating... > > Here's the Swift code I'm using: > > require_once 'lib/swift_required.php'; > > // Create the Transport the call setUsername() and setPassword() > $transport = Swift_SmtpTransport::newInstance('smtp.longtermsolutions.com', 25) > ->setUsername('swiftmailer') > ->setPassword('*****') > ; > > // Create the message > $message = Swift_Message::newInstance($transport) > > // Give the message a subject > ->setSubject('Test Swiftmailer message') > > // Set the From address with an associative array > ->setFrom(array('swiftmailer@patin.com' => 'Swiftmailer')) > > // Set the To addresses with an associative array > ->setTo(array('bob@patin.com', 'info@longtermsolutions.com' => 'recipients')) > > // Give it a body > ->setBody('Here is the message itself') > > ; > > echo 'Message sent at '.date('h:i:s').'...'; > > ?> > > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > On Jul 9, 2012, at 12:11 PM, Dale Bengston wrote: > >> I use Swift as well. Very easy to get set up using their samples and online doc. >> >> Dale >> >> On Jul 9, 2012, at 10:25 AM, Leo R. Lundgren wrote: >> >>> Try using Swiftmailer or PHPmailer. I usually use the former. >>> >>> 9 jul 2012 kl. 17.19 skrev Bob Patin: >>> >>>> I've been using a sockmail script for years, and it's worked great; for some reason, I'm getting huge delays now, so decided I'd look into using something different. >>>> >>>> I found a script that uses PEAR, but it requires a file called PEAR.php, which I don't have and don't know where to download; I assume that since this is PHP 5, PEAR's running on the server, but without this file, I can't make anything work. >>>> >>>> I need to be able to send mail using authentication, which PHP's vanilla SEND doesn't do; does anyone have either a script or whatever I might need to try sending mail using another method? >>>> >>>> Thanks, >>>> >>>> Bob Patin >>>> Longterm Solutions LLC >>>> bob@longtermsolutions.com >>>> 615-333-6858 >>>> http://www.longtermsolutions.com >>>> FileMaker 9, 10 & 11 Certified Developer >>>> Member of FileMaker Business Alliance and FileMaker TechNet >>>> -- >>>> Twitter: bobpatin >>>> Google+: http://www.longtermsolutions.com/plus >>>> AIM: longterm1954 >>>> iChat: bobpatin >>>> -- >>>> Expert FileMaker Consulting >>>> FileMaker Hosting for all versions of FileMaker >>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> >>> >>> -| >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From dale.bengston at gmail.com Mon Jul 9 13:34:33 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Mon Jul 9 12:53:09 2012 Subject: [FX.php List] PHP send-mail problems In-Reply-To: <1672F36B-B183-4BA4-BF54-E4A6C48E96F0@patin.com> References: <226A9F7D-1D29-4AB4-B3DF-0806D5E95CDF@patin.com> <4D9E1AF9-BCE3-4708-8E55-CF7A43C169E7@finalresort.org> <1672F36B-B183-4BA4-BF54-E4A6C48E96F0@patin.com> Message-ID: <3E1EA26B-8E47-4003-8907-51C724192F08@gmail.com> Any errors at all? IMAP turned on in PHP? On Jul 9, 2012, at 1:43 PM, Bob Patin wrote: > Sigh... I can't get anything to go through with either PHPMailer or Swiftmailer. Frustrating... > > Here's the Swift code I'm using: > > require_once 'lib/swift_required.php'; > > // Create the Transport the call setUsername() and setPassword() > $transport = Swift_SmtpTransport::newInstance('smtp.longtermsolutions.com', 25) > ->setUsername('swiftmailer') > ->setPassword('*****') > ; > > // Create the message > $message = Swift_Message::newInstance($transport) > > // Give the message a subject > ->setSubject('Test Swiftmailer message') > > // Set the From address with an associative array > ->setFrom(array('swiftmailer@patin.com' => 'Swiftmailer')) > > // Set the To addresses with an associative array > ->setTo(array('bob@patin.com', 'info@longtermsolutions.com' => 'recipients')) > > // Give it a body > ->setBody('Here is the message itself') > > ; > > echo 'Message sent at '.date('h:i:s').'...'; > > ?> > > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > On Jul 9, 2012, at 12:11 PM, Dale Bengston wrote: > >> I use Swift as well. Very easy to get set up using their samples and online doc. >> >> Dale >> >> On Jul 9, 2012, at 10:25 AM, Leo R. Lundgren wrote: >> >>> Try using Swiftmailer or PHPmailer. I usually use the former. >>> >>> 9 jul 2012 kl. 17.19 skrev Bob Patin: >>> >>>> I've been using a sockmail script for years, and it's worked great; for some reason, I'm getting huge delays now, so decided I'd look into using something different. >>>> >>>> I found a script that uses PEAR, but it requires a file called PEAR.php, which I don't have and don't know where to download; I assume that since this is PHP 5, PEAR's running on the server, but without this file, I can't make anything work. >>>> >>>> I need to be able to send mail using authentication, which PHP's vanilla SEND doesn't do; does anyone have either a script or whatever I might need to try sending mail using another method? >>>> >>>> Thanks, >>>> >>>> Bob Patin >>>> Longterm Solutions LLC >>>> bob@longtermsolutions.com >>>> 615-333-6858 >>>> http://www.longtermsolutions.com >>>> FileMaker 9, 10 & 11 Certified Developer >>>> Member of FileMaker Business Alliance and FileMaker TechNet >>>> -- >>>> Twitter: bobpatin >>>> Google+: http://www.longtermsolutions.com/plus >>>> AIM: longterm1954 >>>> iChat: bobpatin >>>> -- >>>> Expert FileMaker Consulting >>>> FileMaker Hosting for all versions of FileMaker >>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> >>> >>> -| >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jsfmp at earthlink.net Mon Jul 9 15:34:52 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Mon Jul 9 14:53:27 2012 Subject: [FX.php List] [ANN] CWP User Group - Mon at DevCon (NOTE: ROOM CHANGE) Message-ID: Just a week away! Please note the NEW ROOM: Flicker 1-2 -------------------------------------------------------------------------------------------- CWP USER GROUP AT FILEMAKER DEVCON 2012 For the sixth straight year, people doing Custom Web Publishing are getting together at the beginning of the FileMaker Developer Conference to share projects, tips and ideas. This year's DevCon has only one (only one!) regular session that addresses CWP, so come get your CWP groove on at this year's CWP User Group meeting. DATE: Monday, July 16 TIME: 4:00 - 6:00 p.m. (before the 6:30 keynote) ROOM: Flicker 1-2 <<= New Room This will be a friendly, informal chance to share some of what we have been doing with FileMaker and CWP. All web-related tools and technologies are relevant. This year we may see some FM12 media streaming, RESTful development, CSS preprocessing, "google-style" searches, LDAP/TS integration, an FM-based web-development framework, and more! Everyone's welcome. Come join us! http://jsfmp.com/cwp-user-group -Joel ~~~~~~~~~~~~~~~~~~~~~ Joel Shapiro FileMaker Pro : database design : web development http://jsfmp.com 415-269-5055 ~~~~~~~~~~~~~~~~~~~~~ http://twitter.com/jsfmp From dsomar at gmail.com Mon Jul 9 15:46:02 2012 From: dsomar at gmail.com (Denis Somar) Date: Mon Jul 9 15:04:34 2012 Subject: [FX.php List] PHP send-mail problems In-Reply-To: <1672F36B-B183-4BA4-BF54-E4A6C48E96F0@patin.com> References: <226A9F7D-1D29-4AB4-B3DF-0806D5E95CDF@patin.com> <4D9E1AF9-BCE3-4708-8E55-CF7A43C169E7@finalresort.org> <1672F36B-B183-4BA4-BF54-E4A6C48E96F0@patin.com> Message-ID: <-8366003244362483968@unknownmsgid> i dont know Swift but have used PHPmailer REGARDLESS, based on your code it looks like youre constructing a new email but youre never actually sending it - at least the way i would imagine it works. best, denis On Jul 9, 2012, at 2:44 PM, Bob Patin wrote: > Sigh... I can't get anything to go through with either PHPMailer or Swiftmailer. Frustrating... > > Here's the Swift code I'm using: > > require_once 'lib/swift_required.php'; > > // Create the Transport the call setUsername() and setPassword() > $transport = Swift_SmtpTransport::newInstance('smtp.longtermsolutions.com', 25) > ->setUsername('swiftmailer') > ->setPassword('*****') > ; > > // Create the message > $message = Swift_Message::newInstance($transport) > > // Give the message a subject > ->setSubject('Test Swiftmailer message') > > // Set the From address with an associative array > ->setFrom(array('swiftmailer@patin.com' => 'Swiftmailer')) > > // Set the To addresses with an associative array > ->setTo(array('bob@patin.com', 'info@longtermsolutions.com' => 'recipients')) > > // Give it a body > ->setBody('Here is the message itself') > > ; > > echo 'Message sent at '.date('h:i:s').'...'; > > ?> > > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > On Jul 9, 2012, at 12:11 PM, Dale Bengston wrote: > >> I use Swift as well. Very easy to get set up using their samples and online doc. >> >> Dale >> >> On Jul 9, 2012, at 10:25 AM, Leo R. Lundgren wrote: >> >>> Try using Swiftmailer or PHPmailer. I usually use the former. >>> >>> 9 jul 2012 kl. 17.19 skrev Bob Patin: >>> >>>> I've been using a sockmail script for years, and it's worked great; for some reason, I'm getting huge delays now, so decided I'd look into using something different. >>>> >>>> I found a script that uses PEAR, but it requires a file called PEAR.php, which I don't have and don't know where to download; I assume that since this is PHP 5, PEAR's running on the server, but without this file, I can't make anything work. >>>> >>>> I need to be able to send mail using authentication, which PHP's vanilla SEND doesn't do; does anyone have either a script or whatever I might need to try sending mail using another method? >>>> >>>> Thanks, >>>> >>>> Bob Patin >>>> Longterm Solutions LLC >>>> bob@longtermsolutions.com >>>> 615-333-6858 >>>> http://www.longtermsolutions.com >>>> FileMaker 9, 10 & 11 Certified Developer >>>> Member of FileMaker Business Alliance and FileMaker TechNet >>>> -- >>>> Twitter: bobpatin >>>> Google+: http://www.longtermsolutions.com/plus >>>> AIM: longterm1954 >>>> iChat: bobpatin >>>> -- >>>> Expert FileMaker Consulting >>>> FileMaker Hosting for all versions of FileMaker >>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> >>> >>> -| >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at patin.com Mon Jul 9 16:11:51 2012 From: bob at patin.com (Bob Patin) Date: Mon Jul 9 15:31:08 2012 Subject: [FX.php List] PHP send-mail problems In-Reply-To: <-8366003244362483968@unknownmsgid> References: <226A9F7D-1D29-4AB4-B3DF-0806D5E95CDF@patin.com> <4D9E1AF9-BCE3-4708-8E55-CF7A43C169E7@finalresort.org> <1672F36B-B183-4BA4-BF54-E4A6C48E96F0@patin.com> <-8366003244362483968@unknownmsgid> Message-ID: I think it's my mail server that's timing out... none of the methods seem to work properly no matter what I try... Thanks for all the input; I'll probably stick w/ Sockmail for now since it's worked so well for years... Bob Patin Longterm Solutions LLC P.O. Box 3408 Brentwood, TN 37024 bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus -- FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jul 9, 2012, at 4:46 PM, Denis Somar wrote: > i dont know Swift but have used PHPmailer REGARDLESS, based on your > code it looks like youre constructing a new email but youre never > actually sending it - at least the way i would imagine it works. > > best, > denis > > > > On Jul 9, 2012, at 2:44 PM, Bob Patin wrote: > >> Sigh... I can't get anything to go through with either PHPMailer or Swiftmailer. Frustrating... >> >> Here's the Swift code I'm using: >> >> > require_once 'lib/swift_required.php'; >> >> // Create the Transport the call setUsername() and setPassword() >> $transport = Swift_SmtpTransport::newInstance('smtp.longtermsolutions.com', 25) >> ->setUsername('swiftmailer') >> ->setPassword('*****') >> ; >> >> // Create the message >> $message = Swift_Message::newInstance($transport) >> >> // Give the message a subject >> ->setSubject('Test Swiftmailer message') >> >> // Set the From address with an associative array >> ->setFrom(array('swiftmailer@patin.com' => 'Swiftmailer')) >> >> // Set the To addresses with an associative array >> ->setTo(array('bob@patin.com', 'info@longtermsolutions.com' => 'recipients')) >> >> // Give it a body >> ->setBody('Here is the message itself') >> >> ; >> >> echo 'Message sent at '.date('h:i:s').'...'; >> >> ?> >> >> >> Bob Patin >> Longterm Solutions LLC >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> FileMaker 9, 10 & 11 Certified Developer >> Member of FileMaker Business Alliance and FileMaker TechNet >> -- >> Twitter: bobpatin >> Google+: http://www.longtermsolutions.com/plus >> AIM: longterm1954 >> iChat: bobpatin >> -- >> Expert FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> >> On Jul 9, 2012, at 12:11 PM, Dale Bengston wrote: >> >>> I use Swift as well. Very easy to get set up using their samples and online doc. >>> >>> Dale >>> >>> On Jul 9, 2012, at 10:25 AM, Leo R. Lundgren wrote: >>> >>>> Try using Swiftmailer or PHPmailer. I usually use the former. >>>> >>>> 9 jul 2012 kl. 17.19 skrev Bob Patin: >>>> >>>>> I've been using a sockmail script for years, and it's worked great; for some reason, I'm getting huge delays now, so decided I'd look into using something different. >>>>> >>>>> I found a script that uses PEAR, but it requires a file called PEAR.php, which I don't have and don't know where to download; I assume that since this is PHP 5, PEAR's running on the server, but without this file, I can't make anything work. >>>>> >>>>> I need to be able to send mail using authentication, which PHP's vanilla SEND doesn't do; does anyone have either a script or whatever I might need to try sending mail using another method? >>>>> >>>>> Thanks, >>>>> >>>>> Bob Patin >>>>> Longterm Solutions LLC >>>>> bob@longtermsolutions.com >>>>> 615-333-6858 >>>>> http://www.longtermsolutions.com >>>>> FileMaker 9, 10 & 11 Certified Developer >>>>> Member of FileMaker Business Alliance and FileMaker TechNet >>>>> -- >>>>> Twitter: bobpatin >>>>> Google+: http://www.longtermsolutions.com/plus >>>>> AIM: longterm1954 >>>>> iChat: bobpatin >>>>> -- >>>>> Expert FileMaker Consulting >>>>> FileMaker Hosting for all versions of FileMaker >>>>> >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>>> >>>> >>>> -| >>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From tcmeyers at troymeyers.com Tue Jul 10 19:33:34 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue Jul 10 18:52:01 2012 Subject: [FX.php List] [OFF] Getting modern web browsers to auto-fill login fields Message-ID: <77871FE2.CCB6.4D47.A714.1574FC0643EB@106.1162154> I'm redoing the login system for my site, and I'd like to have the user's web browser know that the email and password fields are login fields, and offer the user the option to store those, for easier login later. What is it about such fields that allows a web browser to recognize them, and make the offer? We don't store passwords here, only a hash value, so in the past I've allowed users to have a setting that stored the password as a cookie on their end, so it could get filled in that way.... but that's just not secure. So, I want to dump the method and have the browser do it, since it seems like all modern ones can do that securely. Any pointers? Thanks. -Troy From tim.webko at gmail.com Wed Jul 11 01:24:52 2012 From: tim.webko at gmail.com (Tim 'Webko' Booth) Date: Wed Jul 11 00:43:21 2012 Subject: [FX.php List] [OFF] Getting modern web browsers to auto-fill login fields In-Reply-To: <77871FE2.CCB6.4D47.A714.1574FC0643EB@106.1162154> References: <77871FE2.CCB6.4D47.A714.1574FC0643EB@106.1162154> Message-ID: <33F5ADAD-39AA-4CA3-806A-7935C40A009F@gmail.com> On 11/07/2012, at 11:33 AM, Troy Meyers wrote: > I'm redoing the login system for my site, and I'd like to have the > user's web browser know that the email and password fields are login > fields, and offer the user the option to store those, for easier > login later. What is it about such fields that allows a web browser > to recognize them, and make the offer? Yeah, it's a bit black magic that one - maybe some of the stuff here might help: http://stackoverflow.com/questions/2398763/how-does-browser-know-when-to-prompt-user-to-save-password Cheers Webko From tcmeyers at troymeyers.com Wed Jul 11 08:15:05 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Wed Jul 11 07:33:30 2012 Subject: [FX.php List] [OFF] Getting modern web browsers to auto-fill login fields Message-ID: <169E0F34.02B0.466B.8704.0E8F7DF9F9E1@106.1162201> Thanks, Tim! Good clues there. Part of my problem might be that I have a big login box in the middle of the usual login page, but also a mini-login box along the left edge that is present on every page. I'll try "disappearing" that on the usual login page, because the mini-box comes first in the HTML. -Troy > Yeah, it's a bit black magic that one - maybe some of the stuff here > might help: > > http://stackoverflow.com/questions/2398763/how-does-browser-know-when-to > -prompt-user-to-save-password > > Cheers > > Webko From glyn.devine at quickseries.com Wed Jul 11 08:21:00 2012 From: glyn.devine at quickseries.com (Glyn Devine) Date: Wed Jul 11 07:39:25 2012 Subject: [FX.php List] [OFF] Inserting a bar into a webpage Message-ID: While this is not an FX question, it does relate to a project I'm doing using FX. I am writing an URL shortener (with a filemaker backend) for my company's private use. I have been requested that when using one of the short URLs, that a thin bar show up at the top of the page where the user can feedback on whether the short URL took them to the right place. Does anyone have a way of inserting a little bar (with an image and a couple of links) onto someone elses webpage that then disappears? What's the best way to do this..? I forward the user to the long URL using good old header("Location: $longurl"); but could do it another way if necessary. Thanks! From dsomar at gmail.com Wed Jul 11 09:23:29 2012 From: dsomar at gmail.com (Denis Somar) Date: Wed Jul 11 08:45:00 2012 Subject: [FX.php List] [OFF] Inserting a bar into a webpage In-Reply-To: References: Message-ID: I would think you'd load a small page which has an iframe pointing to the desired URL. Check out themeforest.net and see how they demo their WordPress themes for the easy technique Best, Denis On Wed, Jul 11, 2012 at 10:21 AM, Glyn Devine wrote: > While this is not an FX question, it does relate to a project I'm doing > using FX. > > I am writing an URL shortener (with a filemaker backend) for my company's > private use. I have been requested that when using one of the short URLs, > that a thin bar show up at the top of the page where the user can feedback > on whether the short URL took them to the right place. > > Does anyone have a way of inserting a little bar (with an image and a > couple > of links) onto someone elses webpage that then disappears? What's the best > way to do this..? > > I forward the user to the long URL using good old header("Location: > $longurl"); but could do it another way if necessary. > > Thanks! > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120711/b6352b67/attachment.html From bob at patin.com Wed Jul 11 13:55:48 2012 From: bob at patin.com (Bob Patin) Date: Wed Jul 11 13:15:11 2012 Subject: [FX.php List] Mail-sending problem isolated to one web server Message-ID: <15711B28-BC97-4607-BC26-F6C64FA05972@patin.com> OK, here's the latest on my mail-send problem: I tested my other web servers, and mail's going through fine from all but one machine. So... Is there any PHP setting that might make the difference on how fast mail might go out using a PHP script? I haven't changed my PHP config in quite a while, but am wondering if this might be the root of the problem. This machine is running PHP 5.3.8. Thanks, Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker From leo at finalresort.org Wed Jul 11 14:08:57 2012 From: leo at finalresort.org (Leo R. Lundgren) Date: Wed Jul 11 13:27:22 2012 Subject: [FX.php List] Mail-sending problem isolated to one web server In-Reply-To: <15711B28-BC97-4607-BC26-F6C64FA05972@patin.com> References: <15711B28-BC97-4607-BC26-F6C64FA05972@patin.com> Message-ID: If nothing new has come up since we spoke last time, it's a connection issue. Your server is unable to connect to the SMTP server on the relevant port. Do you feel that the problem is something else? 11 jul 2012 kl. 21.55 skrev Bob Patin: > OK, here's the latest on my mail-send problem: I tested my other web servers, and mail's going through fine from all but one machine. > > So... > > Is there any PHP setting that might make the difference on how fast mail might go out using a PHP script? I haven't changed my PHP config in quite a while, but am wondering if this might be the root of the problem. > > This machine is running PHP 5.3.8. > > Thanks, > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From bob at patin.com Wed Jul 11 14:15:42 2012 From: bob at patin.com (Bob Patin) Date: Wed Jul 11 13:35:00 2012 Subject: [FX.php List] Mail-sending problem isolated to one web server In-Reply-To: References: <15711B28-BC97-4607-BC26-F6C64FA05972@patin.com> Message-ID: <154FB2D3-D52C-4367-B58F-355E9903BE8F@patin.com> Well, the server's connecting fine; it's doing web apps and serving databases just fine, but here's what I see in the server log when I try to send mail using a PHP script on that server: Jul 11 15:13:56 fmserver com.apple.launchd.peruser.505[211] (com.netopia.timbuktu.pro.host[2975]): posix_spawn("/Applications/Timbuktu Pro/Timbuktu Pro.app/Contents/SharedSupport/Timbuktu Host.app/Contents/MacOS/Timbuktu Host", ...): No such file or directory Jul 11 15:13:56 fmserver com.apple.launchd.peruser.505[211] (com.netopia.timbuktu.pro.host[2975]): Exited with exit code: 1 Jul 11 15:13:56 fmserver com.apple.launchd.peruser.505[211] (com.netopia.timbuktu.pro.host): Throttling respawn: Will start in 10 seconds The thing is, there IS no Timbuktu running on this machine. Does this perhaps mean that Timbuktu was on this machine at one point, and I need to clear it? It seems to be at the root of the problem somehow, which is odd since I've never put Timbuktu on this machine (although the previous owner may have). More interesting is the fact that Timbuktu isn't in the Applications folder... Any thoughts? Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker On Jul 11, 2012, at 3:08 PM, Leo R. Lundgren wrote: > If nothing new has come up since we spoke last time, it's a connection issue. Your server is unable to connect to the SMTP server on the relevant port. > > Do you feel that the problem is something else? > > > 11 jul 2012 kl. 21.55 skrev Bob Patin: > >> OK, here's the latest on my mail-send problem: I tested my other web servers, and mail's going through fine from all but one machine. >> >> So... >> >> Is there any PHP setting that might make the difference on how fast mail might go out using a PHP script? I haven't changed my PHP config in quite a while, but am wondering if this might be the root of the problem. >> >> This machine is running PHP 5.3.8. >> >> Thanks, >> >> Bob Patin >> Longterm Solutions LLC >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> FileMaker 9, 10 & 11 Certified Developer >> Member of FileMaker Business Alliance and FileMaker TechNet >> -- >> Twitter: bobpatin >> Google+: http://www.longtermsolutions.com/plus >> AIM: longterm1954 >> iChat: bobpatin >> -- >> Expert FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120711/3ac842c1/attachment.html From leo at finalresort.org Wed Jul 11 14:28:14 2012 From: leo at finalresort.org (Leo R. Lundgren) Date: Wed Jul 11 13:46:39 2012 Subject: [FX.php List] Mail-sending problem isolated to one web server In-Reply-To: <154FB2D3-D52C-4367-B58F-355E9903BE8F@patin.com> References: <15711B28-BC97-4607-BC26-F6C64FA05972@patin.com> <154FB2D3-D52C-4367-B58F-355E9903BE8F@patin.com> Message-ID: As far as I know, that has nothing to do with your PHP script, unless you have some very specific configuration. The Timbuktu thingie is tried to be started by launchd, which is not PHP in any way. I'm not sure which script you are referring to, or more specifically how it tries to send mail. But if you try to use Swiftmailer or some other similar library, which simply tries to connect using TCP/IP, the symptoms as far as I know are that the server cannot connect to the SMTP server. In summary, I don't think that any of the things you mentioned in your last mail are relevant to the actual problem/cause of it, sorry. I'm open to being corrected of course. Regards, Leo 11 jul 2012 kl. 22.15 skrev Bob Patin: > Well, the server's connecting fine; it's doing web apps and serving databases just fine, but here's what I see in the server log when I try to send mail using a PHP script on that server: > > Jul 11 15:13:56 fmserver com.apple.launchd.peruser.505[211] (com.netopia.timbuktu.pro.host[2975]): posix_spawn("/Applications/Timbuktu Pro/Timbuktu Pro.app/Contents/SharedSupport/Timbuktu Host.app/Contents/MacOS/Timbuktu Host", ...): No such file or directory > Jul 11 15:13:56 fmserver com.apple.launchd.peruser.505[211] (com.netopia.timbuktu.pro.host[2975]): Exited with exit code: 1 > Jul 11 15:13:56 fmserver com.apple.launchd.peruser.505[211] (com.netopia.timbuktu.pro.host): Throttling respawn: Will start in 10 seconds > > The thing is, there IS no Timbuktu running on this machine. > > Does this perhaps mean that Timbuktu was on this machine at one point, and I need to clear it? It seems to be at the root of the problem somehow, which is odd since I've never put Timbuktu on this machine (although the previous owner may have). > > More interesting is the fact that Timbuktu isn't in the Applications folder... > > Any thoughts? > > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > > On Jul 11, 2012, at 3:08 PM, Leo R. Lundgren wrote: > >> If nothing new has come up since we spoke last time, it's a connection issue. Your server is unable to connect to the SMTP server on the relevant port. >> >> Do you feel that the problem is something else? >> >> >> 11 jul 2012 kl. 21.55 skrev Bob Patin: >> >>> OK, here's the latest on my mail-send problem: I tested my other web servers, and mail's going through fine from all but one machine. >>> >>> So... >>> >>> Is there any PHP setting that might make the difference on how fast mail might go out using a PHP script? I haven't changed my PHP config in quite a while, but am wondering if this might be the root of the problem. >>> >>> This machine is running PHP 5.3.8. >>> >>> Thanks, >>> >>> Bob Patin >>> Longterm Solutions LLC >>> bob@longtermsolutions.com >>> 615-333-6858 >>> http://www.longtermsolutions.com >>> FileMaker 9, 10 & 11 Certified Developer >>> Member of FileMaker Business Alliance and FileMaker TechNet >>> -- >>> Twitter: bobpatin >>> Google+: http://www.longtermsolutions.com/plus >>> AIM: longterm1954 >>> iChat: bobpatin >>> -- >>> Expert FileMaker Consulting >>> FileMaker Hosting for all versions of FileMaker >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120711/ffd4078d/attachment-0001.html From dsomar at gmail.com Thu Jul 19 21:48:26 2012 From: dsomar at gmail.com (Denis Somar) Date: Thu Jul 19 21:06:33 2012 Subject: [FX.php List] Combine two sets of search results into one table? Message-ID: Hi all, I'm curious if PHP or FX can provide some method of joining two sets of search results from a FM 11 data source into one table? Basically something like a join table but it being done purely in XML or PHP rather than the pain of doing it in FM. Cheers, Denis -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120719/4efe56a2/attachment.html From tmyers at itainc.com Thu Jul 19 21:58:44 2012 From: tmyers at itainc.com (Thomas Myers) Date: Thu Jul 19 21:16:33 2012 Subject: [FX.php List] Combine two sets of search results into one table? In-Reply-To: References: Message-ID: Have you looked at fmp12 and using SQL commands to do the join? I believe it is possible in SQL. On Jul 19, 2012, at 11:48 PM, Denis Somar wrote: > Hi all, > > I'm curious if PHP or FX can provide some method of joining two sets of search results from a FM 11 data source into one table? > > Basically something like a join table but it being done purely in XML or PHP rather than the pain of doing it in FM. > > Cheers, > Denis > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dsomar at gmail.com Fri Jul 20 07:19:03 2012 From: dsomar at gmail.com (Denis Somar) Date: Fri Jul 20 06:36:50 2012 Subject: [FX.php List] Combine two sets of search results into one table? In-Reply-To: References: Message-ID: Not yet, but the client is still all v11 and they're conversion will likely be a big one so were holding off just yet on going to v12. Thanks D On Jul 19, 2012, at 11:58 PM, Thomas Myers wrote: > Have you looked at fmp12 and using SQL commands to do the join? I believe it is possible in SQL. > > > On Jul 19, 2012, at 11:48 PM, Denis Somar wrote: > >> Hi all, >> >> I'm curious if PHP or FX can provide some method of joining two sets of search results from a FM 11 data source into one table? >> >> Basically something like a join table but it being done purely in XML or PHP rather than the pain of doing it in FM. >> >> Cheers, >> Denis >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From sthoms at wavecomm.com Fri Jul 20 07:23:14 2012 From: sthoms at wavecomm.com (Steven Thoms) Date: Fri Jul 20 06:41:10 2012 Subject: [FX.php List] Combine two sets of search results into one table? In-Reply-To: References: Message-ID: <080AAB68-A2BB-43A0-A6B7-42AA80A8B5A1@wavecomm.com> Denis, I'm not exactly clear on what you want to do. Are the data sets identical in form, same field names, same order, etc.? There is a function in php called array_merge() which might help. If you explore that, be sure to read this page first to get an idea of what it does exactly. http://www.php.net/manual/en/function.array-merge.php Any clarification would help focus our advise. Code on, Steve 207 798-0171 On Jul 19, 2012, at 11:48 PM, Denis Somar wrote: > Hi all, > > I'm curious if PHP or FX can provide some method of joining two sets > of search results from a FM 11 data source into one table? > > Basically something like a join table but it being done purely in > XML or PHP rather than the pain of doing it in FM. > > Cheers, > Denis > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From tim.webko at gmail.com Fri Jul 20 07:23:40 2012 From: tim.webko at gmail.com (Tim 'Webko' Booth) Date: Fri Jul 20 06:41:30 2012 Subject: [FX.php List] Combine two sets of search results into one table? In-Reply-To: References: Message-ID: Dear Denis, > > I'm curious if PHP or FX can provide some method of joining two sets > of search results from a FM 11 data source into one table? > > Basically something like a join table but it being done purely in > XML or PHP rather than the pain of doing it in FM. Into one table, or just something where it looks like the data is all from one place? Merging arrays is not too hard in PHP... Cheers Webko From dsomar at gmail.com Fri Jul 20 08:00:19 2012 From: dsomar at gmail.com (Denis Somar) Date: Fri Jul 20 07:18:09 2012 Subject: [FX.php List] Combine two sets of search results into one table? In-Reply-To: References: Message-ID: <03E4D45B-DA02-4F7F-BB63-88E9EB713CDD@gmail.com> This is just for outputs sake. I have two tables Requests and Quotes and rather than displaying two separate tables with results I was trying to determine if I could show query results from each table in one combined HTML table Cheers Denis On Jul 20, 2012, at 9:23 AM, Tim 'Webko' Booth wrote: > Dear Denis, >> >> I'm curious if PHP or FX can provide some method of joining two sets of search results from a FM 11 data source into one table? >> >> Basically something like a join table but it being done purely in XML or PHP rather than the pain of doing it in FM. > > Into one table, or just something where it looks like the data is all from one place? > > Merging arrays is not too hard in PHP... > > Cheers > > Webko > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dale.bengston at gmail.com Fri Jul 20 08:11:48 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Fri Jul 20 07:29:37 2012 Subject: [FX.php List] Combine two sets of search results into one table? In-Reply-To: <03E4D45B-DA02-4F7F-BB63-88E9EB713CDD@gmail.com> References: <03E4D45B-DA02-4F7F-BB63-88E9EB713CDD@gmail.com> Message-ID: Denis, I would look into merging the data arrays with PHP after you pull results from FileMaker. Dale On Jul 20, 2012, at 9:00 AM, Denis Somar wrote: > This is just for outputs sake. I have two tables Requests and Quotes and rather than displaying two separate tables with results I was trying to determine if I could show query results from each table in one combined HTML table > > Cheers > Denis > > > > On Jul 20, 2012, at 9:23 AM, Tim 'Webko' Booth wrote: > >> Dear Denis, >>> >>> I'm curious if PHP or FX can provide some method of joining two sets of search results from a FM 11 data source into one table? >>> >>> Basically something like a join table but it being done purely in XML or PHP rather than the pain of doing it in FM. >> >> Into one table, or just something where it looks like the data is all from one place? >> >> Merging arrays is not too hard in PHP... >> >> Cheers >> >> Webko >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From beverlyvoth at gmail.com Fri Jul 20 08:50:50 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Fri Jul 20 08:08:48 2012 Subject: [FX.php List] Combine two sets of search results into one table? In-Reply-To: <03E4D45B-DA02-4F7F-BB63-88E9EB713CDD@gmail.com> References: <03E4D45B-DA02-4F7F-BB63-88E9EB713CDD@gmail.com> Message-ID: <21A82E7D-7C51-41E5-9460-C50EEA6EA400@gmail.com> Denis, you can merge the arrays with PHP OR you can just make one table and put these together on output (that is, if you don't need to merge them in some other way with sorts, etc.) TABLE foreach (first query results) { TR.. } foreach (second query results) { TR.. } /TABLE Beverly On 20 Jul 2012, at 10:00 AM, Denis Somar wrote: > This is just for outputs sake. I have two tables Requests and Quotes and rather than displaying two separate tables with results I was trying to determine if I could show query results from each table in one combined HTML table From dale.bengston at gmail.com Fri Jul 20 11:20:18 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Fri Jul 20 10:38:04 2012 Subject: [FX.php List] Combine two sets of search results into one table? In-Reply-To: <21A82E7D-7C51-41E5-9460-C50EEA6EA400@gmail.com> References: <03E4D45B-DA02-4F7F-BB63-88E9EB713CDD@gmail.com> <21A82E7D-7C51-41E5-9460-C50EEA6EA400@gmail.com> Message-ID: <0345ACDC-CA7C-455F-B5D7-19883301D3EC@gmail.com> Yes! Absolutely you can just tack the second set of results to the first with another foreach loop. Merging arrays will give you better control over knitting the results (re-sorting, for example) if that's desired. If not, go easy! Dale On Jul 20, 2012, at 9:50 AM, BEVERLY VOTH wrote: > Denis, you can merge the arrays with PHP > > OR > you can just make one table and put these together on output (that is, if you don't need to merge them in some other way with sorts, etc.) > > TABLE > foreach (first query results) { > TR.. > } > foreach (second query results) { > TR.. > } > /TABLE > > Beverly > > On 20 Jul 2012, at 10:00 AM, Denis Somar wrote: > >> This is just for outputs sake. I have two tables Requests and Quotes and rather than displaying two separate tables with results I was trying to determine if I could show query results from each table in one combined HTML table > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dsomar at gmail.com Fri Jul 20 13:03:44 2012 From: dsomar at gmail.com (Denis Somar) Date: Fri Jul 20 12:21:49 2012 Subject: [FX.php List] Combine two sets of search results into one table? In-Reply-To: <0345ACDC-CA7C-455F-B5D7-19883301D3EC@gmail.com> References: <03E4D45B-DA02-4F7F-BB63-88E9EB713CDD@gmail.com> <21A82E7D-7C51-41E5-9460-C50EEA6EA400@gmail.com> <0345ACDC-CA7C-455F-B5D7-19883301D3EC@gmail.com> Message-ID: I definitely want to merge the arrays as these are going to be sorted by date not by type. I'm gathering what I should be doing is using array_merge in PHP. But even if I do perform array_merge, the FOR loop will essentially just see the first part of the array from one table and the next half of the array, so I'll likely also have to do some array sorting beforehand, right? Thanks again for the help! Any snippets out there btw? Best, Denis On Fri, Jul 20, 2012 at 1:20 PM, Dale Bengston wrote: > Yes! Absolutely you can just tack the second set of results to the first > with another foreach loop. Merging arrays will give you better control over > knitting the results (re-sorting, for example) if that's desired. If not, > go easy! > > Dale > > On Jul 20, 2012, at 9:50 AM, BEVERLY VOTH wrote: > > > Denis, you can merge the arrays with PHP > > > > OR > > you can just make one table and put these together on output (that is, > if you don't need to merge them in some other way with sorts, etc.) > > > > TABLE > > foreach (first query results) { > > TR.. > > } > > foreach (second query results) { > > TR.. > > } > > /TABLE > > > > Beverly > > > > On 20 Jul 2012, at 10:00 AM, Denis Somar wrote: > > > >> This is just for outputs sake. I have two tables Requests and Quotes > and rather than displaying two separate tables with results I was trying to > determine if I could show query results from each table in one combined > HTML table > > > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120720/cb714396/attachment.html From dale.bengston at gmail.com Fri Jul 20 13:20:15 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Fri Jul 20 12:38:02 2012 Subject: [FX.php List] Combine two sets of search results into one table? In-Reply-To: References: <03E4D45B-DA02-4F7F-BB63-88E9EB713CDD@gmail.com> <21A82E7D-7C51-41E5-9460-C50EEA6EA400@gmail.com> <0345ACDC-CA7C-455F-B5D7-19883301D3EC@gmail.com> Message-ID: <6E8DFAF9-A752-42AF-B2CE-E1F925632A93@gmail.com> There are some examples in the comments of PHP's sort function. (That's where I found mine!) Dale http://us2.php.net/manual/en/function.sort.php On Jul 20, 2012, at 2:03 PM, Denis Somar wrote: > I definitely want to merge the arrays as these are going to be sorted by date not by type. I'm gathering what I should be doing is using array_merge in PHP. > > But even if I do perform array_merge, the FOR loop will essentially just see the first part of the array from one table and the next half of the array, so I'll likely also have to do some array sorting beforehand, right? > > Thanks again for the help! Any snippets out there btw? > > Best, > Denis > > > > On Fri, Jul 20, 2012 at 1:20 PM, Dale Bengston wrote: > Yes! Absolutely you can just tack the second set of results to the first with another foreach loop. Merging arrays will give you better control over knitting the results (re-sorting, for example) if that's desired. If not, go easy! > > Dale > > On Jul 20, 2012, at 9:50 AM, BEVERLY VOTH wrote: > > > Denis, you can merge the arrays with PHP > > > > OR > > you can just make one table and put these together on output (that is, if you don't need to merge them in some other way with sorts, etc.) > > > > TABLE > > foreach (first query results) { > > TR.. > > } > > foreach (second query results) { > > TR.. > > } > > /TABLE > > > > Beverly > > > > On 20 Jul 2012, at 10:00 AM, Denis Somar wrote: > > > >> This is just for outputs sake. I have two tables Requests and Quotes and rather than displaying two separate tables with results I was trying to determine if I could show query results from each table in one combined HTML table > > > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120720/a2acc919/attachment.html From sthoms at wavecomm.com Fri Jul 20 16:43:44 2012 From: sthoms at wavecomm.com (Steven Thoms) Date: Fri Jul 20 16:01:36 2012 Subject: [FX.php List] Combine two sets of search results into one table? In-Reply-To: References: <03E4D45B-DA02-4F7F-BB63-88E9EB713CDD@gmail.com> <21A82E7D-7C51-41E5-9460-C50EEA6EA400@gmail.com> <0345ACDC-CA7C-455F-B5D7-19883301D3EC@gmail.com> Message-ID: <6FE4C371-CA4D-4A9F-B24C-54328B02D854@wavecomm.com> Denis, You may then want to re-key the arrays and use the ksort() function. Something like: $newArray = array(); $i = 0; foreach ( $array1 as $keys => $record ) { $i++; $datekey = date( 'Ymd', $record['dateField']).$i; // you add the $i var to allow for many records with the same date and assure a unique set of keys $newArray[$dateKey] = $record; } foreach ( $array2 as $keys => $record ) { $i++; $datekey = date( 'Ymd', $record['dateField']).$i; // you add the $i var to allow for many records with the same date and assure a unique set of keys $newArray[$dateKey] = $record; } ksort($newArray); print_r($newArray); and see what you got. I hope that helps you out, Steve 207 798-0171 On Jul 20, 2012, at 3:03 PM, Denis Somar wrote: > I definitely want to merge the arrays as these are going to be > sorted by date not by type. I'm gathering what I should be doing is > using array_merge in PHP. > > But even if I do perform array_merge, the FOR loop will essentially > just see the first part of the array from one table and the next > half of the array, so I'll likely also have to do some array sorting > beforehand, right? > > Thanks again for the help! Any snippets out there btw? > > Best, > Denis > > > > On Fri, Jul 20, 2012 at 1:20 PM, Dale Bengston > wrote: > Yes! Absolutely you can just tack the second set of results to the > first with another foreach loop. Merging arrays will give you better > control over knitting the results (re-sorting, for example) if > that's desired. If not, go easy! > > Dale > > On Jul 20, 2012, at 9:50 AM, BEVERLY VOTH wrote: > > > Denis, you can merge the arrays with PHP > > > > OR > > you can just make one table and put these together on output (that > is, if you don't need to merge them in some other way with sorts, > etc.) > > > > TABLE > > foreach (first query results) { > > TR.. > > } > > foreach (second query results) { > > TR.. > > } > > /TABLE > > > > Beverly > > > > On 20 Jul 2012, at 10:00 AM, Denis Somar wrote: > > > >> This is just for outputs sake. I have two tables Requests and > Quotes and rather than displaying two separate tables with results I > was trying to determine if I could show query results from each > table in one combined HTML table > > > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From msyk at msyk.net Fri Jul 20 17:01:55 2012 From: msyk at msyk.net (Masayuki Nii) Date: Fri Jul 20 16:19:41 2012 Subject: [FX.php List] INTER-Mediator Web site Message-ID: <274617771.0.1342825315549.JavaMail.msyk@msyk.net> Hi everyone, Thanks for having my presentation at CWP UG on DevCon 2012. So the IM's web site wasn't shown correctly. It's just for the English web browser. Now I've fixed. I'm so, sorry. (Steve, thanks for letting me know.) My cool class loader wasn't just not cool. ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From bfr at concise-design.com Fri Jul 20 17:34:12 2012 From: bfr at concise-design.com (Bruce Robertson) Date: Fri Jul 20 16:51:55 2012 Subject: [FX.php List] INTER-Mediator Web site In-Reply-To: <274617771.0.1342825315549.JavaMail.msyk@msyk.net> References: <274617771.0.1342825315549.JavaMail.msyk@msyk.net> Message-ID: <0F1CF731-A649-440E-A167-DEAF9E64036D@concise-design.com> There is a video link for the site; but it doesn't work. Only a blank page. Is there a video that works? Bruce Robertson On Jul 20, 2012, at 4:01 PM, Masayuki Nii wrote: > Hi everyone, > Thanks for having my presentation at CWP UG on DevCon 2012. > So the IM's web site wasn't shown correctly. It's just for the English web browser. > Now I've fixed. I'm so, sorry. (Steve, thanks for letting me know.) My cool > class loader wasn't just not cool. From msyk at msyk.net Sun Jul 22 23:20:39 2012 From: msyk at msyk.net (Masayuki Nii) Date: Sun Jul 22 22:38:54 2012 Subject: [FX.php List] Re-INTER-Mediator Web site In-Reply-To: <0F1CF731-A649-440E-A167-DEAF9E64036D@concise-design.com> References: <274617771.0.1342825315549.JavaMail.msyk@msyk.net> <0F1CF731-A649-440E-A167-DEAF9E64036D@concise-design.com> Message-ID: <274617771.0.1343020839187.JavaMail.msyk@msyk.net> Bruce Robertson ????2012/7/21 8:34:12????? ??---?Re: [FX.php List] INTER-Mediator Web site??????? > There is a video link for the site; but it doesn't work. Only a blank page. > > Is there a video that works? Bruce, I'm sorry it will be shown on Chrome, but not on Firefox. This is FLVPlayer' s free version. I don't know why it's not. I will investigate. Please try the direct video url below: http://inter-mediator.info/files/Intro-IM-March2012.m4v ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From msyk at msyk.net Sun Jul 22 23:46:26 2012 From: msyk at msyk.net (Masayuki Nii) Date: Sun Jul 22 23:04:40 2012 Subject: [FX.php List] Re-INTER-Mediator Web site In-Reply-To: <0F1CF731-A649-440E-A167-DEAF9E64036D@concise-design.com> References: <274617771.0.1342825315549.JavaMail.msyk@msyk.net> <0F1CF731-A649-440E-A167-DEAF9E64036D@concise-design.com> Message-ID: <1706427008.0.1343022386022.JavaMail.msyk@msyk.net> Bruce Robertson ????2012/7/21 8:34:12????? ??---?Re: [FX.php List] INTER-Mediator Web site??????? > There is a video link for the site; but it doesn't work. Only a blank page. > > Is there a video that works? Hi Bruce, I got the reason. You need the Flash Player. If you've already installed any Flash, please check it active or not. For example, Tool > Add-On > Plug-In for Firefox. ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From bfr at concise-design.com Mon Jul 23 00:56:03 2012 From: bfr at concise-design.com (Bruce Robertson) Date: Mon Jul 23 00:14:15 2012 Subject: [FX.php List] Re-INTER-Mediator Web site In-Reply-To: <1706427008.0.1343022386022.JavaMail.msyk@msyk.net> References: <274617771.0.1342825315549.JavaMail.msyk@msyk.net> <0F1CF731-A649-440E-A167-DEAF9E64036D@concise-design.com> <1706427008.0.1343022386022.JavaMail.msyk@msyk.net> Message-ID: Thanks. I choose not to use Flash, it is mostly irrelevant and not a good idea to require it anymore. On Jul 22, 2012, at 10:46 PM, Masayuki Nii wrote: > Bruce Robertson ????2012/7/21 8:34:12????? > ??---?Re: [FX.php List] INTER-Mediator Web site??????? >> There is a video link for the site; but it doesn't work. Only a blank page. >> >> Is there a video that works? > > Hi Bruce, > I got the reason. You need the Flash Player. If you've already installed any > Flash, please check it active or not. For example, Tool > Add-On > Plug-In for > Firefox. > ________________________________________________________________________ > ????/Masayuki Nii Web Site > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > INTER-Mediator [for Web App] http://inter-mediator.info > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From malcolm at notyourhomework.net Mon Jul 23 02:23:17 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Mon Jul 23 01:41:32 2012 Subject: [FX.php List] INTER-Mediator Web site In-Reply-To: <274617771.0.1342825315549.JavaMail.msyk@msyk.net> References: <274617771.0.1342825315549.JavaMail.msyk@msyk.net> Message-ID: <4FB02ACD-D47E-413E-9854-90DD2D6A8250@notyourhomework.net> Hi Masayuki, I've installed the FMPro database and opened the php files. I wanted to check the data in FMPro but the testDB is asking for a username/password. I can't see that information in the documents. Malcolm On 21/07/2012, at 7:01 AM, Masayuki Nii wrote: > Hi everyone, > Thanks for having my presentation at CWP UG on DevCon 2012. > So the IM's web site wasn't shown correctly. It's just for the English web browser. > Now I've fixed. I'm so, sorry. (Steve, thanks for letting me know.) My cool > class loader wasn't just not cool. > > ________________________________________________________________________ > ????/Masayuki Nii Web Site > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > INTER-Mediator [for Web App] http://inter-mediator.info > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From msyk at msyk.net Mon Jul 23 02:57:45 2012 From: msyk at msyk.net (Masayuki Nii) Date: Mon Jul 23 02:16:00 2012 Subject: [FX.php List] Re-INTER-Mediator Web site In-Reply-To: <4FB02ACD-D47E-413E-9854-90DD2D6A8250@notyourhomework.net> References: <274617771.0.1342825315549.JavaMail.msyk@msyk.net> <4FB02ACD-D47E-413E-9854-90DD2D6A8250@notyourhomework.net> Message-ID: <746169063.0.1343033865751.JavaMail.msyk@msyk.net> Hi Malcolm, Thanks for interesting INTER-Mediator. The admin user of it is "admin" and password is "1234". It's described in the page navibated "Download and Install" of "Contents". Thanks, Malcolm Fitzgerald ????2012/7/23 17:23:17? ???? ??---?Re: [FX.php List] INTER-Mediator Web site??????? > Hi Masayuki, > > I've installed the FMPro database and opened the php files. I wanted to check the data in FMPro but the testDB is asking for a username/password. I can't see that information in the documents. > > Malcolm > > > > On 21/07/2012, at 7:01 AM, Masayuki Nii wrote: > > > Hi everyone, > > Thanks for having my presentation at CWP UG on DevCon 2012. > > So the IM's web site wasn't shown correctly. It's just for the English web browser. > > Now I've fixed. I'm so, sorry. (Steve, thanks for letting me know.) My cool > > class loader wasn't just not cool. > > > > ________________________________________________________________________ > > ????/Masayuki Nii Web Site > > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > > INTER-Mediator [for Web App] http://inter-mediator.info > > > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From malcolm at notyourhomework.net Mon Jul 23 03:47:26 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Mon Jul 23 03:05:40 2012 Subject: [FX.php List] Re-INTER-Mediator Web site In-Reply-To: <746169063.0.1343033865751.JavaMail.msyk@msyk.net> References: <274617771.0.1342825315549.JavaMail.msyk@msyk.net> <4FB02ACD-D47E-413E-9854-90DD2D6A8250@notyourhomework.net> <746169063.0.1343033865751.JavaMail.msyk@msyk.net> Message-ID: <904B5BB4-F04C-4D46-A475-6E3AFC6BE3B4@notyourhomework.net> On 23/07/2012, at 4:57 PM, Masayuki Nii wrote: > Thanks for interesting INTER-Mediator. The admin user of it is "admin" and password > is "1234". It's described in the page navibated "Download and Install" of "Contents". I see. It's on the web site. I thought I'd seen it somewhere. I searched the downloads but I didn't go back to the web site. thanks Malcolm From csinfo at criticalsolution.com Mon Jul 23 08:23:08 2012 From: csinfo at criticalsolution.com (John Funk) Date: Mon Jul 23 07:41:43 2012 Subject: [FX.php List] FMSA 12 config Message-ID: I had a fmsa 11 server configed to work with fx/PHP. Web publishing was turned on using one machine. All worked fine. Now I have a new FMSA12 install using one machine and have a question: Does the web server need to be turned on in the deployment when I am using XML only, no FileMaker PHP API, or IWP. If I remenber right, on the 11 server, I could turn off the web server and xml still worked! My customer is now asking me why we need a web server when the old system worked without one. The FileMaker documentation gets me confused. Any clarification is appreciated. Thanks, John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120723/c002c735/attachment.html From msyk at msyk.net Mon Jul 23 14:18:07 2012 From: msyk at msyk.net (Masayuki Nii) Date: Mon Jul 23 13:36:18 2012 Subject: [FX.php List] Re-INTER-Mediator Web site In-Reply-To: <904B5BB4-F04C-4D46-A475-6E3AFC6BE3B4@notyourhomework.net> References: <274617771.0.1342825315549.JavaMail.msyk@msyk.net> <4FB02ACD-D47E-413E-9854-90DD2D6A8250@notyourhomework.net> <746169063.0.1343033865751.JavaMail.msyk@msyk.net> <904B5BB4-F04C-4D46-A475-6E3AFC6BE3B4@notyourhomework.net> Message-ID: <1706427008.0.1343074687321.JavaMail.msyk@msyk.net> Hi Malcolm, Thaks for giving me the advice. I will write it on any file. Thanks, Malcolm Fitzgerald ????2012/7/23 18:47:26? ???? ??---?Re: [FX.php List] Re-INTER-Mediator Web site??????? > > On 23/07/2012, at 4:57 PM, Masayuki Nii wrote: > > Thanks for interesting INTER-Mediator. The admin user of it is "admin" and password > > is "1234". It's described in the page navibated "Download and Install" of "Contents". > > I see. It's on the web site. I thought I'd seen it somewhere. I searched the downloads but I didn't go back to the web site. > > thanks > Malcolm_______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From bfr at nwlink.com Mon Jul 23 00:06:52 2012 From: bfr at nwlink.com (Bruce Robertson) Date: Mon Jul 23 19:42:53 2012 Subject: [FX.php List] Re-INTER-Mediator Web site In-Reply-To: <1706427008.0.1343022386022.JavaMail.msyk@msyk.net> References: <274617771.0.1342825315549.JavaMail.msyk@msyk.net> <0F1CF731-A649-440E-A167-DEAF9E64036D@concise-design.com> <1706427008.0.1343022386022.JavaMail.msyk@msyk.net> Message-ID: Thanks. I choose not to use Flash, it is mostly irrelevant and not a good idea to require it anymore. On Jul 22, 2012, at 10:46 PM, Masayuki Nii wrote: > Bruce Robertson ????2012/7/21 8:34:12????? > ??---?Re: [FX.php List] INTER-Mediator Web site??????? >> There is a video link for the site; but it doesn't work. Only a blank page. >> >> Is there a video that works? > > Hi Bruce, > I got the reason. You need the Flash Player. If you've already installed any > Flash, please check it active or not. For example, Tool > Add-On > Plug-In for > Firefox. > ________________________________________________________________________ > ????/Masayuki Nii Web Site > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > INTER-Mediator [for Web App] http://inter-mediator.info > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From dsomar at gmail.com Mon Jul 23 20:31:45 2012 From: dsomar at gmail.com (Denis Somar) Date: Mon Jul 23 19:50:15 2012 Subject: [FX.php List] Re-INTER-Mediator Web site In-Reply-To: <274617771.0.1343020839187.JavaMail.msyk@msyk.net> References: <274617771.0.1342825315549.JavaMail.msyk@msyk.net> <0F1CF731-A649-440E-A167-DEAF9E64036D@concise-design.com> <274617771.0.1343020839187.JavaMail.msyk@msyk.net> Message-ID: This looks really compelling, but I'm not sure what makes this worthwhile beyond another framework? I'm saying this out of ignorance, not out of snobbery ;-) Or is it that there aren't really any other frameworks for FM-based sites? Denis On Mon, Jul 23, 2012 at 1:20 AM, Masayuki Nii wrote: > Bruce Robertson ????2012/7/21 8:34:12????? > ---?Re: [FX.php List] INTER-Mediator Web site??????? > > There is a video link for the site; but it doesn't work. Only a blank > page. > > > > Is there a video that works? > > Bruce, I'm sorry it will be shown on Chrome, but not on Firefox. This is > FLVPlayer' > s free version. I don't know why it's not. I will investigate. > > Please try the direct video url below: > > http://inter-mediator.info/files/Intro-IM-March2012.m4v > > ________________________________________________________________________ > ????/Masayuki Nii Web Site > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > INTER-Mediator [for Web App] http://inter-mediator.info > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120723/3d4366f6/attachment.html From msyk at msyk.net Mon Jul 23 20:45:16 2012 From: msyk at msyk.net (Masayuki Nii) Date: Mon Jul 23 20:03:28 2012 Subject: [FX.php List] Re-INTER-Mediator Web site In-Reply-To: References: <274617771.0.1342825315549.JavaMail.msyk@msyk.net> <0F1CF731-A649-440E-A167-DEAF9E64036D@concise-design.com> <274617771.0.1343020839187.JavaMail.msyk@msyk.net> Message-ID: <1415899750.0.1343097916570.JavaMail.msyk@msyk.net> Hi Denis, INTER-Mediator is simply a non-programming framework. Simple sites can be built with simplified way. Thanks, Denis Somar ????2012/7/24 11:31:45????? ??---?Re: [FX.php List] Re-INTER-Mediator Web site??????? > This looks really compelling, but I'm not sure what makes this worthwhile > beyond another framework? I'm saying this out of ignorance, not out of > snobbery ;-) > > Or is it that there aren't really any other frameworks for FM-based sites? > > Denis > > On Mon, Jul 23, 2012 at 1:20 AM, Masayuki Nii wrote: > > > Bruce Robertson ????2012/7/21 8:34:12????? > > ---?Re: [FX.php List] INTER-Mediator Web site??????? > > > There is a video link for the site; but it doesn't work. Only a blank > > page. > > > > > > Is there a video that works? > > > > Bruce, I'm sorry it will be shown on Chrome, but not on Firefox. This is > > FLVPlayer' > > s free version. I don't know why it's not. I will investigate. > > > > Please try the direct video url below: > > > > http://inter-mediator.info/files/Intro-IM-March2012.m4v > > > > ________________________________________________________________________ > > ????/Masayuki Nii Web Site > > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > > INTER-Mediator [for Web App] http://inter-mediator.info > > > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > > ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From jsfmp at earthlink.net Wed Jul 25 14:40:18 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Wed Jul 25 13:58:19 2012 Subject: [FX.php List] [OFF] Tomcat Security? Message-ID: <6C92AAA5-4932-4CB8-9669-B65287F0B451@earthlink.net> Hi all A client forwarded an email from their co's IT about a recent successful attack on one of their public-facing sites that had "exploited a vulnerability in Tomcat/STRUTS2". The FM/CWP website that I work on for them is behind a firewall and reportedly not at risk of this, but I'm curious... Do people here do anything specific to maintain/bolster Tomcat security? The co. forwarded the following steps that can be taken for sites at risk. Do any of you normally do any of these? (#4 especially surprised me. Is this not the default?) 2. Patch, update, and secure your Tomcat and (other web platform) installs. 3. If these are vendor-supported and the vendor will not provide patches, it may be helpful to utilize web proxies, such as apache mod_security, to close off holes individually. 4. Pay close attention to your file system privileges! Apache should run as an unprivileged user with write access to as few things as possible 5. Consider exfiltering on webservers (allow inbound to web_ports but only allow response traffic back outbound - this helps prevent attackers from downloading their toolkits from hacker sites) with your host based firewall 6. Consider chrooting your webserver, if you can 8. Ensure that your webserver is logging, and that your system logs (and web if possible) are being spooled to a remote syslog server 9. DON'T strip passwords from your SSL keys for auto-startup. [JOEL: Omitted items were client-specific] Resources which may help: * http://www.mulesoft.com/tomcat-security * https://www.owasp.org/index.php/Securing_tomcat Thanks, -Joel From phil at eden.net.nz Thu Jul 26 18:17:46 2012 From: phil at eden.net.nz (Philip Lamb) Date: Fri Jul 27 08:09:48 2012 Subject: [FX.php List] FX.php usable with FMS12, or only FMSA12? Message-ID: Hi all, Our little company has been a long-term user of FX.php. At present, we're running it on a FMSA 9 server. Now we'd like to update to release 12, and I need to know if FX.php still requires Server Advanced, or can be used with the vanilla Server product? I recall that in a past transition (FileMaker 6 to FileMaker 7 I think) FX.php could no longer be used with the standard FMS product. We held off upgrading for a long time, because the cost was high and we only have a few users, but eventually shelled out the $ for FMSA9 because we had to move on. We have only a handful of employees using the database via FileMaker clients, and occasional web queries via FX.php. We don't need the extra high-performance features of Server Advanced. On a related note, I saw the discussion on the mailing list about the FileMaker Server bug with FX queries against layouts with portal rows. This problem would definitely affect us. I see that FMI released the 12.0v2 update a couple of weeks ago, but I couldn't see anything in the release notes which addresses this bug (http://help.filemaker.com/app/answers/detail/a_id/11051/~/software-update%3A-filemaker-pro-12.0v2-and-filemaker-pro-12.0v2-advanced). Can anyone confirm whether 12.0v2 fixes this bug? TIA, Phil. From beverlyvoth at gmail.com Fri Jul 27 09:22:16 2012 From: beverlyvoth at gmail.com (Beverly Voth) Date: Fri Jul 27 08:40:16 2012 Subject: [FX.php List] FX.php usable with FMS12, or only FMSA12? In-Reply-To: References: Message-ID: <08CF484D-AF48-47B1-80E4-B512E116D568@gmail.com> The update is for Pro & Pro Advanced. Not for Server. Bug is still there in FMS12, although we've been told it's being worked on. For PHP & Server, you do not need Server Advanced, but investigate the comparisons to meet all your needs. -- sent from my iPhone4 -- Beverly Voth -- On Jul 26, 2012, at 8:17 PM, Philip Lamb wrote: > Hi all, > > Our little company has been a long-term user of FX.php. At present, we're running it on a FMSA 9 server. Now we'd like to update to release 12, and I need to know if FX.php still requires Server Advanced, or can be used with the vanilla Server product? > > I recall that in a past transition (FileMaker 6 to FileMaker 7 I think) FX.php could no longer be used with the standard FMS product. We held off upgrading for a long time, because the cost was high and we only have a few users, but eventually shelled out the $ for FMSA9 because we had to move on. > > We have only a handful of employees using the database via FileMaker clients, and occasional web queries via FX.php. We don't need the extra high-performance features of Server Advanced. > > On a related note, I saw the discussion on the mailing list about the FileMaker Server bug with FX queries against layouts with portal rows. This problem would definitely affect us. I see that FMI released the 12.0v2 update a couple of weeks ago, but I couldn't see anything in the release notes which addresses this bug (http://help.filemaker.com/app/answers/detail/a_id/11051/~/software-update%3A-filemaker-pro-12.0v2-and-filemaker-pro-12.0v2-advanced). Can anyone confirm whether 12.0v2 fixes this bug? > > TIA, > > Phil._______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From steve at bluecrocodile.co.nz Fri Jul 27 09:22:35 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Fri Jul 27 08:40:31 2012 Subject: [FX.php List] FX.php usable with FMS12, or only FMSA12? In-Reply-To: References: Message-ID: Hi Phil According to http://www.filemaker.co.uk/products/compare/fms_vs_fmsa.html FMS will allow PHP and XML web publishing, thus you don't need FMSA (that's needed for ODBC/JDBC and IWP)? I can confirm that FX still works (mostly) happily with FM12, though you may see some things which need modification if you decide to upgrade? in terms of 12.0v2, that has yet to be released for server, it's out for the client version of 12, but not yet server? at DevCon last week they were saying 'soon'... HTH Cheers Steve > Hi all, > > Our little company has been a long-term user of FX.php. At present, we're running it on a FMSA 9 server. Now we'd like to update to release 12, and I need to know if FX.php still requires Server Advanced, or can be used with the vanilla Server product? > > I recall that in a past transition (FileMaker 6 to FileMaker 7 I think) FX.php could no longer be used with the standard FMS product. We held off upgrading for a long time, because the cost was high and we only have a few users, but eventually shelled out the $ for FMSA9 because we had to move on. > > We have only a handful of employees using the database via FileMaker clients, and occasional web queries via FX.php. We don't need the extra high-performance features of Server Advanced. > > On a related note, I saw the discussion on the mailing list about the FileMaker Server bug with FX queries against layouts with portal rows. This problem would definitely affect us. I see that FMI released the 12.0v2 update a couple of weeks ago, but I couldn't see anything in the release notes which addresses this bug (http://help.filemaker.com/app/answers/detail/a_id/11051/~/software-update%3A-filemaker-pro-12.0v2-and-filemaker-pro-12.0v2-advanced). Can anyone confirm whether 12.0v2 fixes this bug? > > TIA, > > Phil._______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120727/a7f95785/attachment.html From jschwartz at exit445.com Fri Jul 27 15:11:30 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Fri Jul 27 14:34:07 2012 Subject: [FX.php List] FMS 12 WPE API with Windows Server 2008 Message-ID: Hi Folks, At the Devcon pre-session, we discussed the problematic php-ini settings that the API installs for Windows 2008 and IIS 7. Is there a consensus of how the settings should be adjusted in both the php_ini as well as IIS error-reporting. The new error handling behaviors in IIS 7 have me a bit confused. It is really inconvenient to have to log in to the server machine and use localhost in order to see a PHP error during debugging. Thanks Jonathan -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From tcmeyers at troymeyers.com Fri Jul 27 17:46:20 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Fri Jul 27 17:04:16 2012 Subject: [FX.php List] FX.php usable with FMS12, or only FMSA12? Message-ID: <3E18A993.ADD0.4E33.A4E5.E4CB4FA93CD3@111.1162661> As others have said, FMS12 is sufficient BUT... I can't recommend it yet. The XML (and thus FX.php) problem would require re-writing your code to not use any portal references if you have any. Portals with no related records currently throw the XML response way out of whack. But also beyond that, yesterday (my 56th birthday), also revealed some other problems that I think lie with FMS12. Maybe I'll tell the whole story for the sake of Schadenfreude, even though some of it is not FMS or FX related. For the past 2-3 weeks I've been training a new crew of lab and greenhouse workers, and have been improving our FileMaker user interface so that it was less esoteric and more intuitive, including adding a number of things that can be done via iPads, etc. It seemed like it was going to be a very smooth day, finally everything ironed out and everyone trained and self-sufficient. I even said to myself, "It's my birthday, and today is going to be a breeze." I'm sure it was a mistake thinking that. The first thing that happened was suddenly our images, which are served by an off-site web server (Speakeasy/MegaPath) started not displaying, with "Forbidden - You don't have permission to access ..blah.. on this server." I checked, the URL was correct, then I checked the top page of one of our sites, also hosted by Speakeasy, and it said the produced the same white "Forbidden" page. Same with the other site's top, different domain but same host Speakeasy. I first thought it might be some weirdness because Safari just got updated to a new version, 6.0, but testing with other browsers and via a 4G cell device gave the same result. So, on the phone with the tape loop waiting for Speakeasy hosting technical support. I finally got a person, who turned out to be with the VOIP department, so he transferred me to a phone menu to get back to Hosting support - that menu would could not seem to hear me poking the 4 button so I kept getting the menu choices over and over. Of course I hung up and tried again. Tape loop again. Elapsed time about 1/2 hour, and happily the images and static site pages magically started working again, so I got to hang up without talking to anyone. I thought to myself, "Well, that could have been worse." About an hour later I was working on cleaning out some old records, and I did a manual Delete Found Records. It seemed to be taking a while, but it had been a while since I'd done such purging, and I thought maybe FMPA 12 was being slow again. So, I went through the lab, where I noticed a workstation was beachballing, and to the greenhouse, were I saw a worker staring at his screen watching a beach ball. I asked "how long" and he said "quite a while" and another said "mine too". So, I sent everyone on break, and just then I got a 'phone call from a neighbor saying she had to rush off to work but she wanted to give me a present... could I meet her down the road so she could pass it off to me on the way out? Feeling torn because I was about to launch into investigating the beachballing, I said "yes" and headed out to the main road. As I arrived at the corner, I noticed a tree had gently fallen over and was resting on the high-voltage (about 7000 V) power line, bowing it down about 15 feet, and the tree was smoking with an occasional flame. Linda gave me a huge live dungeoness crab in salt water, and a big bottle of Sound Brewery KoperenKetel Belgian style pale ale. I admonished her to drive far to the left to get under the tree and not get out of the car, and I said I'd call it in. I thought to myself, "Well, that's lucky, the power actually didn't go out before I found that!" I returned to the lab and got the sterile cultures secured and the laminar flow hood shut down. When we lose power that's the biggest concern because of course the computers are on UPSs. Then I called it into the power company, and since the tree was burning a little, they said they'd send a crew out right away. So, back to the computer room, and the beachballs were still going. So, I fired up the FileMaker Server Admin Console, or at least I tried. I got "Unable to launch the application" with "Unsigned application requesting unrestricted access to system" ... which seemed familiar from months before, under FMS11, when Java got updated and FMS11 also needed to be patched or later updated to work again. Very inconvenient, and the day before I had been using the Admin Console, so I knew this was a fresh problem. I really wanted to see what was going on, why all the beachballs. I tried screen sharing to the FMS machine, and to my shock, the Admin Console wouldn't run there either! Then it dawned on me that maybe it was the Safari update. I found a machine that hadn't been updated, and whew, the Admin Console worked from there. In the mean time I was getting "FMServer Error 66" emails on my phone, one I'd never seen before, "Could not pause database "Conservatory" because of lock conflict(s) with 1 database user". Well, that'd be me and my attempted record deletions. The Admin Console was useless for disconnecting, closing, or any other hopeful action I tried. Finally I restarted the FMS machine. It came back, but the file "Conservatory" would not open. Obviously it had gotten messed up. So, I copied all 4+ GB of it to my workstation and did the "Recover" with seemingly appropriate options, which found and fixed problems. The recover only took 1 hour and 15 minutes. During that time, the power did indeed go out, but only for about 15 minutes, so the UPSs handled that nicely, and I didn't have to resort to the generator. I thought to myself, "It's nice that the Recover feature has been improved." The Recover process admonished me to not use the recovered database file, rather work from a backup and transplant any new or altered records from the recovered file to the backup file. I pondered this for a while, and decided that it would be smart to follow that advice and reckless to ignore it, but ignoring it seemed the only practical thing since the last backup had been at noon, and numerous changes and additions had been made since then at our various workstations and by web users, in who knows how many of the database's 86 tables. It could take me a day to figure out what needed to be added or replaced, and I had to get things going before the start of the work day tomorrow (today) not to mention getting the site back up. So I went with living dangerously - and copied the recovered file over to the workstation that still could run the Admin Console. First deleting the (closed) corrupted file on the FMS machine, then using the Upload Database feature of the Admin Console, I presumably successfully selected and uploaded and opened the replacement database file from the workstation to the FMS. At least that's what the green check-mark seemed to suggest in the Admin Console when it reported that all had been done. BUT, the console did not show the file as being open when looking at the Databases list. I clicked the Refresh List button in the Console, and my stomach turned as a "Console has lost contact with the Server" (or something like that) message came up. Checking from FMPA12, using "Open Remote" on my normal machine, I saw that indeed the needed file was NOT open, though the few other expected ones were. I thought to myself, "OK, something is trying to tell me I shouldn't be working right now." I asked the employees if they minded if we stopped working, and have an impromptu party. To my surprise, no one minded at all. I broke out the tequila, lime, and beer, and that's how we ended the work day. Then, after a bit of a battle in the kitchen, which ended with me mopping up salt water while watching a 15 minute timer, I got completely stuffed with crab. Early this morning I looked at it all again. I tried uploading again, with the same result, including Console on that workstation losing contact with Server. Looking at the files in FMS's Databases folders, I was surprised to see that rather than "Conservatory.fmp12" there was "Conservatory.fmp12.zip" ...which made me realize that Console must pre-ZIP files for upload (the part where it says "Preparing files for upload"?), and that the unzipping was failing at the other end. Even though Console reported that upload-and-open had succeeded. So, I tried unzipping the file in the Databases folder. That worked, but the file would not open. My cell phone received the message, "FMServer Error 282 Database Conservatory could not be opened: Permission denied." I remembered how the day before had started with a different but similar-feeling "Forbidden" message. But I kept my cool and did it the way I used to before the Upload feature was introduced. I just used the Finder to copy the file from my FMPA machine to the FMS machine, then used the "Apply to enclosed items..." from the Get Info permissions on the Databases folder, using screen sharing to the FMS machine. Finally, I could get Console (still on the unupdated workstation) to open the file. Whew. Site back up, workers back in gear, at 8 AM. I thought to myself, "Why do I always want to do updates?" -Troy From andersm at mac.com Tue Jul 31 11:14:02 2012 From: andersm at mac.com (Anders Monsen) Date: Tue Jul 31 10:31:50 2012 Subject: [FX.php List] FMS 12 and GetContainerDataURL FYI Message-ID: <5018125A.6010006@mac.com> Hesitant to post about this since it relates to the native API and not FX, but we ran into an issue with the new remote containers and PHP shortly before DevCon. The images just wouldn't appear using the new GetContainerDataURL function in FileMaker 12. The issue might not be a widespread one yet, or maybe we just didn't have the right settings to begin with. We discovered two key elements to resolve this issue. Neither were obvious to us at first glance, but in case others have run into this issue, it appears that XML web publishing needs to be turned on for the server, not just PHP, and the fmxml privilege set must be enabled for the account connecting to the database. The second issue pertains to the hostspec, as defined in FileMaker >> conf >> filemaker-api.php. This has http:// in front of 127.0.0.1, so in our connection setting, instead of just 127.0.0.1 we needed to add the http:// and then the images showed up. The xml issue seemed obvious once we read the url, as this includes "/fmi/xml" in the path. Leaving off the fmxml resulted in permission issues trying to read the image. Has anyone else experienced this issue? Regards, Anders Monsen From malcolm at notyourhomework.net Tue Jul 31 17:42:50 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Tue Jul 31 17:00:31 2012 Subject: [FX.php List] FMS 12 and GetContainerDataURL FYI In-Reply-To: <5018125A.6010006@mac.com> References: <5018125A.6010006@mac.com> Message-ID: The fmxml and fmphp extended privilege sets are a very artificial distinction. The WPE doesn't understand PHP. It responds to GET and POST requests and it spits out XML. The API wrestles that into it's own "record" object. However, I'd think that you've found a bug. You shouldn't need to give users an extra set of extended privileges just to see a few images. malcolm On 01/08/2012, at 3:14 AM, Anders Monsen wrote: > Hesitant to post about this since it relates to the native API and not FX, but we ran into an issue with the new remote containers and PHP shortly before DevCon. The images just wouldn't appear using the new GetContainerDataURL function in FileMaker 12. The issue might not be a widespread one yet, or maybe we just didn't have the right settings to begin with. > > We discovered two key elements to resolve this issue. Neither were obvious to us at first glance, but in case others have run into this issue, it appears that XML web publishing needs to be turned on for the server, not just PHP, and the fmxml privilege set must be enabled for the account connecting to the database. The second issue pertains to the hostspec, as defined in FileMaker >> conf >> filemaker-api.php. This has http:// in front of 127.0.0.1, so in our connection setting, instead of just 127.0.0.1 we needed to add the http:// and then the images showed up. > > The xml issue seemed obvious once we read the url, as this includes "/fmi/xml" in the path. Leaving off the fmxml resulted in permission issues trying to read the image. > > Has anyone else experienced this issue? > > Regards, > Anders Monsen > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list