From bob at patin.com Mon Oct 1 09:57:40 2007 From: bob at patin.com (Bob Patin) Date: Mon Oct 1 09:57:43 2007 Subject: [FX.php List] Even stranger date math... In-Reply-To: <00A2644B-B881-4218-B459-1B90D803A1B2@finalresort.org> References: <9DCB9EE4-C98B-486B-A0EA-8A9B158A71A2@patin.com> <00A2644B-B881-4218-B459-1B90D803A1B2@finalresort.org> Message-ID: It was daylight savings time; when I run it here, 10/4/2007 would always get printed twice. When I take $thetime and add 43200 to it, to make it equal NOON on the given day, it works fine... I wonder why it's not producing the same error on your computer; could it be your daylight savings time settings? Mac or PC? I'm on a Mac... at any rate, thanks to Troy's help, the problem is solved... Bob On Sep 30, 2007, at 3:06 PM, Leo R. Lundgren wrote: > 30 sep 2007 kl. 22.02 skrev Bob Patin: > >> OK, so I decided to use a WHILE loop, and the results are just as >> strange: >> >> > >> $d1 = "10/28/2007"; >> $thetime = strtotime($d1); >> >> $x = 2; >> while ($x < 43){ >> $thetime = $thetime + 86400; >> $d[$x] = date('m/d/Y',$thetime); >> echo $d[$x]."
"; >> $x++; >> } >> >> >> ?> >> >> Check it out... why does this not work right? >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > I tried this, and your first post as well, and I don't see the > problem. Here's the output I get from the last one; > > 10/28/2007 > 10/29/2007 > 10/30/2007 > 10/31/2007 > 11/01/2007 > 11/02/2007 > 11/03/2007 > 11/04/2007 > 11/05/2007 > 11/06/2007 > 11/07/2007 > 11/08/2007 > 11/09/2007 > 11/10/2007 > 11/11/2007 > 11/12/2007 > 11/13/2007 > 11/14/2007 > 11/15/2007 > 11/16/2007 > 11/17/2007 > 11/18/2007 > 11/19/2007 > 11/20/2007 > 11/21/2007 > 11/22/2007 > 11/23/2007 > 11/24/2007 > 11/25/2007 > 11/26/2007 > 11/27/2007 > 11/28/2007 > 11/29/2007 > 11/30/2007 > 12/01/2007 > 12/02/2007 > 12/03/2007 > 12/04/2007 > 12/05/2007 > 12/06/2007 > 12/07/2007 > > Regards, Leo > _______________________________________________ > 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 Mon Oct 1 10:33:20 2007 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Mon Oct 1 10:33:25 2007 Subject: [FX.php List] Even stranger date math... Message-ID: <6679827.321561191256400960.JavaMail.postmaster@troymeyers.com> Bob, I'm fairly sure it is because your strtotime call didn't have an offset (2nd param) specified, so the current time was used. The "bug" would therefore only show up during a certain time period in each day. That's why I added the "0" offset in the code I sent. -Troy > It was daylight savings time; when I run it here, 10/4/2007 would > always get printed twice. When I take $thetime and add 43200 to it, to > make it equal NOON on the given day, it works fine... > > I wonder why it's not producing the same error on your computer; could > it be your daylight savings time settings? Mac or PC? I'm on a Mac... > at any rate, thanks to Troy's help, the problem is solved... > > Bob From jsfmp at earthlink.net Mon Oct 1 13:37:13 2007 From: jsfmp at earthlink.net (Joel Shapiro) Date: Mon Oct 1 13:37:19 2007 Subject: [FX.php List] JavaScript, AJAX, jQuery assistance? In-Reply-To: References: <20070926072747.E5C3A5AAE68@www.iviking.org> <44F49745-571C-4605-9275-6C05950800E2@earthlink.net> <5C1BB3C9-6FEE-410D-9872-B0E970240FBC@customikesolutions.com> Message-ID: <435D8ACF-A9C9-4C3A-BE00-CFCD42783B99@earthlink.net> OK. I've *finally* got it. HUGE THANKS to everyone who helped: Dale, Nick, Alex, Steve and Michael for all your great help! It turns out that the jTip plugin was the cause of the stray partial tooltip that displayed below all other content in both Safari and IE (7) (when hovering over the original tooltip link after loading the AJAX div). I've switched to clueTip (another jQuery plugin) and the Safari/IE problem is gone(!!) (jTip & clueTip each have some features I like better than in the other, but I guess I can't have everything ;) I've put up new demos here: http://jsfmp.com/tooltips/jtip.html http://jsfmp.com/tooltips/cluetip.html (I haven't reformatted this css yet) Michael: a) Thanks for showing me how to use jQuery's "load" function instead of LAJAX. I still need to figure out how to include parameters in that (e.g. in my real project, each load is to a specific div), but I'll look into it. b) FYI: JT_init(); doesn't actually need to get called on the main page since jtip.js starts with "$(document).ready(JT_init);" -- although this is now a moot point for me since I'll be switching to clueTip c) Thanks for attaching the AJAX-load div to a

element; it helps me understand jQuery a bit better. For my project, I want to use a hover css formatting. I'll be looking into jQuery again to see if I can do that with a

or if I'll go back to using . d) I'll be looking through your INT610 demo again, which seems like it might help me with my (a) & (c) above :) Thanks again everyone. -Joel On Sep 28, 2007, at 5:10 PM, Michael Ward wrote: > Hi Joel, > > On 28/09/2007, at 2:46 PM, Joel Shapiro wrote: > >> Hi Michael >> >> Thanks for the reply. Unfortunately, neither of these options >> work satisfactorily: >> Including JT_init(); as part of the LAJAX callback causes >> duplicate displays of the original tooltip (at least in Safari), >> and adding JavaScript to the called page (ajaxpage.html) doesn't >> actually fire off the JavaScript. >> >> Steve Winter thinks that it's the way that LAJAX writes content to >> the div that's the problem. He recommends prototype, through >> which he says "you can explicitly allow or deny the running of >> scripts within loaded files during the call to that file". I'll >> be giving that a try, as well as looking at how jQuery might do >> this. (Do you know this already? Is it easy to figure out?) > > Hmm... mixing different libraries is always a quandary. > > I have now had a look at your code and have made it all > "jQuerified" so it now works. > > I've actually done it two ways... > > 1) > > I removed references to Lajax and called JT_init on document load: > > $(function(){ > JT_init(); > }); > > this takes care of the first tootip on the original page. > > I then use the "load" jQuery function to load "ajaxpage.html" into > the "getDiv" div calling JT_init as a callback: > > link here > > This now works fine in FireFox, although there appears to be an > artifact (the tooltip header) in safari. > > 2) > > I called both JT_init and "preloaded" the "load" event (attached to > a "p" tag) on document load: > > $(function(){ > JT_init(); > $('p.getDiv').click(function() { > $('#getDIV').load('ajaxpage.html',function(){JT_init();}) > }); > return false; > } > ); > > Which basically says... when you click the "p" tag with a getDiv > class, do the jTip stuff. > > So when you click on the paragraph text, the div is loaded. I > haven't done anything to alert the user that this paragraph is > "clickable"! > > The benefit of this way is that you can send different pages into > the load callback, (based on some criteria in the "p" tag) > > I briefly covered a way to do this in my DevCon presentation > (INT610) and the code can be found in folder "20". You'll need to > digest "final.php" (the page that is called), "pubs.php" ( a > loaded div) and "articles.php" (the different "tooltips" that are > called) to make sense of it. > > One last thing... If it were me, I'd be working in only one > Javascript library, unless you have been given code that works > solidly and you need to extend it. > > I don't know if this list supports attachments so have sent this > email back channel as well. If anyone wasn't at DevCon and wants a > copy of the presentation files, please let me know. > > Regards > > Michael Ward > -- > Head Honcho > CustoMike Solutions > Member, FileMaker Business Alliance > Member, FileMaker Technical Network > FileMaker 7 Certified Developer > FileMaker 8 Certified Developer > 10 Wandoo Crt > Wheelers Hill, 3150 > ph 0414 562 501 > headhoncho@customikesolutions.com > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From headhoncho at customikesolutions.com Mon Oct 1 18:32:43 2007 From: headhoncho at customikesolutions.com (Michael Ward) Date: Mon Oct 1 18:33:07 2007 Subject: [FX.php List] JavaScript, AJAX, jQuery assistance? In-Reply-To: <435D8ACF-A9C9-4C3A-BE00-CFCD42783B99@earthlink.net> References: <20070926072747.E5C3A5AAE68@www.iviking.org> <44F49745-571C-4605-9275-6C05950800E2@earthlink.net> <5C1BB3C9-6FEE-410D-9872-B0E970240FBC@customikesolutions.com> <435D8ACF-A9C9-4C3A-BE00-CFCD42783B99@earthlink.net> Message-ID: <82BAE283-020A-42F3-A46E-AECB3A7D2C7E@customikesolutions.com> Hi all, > a) Thanks for showing me how to use jQuery's "load" function > instead of LAJAX. I still need to figure out how to include > parameters in that (e.g. in my real project, each load is to a > specific div), but I'll look into it. I've put up a small sample file that shows one way of loading pages into multiple divs with a single click. It also shows a callback to allow clicking on an img tag to load another image into another div (it will make sense when you look at it) the page also has a link to the sample files for download (2.3MB) It is _extremely_ quick and dirty! You can find it here: all the "hardcoded" links could be quite easily pulled from a database on the fly. > > b) FYI: JT_init(); doesn't actually need to get called on the main > page since jtip.js starts with "$(document).ready(JT_init);" -- > although this is now a moot point for me since I'll be switching to > clueTip > > c) Thanks for attaching the AJAX-load div to a

element; it > helps me understand jQuery a bit better. For my project, I want to > use a hover css formatting. I'll be looking into jQuery again to > see if I can do that with a

or if I'll go back to using . In the sample file I am using a click function attached to both "li"s and "img"s . Have a look at the visualjQuery for more info on how to attach functions. > > d) I'll be looking through your INT610 demo again, which seems like > it might help me with my (a) & (c) above :) It may do :-) Regards Michael Ward -- Head Honcho CustoMike Solutions Member, FileMaker Business Alliance Member, FileMaker Technical Network FileMaker 7 Certified Developer FileMaker 8 Certified Developer 10 Wandoo Crt Wheelers Hill, 3150 ph 0414 562 501 headhoncho@customikesolutions.com From jsfmp at earthlink.net Mon Oct 1 19:14:03 2007 From: jsfmp at earthlink.net (Joel Shapiro) Date: Mon Oct 1 19:14:10 2007 Subject: [FX.php List] JavaScript, AJAX, jQuery assistance? In-Reply-To: <82BAE283-020A-42F3-A46E-AECB3A7D2C7E@customikesolutions.com> References: <20070926072747.E5C3A5AAE68@www.iviking.org> <44F49745-571C-4605-9275-6C05950800E2@earthlink.net> <5C1BB3C9-6FEE-410D-9872-B0E970240FBC@customikesolutions.com> <435D8ACF-A9C9-4C3A-BE00-CFCD42783B99@earthlink.net> <82BAE283-020A-42F3-A46E-AECB3A7D2C7E@customikesolutions.com> Message-ID: <299BF543-3E27-41D6-9C5D-FB618E00351A@earthlink.net> Thanks Michael! I'm really starting to get jQuery -- and it is very cool. Your sample code makes sense to me(!) I was just going through some of 15daysofjquery.com. Their Day 2 example "Table Striping Made Easy" shows how quick and easy it can be to alternate row colors in a table and make the rolled-over row a different color. And by using classes for the tables, it's easy to format different tables differently -- really abstracting the formatting from the content of the page. http://15daysofjquery.com/table-striping-made-easy/5/ I'm also starting to see some possible advantages of using elements other than 'a' as links, like you'd said. Do you have any particular tutorial sites that you liked when you were first learning jQuery? I've looked at a couple of the tutorials on jquery.com. Thanks, -Joel On Oct 1, 2007, at 5:32 PM, Michael Ward wrote: > Hi all, > >> a) Thanks for showing me how to use jQuery's "load" function >> instead of LAJAX. I still need to figure out how to include >> parameters in that (e.g. in my real project, each load is to a >> specific div), but I'll look into it. > > I've put up a small sample file that shows one way of loading pages > into multiple divs with a single click. It also shows a callback > to allow clicking on an img tag to load another image into another > div (it will make sense when you look at it) > > the page also has a link to the sample files for download (2.3MB) > > It is _extremely_ quick and dirty! > > You can find it here: > > all the "hardcoded" links could be quite easily pulled from a > database on the fly. >> >> b) FYI: JT_init(); doesn't actually need to get called on the main >> page since jtip.js starts with "$(document).ready(JT_init);" -- >> although this is now a moot point for me since I'll be switching >> to clueTip >> >> c) Thanks for attaching the AJAX-load div to a

element; it >> helps me understand jQuery a bit better. For my project, I want >> to use a hover css formatting. I'll be looking into jQuery again >> to see if I can do that with a

or if I'll go back to using . > > In the sample file I am using a click function attached to both > "li"s and "img"s . Have a look at the visualjQuery visualjquery.com/1.1.2.html> for more info on how to attach functions. > >> >> d) I'll be looking through your INT610 demo again, which seems >> like it might help me with my (a) & (c) above :) > > It may do :-) > > Regards > > Michael Ward > -- > Head Honcho > CustoMike Solutions > Member, FileMaker Business Alliance > Member, FileMaker Technical Network > FileMaker 7 Certified Developer > FileMaker 8 Certified Developer > 10 Wandoo Crt > Wheelers Hill, 3150 > ph 0414 562 501 > headhoncho@customikesolutions.com > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From headhoncho at customikesolutions.com Mon Oct 1 19:47:30 2007 From: headhoncho at customikesolutions.com (Michael Ward) Date: Mon Oct 1 19:47:53 2007 Subject: [FX.php List] JavaScript, AJAX, jQuery assistance? In-Reply-To: <299BF543-3E27-41D6-9C5D-FB618E00351A@earthlink.net> References: <20070926072747.E5C3A5AAE68@www.iviking.org> <44F49745-571C-4605-9275-6C05950800E2@earthlink.net> <5C1BB3C9-6FEE-410D-9872-B0E970240FBC@customikesolutions.com> <435D8ACF-A9C9-4C3A-BE00-CFCD42783B99@earthlink.net> <82BAE283-020A-42F3-A46E-AECB3A7D2C7E@customikesolutions.com> <299BF543-3E27-41D6-9C5D-FB618E00351A@earthlink.net> Message-ID: Hi all, On 02/10/2007, at 11:14 AM, Joel Shapiro wrote: > Thanks Michael! > > > Do you have any particular tutorial sites that you liked when you > were first learning jQuery? I've looked at a couple of the > tutorials on jquery.com. I think I looked at all of them... but the way I learnt the most was by dissecting what other people had done. Check out the demos for the different plug-ins... and also the sites that are mentioned in Sites using jQuery and then adapt them to your requirements. There's also a book out... I haven't seen it but that may be of interest too. Regards Michael Ward -- Head Honcho CustoMike Solutions Member, FileMaker Business Alliance Member, FileMaker Technical Network FileMaker 7 Certified Developer FileMaker 8 Certified Developer 10 Wandoo Crt Wheelers Hill, 3150 ph 0414 562 501 headhoncho@customikesolutions.com From criticalsolution at comcast.net Mon Oct 1 20:24:32 2007 From: criticalsolution at comcast.net (John Funk) Date: Mon Oct 1 20:21:46 2007 Subject: [FX.php List] Converting .fp5/FX to .fp7/FX problems Message-ID: I am having a hard time getting started in converting some existing .fp5 / FX code to .fp7 / FX code. I have converted the mulit .fp5 files to a single .fp7 file I created layouts for each table ( each .fp5 file now = a flat table) In the PHP code, I understand how to change the parameters for the result Calls to account for the server IP and file differences. The problem is the FMP XML result does not parse, I get an error saying the error cannot be used in the array but yet the xml error code is 0. When I click on the (url FX creates to get the xml from FileMaker), the record data shows in the xml data, so I assume the FM 9 server and includes are setup correctly, it is just a case of parsing the xml. If I send the php code for this one query, the .fp7 file and the Includes that are related, can anybody out there get me started? Once I see the solution, I can take care of the rest of the conversion (I just need a push start) Email me directly: criticalsolution@comcast.net John Funk Critical Solution From ggt667 at gmail.com Tue Oct 2 01:47:59 2007 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Tue Oct 2 01:48:04 2007 Subject: [FX.php List] Converting .fp5/FX to .fp7/FX problems In-Reply-To: References: Message-ID: Did you follow this simple tutorial, it's written with FX.php in mind? http://www.file-making.com/moving/ ggt667 On 10/2/07, John Funk wrote: > I am having a hard time getting started in converting some existing .fp5 / > FX code to .fp7 / FX code. > > I have converted the mulit .fp5 files to a single .fp7 file I created > layouts for each table ( each .fp5 file now = a flat table) > > In the PHP code, I understand how to change the parameters for the result > Calls to account for the server IP and file differences. > > The problem is the FMP XML result does not parse, I get an error saying the > error cannot be used in the array but yet the xml error code is 0. > > When I click on the (url FX creates to get the xml from FileMaker), the > record data shows in the xml data, so I assume the FM 9 server and includes > are setup correctly, it is just a case of parsing the xml. > > If I send the php code for this one query, the .fp7 file and the > Includes that are related, can anybody out there get me started? Once I see > the solution, I can take care of the rest of the conversion (I just need a > push start) > > > Email me directly: > criticalsolution@comcast.net > > John Funk > Critical Solution > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From ggt667 at gmail.com Tue Oct 2 01:51:53 2007 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Tue Oct 2 01:51:56 2007 Subject: [FX.php List] Converting .fp5/FX to .fp7/FX problems In-Reply-To: References: Message-ID: I also had to keep in mind that my naming convention for layouts had to change slightly for those solutions using php scriptnames as layout names... I changed my layout naming convention to php<> instead of <>.php There should not really be that many things to change if you followed the tutorial I mentioned in the previous post, database name and layoutnames should be enough. ggt667 On 10/2/07, John Funk wrote: > I am having a hard time getting started in converting some existing .fp5 / > FX code to .fp7 / FX code. > > I have converted the mulit .fp5 files to a single .fp7 file I created > layouts for each table ( each .fp5 file now = a flat table) > > In the PHP code, I understand how to change the parameters for the result > Calls to account for the server IP and file differences. > > The problem is the FMP XML result does not parse, I get an error saying the > error cannot be used in the array but yet the xml error code is 0. > > When I click on the (url FX creates to get the xml from FileMaker), the > record data shows in the xml data, so I assume the FM 9 server and includes > are setup correctly, it is just a case of parsing the xml. > > If I send the php code for this one query, the .fp7 file and the > Includes that are related, can anybody out there get me started? Once I see > the solution, I can take care of the rest of the conversion (I just need a > push start) > > > Email me directly: > criticalsolution@comcast.net > > John Funk > Critical Solution > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From ggt667 at gmail.com Tue Oct 2 01:54:07 2007 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Tue Oct 2 01:54:11 2007 Subject: [FX.php List] [Poll] Which ajax implementation do you use? Message-ID: Which ajax implementation do you use? The subject says it all. ggt667 From headhoncho at customikesolutions.com Tue Oct 2 02:04:06 2007 From: headhoncho at customikesolutions.com (Michael Ward) Date: Tue Oct 2 02:04:29 2007 Subject: [FX.php List] [Poll] Which ajax implementation do you use? In-Reply-To: References: Message-ID: <064D549D-3323-4F9C-BA1C-107F87CAC9FA@customikesolutions.com> On 02/10/2007, at 5:54 PM, Gjermund Gusland Thorsen wrote: > Which ajax implementation do you use? jQuery Regards Michael Ward -- Head Honcho CustoMike Solutions Member, FileMaker Business Alliance Member, FileMaker Technical Network FileMaker 7 Certified Developer FileMaker 8 Certified Developer 10 Wandoo Crt Wheelers Hill, 3150 ph 0414 562 501 headhoncho@customikesolutions.com From steve at bluecrocodile.co.nz Tue Oct 2 02:12:37 2007 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Tue Oct 2 02:18:05 2007 Subject: [FX.php List] [Poll] Which ajax implementation do you use? In-Reply-To: Message-ID: <20071002081802.34A555B6E28@www.iviking.org> Prototype - http://www.prototypejs.org/ Cheers Steve -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Gjermund Gusland Thorsen Sent: Tuesday, 2 October 2007 8:54 a.m. To: FX.php Discussion List Subject: [FX.php List] [Poll] Which ajax implementation do you use? Which ajax implementation do you use? The subject says it all. ggt667 _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 1/10/2007 6:59 p.m. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 1/10/2007 6:59 p.m. From steve at bluecrocodile.co.nz Tue Oct 2 02:33:36 2007 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Tue Oct 2 02:38:03 2007 Subject: [FX.php List] Converting .fp5/FX to .fp7/FX problems In-Reply-To: Message-ID: <20071002083801.5A2BC5B6EB5@www.iviking.org> Hi John, One thing that you might need to watch out for, which I often forget when doing conversions from pre-v7 is the need for the username and password... make sure your query has something like; $myQuery->SetDBUserPass($username, $password); in there somewhere, and that the username and password that you enter are valid for the xml interface of the database in question. (As you can see I use variables for the username and password, then set those within serverVariables.php for easy reuse) Feel free to post code and we?ll try and help out more... Cheers Steve -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of John Funk Sent: Tuesday, 2 October 2007 3:25 a.m. To: fx.php_list@mail.iviking.org Subject: [FX.php List] Converting .fp5/FX to .fp7/FX problems I am having a hard time getting started in converting some existing .fp5 / FX code to .fp7 / FX code. I have converted the mulit .fp5 files to a single .fp7 file I created layouts for each table ( each .fp5 file now = a flat table) In the PHP code, I understand how to change the parameters for the result Calls to account for the server IP and file differences. The problem is the FMP XML result does not parse, I get an error saying the error cannot be used in the array but yet the xml error code is 0. When I click on the (url FX creates to get the xml from FileMaker), the record data shows in the xml data, so I assume the FM 9 server and includes are setup correctly, it is just a case of parsing the xml. If I send the php code for this one query, the .fp7 file and the Includes that are related, can anybody out there get me started? Once I see the solution, I can take care of the rest of the conversion (I just need a push start) Email me directly: criticalsolution@comcast.net John Funk Critical Solution _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.35/1040 - Release Date: 30/09/2007 9:01 p.m. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 1/10/2007 6:59 p.m. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20071002/d2dbd101/attachment-0001.html From ggt667 at gmail.com Tue Oct 2 05:49:11 2007 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Tue Oct 2 05:49:15 2007 Subject: [FX.php List] [Poll] Which ajax implementation do you use? In-Reply-To: <20071002081802.34A555B6E28@www.iviking.org> References: <20071002081802.34A555B6E28@www.iviking.org> Message-ID: I use LAJAX( http://www.fm-synergy.com/page1/page1.php ) I have not really looked at any of the other implementations... Are there anyone who compared them before you started? ggt667 On 10/2/07, Steve Winter wrote: > Prototype - http://www.prototypejs.org/ > > Cheers > Steve > > -----Original Message----- > From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Gjermund Gusland > Thorsen > Sent: Tuesday, 2 October 2007 8:54 a.m. > To: FX.php Discussion List > Subject: [FX.php List] [Poll] Which ajax implementation do you use? > > Which ajax implementation do you use? > > The subject says it all. > > ggt667 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 1/10/2007 > 6:59 p.m. > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 1/10/2007 > 6:59 p.m. > > > > _______________________________________________ > 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 Tue Oct 2 01:57:47 2007 From: leo at finalresort.org (Leo R. Lundgren) Date: Tue Oct 2 07:40:27 2007 Subject: [FX.php List] [Poll] Which ajax implementation do you use? In-Reply-To: References: Message-ID: <484C8AEF-806A-466B-9932-6F1872DB14FC@finalresort.org> I use jQuery with javascript as much as possible, it's great :) I did use Mochikit but find jQuery a lot nicer. It has some AJAX functionality as well, so I guess that's my answer. I tend to include the jQuery Form plugin as well though, since it has a form serializer that isn't in jQuery default. // Leo 2 okt 2007 kl. 09.54 skrev Gjermund Gusland Thorsen: > Which ajax implementation do you use? > > The subject says it all. > > ggt667 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From headhoncho at customikesolutions.com Tue Oct 2 08:01:30 2007 From: headhoncho at customikesolutions.com (Michael Ward) Date: Tue Oct 2 08:01:52 2007 Subject: [FX.php List] [Poll] Which ajax implementation do you use? In-Reply-To: References: <20071002081802.34A555B6E28@www.iviking.org> Message-ID: G'day, On 02/10/2007, at 9:49 PM, Gjermund Gusland Thorsen wrote: > I use LAJAX( http://www.fm-synergy.com/page1/page1.php ) > > I have not really looked at any of the other implementations... > > Are there anyone who compared them before you started? I looked at prototype with scriptaculous, dojo toolkit, Yahoo UI (for about 10 seconds) and Google Web Toolkit (for another 10 seconds) Prototype/scriptaculous and dojo looked promising, but I settled on jQuery because of its lightweight, extensibility and active development team. The "plugins" are the most useful as you only need to load those that are needed. Both Yahoo and Google seemed to need everything loaded and were too much of a learning curve. jQuery also doesn't rely on knowing a whole lot of javascript... I have to know too many other scripting languages to want to learn yet another one! Regards Michael Ward -- Head Honcho CustoMike Solutions Member, FileMaker Business Alliance Member, FileMaker Technical Network FileMaker 7 Certified Developer FileMaker 8 Certified Developer 10 Wandoo Crt Wheelers Hill, 3150 ph 0414 562 501 headhoncho@customikesolutions.com From dbengston at preservationstudio.com Tue Oct 2 09:07:15 2007 From: dbengston at preservationstudio.com (Dale Bengston) Date: Tue Oct 2 09:07:29 2007 Subject: [FX.php List] [Poll] Which ajax implementation do you use? In-Reply-To: References: <20071002081802.34A555B6E28@www.iviking.org> Message-ID: We are using scriptaculous/prototype, since we were already using it for display/effects like drag and drop. On Oct 2, 2007, at 9:01 AM, Michael Ward wrote: > G'day, > > On 02/10/2007, at 9:49 PM, Gjermund Gusland Thorsen wrote: > >> I use LAJAX( http://www.fm-synergy.com/page1/page1.php ) >> >> I have not really looked at any of the other implementations... >> >> Are there anyone who compared them before you started? > > I looked at prototype with scriptaculous, dojo toolkit, Yahoo UI > (for about 10 seconds) and Google Web Toolkit (for another 10 seconds) > > Prototype/scriptaculous and dojo looked promising, but I settled on > jQuery because of its lightweight, extensibility and active > development team. The "plugins" are the most useful as you only > need to load those that are needed. Both Yahoo and Google seemed > to need everything loaded and were too much of a learning curve. > > jQuery also doesn't rely on knowing a whole lot of javascript... I > have to know too many other scripting languages to want to learn > yet another one! > > Regards > > Michael Ward > -- > Head Honcho > CustoMike Solutions > Member, FileMaker Business Alliance > Member, FileMaker Technical Network > FileMaker 7 Certified Developer > FileMaker 8 Certified Developer > 10 Wandoo Crt > Wheelers Hill, 3150 > ph 0414 562 501 > headhoncho@customikesolutions.com > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jschwartz at exit445.com Tue Oct 2 09:09:42 2007 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Tue Oct 2 09:09:54 2007 Subject: [FX.php List] Precision Printing alternatives In-Reply-To: References: <20071002081802.34A555B6E28@www.iviking.org> Message-ID: Hi Folks, (There's a question at the end of this long email recap) I'm still going in circles on my school progress report project. The problem goes back to printing report cards after teachers enter student data. There are 200+ teachers in 6 schools. The input side has been intended to be web based using fx.php. No problems there. The output side is the real challenge. I didn't originally think so, but I do now. Earlier on this list, I inquired about using FPDF and I received good reviews for that method. However, in attempting to set that up, I now see the expertise in FPDF required and time involved in getting the template set up. It could take 100 hours...or more....just for the template. If you'd like to see the test, it appears below. I have placed the same simplified sample "cell module" in 4 places on a page. Have not figured out how to wrap text inside a cell. That's what the 4th example was trying to do, and where I gave up... http://www.exit445.com/mvll/fpdf/tutorial/test5.php The SECOND alternative is to distribute a runtime FMP file that allows teachers to import data from the server and then use it to print the Progress Reports. (You can't use a runtime to connect to the server).. I guess I could use the Excell spreadsheet php class to do the export. This alternative is lousy in that it involves input in one place and output in another....with steps in between. I thought of a THIRD alternative. I believe that all the school's printers are networked and visible on the network across the district. Perhaps if I used a single FMP CLIENT connected to the Server at headquarters. and then script the printing of progress reports from the FMP client to the remote printers. There's a recipe for disaster. Of course, a FOURTH alternative is to purchase 200 copies of FileMaker. There's not budget for that. THE QUESTION: That being said...how do php and mysql systems print data to paper? I must be missing some huge piece of the puzzle. Without better alternatives, I'm thinking of walking away from this "opportunity". J -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-381-1852 From steve at bluecrocodile.co.nz Tue Oct 2 09:27:39 2007 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Tue Oct 2 09:33:04 2007 Subject: [FX.php List] Precision Printing alternatives In-Reply-To: Message-ID: <20071002153301.076B35B783B@www.iviking.org> Hi Jonathan, In my view FPDF really is your best bet, and based on the alternatives you?ve come up with, your only bet... This has been the answer to every web-based printing problem that I?ve come across because it doesn?t matter what OS or what printer the end user has, the outcome is still the same... I?ve used it for reports, letters, certificates, filling in forms (where the output from FMP has to go onto a government issued form) etc etc You are however correct that establishing the template can be time consuming, that said, once it?s done, it?s done and will work flawlessly on every system... Someone mentioned the other day that part of the issue with FPDF was that you have to specify everything based on XY co-ordinates, however I personally believe that is one of its strengths since it allows you to put content precisely where you want it... in a job that I?ve just been working on for a commercial printer we?re using it in combination with a Flash application to create print-ready files from data which is manipulated in flash, the content output to php and the pdf generated pixel perfect... In answer to your FPDF question, to get text to wrap in a field use Multicell see HYPERLINK "http://www.fpdf.org/en/doc/multicell.htm"http://www.fpdf.org/en/doc/multice ll.htm for details... Cheers Steve -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Jonathan Schwartz Sent: Tuesday, 2 October 2007 4:10 p.m. To: FX.php Discussion List Subject: [FX.php List] Precision Printing alternatives Hi Folks, (There's a question at the end of this long email recap) I'm still going in circles on my school progress report project. The problem goes back to printing report cards after teachers enter student data. There are 200+ teachers in 6 schools. The input side has been intended to be web based using fx.php. No problems there. The output side is the real challenge. I didn't originally think so, but I do now. Earlier on this list, I inquired about using FPDF and I received good reviews for that method. However, in attempting to set that up, I now see the expertise in FPDF required and time involved in getting the template set up. It could take 100 hours...or more....just for the template. If you'd like to see the test, it appears below. I have placed the same simplified sample "cell module" in 4 places on a page. Have not figured out how to wrap text inside a cell. That's what the 4th example was trying to do, and where I gave up... http://www.exit445.com/mvll/fpdf/tutorial/test5.php The SECOND alternative is to distribute a runtime FMP file that allows teachers to import data from the server and then use it to print the Progress Reports. (You can't use a runtime to connect to the server).. I guess I could use the Excell spreadsheet php class to do the export. This alternative is lousy in that it involves input in one place and output in another....with steps in between. I thought of a THIRD alternative. I believe that all the school's printers are networked and visible on the network across the district. Perhaps if I used a single FMP CLIENT connected to the Server at headquarters. and then script the printing of progress reports from the FMP client to the remote printers. There's a recipe for disaster. Of course, a FOURTH alternative is to purchase 200 copies of FileMaker. There's not budget for that. THE QUESTION: That being said...how do php and mysql systems print data to paper? I must be missing some huge piece of the puzzle. Without better alternatives, I'm thinking of walking away from this "opportunity". J -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-381-1852 _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 1/10/2007 6:59 p.m. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 1/10/2007 6:59 p.m. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20071002/1fd8f54c/attachment-0001.html From steve at bluecrocodile.co.nz Tue Oct 2 10:16:48 2007 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Tue Oct 2 10:18:06 2007 Subject: [FX.php List] Precision Printing alternatives In-Reply-To: <20071002153301.076B35B783B@www.iviking.org> Message-ID: <20071002161801.071465B79B4@www.iviking.org> The other thing which occurred to me while I was off on a run was, have you considered using FPDI, and creating a pdf template which has the actual form in it, ie the template that the teachers would have written on with a pen, and then using FPDF to overlay the FMP content onto that form...??...might be easier than creating the form on the fly as well (for one thing then you don?t have to worry about boxes lining up exactly ;-) Cheers Steve _____ From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Steve Winter Sent: Tuesday, 2 October 2007 4:28 p.m. To: 'FX.php Discussion List' Subject: RE: [FX.php List] Precision Printing alternatives Hi Jonathan, In my view FPDF really is your best bet, and based on the alternatives you?ve come up with, your only bet... This has been the answer to every web-based printing problem that I?ve come across because it doesn?t matter what OS or what printer the end user has, the outcome is still the same... I?ve used it for reports, letters, certificates, filling in forms (where the output from FMP has to go onto a government issued form) etc etc You are however correct that establishing the template can be time consuming, that said, once it?s done, it?s done and will work flawlessly on every system... Someone mentioned the other day that part of the issue with FPDF was that you have to specify everything based on XY co-ordinates, however I personally believe that is one of its strengths since it allows you to put content precisely where you want it... in a job that I?ve just been working on for a commercial printer we?re using it in combination with a Flash application to create print-ready files from data which is manipulated in flash, the content output to php and the pdf generated pixel perfect... In answer to your FPDF question, to get text to wrap in a field use Multicell see HYPERLINK "http://www.fpdf.org/en/doc/multicell.htm"http://www.fpdf.org/en/doc/multice ll.htm for details... Cheers Steve -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Jonathan Schwartz Sent: Tuesday, 2 October 2007 4:10 p.m. To: FX.php Discussion List Subject: [FX.php List] Precision Printing alternatives Hi Folks, (There's a question at the end of this long email recap) I'm still going in circles on my school progress report project. The problem goes back to printing report cards after teachers enter student data. There are 200+ teachers in 6 schools. The input side has been intended to be web based using fx.php. No problems there. The output side is the real challenge. I didn't originally think so, but I do now. Earlier on this list, I inquired about using FPDF and I received good reviews for that method. However, in attempting to set that up, I now see the expertise in FPDF required and time involved in getting the template set up. It could take 100 hours...or more....just for the template. If you'd like to see the test, it appears below. I have placed the same simplified sample "cell module" in 4 places on a page. Have not figured out how to wrap text inside a cell. That's what the 4th example was trying to do, and where I gave up... http://www.exit445.com/mvll/fpdf/tutorial/test5.php The SECOND alternative is to distribute a runtime FMP file that allows teachers to import data from the server and then use it to print the Progress Reports. (You can't use a runtime to connect to the server).. I guess I could use the Excell spreadsheet php class to do the export. This alternative is lousy in that it involves input in one place and output in another....with steps in between. I thought of a THIRD alternative. I believe that all the school's printers are networked and visible on the network across the district. Perhaps if I used a single FMP CLIENT connected to the Server at headquarters. and then script the printing of progress reports from the FMP client to the remote printers. There's a recipe for disaster. Of course, a FOURTH alternative is to purchase 200 copies of FileMaker. There's not budget for that. THE QUESTION: That being said...how do php and mysql systems print data to paper? I must be missing some huge piece of the puzzle. Without better alternatives, I'm thinking of walking away from this "opportunity". J -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-381-1852 _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 1/10/2007 6:59 p.m. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 1/10/2007 6:59 p.m. No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 1/10/2007 6:59 p.m. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 1/10/2007 6:59 p.m. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20071002/13cf5c1d/attachment.html From jschwartz at exit445.com Tue Oct 2 10:35:06 2007 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Tue Oct 2 10:38:19 2007 Subject: [FX.php List] Precision Printing alternatives In-Reply-To: <20071002161801.071465B79B4@www.iviking.org> References: <20071002161801.071465B79B4@www.iviking.org> Message-ID: Thanks Steve, I considered using FPDI, but don't see the advantage. The form consists of run of the mill tables with ruled lines. No images, shading or anything that FPDF can't do. I would still need to create 90% of the cells for outputting the content anyway. Might as well do it all all live....unless there are issues such as performance. Jonathan >The other thing which occurred to me while I was off on a run was, >have you considered using FPDI, and creating a pdf template which >has the actual form in it, ie the template that the teachers would >have written on with a pen, and then using FPDF to overlay the FMP >content onto that form...??...might be easier than creating the form >on the fly as well (for one thing then you don't have to worry about >boxes lining up exactly ;-) > >Cheers >Steve > > >From: fx.php_list-bounces@mail.iviking.org >[mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Steve >Winter >Sent: Tuesday, 2 October 2007 4:28 p.m. >To: 'FX.php Discussion List' >Subject: RE: [FX.php List] Precision Printing alternatives > >Hi Jonathan, > >In my view FPDF really is your best bet, and based on the >alternatives you've come up with, your only bet... > >This has been the answer to every web-based printing problem that >I've come across because it doesn't matter what OS or what printer >the end user has, the outcome is still the same... I've used it for >reports, letters, certificates, filling in forms (where the output >from FMP has to go onto a government issued form) etc etc > >You are however correct that establishing the template can be time >consuming, that said, once it's done, it's done and will work >flawlessly on every system... > >Someone mentioned the other day that part of the issue with FPDF was >that you have to specify everything based on XY co-ordinates, >however I personally believe that is one of its strengths since it >allows you to put content precisely where you want it... in a job >that I've just been working on for a commercial printer we're using >it in combination with a Flash application to create print-ready >files from data which is manipulated in flash, the content output to >php and the pdf generated pixel perfect... > >In answer to your FPDF question, to get text to wrap in a field use >Multicell see >http://www.fpdf.org/en/doc/multicell.htm >for details... > >Cheers >Steve > > >-----Original Message----- >From: fx.php_list-bounces@mail.iviking.org >[mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Jonathan >Schwartz >Sent: Tuesday, 2 October 2007 4:10 p.m. >To: FX.php Discussion List >Subject: [FX.php List] Precision Printing alternatives > >Hi Folks, > >(There's a question at the end of this long email recap) > >I'm still going in circles on my school progress report project. > >The problem goes back to printing report cards after teachers enter >student data. There are 200+ teachers in 6 schools. The input side >has been intended to be web based using fx.php. No problems there. >The output side is the real challenge. I didn't originally think so, >but I do now. > >Earlier on this list, I inquired about using FPDF and I received good >reviews for that method. However, in attempting to set that up, I >now see the expertise in FPDF required and time involved in getting >the template set up. It could take 100 hours...or more....just for >the template. > >If you'd like to see the test, it appears below. I have placed the >same simplified sample "cell module" in 4 places on a page. Have not >figured out how to wrap text inside a cell. That's what the 4th >example was trying to do, and where I gave up... > >http://www.exit445.com/mvll/fpdf/tutorial/test5.php > >The SECOND alternative is to distribute a runtime FMP file that >allows teachers to import data from the server and then use it to >print the Progress Reports. (You can't use a runtime to connect to >the server).. I guess I could use the Excell spreadsheet php class >to do the export. This alternative is lousy in that it involves >input in one place and output in another....with steps in between. > >I thought of a THIRD alternative. I believe that all the school's >printers are networked and visible on the network across the >district. Perhaps if I used a single FMP CLIENT connected to the >Server at headquarters. and then script the printing of progress >reports from the FMP client to the remote printers. There's a recipe >for disaster. > >Of course, a FOURTH alternative is to purchase 200 copies of >FileMaker. There's not budget for that. > >THE QUESTION: >That being said...how do php and mysql systems print data to paper? >I must be missing some huge piece of the puzzle. Without better >alternatives, I'm thinking of walking away from this "opportunity". > >J >-- >Jonathan Schwartz >Exit 445 Group >jonathan@exit445.com >http://www.exit445.com >415-381-1852 >_______________________________________________ >FX.php_List mailing list >FX.php_List@mail.iviking.org >http://www.iviking.org/mailman/listinfo/fx.php_list > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: >1/10/2007 6:59 p.m. > > >No virus found in this outgoing message. >Checked by AVG Free Edition. >Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: >1/10/2007 6:59 p.m. > > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: >1/10/2007 6:59 p.m. > > >No virus found in this outgoing message. >Checked by AVG Free Edition. >Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: >1/10/2007 6:59 p.m. > > >_______________________________________________ >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-381-1852 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20071002/bc918de2/attachment-0001.html From dbengston at preservationstudio.com Tue Oct 2 10:43:44 2007 From: dbengston at preservationstudio.com (Dale Bengston) Date: Tue Oct 2 10:43:57 2007 Subject: [FX.php List] Precision Printing alternatives In-Reply-To: <20071002161801.071465B79B4@www.iviking.org> References: <20071002161801.071465B79B4@www.iviking.org> Message-ID: <3B439781-BE5F-4D52-A2C2-C9C31945040A@preservationstudio.com> Jonathan, One thing that helps me when I'm using FPDF/FPDI to fine tune content to fit specific places on a template is to put a nice red border on my cells and text blocks, so I can see their complete "footprint" on the page, regardless of the content I'm drawing within them. (If you're already drawing cell borders with FPDF, you may not need to do this everywhere.) Then take the borders off when you're ready to go live. Other things that trip me up: * Losing track of the x/y location of the "cursor" while I'm creating the page. * Mixing inches and points and having content land in the wrong spot, or completely off the page. If you are building a PDF with a tight layout, you may generate literally hundreds of sample PDFs while you fine tune the piece. Dale On Oct 2, 2007, at 11:16 AM, Steve Winter wrote: > The other thing which occurred to me while I was off on a run was, > have you considered using FPDI, and creating a pdf template which > has the actual form in it, ie the template that the teachers would > have written on with a pen, and then using FPDF to overlay the FMP > content onto that form...??...might be easier than creating the > form on the fly as well (for one thing then you don?t have to worry > about boxes lining up exactly ;-) > > > > Cheers > > Steve > > > > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list- > bounces@mail.iviking.org] On Behalf Of Steve Winter > Sent: Tuesday, 2 October 2007 4:28 p.m. > To: 'FX.php Discussion List' > Subject: RE: [FX.php List] Precision Printing alternatives > > > > Hi Jonathan, > > > > In my view FPDF really is your best bet, and based on the > alternatives you?ve come up with, your only bet... > > > > This has been the answer to every web-based printing problem that > I?ve come across because it doesn?t matter what OS or what printer > the end user has, the outcome is still the same... I?ve used it for > reports, letters, certificates, filling in forms (where the output > from FMP has to go onto a government issued form) etc etc > > > > You are however correct that establishing the template can be time > consuming, that said, once it?s done, it?s done and will work > flawlessly on every system... > > > > Someone mentioned the other day that part of the issue with FPDF > was that you have to specify everything based on XY co-ordinates, > however I personally believe that is one of its strengths since it > allows you to put content precisely where you want it... in a job > that I?ve just been working on for a commercial printer we?re using > it in combination with a Flash application to create print-ready > files from data which is manipulated in flash, the content output > to php and the pdf generated pixel perfect... > > > > In answer to your FPDF question, to get text to wrap in a field use > Multicell see http://www.fpdf.org/en/doc/multicell.htm for details... > > > > Cheers > > Steve > > > > > > -----Original Message----- > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list- > bounces@mail.iviking.org] On Behalf Of Jonathan Schwartz > Sent: Tuesday, 2 October 2007 4:10 p.m. > To: FX.php Discussion List > Subject: [FX.php List] Precision Printing alternatives > > > > Hi Folks, > > > > (There's a question at the end of this long email recap) > > > > I'm still going in circles on my school progress report project. > > > > The problem goes back to printing report cards after teachers enter > > student data. There are 200+ teachers in 6 schools. The input side > > has been intended to be web based using fx.php. No problems there. > > The output side is the real challenge. I didn't originally think so, > > but I do now. > > > > Earlier on this list, I inquired about using FPDF and I received good > > reviews for that method. However, in attempting to set that up, I > > now see the expertise in FPDF required and time involved in getting > > the template set up. It could take 100 hours...or more....just for > > the template. > > > > If you'd like to see the test, it appears below. I have placed the > > same simplified sample "cell module" in 4 places on a page. Have not > > figured out how to wrap text inside a cell. That's what the 4th > > example was trying to do, and where I gave up... > > > > http://www.exit445.com/mvll/fpdf/tutorial/test5.php > > > > The SECOND alternative is to distribute a runtime FMP file that > > allows teachers to import data from the server and then use it to > > print the Progress Reports. (You can't use a runtime to connect to > > the server).. I guess I could use the Excell spreadsheet php class > > to do the export. This alternative is lousy in that it involves > > input in one place and output in another....with steps in between. > > > > I thought of a THIRD alternative. I believe that all the school's > > printers are networked and visible on the network across the > > district. Perhaps if I used a single FMP CLIENT connected to the > > Server at headquarters. and then script the printing of progress > > reports from the FMP client to the remote printers. There's a recipe > > for disaster. > > > > Of course, a FOURTH alternative is to purchase 200 copies of > > FileMaker. There's not budget for that. > > > > THE QUESTION: > > That being said...how do php and mysql systems print data to paper? > > I must be missing some huge piece of the puzzle. Without better > > alternatives, I'm thinking of walking away from this "opportunity". > > > > J > > -- > > Jonathan Schwartz > > Exit 445 Group > > jonathan@exit445.com > > http://www.exit445.com > > 415-381-1852 > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: > 1/10/2007 6:59 p.m. > > > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: > 1/10/2007 6:59 p.m. > > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: > 1/10/2007 6:59 p.m. > > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: > 1/10/2007 6:59 p.m. > > _______________________________________________ > 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://www.iviking.org/pipermail/fx.php_list/attachments/20071002/056ab38f/attachment-0001.html From jschwartz at exit445.com Tue Oct 2 10:55:25 2007 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Tue Oct 2 10:58:10 2007 Subject: [FX.php List] Precision Printing alternatives In-Reply-To: <3B439781-BE5F-4D52-A2C2-C9C31945040A@preservationstudio.com> References: <20071002161801.071465B79B4@www.iviking.org> <3B439781-BE5F-4D52-A2C2-C9C31945040A@preservationstudio.com> Message-ID: Thanks Dale, This was a hard lesson learned while I started to learn FPDF the past day or two: You need to follow/direct the cursor each step of the way. Once I learned that, I stopped tearing my hair out....until I got to word wrap at the end of cell. ;-) I am sort of where I first was with fx.php: I can recreate a single function from the tutorial, but combining the functions to get what you want is the real trick. J At 11:43 AM -0500 10/2/07, Dale Bengston wrote: >Jonathan, > >One thing that helps me when I'm using FPDF/FPDI to fine tune >content to fit specific places on a template is to put a nice red >border on my cells and text blocks, so I can see their complete >"footprint" on the page, regardless of the content I'm drawing >within them. (If you're already drawing cell borders with FPDF, you >may not need to do this everywhere.) Then take the borders off when >you're ready to go live. > >Other things that trip me up: >* Losing track of the x/y location of the "cursor" while I'm >creating the page. >* Mixing inches and points and having content land in the wrong >spot, or completely off the page. > >If you are building a PDF with a tight layout, you may generate >literally hundreds of sample PDFs while you fine tune the piece. > >Dale > > >On Oct 2, 2007, at 11:16 AM, Steve Winter wrote: > >>The other thing which occurred to me while I was off on a run was, >>have you considered using FPDI, and creating a pdf template which >>has the actual form in it, ie the template that the teachers would >>have written on with a pen, and then using FPDF to overlay the FMP >>content onto that form...??...might be easier than creating the >>form on the fly as well (for one thing then you don't have to worry >>about boxes lining up exactly ;-) >> >>Cheers >> >>Steve >> >> >>From: fx.php_list-bounces@mail.iviking.org >>[mailto:fx.php_list-bounces@mail.iviking.org] >>On Behalf Of Steve Winter >>Sent: Tuesday, 2 October 2007 4:28 p.m. >>To: 'FX.php Discussion List' >>Subject: RE: [FX.php List] Precision Printing alternatives >> >>Hi Jonathan, >> >>In my view FPDF really is your best bet, and based on the >>alternatives you've come up with, your only bet... >> >>This has been the answer to every web-based printing problem that >>I've come across because it doesn't matter what OS or what printer >>the end user has, the outcome is still the same... I've used it for >>reports, letters, certificates, filling in forms (where the output >>from FMP has to go onto a government issued form) etc etc >> >>You are however correct that establishing the template can be time >>consuming, that said, once it's done, it's done and will work >>flawlessly on every system... >> >>Someone mentioned the other day that part of the issue with FPDF >>was that you have to specify everything based on XY co-ordinates, >>however I personally believe that is one of its strengths since it >>allows you to put content precisely where you want it... in a job >>that I've just been working on for a commercial printer we're using >>it in combination with a Flash application to create print-ready >>files from data which is manipulated in flash, the content output >>to php and the pdf generated pixel perfect... >> >>In answer to your FPDF question, to get text to wrap in a field use >>Multicell see >>http://www.fpdf.org/en/doc/multicell.htm >>for details... >> >>Cheers >> >>Steve >> >>-----Original Message----- >>From: fx.php_list-bounces@mail.iviking.org >>[mailto:fx.php_list-bounces@mail.iviking.org] >>On Behalf Of Jonathan Schwartz >>Sent: Tuesday, 2 October 2007 4:10 p.m. >>To: FX.php Discussion List >>Subject: [FX.php List] Precision Printing alternatives >> >>Hi Folks, >> >>(There's a question at the end of this long email recap) >> >>I'm still going in circles on my school progress report project. >> >>The problem goes back to printing report cards after teachers enter >> >>student data. There are 200+ teachers in 6 schools. The input side >> >>has been intended to be web based using fx.php. No problems there. >> >>The output side is the real challenge. I didn't originally think so, >> >>but I do now. >> >>Earlier on this list, I inquired about using FPDF and I received good >> >>reviews for that method. However, in attempting to set that up, I >> >>now see the expertise in FPDF required and time involved in getting >> >>the template set up. It could take 100 hours...or more....just for >> >>the template. >> >>If you'd like to see the test, it appears below. I have placed the >> >>same simplified sample "cell module" in 4 places on a page. Have not >> >>figured out how to wrap text inside a cell. That's what the 4th >> >>example was trying to do, and where I gave up... >> >>http://www.exit445.com/mvll/fpdf/tutorial/test5.php >> >>The SECOND alternative is to distribute a runtime FMP file that >> >>allows teachers to import data from the server and then use it to >> >>print the Progress Reports. (You can't use a runtime to connect to >> >>the server).. I guess I could use the Excell spreadsheet php class >> >>to do the export. This alternative is lousy in that it involves >> >>input in one place and output in another....with steps in between. >> >>I thought of a THIRD alternative. I believe that all the school's >> >>printers are networked and visible on the network across the >> >>district. Perhaps if I used a single FMP CLIENT connected to the >> >>Server at headquarters. and then script the printing of progress >> >>reports from the FMP client to the remote printers. There's a recipe >> >>for disaster. >> >>Of course, a FOURTH alternative is to purchase 200 copies of >> >>FileMaker. There's not budget for that. >> >>THE QUESTION: >> >>That being said...how do php and mysql systems print data to paper? >> >>I must be missing some huge piece of the puzzle. Without better >> >>alternatives, I'm thinking of walking away from this "opportunity". >> >>J >> >>-- >> >>Jonathan Schwartz >> >>Exit 445 Group >> >>jonathan@exit445.com >> >>http://www.exit445.com >> >>415-381-1852 >> >>_______________________________________________ >> >>FX.php_List mailing list >> >>FX.php_List@mail.iviking.org >> >>http://www.iviking.org/mailman/listinfo/fx.php_list >> >>No virus found in this incoming message. >> >>Checked by AVG Free Edition. >> >>Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: >>1/10/2007 6:59 p.m. >> >> >>No virus found in this outgoing message. >>Checked by AVG Free Edition. >>Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: >>1/10/2007 6:59 p.m. >> >> >>No virus found in this incoming message. >>Checked by AVG Free Edition. >>Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: >>1/10/2007 6:59 p.m. >> >> >> >>No virus found in this outgoing message. >>Checked by AVG Free Edition. >>Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: >>1/10/2007 6:59 p.m. >> >>_______________________________________________ >>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 -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-381-1852 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20071002/9c326264/attachment.html From csinfo at comcast.net Tue Oct 2 11:16:17 2007 From: csinfo at comcast.net (John Funk) Date: Tue Oct 2 11:16:34 2007 Subject: [FX.php List] Re: Convert .fp5 / FX to .fp7 / FX problems Message-ID: Thanks for your responses. I dug a little deeper and found the $DBUser and $DBPassword vars were not set in the FX.php file. I was assuming the Server_data.php include was being used so that is where I put the ID & Pass but they were not showing in the filemaker URL so I figured there was someplace else to set them. Having them set in the FX.php file is OK for now. John Funk (was criticalsolution.comcast.net) From fx at 9degrees.com Tue Oct 2 12:18:29 2007 From: fx at 9degrees.com (Michael Layne) Date: Tue Oct 2 12:18:35 2007 Subject: [FX.php List] [Poll] Which ajax implementation do you use? In-Reply-To: References: <20071002081802.34A555B6E28@www.iviking.org> Message-ID: jQuery has met every challenge I've had so far. Effects, Ajax to MySQL/FMP, etc. Good luck. On Oct 2, 2007, at 11:07 AM, Dale Bengston wrote: > We are using scriptaculous/prototype, since we were already using > it for display/effects like drag and drop. > > On Oct 2, 2007, at 9:01 AM, Michael Ward wrote: > >> G'day, >> >> On 02/10/2007, at 9:49 PM, Gjermund Gusland Thorsen wrote: >> >>> I use LAJAX( http://www.fm-synergy.com/page1/page1.php ) >>> >>> I have not really looked at any of the other implementations... >>> >>> Are there anyone who compared them before you started? >> >> I looked at prototype with scriptaculous, dojo toolkit, Yahoo UI >> (for about 10 seconds) and Google Web Toolkit (for another 10 >> seconds) >> >> Prototype/scriptaculous and dojo looked promising, but I settled >> on jQuery because of its lightweight, extensibility and active >> development team. The "plugins" are the most useful as you only >> need to load those that are needed. Both Yahoo and Google seemed >> to need everything loaded and were too much of a learning curve. >> >> jQuery also doesn't rely on knowing a whole lot of javascript... I >> have to know too many other scripting languages to want to learn >> yet another one! >> >> Regards >> >> Michael Ward >> -- >> Head Honcho >> CustoMike Solutions >> Member, FileMaker Business Alliance >> Member, FileMaker Technical Network >> FileMaker 7 Certified Developer >> FileMaker 8 Certified Developer >> 10 Wandoo Crt >> Wheelers Hill, 3150 >> ph 0414 562 501 >> headhoncho@customikesolutions.com >> >> >> _______________________________________________ >> 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 Michael Layne | 9 degrees development | www.9degrees.com | 404.226.7835 [m] | Skype: LayneBay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20071002/ce48a641/attachment-0001.html From tcmeyers at troymeyers.com Wed Oct 3 10:05:04 2007 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Wed Oct 3 10:05:10 2007 Subject: [FX.php List] Creating thumbnail for TIFF uploads on the fly Message-ID: <4818491.382771191427504366.JavaMail.postmaster@troymeyers.com> Michael and Dale, Thank for this suggestion. I've downloaded the MacOS version, and am studying it. My installation will be on a Mac Mini (Intel), same machine as FMS and Apache, PHP, etc. (of course). The ImageMagick site lists two PHP interfaces... MagickWand for PHP IMagick Is there a special reason you recommended MagickWand for PHP? Thanks again. -Troy > I'd do this using ImageMagick with > MagickWand for PHP. > > This gives possibility of manipulating many image types on the fly as > they are uploaded. > > Regards > > Michael Ward From whatdoyouwant at gmail.com Wed Oct 3 10:57:09 2007 From: whatdoyouwant at gmail.com (Nick) Date: Wed Oct 3 11:03:43 2007 Subject: [FX.php List] Date math driving me crazy In-Reply-To: References: Message-ID: <4d370f710710030957t77dad0ecy20896492b0fe4c7d@mail.gmail.com> because on November 4th the time changes. try printing out the time in your tests with date('m/d/Y h:i:s A', ... On 9/30/07, Bob Patin wrote: > > OK, I'm trying to figure out what's wrong with this: > > > $d1 = "10/28/2007"; > > $d2 = date("m/d/Y", strtotime ($d1) + 86400); > $d3 = date("m/d/Y", strtotime ($d1) + (2*86400)); > $d4 = date("m/d/Y", strtotime ($d1) + (3*86400)); > $d5 = date("m/d/Y", strtotime ($d1) + (4*86400)); > $d6 = date("m/d/Y", strtotime ($d1) + (5*86400)); > $d7 = date("m/d/Y", strtotime ($d1) + (6*86400)); > $d8 = date("m/d/Y", strtotime ($d1) + (7*86400)); > $d9 = date("m/d/Y", strtotime ($d1) + (8*86400)); > $d10 = date("m/d/Y", strtotime ($d1) + (9*86400)); > $d11 = date("m/d/Y", strtotime ($d1) + (10*86400)); > $d12 = date("m/d/Y", strtotime ($d1) + (11*86400)); > $d13 = date("m/d/Y", strtotime ($d1) + (12*86400)); > > > echo $d8."---".$d9; > ?> > > This works fine with every month except when I'm working on November, > for some strange reason, and I can't figure out why. > > Look at $d8 and $d9; run that code and the dates will be the same; > why??? > > Now, take $d1 and change it to 10/25/2007, or 10/26 or 10/27; it > works fine; why is this happening? > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > Member of FileMaker Business Alliance and FileMaker TechNet > > CONTACT US VIA INSTANT MESSAGING: > AIM or iChat: longterm1954 > Yahoo: longterm_solutions > MSN: tech@longtermsolutions.com > ICQ: 159333060 > > -------------------------- > Contact us for FileMaker hosting for all versions of FileMaker > PHP ? CDML ? Full email services ? Free DNS hosting ? Colocation ? > Consulting > > > _______________________________________________ > 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://www.iviking.org/pipermail/fx.php_list/attachments/20071003/5e6691a0/attachment.html From derrick at fogles.net Wed Oct 3 11:13:49 2007 From: derrick at fogles.net (Derrick Fogle) Date: Wed Oct 3 11:14:25 2007 Subject: [FX.php List] Date math driving me crazy In-Reply-To: <4d370f710710030957t77dad0ecy20896492b0fe4c7d@mail.gmail.com> References: <4d370f710710030957t77dad0ecy20896492b0fe4c7d@mail.gmail.com> Message-ID: <9E2C69F7-B776-4B80-AE6A-E5891769F540@fogles.net> Doing a strtotime on a date only results in a "midnight" time for that date - within the "first hour of the next day" that ends up being rolled back to the previous day on the DST time change day. Adding a time of day to your date (i.e. strtotime($d[$x].' 11:59:59') will result in a unixtime that won't be affected by DST thresholds. On Oct 3, 2007, at 11:57 AM, Nick wrote: > because on November 4th the time changes. > try printing out the time in your tests with date('m/d/Y h:i:s A', ... Derrick Fogle derrick@fogles.net From dbengston at preservationstudio.com Wed Oct 3 12:16:50 2007 From: dbengston at preservationstudio.com (Dale Bengston) Date: Wed Oct 3 12:16:57 2007 Subject: [FX.php List] Creating thumbnail for TIFF uploads on the fly In-Reply-To: <4818491.382771191427504366.JavaMail.postmaster@troymeyers.com> References: <4818491.382771191427504366.JavaMail.postmaster@troymeyers.com> Message-ID: Hey Troy, I'm not actually using MagickWand or IMagick. I'm just making shell_exec() calls to the functions included with ImageMagick. Dale On Oct 3, 2007, at 11:05 AM, Troy Meyers wrote: > Michael and Dale, > > Thank for this suggestion. I've downloaded the MacOS version, and > am studying it. > > My installation will be on a Mac Mini (Intel), same machine as FMS > and Apache, PHP, etc. (of course). > > The ImageMagick site lists two PHP interfaces... > MagickWand for PHP > IMagick > > Is there a special reason you recommended MagickWand for PHP? > > Thanks again. > > -Troy > > >> I'd do this using ImageMagick with >> MagickWand for PHP. >> >> This gives possibility of manipulating many image types on the fly as >> they are uploaded. >> >> Regards >> >> Michael Ward > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From ggt667 at gmail.com Wed Oct 3 13:14:11 2007 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Wed Oct 3 13:14:17 2007 Subject: [FX.php List] Creating thumbnail for TIFF uploads on the fly In-Reply-To: References: <4818491.382771191427504366.JavaMail.postmaster@troymeyers.com> Message-ID: It's impotant not to use environment variables inside: shell_exec() ggt667 On 10/3/07, Dale Bengston wrote: > Hey Troy, > > I'm not actually using MagickWand or IMagick. I'm just making > shell_exec() calls to the functions included with ImageMagick. > > Dale > > On Oct 3, 2007, at 11:05 AM, Troy Meyers wrote: > > > Michael and Dale, > > > > Thank for this suggestion. I've downloaded the MacOS version, and > > am studying it. > > > > My installation will be on a Mac Mini (Intel), same machine as FMS > > and Apache, PHP, etc. (of course). > > > > The ImageMagick site lists two PHP interfaces... > > MagickWand for PHP > > IMagick > > > > Is there a special reason you recommended MagickWand for PHP? > > > > Thanks again. > > > > -Troy > > > > > >> I'd do this using ImageMagick with > >> MagickWand for PHP. > >> > >> This gives possibility of manipulating many image types on the fly as > >> they are uploaded. > >> > >> Regards > >> > >> Michael Ward > > > > _______________________________________________ > > 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 dbengston at preservationstudio.com Wed Oct 3 13:20:45 2007 From: dbengston at preservationstudio.com (Dale Bengston) Date: Wed Oct 3 13:20:53 2007 Subject: [FX.php List] Creating thumbnail for TIFF uploads on the fly In-Reply-To: References: <4818491.382771191427504366.JavaMail.postmaster@troymeyers.com> Message-ID: <3DB4E0D9-0E3C-4704-BA2D-F131439A1675@preservationstudio.com> No worries here. Dale On Oct 3, 2007, at 2:14 PM, Gjermund Gusland Thorsen wrote: > It's impotant not to use environment variables inside: shell_exec() > > ggt667 > > On 10/3/07, Dale Bengston wrote: >> Hey Troy, >> >> I'm not actually using MagickWand or IMagick. I'm just making >> shell_exec() calls to the functions included with ImageMagick. >> >> Dale >> >> On Oct 3, 2007, at 11:05 AM, Troy Meyers wrote: >> >>> Michael and Dale, >>> >>> Thank for this suggestion. I've downloaded the MacOS version, and >>> am studying it. >>> >>> My installation will be on a Mac Mini (Intel), same machine as FMS >>> and Apache, PHP, etc. (of course). >>> >>> The ImageMagick site lists two PHP interfaces... >>> MagickWand for PHP >>> IMagick >>> >>> Is there a special reason you recommended MagickWand for PHP? >>> >>> Thanks again. >>> >>> -Troy >>> >>> >>>> I'd do this using ImageMagick with >>>> MagickWand for PHP. >>>> >>>> This gives possibility of manipulating many image types on the >>>> fly as >>>> they are uploaded. >>>> >>>> Regards >>>> >>>> Michael Ward >>> >>> _______________________________________________ >>> 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 headhoncho at customikesolutions.com Wed Oct 3 18:02:54 2007 From: headhoncho at customikesolutions.com (Michael Ward) Date: Wed Oct 3 18:03:21 2007 Subject: [FX.php List] Creating thumbnail for TIFF uploads on the fly In-Reply-To: <4818491.382771191427504366.JavaMail.postmaster@troymeyers.com> References: <4818491.382771191427504366.JavaMail.postmaster@troymeyers.com> Message-ID: <7B7E355A-B107-4AC3-8EC6-09DFE7062CAE@customikesolutions.com> Hi Troy, On 04/10/2007, at 2:05 AM, Troy Meyers wrote: > Michael and Dale, > > Thank for this suggestion. I've downloaded the MacOS version, and > am studying it. > > My installation will be on a Mac Mini (Intel), same machine as FMS > and Apache, PHP, etc. (of course). > > The ImageMagick site lists two PHP interfaces... > MagickWand for PHP > IMagick > > Is there a special reason you recommended MagickWand for PHP? 'cos I didn't know about IMagick! I'd use whichever is easier to use, and gets you up and running quickest. Regards Michael Ward -- Head Honcho CustoMike Solutions Member, FileMaker Business Alliance Member, FileMaker Technical Network FileMaker 7 Certified Developer FileMaker 8 Certified Developer 10 Wandoo Crt Wheelers Hill, 3150 ph 0414 562 501 headhoncho@customikesolutions.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2449 bytes Desc: not available Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20071004/98605683/smime-0001.bin From ggt667 at gmail.com Thu Oct 4 04:38:11 2007 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Oct 4 04:38:16 2007 Subject: [FX.php List] XML RPC question Message-ID: Anyone here had a problem where query through FX.php returns error 958 while it runs fine through curl? From ggt667 at gmail.com Thu Oct 4 06:25:44 2007 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Oct 4 06:25:49 2007 Subject: [FX.php List] Re: XML RPC question In-Reply-To: References: Message-ID: Error only occurs in OmniWeb, IE and Safari 3.0 beta The error does not occur in Safari 2.x or FireFox. ggt667 On 10/4/07, Gjermund Gusland Thorsen wrote: > Anyone here had a problem where query through FX.php returns error 958 > while it runs fine through curl? > From ggt667 at gmail.com Thu Oct 4 06:48:13 2007 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Oct 4 06:48:18 2007 Subject: [FX.php List] Re: XML RPC question In-Reply-To: References: Message-ID: Hmm it's the good old non low ASCII char crap again, but it's inconsistent I can have the characters ??? in one field, but not in another. It gives me error to have any UTF-8 chars in the field "contact", but not in the field "name"... ggt667 On 10/4/07, Gjermund Gusland Thorsen wrote: > Error only occurs in OmniWeb, IE and Safari 3.0 beta > > The error does not occur in Safari 2.x or FireFox. > > ggt667 > > On 10/4/07, Gjermund Gusland Thorsen wrote: > > Anyone here had a problem where query through FX.php returns error 958 > > while it runs fine through curl? > > > From chris at iViking.org Thu Oct 4 09:16:43 2007 From: chris at iViking.org (Chris Hansen) Date: Thu Oct 4 09:19:23 2007 Subject: [FX.php List] XML RPC question In-Reply-To: References: Message-ID: <69F619DC-86F9-4EF7-B159-A63813735BC7@iViking.org> Does the error also occur if you hit the FM XML directly within the problem browsers? On Oct 4, 2007, at 4:38 AM, Gjermund Gusland Thorsen wrote: > Anyone here had a problem where query through FX.php returns error 958 > while it runs fine through curl? > _______________________________________________ > 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 Thu Oct 4 13:42:27 2007 From: jsfmp at earthlink.net (Joel Shapiro) Date: Thu Oct 4 13:42:34 2007 Subject: [FX.php List] [Poll] Which ajax implementation do you use? In-Reply-To: References: <20071002081802.34A555B6E28@www.iviking.org> Message-ID: <423E01E8-8F94-418A-8465-8DF33A58E451@earthlink.net> Hey Gjermund I started using LAJAX because it was so ready-to-use without having to know much about JavaScript or AJAX. I've recently been getting into jQuery, and just discovered how to do something that's really pushing me to use jQuery more: In LAJAX, you need to specify the

that the callback will go to. In my current project, I have many divs (cells in a table) that can each get refreshed through an AJAX call to the DB.* With LAJAX I needed to either reference by ID the specific DIV in each link, or create multiple LAJAX functions -- one for each div, (which I might have had to do due to the limitations of a jQuery plugin I was using). Anyway, jQuery has a command called "this", which acts on the DOM** element that triggers the action -- so you don't need to specify WHERE to do an action... jQuery knows exactly where via its use of "this". On top of that, there are various methods to 'traverse' the DOM, such as "parents" which goes up the hierarchical ladder of the DOM starting at the "this" element and stopping at whatever element you specify. For instance: I've got something like: With the jQuery line: $(this).parents(".cell").load("ajaxpage.php"); I can have jQuery load ajaxpage.php into the outside
that is surrounding THAT PARTICULAR LINK () that triggered the call. I don't need to specify that cell by any ID. *My setup is diffferent than the LAJAX sample, which loads results into a DIFFERENT div. Mine reload into their same divs. **DOM in layperson's terms are the base html elements: , ,

,

, , ,