From ggt667 at gmail.com Sun Mar 1 05:59:51 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Sun Mar 1 05:59:55 2009 Subject: [FX.php List] [OFF] this should save me hours... In-Reply-To: <4516791F-F523-44E6-9AB5-79A90B72FF5D@customikesolutions.com> References: <67404D98-54F7-410B-95B2-81C139C2E367@patin.com> <4516791F-F523-44E6-9AB5-79A90B72FF5D@customikesolutions.com> Message-ID: Safari has made me work alot of hours for no reason at all :-( For me FireFox is the nicest and closest to w3.org IE is a different story ggt 2009/3/1 Head Honcho : > Hi Bob, > > On 01/03/2009, at 11:50 AM, Bob Patin wrote: > >> Safari 4 changes everything though... not only does the speed blow by >> Firefox (here's a reference link: http://blog.longtermsolutions.com/?p=263), >> but it's got some built-in debugging now. I haven't looked at it yet, but >> I've heard it's really well thought-out. > > Yes, but... it's beta. ?I'm chomping at the bit to have a good look at it, > but, if I'm realistic, how many users (in the non development world) are > going to jump into it? > > Just because it's better, doesn't mean it's better :-) > > Regards > > Michael Ward > -- > Head Honcho > CustoMike Solutions > Member, FileMaker Business Alliance > Member, FileMaker Technical Network > FileMaker 7 Certified Developer > FileMaker 8 Certified Developer > FileMaker 9 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 ggt667 at gmail.com Sun Mar 1 06:00:12 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Sun Mar 1 06:00:15 2009 Subject: [FX.php List] [OFF] this should save me hours... In-Reply-To: References: <67404D98-54F7-410B-95B2-81C139C2E367@patin.com> <4516791F-F523-44E6-9AB5-79A90B72FF5D@customikesolutions.com> Message-ID: OmniWeb however fascinates me. 2009/3/1 Gjermund Gusland Thorsen : > Safari has made me work alot of hours for no reason at all :-( > > For me FireFox is the nicest and closest to w3.org > > IE is a different story > > ggt > > 2009/3/1 Head Honcho : >> Hi Bob, >> >> On 01/03/2009, at 11:50 AM, Bob Patin wrote: >> >>> Safari 4 changes everything though... not only does the speed blow by >>> Firefox (here's a reference link: http://blog.longtermsolutions.com/?p=263), >>> but it's got some built-in debugging now. I haven't looked at it yet, but >>> I've heard it's really well thought-out. >> >> Yes, but... it's beta. ?I'm chomping at the bit to have a good look at it, >> but, if I'm realistic, how many users (in the non development world) are >> going to jump into it? >> >> Just because it's better, doesn't mean it's better :-) >> >> Regards >> >> Michael Ward >> -- >> Head Honcho >> CustoMike Solutions >> Member, FileMaker Business Alliance >> Member, FileMaker Technical Network >> FileMaker 7 Certified Developer >> FileMaker 8 Certified Developer >> FileMaker 9 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 Blair.Duncan at bbdo.ca Sun Mar 1 07:52:45 2009 From: Blair.Duncan at bbdo.ca (Blair Duncan) Date: Sun Mar 1 07:52:55 2009 Subject: [FX.php List] FX Version In-Reply-To: <743C60D5.BE50.4294.A69D.FB4EE6BF2C99@102.934903> Message-ID: Thanks Troy, That is exactly what is needed! Its an important item that seems to be missing from all of the documentation. On 28/02/09 10:33 AM, "Troy Meyers" wrote: > Blair, > > I'm not sure where I found this, but I've been passing parameters to scripts > using this method, here are examples: > > // Pre-sort > $ppw_add->PerformFMScriptPresort('WhatNewKeepSpS'); > $ppw_add->AddDBParam('-script.presort.param',$userid); > > // Pre-command > $ppw_add->PerformFMScriptPrefind('WhatNewKeepSpF'); > $ppw_add->AddDBParam('-script.prefind.param',$userid); > > // Post-command > $ppw_add->PerformFMScript('IPN post-command'); > $ppw_add->AddDBParam('-script.param', $_POST['txn_id']); > > > -Troy > > >> This leads to my 2nd item. The ability to pass parameters to a script, >> thus making the script above dynamic and reusable for other searches. > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > Please consider the environment before printing this e-mail. This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by e-mail to helpdesk@bbdo.com. We appreciate your cooperation. From Blair.Duncan at bbdo.ca Sun Mar 1 09:35:24 2009 From: Blair.Duncan at bbdo.ca (Blair Duncan) Date: Sun Mar 1 09:54:10 2009 Subject: [FX.php List] [OFF] this should save me hours... In-Reply-To: Message-ID: Definitely not intended to start a browser debate. My intention was to point out an observation that I had made that I wish someone had pointed out to me long ago. That was it, I was not soliciting feedback nor trying to encourage anyone to switch browsers. Suggesting that I switch to something else...can only start the dog chasing his tail. On 28/02/09 3:12 PM, "Leo R. Lundgren" wrote: Not to start a debate on which one is the best, but IMO Firefox+Firebug is what you should use for web development (as the base, of course using whatever tools are available for each other platform in order to make your web pages cross-browser compatible in the end). 28 feb 2009 kl. 16.15 skrev Blair Duncan: Occasionally I come across something that makes me say to myself "Damm I wish I knew that months ago". I always recommend Safari to everyone on both windows and macs. Beyond the GUI stuff, JPEGs/PNGs/GIFs always look chuncky and rezzed down in Firefox and even worse in IE. Yet they are smooth in Safari. From a creative point of view everything just looks SO much nicer. Anyways, this week version 4 was released in beta and I was poking around with the Developer Menu options. Apparently these tools have been there all along in past versions, I just never used them (what a mistake that has been). The light bulb has now gone on, I can't even begin to fathom the hours I'll be saving now that I have the "Show Web Inspector" option. Like any debugger, it displays the page in 2 panes, one as nicely cascaded code the other as output. You click on any code and its contents are hi-lite on the web page, in the debugger all class variables and their contents are shown as you move over the code. Debugging CSS, Javascript and HTML tags is going to be soo much easier... Please consider the environment before printing this e-mail. This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by e-mail to helpdesk@bbdo.com. We appreciate your cooperation. _______________________________________________ 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 Please consider the environment before printing this e-mail. This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by e-mail to helpdesk@bbdo.com. We appreciate your cooperation. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090301/835b7777/attachment.html From leo at finalresort.org Sun Mar 1 10:00:01 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Sun Mar 1 10:00:11 2009 Subject: [FX.php List] [OFF] this should save me hours... In-Reply-To: References: Message-ID: <3D43EF4A-2BC3-45A5-A4FC-2848DCF5B1F8@finalresort.org> 1 mar 2009 kl. 17.35 skrev Blair Duncan: > Suggesting that I switch to something else...can only start the dog > chasing his tail. I bet. But try it! ;D > On 28/02/09 3:12 PM, "Leo R. Lundgren" wrote: > >> Not to start a debate on which one is the best, but IMO Firefox >> +Firebug is what you should use for web development (as the base, >> of course using whatever tools are available for each other >> platform in order to make your web pages cross-browser compatible >> in the end). >> >> >> 28 feb 2009 kl. 16.15 skrev Blair Duncan: >> >>> Occasionally I come across something that makes me say to myself >>> ?Damm I wish I knew that months ago?. >>> >>> I always recommend Safari to everyone on both windows and macs. >>> Beyond the GUI stuff, JPEGs/PNGs/GIFs always look chuncky and >>> rezzed down in Firefox and even worse in IE. >>> Yet they are smooth in Safari. From a creative point of view >>> everything just looks SO much nicer. >>> >>> Anyways, this week version 4 was released in beta and I was >>> poking around with the Developer Menu options. Apparently these >>> tools have been there all along in past versions, I just never >>> used them (what a mistake that has been). >>> >>> The light bulb has now gone on, I can?t even begin to fathom the >>> hours I?ll be saving now that I have the ?Show Web Inspector? >>> option. >>> Like any debugger, it displays the page in 2 panes, one as >>> nicely cascaded code the other as output. >>> You click on any code and its contents are hi-lite on the web >>> page, in the debugger all class variables and their contents are >>> shown as you move over the code. >>> Debugging CSS, Javascript and HTML tags is going to be soo much >>> easier... >>> >>> >>> Please consider the environment before printing this e-mail. >>> >>> This message and any attachments contain information, which may >>> be confidential or privileged. If you are not the intended >>> recipient, please refrain from any disclosure, copying, >>> distribution or use of this information. Please be aware that >>> such actions are prohibited. If you have received this >>> transmission in error, kindly notify us by e-mail to >>> helpdesk@bbdo.com. We appreciate your cooperation. >>> >>> _______________________________________________ >>> 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 > > Please consider the environment before printing this e-mail. > > This message and any attachments contain information, which may be > confidential or privileged. If you are not the intended recipient, > please refrain from any disclosure, copying, distribution or use of > this information. Please be aware that such actions are prohibited. > If you have received this transmission in error, kindly notify us > by e-mail to helpdesk@bbdo.com. We appreciate your cooperation. > _______________________________________________ > 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/20090301/80e79b3a/attachment-0001.html From ggt667 at gmail.com Sun Mar 1 10:34:39 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Sun Mar 1 10:34:43 2009 Subject: [FX.php List] [OFF] this should save me hours... In-Reply-To: <3D43EF4A-2BC3-45A5-A4FC-2848DCF5B1F8@finalresort.org> References: <3D43EF4A-2BC3-45A5-A4FC-2848DCF5B1F8@finalresort.org> Message-ID: I encourage everyone to try different browsers from time to time. ggt 2009/3/1 Leo R. Lundgren : > > 1 mar 2009 kl. 17.35 skrev Blair Duncan: > > Suggesting that I switch to something else...can only start the dog chasing > his tail. > > I bet. But try it! ;D > > On 28/02/09 3:12 PM, "Leo R. Lundgren" wrote: > > Not to start a debate on which one is the best, but IMO Firefox+Firebug is > what you should use for web development (as the base, of course using > whatever tools are available for each other platform in order to make your > web pages cross-browser compatible in the end). > > > 28 feb 2009 kl. 16.15 skrev Blair Duncan: > > Occasionally I come across something that makes me say to myself ?Damm I > wish I knew that months ago?. > > ?I always recommend Safari to everyone on both windows and macs. > ?Beyond the GUI stuff, ?JPEGs/PNGs/GIFs always look chuncky and rezzed down > in ?Firefox and even worse in IE. > ?Yet they are smooth in Safari. ?From a creative point of view everything > just looks SO much nicer. > > ?Anyways, this week version 4 was released in beta and I was poking around > with the Developer Menu options. Apparently these tools have been there all > along in past versions, I just never used them (what a mistake that has > been). > > ?The light bulb has now gone on, I can?t even begin to fathom the hours I?ll > be saving now that I have the ?Show Web Inspector? option. > ?Like any debugger, it displays the page in 2 panes, one as nicely cascaded > code the other as output. > ?You click on any code and its contents are hi-lite on the web page, in the > debugger all class variables and ?their contents are shown as you move over > the code. > ?Debugging CSS, Javascript and HTML tags is going to be soo much easier... > > > ?Please consider the environment before printing this e-mail. > > This message and any attachments contain information, which may be > confidential or privileged. If you are not the intended recipient, please > refrain from any disclosure, copying, distribution or use of this > information. Please be aware that such actions are prohibited. If you have > received this transmission in error, kindly notify us by e-mail to > helpdesk@bbdo.com. We appreciate your cooperation. > > _______________________________________________ > 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 > > Please consider the environment before printing this e-mail. > > This message and any attachments contain information, which may be > confidential or privileged. If you are not the intended recipient, please > refrain from any disclosure, copying, distribution or use of this > information. Please be aware that such actions are prohibited. If you have > received this transmission in error, kindly notify us by e-mail to > helpdesk@bbdo.com. We appreciate your cooperation. > _______________________________________________ > 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 tds.net Sun Mar 1 18:43:14 2009 From: dbengston at tds.net (Dale Bengston) Date: Sun Mar 1 18:43:19 2009 Subject: [FX.php List] [OFF] this should save me hours... In-Reply-To: References: <3D43EF4A-2BC3-45A5-A4FC-2848DCF5B1F8@finalresort.org> Message-ID: <14071294-7814-4497-BA54-C744DAE97290@tds.net> I second that! Dale On Mar 1, 2009, at 11:34 AM, Gjermund Gusland Thorsen wrote: > I encourage everyone to try different browsers from time to time. > > ggt > > 2009/3/1 Leo R. Lundgren : >> >> 1 mar 2009 kl. 17.35 skrev Blair Duncan: >> >> Suggesting that I switch to something else...can only start the dog >> chasing >> his tail. >> >> I bet. But try it! ;D >> >> On 28/02/09 3:12 PM, "Leo R. Lundgren" wrote: >> >> Not to start a debate on which one is the best, but IMO Firefox >> +Firebug is >> what you should use for web development (as the base, of course using >> whatever tools are available for each other platform in order to >> make your >> web pages cross-browser compatible in the end). >> >> >> 28 feb 2009 kl. 16.15 skrev Blair Duncan: >> >> Occasionally I come across something that makes me say to myself >> ?Damm I >> wish I knew that months ago?. >> >> I always recommend Safari to everyone on both windows and macs. >> Beyond the GUI stuff, JPEGs/PNGs/GIFs always look chuncky and >> rezzed down >> in Firefox and even worse in IE. >> Yet they are smooth in Safari. From a creative point of view >> everything >> just looks SO much nicer. >> >> Anyways, this week version 4 was released in beta and I was poking >> around >> with the Developer Menu options. Apparently these tools have been >> there all >> along in past versions, I just never used them (what a mistake that >> has >> been). >> >> The light bulb has now gone on, I can?t even begin to fathom the >> hours I?ll >> be saving now that I have the ?Show Web Inspector? option. >> Like any debugger, it displays the page in 2 panes, one as nicely >> cascaded >> code the other as output. >> You click on any code and its contents are hi-lite on the web >> page, in the >> debugger all class variables and their contents are shown as you >> move over >> the code. >> Debugging CSS, Javascript and HTML tags is going to be soo much >> easier... >> >> >> Please consider the environment before printing this e-mail. >> >> This message and any attachments contain information, which may be >> confidential or privileged. If you are not the intended recipient, >> please >> refrain from any disclosure, copying, distribution or use of this >> information. Please be aware that such actions are prohibited. If >> you have >> received this transmission in error, kindly notify us by e-mail to >> helpdesk@bbdo.com. We appreciate your cooperation. >> >> _______________________________________________ >> 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 >> >> Please consider the environment before printing this e-mail. >> >> This message and any attachments contain information, which may be >> confidential or privileged. If you are not the intended recipient, >> please >> refrain from any disclosure, copying, distribution or use of this >> information. Please be aware that such actions are prohibited. If >> you have >> received this transmission in error, kindly notify us by e-mail to >> helpdesk@bbdo.com. We appreciate your cooperation. >> _______________________________________________ >> 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 -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1582 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090301/3e4fb9a2/smime.bin From adenman at tmea.org Mon Mar 2 14:13:38 2009 From: adenman at tmea.org (Andrew Denman) Date: Mon Mar 2 14:10:00 2009 Subject: [FX.php List] [OFF] this should save me hours... In-Reply-To: References: <3D43EF4A-2BC3-45A5-A4FC-2848DCF5B1F8@finalresort.org> Message-ID: <94A602F7D7242349A5B8846DEC4A5F8B12A5E3BC0D@mail> You can have your newfangled browsers, I'm sticking with Lynx. Andrew Denman -----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: Sunday, March 01, 2009 11:35 AM To: FX.php Discussion List Subject: Re: [FX.php List] [OFF] this should save me hours... I encourage everyone to try different browsers from time to time. ggt 2009/3/1 Leo R. Lundgren : > > 1 mar 2009 kl. 17.35 skrev Blair Duncan: > > Suggesting that I switch to something else...can only start the dog chasing > his tail. > > I bet. But try it! ;D > > On 28/02/09 3:12 PM, "Leo R. Lundgren" wrote: > > Not to start a debate on which one is the best, but IMO Firefox+Firebug is > what you should use for web development (as the base, of course using > whatever tools are available for each other platform in order to make your > web pages cross-browser compatible in the end). > > > 28 feb 2009 kl. 16.15 skrev Blair Duncan: > > Occasionally I come across something that makes me say to myself ?Damm I > wish I knew that months ago?. > > ?I always recommend Safari to everyone on both windows and macs. > ?Beyond the GUI stuff, ?JPEGs/PNGs/GIFs always look chuncky and rezzed down > in ?Firefox and even worse in IE. > ?Yet they are smooth in Safari. ?From a creative point of view everything > just looks SO much nicer. > > ?Anyways, this week version 4 was released in beta and I was poking around > with the Developer Menu options. Apparently these tools have been there all > along in past versions, I just never used them (what a mistake that has > been). > > ?The light bulb has now gone on, I can?t even begin to fathom the hours I?ll > be saving now that I have the ?Show Web Inspector? option. > ?Like any debugger, it displays the page in 2 panes, one as nicely cascaded > code the other as output. > ?You click on any code and its contents are hi-lite on the web page, in the > debugger all class variables and ?their contents are shown as you move over > the code. > ?Debugging CSS, Javascript and HTML tags is going to be soo much easier... > > > ?Please consider the environment before printing this e-mail. > > This message and any attachments contain information, which may be > confidential or privileged. If you are not the intended recipient, please > refrain from any disclosure, copying, distribution or use of this > information. Please be aware that such actions are prohibited. If you have > received this transmission in error, kindly notify us by e-mail to > helpdesk@bbdo.com. We appreciate your cooperation. > > _______________________________________________ > 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 > > Please consider the environment before printing this e-mail. > > This message and any attachments contain information, which may be > confidential or privileged. If you are not the intended recipient, please > refrain from any disclosure, copying, distribution or use of this > information. Please be aware that such actions are prohibited. If you have > received this transmission in error, kindly notify us by e-mail to > helpdesk@bbdo.com. We appreciate your cooperation. > _______________________________________________ > 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 ggt667 at gmail.com Mon Mar 2 14:24:12 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Mon Mar 2 14:24:16 2009 Subject: [FX.php List] [OFF] this should save me hours... In-Reply-To: <94A602F7D7242349A5B8846DEC4A5F8B12A5E3BC0D@mail> References: <3D43EF4A-2BC3-45A5-A4FC-2848DCF5B1F8@finalresort.org> <94A602F7D7242349A5B8846DEC4A5F8B12A5E3BC0D@mail> Message-ID: links is nice ^^^ Lynx is discontinued... ggt 2009/3/2 Andrew Denman : > You can have your newfangled browsers, I'm sticking with Lynx. > > Andrew Denman > > -----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: Sunday, March 01, 2009 11:35 AM > To: FX.php Discussion List > Subject: Re: [FX.php List] [OFF] this should save me hours... > > I encourage everyone to try different browsers from time to time. > > ggt > > 2009/3/1 Leo R. Lundgren : >> >> 1 mar 2009 kl. 17.35 skrev Blair Duncan: >> >> Suggesting that I switch to something else...can only start the dog chasing >> his tail. >> >> I bet. But try it! ;D >> >> On 28/02/09 3:12 PM, "Leo R. Lundgren" wrote: >> >> Not to start a debate on which one is the best, but IMO Firefox+Firebug is >> what you should use for web development (as the base, of course using >> whatever tools are available for each other platform in order to make your >> web pages cross-browser compatible in the end). >> >> >> 28 feb 2009 kl. 16.15 skrev Blair Duncan: >> >> Occasionally I come across something that makes me say to myself ?Damm I >> wish I knew that months ago?. >> >> ?I always recommend Safari to everyone on both windows and macs. >> ?Beyond the GUI stuff, ?JPEGs/PNGs/GIFs always look chuncky and rezzed down >> in ?Firefox and even worse in IE. >> ?Yet they are smooth in Safari. ?From a creative point of view everything >> just looks SO much nicer. >> >> ?Anyways, this week version 4 was released in beta and I was poking around >> with the Developer Menu options. Apparently these tools have been there all >> along in past versions, I just never used them (what a mistake that has >> been). >> >> ?The light bulb has now gone on, I can?t even begin to fathom the hours I?ll >> be saving now that I have the ?Show Web Inspector? option. >> ?Like any debugger, it displays the page in 2 panes, one as nicely cascaded >> code the other as output. >> ?You click on any code and its contents are hi-lite on the web page, in the >> debugger all class variables and ?their contents are shown as you move over >> the code. >> ?Debugging CSS, Javascript and HTML tags is going to be soo much easier... >> >> >> ?Please consider the environment before printing this e-mail. >> >> This message and any attachments contain information, which may be >> confidential or privileged. If you are not the intended recipient, please >> refrain from any disclosure, copying, distribution or use of this >> information. Please be aware that such actions are prohibited. If you have >> received this transmission in error, kindly notify us by e-mail to >> helpdesk@bbdo.com. We appreciate your cooperation. >> >> _______________________________________________ >> 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 >> >> Please consider the environment before printing this e-mail. >> >> This message and any attachments contain information, which may be >> confidential or privileged. If you are not the intended recipient, please >> refrain from any disclosure, copying, distribution or use of this >> information. Please be aware that such actions are prohibited. If you have >> received this transmission in error, kindly notify us by e-mail to >> helpdesk@bbdo.com. We appreciate your cooperation. >> _______________________________________________ >> 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 headhoncho at customikesolutions.com Mon Mar 2 15:08:20 2009 From: headhoncho at customikesolutions.com (Head Honcho) Date: Mon Mar 2 15:40:06 2009 Subject: [FX.php List] [OFF] this should save me hours... In-Reply-To: <94A602F7D7242349A5B8846DEC4A5F8B12A5E3BC0D@mail> References: <3D43EF4A-2BC3-45A5-A4FC-2848DCF5B1F8@finalresort.org> <94A602F7D7242349A5B8846DEC4A5F8B12A5E3BC0D@mail> Message-ID: LOL On 03/03/2009, at 8:13 AM, Andrew Denman wrote: > You can have your newfangled browsers, I'm sticking with Lynx. > > Andrew Denman > > -----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: Sunday, March 01, 2009 11:35 AM > To: FX.php Discussion List > Subject: Re: [FX.php List] [OFF] this should save me hours... > > I encourage everyone to try different browsers from time to time. > > ggt > > 2009/3/1 Leo R. Lundgren : >> >> 1 mar 2009 kl. 17.35 skrev Blair Duncan: >> >> Suggesting that I switch to something else...can only start the dog >> chasing >> his tail. >> >> I bet. But try it! ;D >> >> On 28/02/09 3:12 PM, "Leo R. Lundgren" wrote: >> >> Not to start a debate on which one is the best, but IMO Firefox >> +Firebug is >> what you should use for web development (as the base, of course using >> whatever tools are available for each other platform in order to >> make your >> web pages cross-browser compatible in the end). >> >> >> 28 feb 2009 kl. 16.15 skrev Blair Duncan: >> >> Occasionally I come across something that makes me say to myself >> ?Damm I >> wish I knew that months ago?. >> >> I always recommend Safari to everyone on both windows and macs. >> Beyond the GUI stuff, JPEGs/PNGs/GIFs always look chuncky and >> rezzed down >> in Firefox and even worse in IE. >> Yet they are smooth in Safari. From a creative point of view >> everything >> just looks SO much nicer. >> >> Anyways, this week version 4 was released in beta and I was poking >> around >> with the Developer Menu options. Apparently these tools have been >> there all >> along in past versions, I just never used them (what a mistake that >> has >> been). >> >> The light bulb has now gone on, I can?t even begin to fathom the >> hours I?ll >> be saving now that I have the ?Show Web Inspector? option. >> Like any debugger, it displays the page in 2 panes, one as nicely >> cascaded >> code the other as output. >> You click on any code and its contents are hi-lite on the web >> page, in the >> debugger all class variables and their contents are shown as you >> move over >> the code. >> Debugging CSS, Javascript and HTML tags is going to be soo much >> easier... >> >> >> Please consider the environment before printing this e-mail. >> >> This message and any attachments contain information, which may be >> confidential or privileged. If you are not the intended recipient, >> please >> refrain from any disclosure, copying, distribution or use of this >> information. Please be aware that such actions are prohibited. If >> you have >> received this transmission in error, kindly notify us by e-mail to >> helpdesk@bbdo.com. We appreciate your cooperation. >> >> _______________________________________________ >> 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 >> >> Please consider the environment before printing this e-mail. >> >> This message and any attachments contain information, which may be >> confidential or privileged. If you are not the intended recipient, >> please >> refrain from any disclosure, copying, distribution or use of this >> information. Please be aware that such actions are prohibited. If >> you have >> received this transmission in error, kindly notify us by e-mail to >> helpdesk@bbdo.com. We appreciate your cooperation. >> _______________________________________________ >> 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 Regards Michael Ward -- Head Honcho CustoMike Solutions Member, FileMaker Business Alliance Member, FileMaker Technical Network FileMaker 7 Certified Developer FileMaker 8 Certified Developer FileMaker 9 Certified Developer 10 Wandoo Crt Wheelers Hill, 3150 ph 0414 562 501 headhoncho@customikesolutions.com From jschwartz at exit445.com Mon Mar 2 15:55:33 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Mon Mar 2 15:59:05 2009 Subject: [FX.php List] Run fx.php and API on same machine? Message-ID: Hi folks, Sorry if this is a RTM question. I just want to be sure. I now have a both API and fx.php solutions developed, although I am only running fx.php on FMSA 8.5. It might be time to migrate from FMSA 8.5 to FMS Server 10 on the server. Any issues running both fx.php and API on FMS 10? Server is OS X Server 10.4 J -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From ggt667 at gmail.com Mon Mar 2 16:02:34 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Mon Mar 2 16:02:37 2009 Subject: [FX.php List] Run fx.php and API on same machine? In-Reply-To: References: Message-ID: But please for your own sanity, please to keep to one of the APIs either FileMaker PHP API or FX.php for each project, it?s possible to mix them, but please don?t do it. For your own good. ggt 2009/3/2 Jonathan Schwartz : > Hi folks, > > Sorry if this is a RTM question. ?I just want to be sure. > > I now have a both API and fx.php solutions developed, although I am only > running fx.php on FMSA 8.5. ? It might be time to migrate from FMSA 8.5 to > FMS Server 10 on the server. > > Any issues running both fx.php and API on FMS 10? > > Server is OS X Server 10.4 > > J > -- > 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 > From leo at finalresort.org Mon Mar 2 16:07:07 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Mar 2 16:07:13 2009 Subject: [FX.php List] Run fx.php and API on same machine? In-Reply-To: References: Message-ID: No. They are both nothing more than PHP code libraries. You can have them both on the same machine. Heck, you can even use each one of them for 50% of the same solution if you want to. 2 mar 2009 kl. 23.55 skrev Jonathan Schwartz: > Hi folks, > > Sorry if this is a RTM question. I just want to be sure. > > I now have a both API and fx.php solutions developed, although I am > only running fx.php on FMSA 8.5. It might be time to migrate from > FMSA 8.5 to FMS Server 10 on the server. > > Any issues running both fx.php and API on FMS 10? > > Server is OS X Server 10.4 > > J > -- > 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 -| From jschwartz at exit445.com Mon Mar 2 16:09:56 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Mon Mar 2 16:14:00 2009 Subject: [FX.php List] Run fx.php and API on same machine? In-Reply-To: References: Message-ID: Thanks ggt. I wouldn't do it normally. But as long as you mention it, got any horror stories to share? Back to using both fx.php and API on the same machine (not the same project)....does this mean that both XML and API data is being returned for all queries? Isn't that excessive? J At 12:02 AM +0100 3/3/09, Gjermund Gusland Thorsen wrote: >But please for your own sanity, please to keep to one of the APIs >either FileMaker PHP API or FX.php for each project, it's possible to >mix them, but please don't do it. For your own good. > >ggt > -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From adenman at tmea.org Mon Mar 2 16:49:47 2009 From: adenman at tmea.org (Andrew Denman) Date: Mon Mar 2 16:46:07 2009 Subject: [FX.php List] Run fx.php and API on same machine? In-Reply-To: References: Message-ID: <94A602F7D7242349A5B8846DEC4A5F8B12A5E3BC2E@mail> Jonathan, FX.php and the FMAPI aren't always running in the background handling the web requests. As Leo said, they are just collections of code you can use in PHP to easily communicate with the FileMaker server. If you code a page to use fx.php it isn't going to use the FMAPI, and vice versa. This is why you can have both on the same server - each page only uses what you've coded it to use. ggt's warning to not use both types of connections in the same project is good because you don't want to be going back and forth between the two types while coding - that's when mistakes happen, and we don't want mistakes. Andrew Denman -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Jonathan Schwartz Sent: Monday, March 02, 2009 5:10 PM To: FX.php Discussion List Subject: Re: [FX.php List] Run fx.php and API on same machine? Thanks ggt. I wouldn't do it normally. But as long as you mention it, got any horror stories to share? Back to using both fx.php and API on the same machine (not the same project)....does this mean that both XML and API data is being returned for all queries? Isn't that excessive? J At 12:02 AM +0100 3/3/09, Gjermund Gusland Thorsen wrote: >But please for your own sanity, please to keep to one of the APIs >either FileMaker PHP API or FX.php for each project, it's possible to >mix them, but please don't do it. For your own good. > >ggt > -- 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 From leo at finalresort.org Mon Mar 2 16:58:14 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Mar 2 16:58:20 2009 Subject: [FX.php List] Run fx.php and API on same machine? In-Reply-To: References: Message-ID: <69BD04D8-D12C-433C-97AD-374E41F5D84B@finalresort.org> 3 mar 2009 kl. 00.09 skrev Jonathan Schwartz: > Back to using both fx.php and API on the same machine (not the same > project)....does this mean that both XML and API data is being > returned for all queries? Isn't that excessive? Both of these products put together requests that they hand to the FM server, and as the result the server hands back XML. This is true for both FX.php and for the official FileMaker PHP API. There is no more "API data" when using the FM PHP API than there is when using FX.php :) So to answer your question, combining these two in any way doesn't result in any redundant data being transmitted for the queries you make or the results you get. Except for of course if you were to do the same thing with both of the, in the same project, or something like that. Also, just to be clear; Having them both "installed" doesn't do anything. You can have a thousand PHP code libraries installed; the only thing that affects what is actually used, is what you include in your code. -| From ggt667 at gmail.com Tue Mar 3 12:28:44 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Tue Mar 3 12:28:48 2009 Subject: [FX.php List] [Sort of on topic]Is there a way to make a selection of one record in FileMaker the -recid way? Message-ID: Is there a way to make a selection of one record in FileMaker the -recid/XML -way? I have done it now with a separate field that on creation automatically inserts the -recid value to a field called recordID, however my question is: Is that field necessary, are there ways to achieve the same "query" without having to use a field? ggt667 From 1265 at lucerneblvd.org Tue Mar 3 16:18:08 2009 From: 1265 at lucerneblvd.org (david weiner) Date: Tue Mar 3 16:18:18 2009 Subject: [FX.php List] [Sort of on topic]Is there a way to make a selection of one record in FileMaker the -recid way? In-Reply-To: References: Message-ID: I always make a calculated field that is "get RecID" - there's no UI element that I'm aware of in the default filemaker tools that will give you access to the record id or the mod id On Mar 3, 2009, at 11:28 AM, Gjermund Gusland Thorsen wrote: > Is there a way to make a selection of one record in FileMaker the > -recid/XML -way? > > I have done it now with a separate field that on creation > automatically inserts the -recid value to a field called recordID, > however my question is: Is that field necessary, are there ways to > achieve the same "query" without having to use a field? > > ggt667 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dbengston at tds.net Tue Mar 3 17:45:35 2009 From: dbengston at tds.net (Dale Bengston) Date: Tue Mar 3 17:45:40 2009 Subject: [FX.php List] [Sort of on topic]Is there a way to make a selection of one record in FileMaker the -recid way? In-Reply-To: References: Message-ID: In FMP, I believe the only way to expose the record's ID is with a calc field. It doesn't exist in the UI otherwise. In the XML, the record's key in the array is a combination of the recID and the modID. I never use calc fields to bring back the recID since I can derive it from the key(s) in the data array returned by FX. Dale On Mar 3, 2009, at 5:18 PM, david weiner wrote: > I always make a calculated field that is "get RecID" - there's no UI > element that I'm aware of in the default filemaker tools that will > give you access to the record id or the mod id > > > On Mar 3, 2009, at 11:28 AM, Gjermund Gusland Thorsen wrote: > >> Is there a way to make a selection of one record in FileMaker the >> -recid/XML -way? >> >> I have done it now with a separate field that on creation >> automatically inserts the -recid value to a field called recordID, >> however my question is: Is that field necessary, are there ways to >> achieve the same "query" without having to use a field? >> >> ggt667 >> _______________________________________________ >> 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 -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1582 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090303/f3787bd6/smime.bin From ggt667 at gmail.com Tue Mar 3 23:54:15 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Tue Mar 3 23:54:18 2009 Subject: [FX.php List] [Sort of on topic]Is there a way to make a selection of one record in FileMaker the -recid way? In-Reply-To: References: Message-ID: I guess the issue is usually solved by go to related inside FileMaker, but it?s not exactly the same... ggt 2009/3/4 Dale Bengston : > In FMP, I believe the only way to expose the record's ID is with a calc > field. It doesn't exist in the UI otherwise. In the XML, the record's key in > the array is a combination of the recID and the modID. I never use calc > fields to bring back the recID since I can derive it from the key(s) in the > data array returned by FX. > > Dale > > On Mar 3, 2009, at 5:18 PM, david weiner wrote: > >> I always make a calculated field that is "get RecID" - there's no UI >> element that I'm aware of in the default filemaker tools that will give you >> access to the record id or the mod id >> >> >> On Mar 3, 2009, at 11:28 AM, Gjermund Gusland Thorsen wrote: >> >>> Is there a way to make a selection of one record in FileMaker the >>> -recid/XML -way? >>> >>> I have done it now with a separate field that on creation >>> automatically inserts the -recid value to a field called recordID, >>> however my question is: Is that field necessary, are there ways to >>> achieve the same "query" without having to use a field? >>> >>> ggt667 >>> _______________________________________________ >>> 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 Wed Mar 4 08:10:49 2009 From: bob at patin.com (Bob Patin) Date: Wed Mar 4 08:10:57 2009 Subject: [FX.php List] [Sort of on topic]Is there a way to make a selection of one record in FileMaker the -recid way? In-Reply-To: References: Message-ID: Just curious: why don't you continue to create the calc field that's equal to get(recordID)? It's simple enough, and certainly won't make any difference in the general scheme of things... Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090304/28f44d20/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 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 Mar 4, 2009, at 12:54 AM, Gjermund Gusland Thorsen wrote: > I guess the issue is usually solved by go to related inside FileMaker, > but it?s not exactly the same... > > ggt > > 2009/3/4 Dale Bengston : >> In FMP, I believe the only way to expose the record's ID is with a >> calc >> field. It doesn't exist in the UI otherwise. In the XML, the >> record's key in >> the array is a combination of the recID and the modID. I never use >> calc >> fields to bring back the recID since I can derive it from the >> key(s) in the >> data array returned by FX. >> >> Dale >> >> On Mar 3, 2009, at 5:18 PM, david weiner wrote: >> >>> I always make a calculated field that is "get RecID" - there's no UI >>> element that I'm aware of in the default filemaker tools that will >>> give you >>> access to the record id or the mod id >>> >>> >>> On Mar 3, 2009, at 11:28 AM, Gjermund Gusland Thorsen wrote: >>> >>>> Is there a way to make a selection of one record in FileMaker the >>>> -recid/XML -way? >>>> >>>> I have done it now with a separate field that on creation >>>> automatically inserts the -recid value to a field called recordID, >>>> however my question is: Is that field necessary, are there ways to >>>> achieve the same "query" without having to use a field? >>>> >>>> ggt667 >>>> _______________________________________________ >>>> 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 ggt667 at gmail.com Wed Mar 4 11:27:21 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Wed Mar 4 11:27:25 2009 Subject: [FX.php List] [Sort of on topic]Is there a way to make a selection of one record in FileMaker the -recid way? In-Reply-To: References: Message-ID: My questions is really; is it necessary to make a copy of the information that is already stored with each record. ggt 2009/3/4 Bob Patin : > Just curious: why don't you continue to create the calc field that's equal > to get(recordID)? It's simple enough, and certainly won't make any > difference in the general scheme of things... > > Bob Patin > > > > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 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 Mar 4, 2009, at 12:54 AM, Gjermund Gusland Thorsen wrote: > >> I guess the issue is usually solved by go to related inside FileMaker, >> but it?s not exactly the same... >> >> ggt >> >> 2009/3/4 Dale Bengston : >>> >>> In FMP, I believe the only way to expose the record's ID is with a calc >>> field. It doesn't exist in the UI otherwise. In the XML, the record's key >>> in >>> the array is a combination of the recID and the modID. I never use calc >>> fields to bring back the recID since I can derive it from the key(s) in >>> the >>> data array returned by FX. >>> >>> Dale >>> >>> On Mar 3, 2009, at 5:18 PM, david weiner wrote: >>> >>>> I always make a calculated field that is "get RecID" - there's no UI >>>> element that I'm aware of in the default filemaker tools that will give >>>> you >>>> access to the record id or the mod id >>>> >>>> >>>> On Mar 3, 2009, at 11:28 AM, Gjermund Gusland Thorsen wrote: >>>> >>>>> Is there a way to make a selection of one record in FileMaker the >>>>> -recid/XML -way? >>>>> >>>>> I have done it now with a separate field that on creation >>>>> automatically inserts the -recid value to a field called recordID, >>>>> however my question is: Is that field necessary, are there ways to >>>>> achieve the same "query" without having to use a field? >>>>> >>>>> ggt667 >>>>> _______________________________________________ >>>>> 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 jsfmp at earthlink.net Wed Mar 4 11:52:50 2009 From: jsfmp at earthlink.net (Joel Shapiro) Date: Wed Mar 4 11:52:55 2009 Subject: [FX.php List] [Sort of on topic]Is there a way to make a selection of one record in FileMaker the -recid way? In-Reply-To: References: Message-ID: <1A1727A2-16B8-44AD-88B2-735AAD87447C@earthlink.net> Yes, if you need access to the internal FileMaker record ID from within FileMaker Pro client, you need a field to hold it. -Joel On Mar 4, 2009, at 10:27 AM, Gjermund Gusland Thorsen wrote: > My questions is really; is it necessary to make a copy of the > information that is already stored with each record. > > ggt > > 2009/3/4 Bob Patin : >> Just curious: why don't you continue to create the calc field >> that's equal >> to get(recordID)? It's simple enough, and certainly won't make any >> difference in the general scheme of things... >> >> Bob Patin >> >> >> >> >> >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> iChat: bobpatin >> AIM: longterm1954 >> FileMaker 9 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 Mar 4, 2009, at 12:54 AM, Gjermund Gusland Thorsen wrote: >> >>> I guess the issue is usually solved by go to related inside >>> FileMaker, >>> but it?s not exactly the same... >>> >>> ggt >>> >>> 2009/3/4 Dale Bengston : >>>> >>>> In FMP, I believe the only way to expose the record's ID is with >>>> a calc >>>> field. It doesn't exist in the UI otherwise. In the XML, the >>>> record's key >>>> in >>>> the array is a combination of the recID and the modID. I never >>>> use calc >>>> fields to bring back the recID since I can derive it from the key >>>> (s) in >>>> the >>>> data array returned by FX. >>>> >>>> Dale >>>> >>>> On Mar 3, 2009, at 5:18 PM, david weiner wrote: >>>> >>>>> I always make a calculated field that is "get RecID" - there's >>>>> no UI >>>>> element that I'm aware of in the default filemaker tools that >>>>> will give >>>>> you >>>>> access to the record id or the mod id >>>>> >>>>> >>>>> On Mar 3, 2009, at 11:28 AM, Gjermund Gusland Thorsen wrote: >>>>> >>>>>> Is there a way to make a selection of one record in FileMaker the >>>>>> -recid/XML -way? >>>>>> >>>>>> I have done it now with a separate field that on creation >>>>>> automatically inserts the -recid value to a field called >>>>>> recordID, >>>>>> however my question is: Is that field necessary, are there >>>>>> ways to >>>>>> achieve the same "query" without having to use a field? >>>>>> >>>>>> ggt667 >>>>>> _______________________________________________ >>>>>> 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 >> >> > _______________________________________________ > 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 Thu Mar 5 03:48:43 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Mar 5 03:48:46 2009 Subject: [FX.php List] [OT]FileMaker Server Admin port forwarding Message-ID: Anyone got a clue to which ports to forward to administer remote FMSAs? Are these enough? --- TCP 20003 TCP 50003 TCP 50006 The first (20003) is to connect to the admin port. The last two (50003, 50006) are for the helper process and are required for the Admin Tool. --- Obviously not, I just tried this and I am not able to connect. ggt From ggt667 at gmail.com Thu Mar 5 03:58:53 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Mar 5 03:58:57 2009 Subject: [FX.php List] Re: [OT]FileMaker Server Admin port forwarding In-Reply-To: References: Message-ID: this ssh forwarding rule spends at least a little bit of time before it fails... Host clientname Hostname LegalIPClient User username ForwardX11 no ForwardAgent yes LocalForward 20003 LocalIPFMSA:20003 LocalForward 50003 LocalIPFMSA:50003 LocalForward 50006 LocalIPFMSA:50006 ggt 2009/3/5 Gjermund Gusland Thorsen : > Anyone got a clue to which ports to forward to administer remote FMSAs? > > Are these enough? > --- > TCP 20003 > TCP 50003 > TCP 50006 > > The first (20003) is to connect to the admin port. The last two > (50003, 50006) are for the helper process and are required for the > Admin Tool. > --- > Obviously not, I just tried this and I am not able to connect. > > ggt > From ggt667 at gmail.com Thu Mar 5 04:11:03 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Mar 5 04:11:06 2009 Subject: [FX.php List] Re: [OT]FileMaker Server Admin port forwarding In-Reply-To: References: Message-ID: I guess I found the problem --- Host clientname Hostname LegalIPClient User username ForwardX11 no ForwardAgent yes LocalForward 5003 LocalIPFMSA:5003 LocalForward 20003 LocalIPFMSA:20003 LocalForward 50003 LocalIPFMSA:50003 LocalForward 50006 LocalIPFMSA:50006 --- These forwarded ports are all TCP, I think it?s hard to forward UDP traffic with ssh ggt 2009/3/5 Gjermund Gusland Thorsen : > this ssh forwarding rule spends at least a little bit of time before it fails... > > Host clientname > Hostname LegalIPClient > User username > ForwardX11 no > ForwardAgent yes > LocalForward 20003 LocalIPFMSA:20003 > LocalForward 50003 LocalIPFMSA:50003 > LocalForward 50006 LocalIPFMSA:50006 > > ggt > > 2009/3/5 Gjermund Gusland Thorsen : >> Anyone got a clue to which ports to forward to administer remote FMSAs? >> >> Are these enough? >> --- >> TCP 20003 >> TCP 50003 >> TCP 50006 >> >> The first (20003) is to connect to the admin port. The last two >> (50003, 50006) are for the helper process and are required for the >> Admin Tool. >> --- >> Obviously not, I just tried this and I am not able to connect. >> >> ggt >> > From bob at patin.com Sat Mar 7 15:15:17 2009 From: bob at patin.com (Bob Patin) Date: Sat Mar 7 15:15:26 2009 Subject: [FX.php List] [OFF] PHP question: Pulling in text from a file Message-ID: I'm trying to do this: select a file, have PHP read in the text and put it into a variable. I'm using a form, and have tried several enctypes; right now I'm experimenting with "text/xml" with no luck. Question: does anyone know how to take a POSTed file and read it into a variable? here's what I've got so far: $postText = trim(file_get_contents('php://input')); echo $postText; Getting nothing back... Anyone help? Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090307/1ea57189/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 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 From leo at finalresort.org Sat Mar 7 15:28:42 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Sat Mar 7 15:28:44 2009 Subject: [FX.php List] [OFF] PHP question: Pulling in text from a file In-Reply-To: References: Message-ID: Bob, If you haven't already, read http://www.php.net/manual/en/ features.file-upload.post-method.php . It contains information on how to handle uploaded files on the PHP side. It also hints on what you need on the client side. In short the uploaded file is stored on the server in a temporary location. From there you can for example move the file to a permanent location, or you should be able to read the contents of the file, for example by file() which reads the file into an array where each element is one line, and returns this array, or file_get_contents() which reads the entire file and returns a string. Actually there is some more to the issue information at http:// www.developershome.com/wap/wapUpload/wap_upload.asp?page=php4 (just the first page on the result when I googled), you might want to check that one first! Cheers. 7 mar 2009 kl. 23.15 skrev Bob Patin: > I'm trying to do this: select a file, have PHP read in the text and > put it into a variable. > > I'm using a form, and have tried several enctypes; right now I'm > experimenting with "text/xml" with no luck. > > Question: does anyone know how to take a POSTed file and read it > into a variable? > > here's what I've got so far: > > $postText = trim(file_get_contents('php://input')); > echo $postText; > > Getting nothing back... > > Anyone help? > > > > Bob Patin > > > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 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 > > _______________________________________________ > 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 Sat Mar 7 15:47:15 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Sat Mar 7 15:49:31 2009 Subject: [FX.php List] [OFF] PHP question: Pulling in text from a file In-Reply-To: References: Message-ID: Please clarify.... Read a text file. Load a form. Have text from file load into the form? J At 4:15 PM -0600 3/7/09, Bob Patin wrote: >I'm trying to do this: select a file, have PHP read in the text and >put it into a variable. > >I'm using a form, and have tried several enctypes; right now I'm >experimenting with "text/xml" with no luck. > >Question: does anyone know how to take a POSTed file and read it >into a variable? > >here's what I've got so far: > >$postText = trim(file_get_contents('php://input')); >echo $postText; > >Getting nothing back... > >Anyone help? > > > >Bob Patin > > > >Attachment converted: MacBook Pro HD:new_logo_idea3_120w 2.jpg >(JPEG/MKBY) (005C78DA) > > >Longterm Solutions >bob@longtermsolutions.com >615-333-6858 >http://www.longtermsolutions.com >iChat: bobpatin >AIM: longterm1954 >FileMaker 9 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 > > >_______________________________________________ >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 bob at patin.com Sat Mar 7 16:22:44 2009 From: bob at patin.com (Bob Patin) Date: Sat Mar 7 16:22:52 2009 Subject: [FX.php List] [OFF] PHP question: Pulling in text from a file In-Reply-To: References: Message-ID: <18D7FCBD-4AAE-46D9-B626-B974DA817201@patin.com> Well, I got it to work now, but I don't know what's different... here's what I'm using: copy ($_FILES['file1']['tmp_name'], "/Library/WebServer/Documents/yada yada yada/".$_FILES['file1']['name']) or die ('Error.'); $filename = $_FILES['file1']['name']; echo $filename."

"; $string = file_get_contents("uploads/".$filename); echo strlen($string); ------- Now it's working... since I kept blowing away all the code that didn't work, I don't know now what I've changed, other than perhaps I had the assignment to $filename wrong perhaps. Anyway, this works fine... Jonathan, to answer your question: I want to read in a file (they'll actually be XML) and then parse it into a FileMaker record. Best, Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090307/cf10f61d/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 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 Mar 7, 2009, at 4:28 PM, Leo R. Lundgren wrote: > Bob, > > If you haven't already, read http://www.php.net/manual/en/features.file-upload.post-method.php > . It contains information on how to handle uploaded files on the > PHP side. It also hints on what you need on the client side. > > In short the uploaded file is stored on the server in a temporary > location. From there you can for example move the file to a > permanent location, or you should be able to read the contents of > the file, for example by file() which reads the file into an array > where each element is one line, and returns this array, or > file_get_contents() which reads the entire file and returns a string. > > Actually there is some more to the issue information at http://www.developershome.com/wap/wapUpload/wap_upload.asp?page=php4 > (just the first page on the result when I googled), you might want > to check that one first! > > Cheers. > > > 7 mar 2009 kl. 23.15 skrev Bob Patin: > >> I'm trying to do this: select a file, have PHP read in the text and >> put it into a variable. >> >> I'm using a form, and have tried several enctypes; right now I'm >> experimenting with "text/xml" with no luck. >> >> Question: does anyone know how to take a POSTed file and read it >> into a variable? >> >> here's what I've got so far: >> >> $postText = trim(file_get_contents('php://input')); >> echo $postText; >> >> Getting nothing back... >> >> Anyone help? >> >> >> >> Bob Patin >> >> >> >> >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> iChat: bobpatin >> AIM: longterm1954 >> FileMaker 9 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 >> >> _______________________________________________ >> 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 Sat Mar 7 16:33:03 2009 From: headhoncho at customikesolutions.com (Head Honcho) Date: Sat Mar 7 16:33:09 2009 Subject: [FX.php List] [OFF] PHP question: Pulling in text from a file In-Reply-To: <18D7FCBD-4AAE-46D9-B626-B974DA817201@patin.com> References: <18D7FCBD-4AAE-46D9-B626-B974DA817201@patin.com> Message-ID: <02AA223F-8603-4956-AFDF-73C43A7ACC50@customikesolutions.com> Hi Bob, Perhaps you're really looking for fopen ( string $filename , string $mode [, bool $use_include_path [, resource $context ]] ) [fopen() binds a named resource, specified by filename , to a stream.] Which then can be manipulated. php.net is your friend On 08/03/2009, at 10:22 AM, Bob Patin wrote: > Well, I got it to work now, but I don't know what's different... > here's what I'm using: > > copy ($_FILES['file1']['tmp_name'], "/Library/WebServer/Documents/ > yada yada yada/".$_FILES['file1']['name']) or die ('Error.'); > > $filename = $_FILES['file1']['name']; > echo $filename."

"; > > $string = file_get_contents("uploads/".$filename); > echo strlen($string); > ------- > > Now it's working... since I kept blowing away all the code that > didn't work, I don't know now what I've changed, other than perhaps > I had the assignment to $filename wrong perhaps. > > Anyway, this works fine... > > Jonathan, to answer your question: I want to read in a file (they'll > actually be XML) and then parse it into a FileMaker record. > > Best, > > Bob Patin > > > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 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 Mar 7, 2009, at 4:28 PM, Leo R. Lundgren wrote: > >> Bob, >> >> If you haven't already, read http://www.php.net/manual/en/features.file-upload.post-method.php >> . It contains information on how to handle uploaded files on the >> PHP side. It also hints on what you need on the client side. >> >> In short the uploaded file is stored on the server in a temporary >> location. From there you can for example move the file to a >> permanent location, or you should be able to read the contents of >> the file, for example by file() which reads the file into an array >> where each element is one line, and returns this array, or >> file_get_contents() which reads the entire file and returns a string. >> >> Actually there is some more to the issue information at http://www.developershome.com/wap/wapUpload/wap_upload.asp?page=php4 >> (just the first page on the result when I googled), you might want >> to check that one first! >> >> Cheers. >> >> >> 7 mar 2009 kl. 23.15 skrev Bob Patin: >> >>> I'm trying to do this: select a file, have PHP read in the text >>> and put it into a variable. >>> >>> I'm using a form, and have tried several enctypes; right now I'm >>> experimenting with "text/xml" with no luck. >>> >>> Question: does anyone know how to take a POSTed file and read it >>> into a variable? >>> >>> here's what I've got so far: >>> >>> $postText = trim(file_get_contents('php://input')); >>> echo $postText; >>> >>> Getting nothing back... >>> >>> Anyone help? >>> >>> >>> >>> Bob Patin >>> >>> >>> >>> >>> Longterm Solutions >>> bob@longtermsolutions.com >>> 615-333-6858 >>> http://www.longtermsolutions.com >>> iChat: bobpatin >>> AIM: longterm1954 >>> FileMaker 9 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 >>> >>> _______________________________________________ >>> 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 Regards Michael Ward -- Head Honcho CustoMike Solutions Member, FileMaker Business Alliance Member, FileMaker Technical Network FileMaker 7 Certified Developer FileMaker 8 Certified Developer FileMaker 9 Certified Developer 10 Wandoo Crt Wheelers Hill, 3150 ph 0414 562 501 headhoncho@customikesolutions.com From bob at patin.com Sat Mar 7 16:37:30 2009 From: bob at patin.com (Bob Patin) Date: Sat Mar 7 16:37:40 2009 Subject: [FX.php List] [OFF] PHP question: Pulling in text from a file In-Reply-To: <02AA223F-8603-4956-AFDF-73C43A7ACC50@customikesolutions.com> References: <18D7FCBD-4AAE-46D9-B626-B974DA817201@patin.com> <02AA223F-8603-4956-AFDF-73C43A7ACC50@customikesolutions.com> Message-ID: <5F542AEA-6633-4217-ADA2-896C5E6B6E74@patin.com> Thanks; I was all over php.net this afternoon, but didn't see that one. I tried about 10 different methods until I got the one that worked, but I don't *really* need to upload the file first. Does the method below require the file to be on the server, or can it read that stream directly from a file that is POSTed? Thanks, Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090307/b40dca73/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 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 Mar 7, 2009, at 5:33 PM, Head Honcho wrote: > Perhaps you're really looking for fopen ( string $filename , string > $mode [, bool $use_include_path [, resource $context ]] ) [fopen() > binds a named resource, specified by filename , to a stream.] > > Which then can be manipulated. > > php.net is your friend From headhoncho at customikesolutions.com Sat Mar 7 17:02:15 2009 From: headhoncho at customikesolutions.com (Head Honcho) Date: Sat Mar 7 17:02:20 2009 Subject: [FX.php List] [OFF] PHP question: Pulling in text from a file In-Reply-To: <5F542AEA-6633-4217-ADA2-896C5E6B6E74@patin.com> References: <18D7FCBD-4AAE-46D9-B626-B974DA817201@patin.com> <02AA223F-8603-4956-AFDF-73C43A7ACC50@customikesolutions.com> <5F542AEA-6633-4217-ADA2-896C5E6B6E74@patin.com> Message-ID: <0F4E6B1C-1EDE-4C3B-AE09-FF3B5A4BF635@customikesolutions.com> Hi Bob, On 08/03/2009, at 10:37 AM, Bob Patin wrote: > Thanks; I was all over php.net this afternoon, but didn't see that > one. I tried about 10 different methods until I got the one that > worked, but I don't *really* need to upload the file first. > > Does the method below require the file to be on the server, or can > it read that stream directly from a file that is POSTed? the first parameter is $filename... so, yes, it does need to be on the server. > > On Mar 7, 2009, at 5:33 PM, Head Honcho wrote: > >> Perhaps you're really looking for fopen ( string $filename , string >> $mode [, bool $use_include_path [, resource $context ]] ) [fopen() >> binds a named resource, specified by filename , to a stream.] >> >> Which then can be manipulated. >> >> php.net is your friend > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Regards Michael Ward -- Head Honcho CustoMike Solutions Member, FileMaker Business Alliance Member, FileMaker Technical Network FileMaker 7 Certified Developer FileMaker 8 Certified Developer FileMaker 9 Certified Developer 10 Wandoo Crt Wheelers Hill, 3150 ph 0414 562 501 headhoncho@customikesolutions.com From headhoncho at customikesolutions.com Sat Mar 7 17:04:27 2009 From: headhoncho at customikesolutions.com (Head Honcho) Date: Sat Mar 7 17:04:32 2009 Subject: [FX.php List] [OFF] PHP question: Pulling in text from a file In-Reply-To: <5F542AEA-6633-4217-ADA2-896C5E6B6E74@patin.com> References: <18D7FCBD-4AAE-46D9-B626-B974DA817201@patin.com> <02AA223F-8603-4956-AFDF-73C43A7ACC50@customikesolutions.com> <5F542AEA-6633-4217-ADA2-896C5E6B6E74@patin.com> Message-ID: <68A07307-20A9-47C7-8028-3EF92F7EC085@customikesolutions.com> Hi Bob, On 08/03/2009, at 10:37 AM, Bob Patin wrote: > Thanks; I was all over php.net this afternoon, BTW, I use PHP Function index which allows me to seach for php stuff right on my desktop. Regards Michael Ward -- Head Honcho CustoMike Solutions Member, FileMaker Business Alliance Member, FileMaker Technical Network FileMaker 7 Certified Developer FileMaker 8 Certified Developer FileMaker 9 Certified Developer 10 Wandoo Crt Wheelers Hill, 3150 ph 0414 562 501 headhoncho@customikesolutions.com From bob at patin.com Sat Mar 7 17:10:53 2009 From: bob at patin.com (Bob Patin) Date: Sat Mar 7 17:11:02 2009 Subject: [FX.php List] [OFF] PHP question: Pulling in text from a file In-Reply-To: <68A07307-20A9-47C7-8028-3EF92F7EC085@customikesolutions.com> References: <18D7FCBD-4AAE-46D9-B626-B974DA817201@patin.com> <02AA223F-8603-4956-AFDF-73C43A7ACC50@customikesolutions.com> <5F542AEA-6633-4217-ADA2-896C5E6B6E74@patin.com> <68A07307-20A9-47C7-8028-3EF92F7EC085@customikesolutions.com> Message-ID: <6F771CC9-3E51-4A4A-B675-233231E85CEF@patin.com> Michael, So is there any advantage to using your method over what I used? They both require the file to be uploaded first... What I was trying to get to work was this: --- $postText = trim(file_get_contents('php://input')); echo $postText; --- But it never worked; I fooled with ENCTYPE, since the php.net site mentioned that it wouldn't work with multipart/form-data, and set it to text/xml, but that didn't work either, on XML or any other kind of text document. It would be great if I could figure out a way to do it so that the file didn't have to get uploaded, which would keep me from having to clear these out every now and then, but so long as it works, which it does now, I'm at least up and running... Thoughts welcome! Best, Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090307/26cc01bc/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 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 Mar 7, 2009, at 6:04 PM, Head Honcho wrote: > Hi Bob, > > On 08/03/2009, at 10:37 AM, Bob Patin wrote: > >> Thanks; I was all over php.net this afternoon, > > BTW, I use PHP Function index > which allows me to seach for php stuff right on my desktop. > > Regards > > Michael Ward > -- > Head Honcho > CustoMike Solutions > Member, FileMaker Business Alliance > Member, FileMaker Technical Network > FileMaker 7 Certified Developer > FileMaker 8 Certified Developer > FileMaker 9 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 kmccoy at supportgroup.com Sun Mar 8 19:45:54 2009 From: kmccoy at supportgroup.com (Karstyn McCoy) Date: Sun Mar 8 19:45:56 2009 Subject: [FX.php List] IIS 405 error Message-ID: <898d01b70903081845g2e89ae70p980a90aed933d7a@mail.gmail.com> I have taken over a project that uses the Codeigniter framework with FX. I'm trying to get the site working on my Win XP laptop but an getting an IIS Error of 405. Looks like Codeigniter sends Post forms without an actual page name, which IIS does not like. On the site the index.php (actually welcome.php in Codeigniter) is a login page, which loads fine. The next page will not load and is where I get the 405 error. The site does work on it's live server, which uses apache. So I know the code should work, just seems to be a Windows/IIS config issue. General Question - is anyone familier with getting past an IIS 405 error? Since the above was not working I also tried installing Xampp on my laptop. Again the login page loads fine, and the submission to an unamed page seems to work as well. The problem with this setup is that FileMaker seems to be left out of the equation! SO with this eetup I can't login as it's not communicating with FileMaker to check the username and password. -- --Karstyn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090308/88fb7ca1/attachment.html From jschwartz at exit445.com Sun Mar 8 21:02:39 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Sun Mar 8 21:04:16 2009 Subject: [FX.php List] IIS 405 error In-Reply-To: <898d01b70903081845g2e89ae70p980a90aed933d7a@mail.gmail.com> References: <898d01b70903081845g2e89ae70p980a90aed933d7a@mail.gmail.com> Message-ID: Hi Kartsyn, I know very very little about how IIS works...except that a client's frequently-ill IIS system produces an 405 error that is fixed by restarting Web Servr and/or IIS. With the 405 error, FMP never receives the query from the web server....or so it seems. HTH, Jonathan At 6:45 PM -0700 3/8/09, Karstyn McCoy wrote: >I have taken over a project that uses the Codeigniter framework with >FX. I'm trying to get the site working on my Win XP laptop but an >getting an IIS Error of 405. Looks like Codeigniter sends Post forms >without an actual page name, which IIS does not like. On the site >the index.php (actually welcome.php in Codeigniter) is a login page, >which loads fine. The next page will not load and is where I get the >405 error. The site does work on it's live server, which uses >apache. So I know the code should work, just seems to be a >Windows/IIS config issue. > >General Question - is anyone familier with getting past an IIS 405 error? > >Since the above was not working I also tried installing Xampp on my >laptop. Again the login page loads fine, and the submission to an >unamed page seems to work as well. The problem with this setup is >that FileMaker seems to be left out of the equation! SO with this >eetup I can't login as it's not communicating with FileMaker to >check the username and password. > > >-- >--Karstyn > >_______________________________________________ >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 kmccoy at supportgroup.com Sun Mar 8 22:15:34 2009 From: kmccoy at supportgroup.com (Karstyn McCoy) Date: Sun Mar 8 22:15:36 2009 Subject: [FX.php List] IIS 405 error In-Reply-To: References: <898d01b70903081845g2e89ae70p980a90aed933d7a@mail.gmail.com> Message-ID: <898d01b70903082115k1fae27d3wcd917513aa23e77@mail.gmail.com> Thanks Jonathan. I wish it was as simple as a restart! --Karstyn On Sun, Mar 8, 2009 at 8:02 PM, Jonathan Schwartz wrote: > Hi Kartsyn, > > I know very very little about how IIS works...except that a client's > frequently-ill IIS system produces an 405 error that is fixed by restarting > Web Servr and/or IIS. With the 405 error, FMP never receives the query from > the web server....or so it seems. > > HTH, > > Jonathan > > > > > > At 6:45 PM -0700 3/8/09, Karstyn McCoy wrote: > >> I have taken over a project that uses the Codeigniter framework with FX. >> I'm trying to get the site working on my Win XP laptop but an getting an IIS >> Error of 405. Looks like Codeigniter sends Post forms without an actual page >> name, which IIS does not like. On the site the index.php (actually >> welcome.php in Codeigniter) is a login page, which loads fine. The next page >> will not load and is where I get the 405 error. The site does work on it's >> live server, which uses apache. So I know the code should work, just seems >> to be a Windows/IIS config issue. >> >> General Question - is anyone familier with getting past an IIS 405 error? >> >> Since the above was not working I also tried installing Xampp on my >> laptop. Again the login page loads fine, and the submission to an unamed >> page seems to work as well. The problem with this setup is that FileMaker >> seems to be left out of the equation! SO with this eetup I can't login as >> it's not communicating with FileMaker to check the username and password. >> >> >> -- >> --Karstyn >> >> _______________________________________________ >> 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090308/ca3a2b7f/attachment.html From ggt667 at gmail.com Mon Mar 9 02:04:39 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Mon Mar 9 02:04:43 2009 Subject: [FX.php List] IIS 405 error In-Reply-To: <898d01b70903082115k1fae27d3wcd917513aa23e77@mail.gmail.com> References: <898d01b70903081845g2e89ae70p980a90aed933d7a@mail.gmail.com> <898d01b70903082115k1fae27d3wcd917513aa23e77@mail.gmail.com> Message-ID: OT: http://www.google.com/search?q=Codeigniter+error%3A+405 2009/3/9 Karstyn McCoy : > Thanks Jonathan. > > I wish it was as simple as a restart! > > --Karstyn > > On Sun, Mar 8, 2009 at 8:02 PM, Jonathan Schwartz > wrote: >> >> Hi Kartsyn, >> >> I know very very little about how IIS works...except that a client's >> frequently-ill IIS system produces an 405 error that is fixed by restarting >> Web Servr and/or IIS. With the 405 error, FMP never receives the query from >> the web server....or so it seems. >> >> HTH, >> >> Jonathan >> >> >> >> >> At 6:45 PM -0700 3/8/09, Karstyn McCoy wrote: >>> >>> I have taken over a project that uses the Codeigniter framework with FX. >>> I'm trying to get the site working on my Win XP laptop but an getting an IIS >>> Error of 405. Looks like Codeigniter sends Post forms without an actual page >>> name, which IIS does not like. On the site the index.php (actually >>> welcome.php in Codeigniter) is a login page, which loads fine. The next page >>> will not load and is where I get the 405 error. The site does work on it's >>> live server, which uses apache. So I know the code should work, just seems >>> to be a Windows/IIS config issue. >>> >>> General Question - is anyone familier with getting past an IIS 405 error? >>> >>> Since the above was not working I also tried installing Xampp on my >>> laptop. Again the login page loads fine, and the submission to an unamed >>> page seems to work as well. The problem with this setup is that FileMaker >>> seems to be left out of the equation! SO with this eetup I can't login as >>> it's not communicating with FileMaker to check the username and password. >>> >>> >>> -- >>> --Karstyn >>> >>> _______________________________________________ >>> 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 > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From andersm at alamark.com Mon Mar 9 10:37:47 2009 From: andersm at alamark.com (Anders Monsen) Date: Mon Mar 9 10:37:55 2009 Subject: [FX.php List] FX Version In-Reply-To: References: <3b77f2170902240929h4ef7aee9ia9521bd7d364d56d@mail.gmail.com><3b77f2170902241007r17480a27g1cfefc8cf32a033a@mail.gmail.com><3b77f2170902241016h74b82c6blae5231f83cd3b2e1@mail.gmail.com><826AE9F4-8030-4280-871A-246DC9FB1B9D@tds.net><9DFE80ED-85CC-4D1A-AC5F-E27402029B0D@patin.com><1BAAFE64-CC5C-4777-9437-3EA28F40FCAC@patin.com><987B8AC0-0636-4E16-963A-E821FFE9CA7D@lucerneblvd.org> Message-ID: <6045A54E-FB17-4496-AE8A-416FBF7F7601@alamark.com> Chris, Speaking of books, I ran into an issue last week where I had a payment form that occasionally generated an error. I finally figured out the error was cause by users clicking the submit button multiple times, and the subsequent clicks failed to send over information that expired after the first click. I was currently reading a book called "PHP Hacks" from O'Reilly which had a snippet about double-submits. I re-wrote the functions in the book to work with FileMaker and FX.php instead of MySQL, and it worked like a charm. This PHP book has many other useful hacks. --- Regards, Anders On Feb 27, 2009, at 6:04 PM, Chris Hansen wrote: > David, > > I'll look at this. You're not the only one that has found caching > really useful. > > That said, documentation in general does need to be better. With > that in mind, in the near future I'll be doing as someone once > suggested and setting up a wiki. This has the added advantage that > if someone wanted to add a feature, my willingness to document it > would be less of a consideration =) Also, the quality of this list > is such that I know that a wiki would only make the documentation > better. I haven't worked with wikis before except as a consumer, so > feedback is welcome. > > And related to that, I really would like some feedback on good PHP, > FileMaker, and/or Web books -- I generally use php.net for PHP, I > haven't looked at any FM books recently, and my beloved O'Reilly > HTML book is getting a bit long in the tooth. What have all y'all > found helpful? > > Thanks! > > --Chris > > On Feb 25, 2009, at 3:56 PM, david weiner wrote: > >> I'd like to see the PHPCACHE function finished or better documented >> - I just hooked up neocode's caching stuff for mysql and it's a lot >> faster than the page based but I had kind of a negative experience >> with their support and won't be happy if I every have to >> troubleshoot it again without a good group of folks like this board >> for help. > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From chris at iViking.org Mon Mar 9 10:39:57 2009 From: chris at iViking.org (Chris Hansen) Date: Mon Mar 9 10:39:59 2009 Subject: [FX.php List] [OFF] PHP question: Pulling in text from a file In-Reply-To: <6F771CC9-3E51-4A4A-B675-233231E85CEF@patin.com> References: <18D7FCBD-4AAE-46D9-B626-B974DA817201@patin.com> <02AA223F-8603-4956-AFDF-73C43A7ACC50@customikesolutions.com> <5F542AEA-6633-4217-ADA2-896C5E6B6E74@patin.com> <68A07307-20A9-47C7-8028-3EF92F7EC085@customikesolutions.com> <6F771CC9-3E51-4A4A-B675-233231E85CEF@patin.com> Message-ID: Bob, Note that you can use the unlink() function to delete uploaded files directly on the page where you're working with them, so you won't have to periodically remove them by hand... HTH --Chris On Mar 7, 2009, at 5:10 PM, Bob Patin wrote: > Michael, > > So is there any advantage to using your method over what I used? > They both require the file to be uploaded first... > > What I was trying to get to work was this: > --- > $postText = trim(file_get_contents('php://input')); > echo $postText; > --- > > But it never worked; I fooled with ENCTYPE, since the php.net site > mentioned that it wouldn't work with multipart/form-data, and set it > to text/xml, but that didn't work either, on XML or any other kind > of text document. > > It would be great if I could figure out a way to do it so that the > file didn't have to get uploaded, which would keep me from having to > clear these out every now and then, but so long as it works, which > it does now, I'm at least up and running... > > Thoughts welcome! > > Best, > > Bob Patin > > > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 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 Mar 7, 2009, at 6:04 PM, Head Honcho wrote: > >> Hi Bob, >> >> On 08/03/2009, at 10:37 AM, Bob Patin wrote: >> >>> Thanks; I was all over php.net this afternoon, >> >> BTW, I use PHP Function index >> which allows me to seach for php stuff right on my desktop. >> >> Regards >> >> Michael Ward >> -- >> Head Honcho >> CustoMike Solutions >> Member, FileMaker Business Alliance >> Member, FileMaker Technical Network >> FileMaker 7 Certified Developer >> FileMaker 8 Certified Developer >> FileMaker 9 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 From jfunk at criticalsolution.com Mon Mar 9 10:44:48 2009 From: jfunk at criticalsolution.com (John Funk) Date: Mon Mar 9 10:44:51 2009 Subject: [FX.php List] A php question Message-ID: I have a survey form that gets data from existing records, shows the data on form with check boxes. When submitted, edits the FMm data. When building and testing the site all worked well. This morning I am getting index errors on the edit page because on check boxes that are NOT checked, do not pass the input name (or data) to the post. Here is my logic on each check box: I get the data using a normal query: $DealerType1=$record['DealerType1'][0]; I how the data in a form: "; else echo ""; ?> A stand-alone business with a single location
In my edit.php file that the form calls, this is how I am getting the data: $request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); What am I doing wrong? This is an iis web server. John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090309/211e70cc/attachment-0001.html From bob at patin.com Mon Mar 9 10:53:47 2009 From: bob at patin.com (Bob Patin) Date: Mon Mar 9 10:53:55 2009 Subject: [FX.php List] [OFF] PHP question: Pulling in text from a file In-Reply-To: References: <18D7FCBD-4AAE-46D9-B626-B974DA817201@patin.com> <02AA223F-8603-4956-AFDF-73C43A7ACC50@customikesolutions.com> <5F542AEA-6633-4217-ADA2-896C5E6B6E74@patin.com> <68A07307-20A9-47C7-8028-3EF92F7EC085@customikesolutions.com> <6F771CC9-3E51-4A4A-B675-233231E85CEF@patin.com> Message-ID: <3651FC3F-9E71-43FE-8CD9-15E298411D9C@patin.com> Thanks Chris, that sounds just like what I need; best, Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090309/6aab4faa/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 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 Mar 9, 2009, at 11:39 AM, Chris Hansen wrote: > Bob, > > Note that you can use the unlink() function to delete uploaded files > directly on the page where you're working with them, so you won't > have to periodically remove them by hand... HTH > > --Chris > > On Mar 7, 2009, at 5:10 PM, Bob Patin wrote: > >> Michael, >> >> So is there any advantage to using your method over what I used? >> They both require the file to be uploaded first... >> >> What I was trying to get to work was this: >> --- >> $postText = trim(file_get_contents('php://input')); >> echo $postText; >> --- >> >> But it never worked; I fooled with ENCTYPE, since the php.net site >> mentioned that it wouldn't work with multipart/form-data, and set >> it to text/xml, but that didn't work either, on XML or any other >> kind of text document. >> >> It would be great if I could figure out a way to do it so that the >> file didn't have to get uploaded, which would keep me from having >> to clear these out every now and then, but so long as it works, >> which it does now, I'm at least up and running... >> >> Thoughts welcome! >> >> Best, >> >> Bob Patin >> >> >> >> >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> iChat: bobpatin >> AIM: longterm1954 >> FileMaker 9 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 Mar 7, 2009, at 6:04 PM, Head Honcho wrote: >> >>> Hi Bob, >>> >>> On 08/03/2009, at 10:37 AM, Bob Patin wrote: >>> >>>> Thanks; I was all over php.net this afternoon, >>> >>> BTW, I use PHP Function index >> > which allows me to seach for php stuff right on my desktop. >>> >>> Regards >>> >>> Michael Ward >>> -- >>> Head Honcho >>> CustoMike Solutions >>> Member, FileMaker Business Alliance >>> Member, FileMaker Technical Network >>> FileMaker 7 Certified Developer >>> FileMaker 8 Certified Developer >>> FileMaker 9 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 > > _______________________________________________ > 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 Mar 9 11:08:16 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Mar 9 11:08:18 2009 Subject: [FX.php List] A php question In-Reply-To: References: Message-ID: <5B50A3A4-6680-4A62-9776-7CC3955C1216@finalresort.org> Well, just as with any input validation, you must be prepared for and handle gracefully the situation where you don't get the data that you are expecting from the client. One case of that is getting no data at all. To cut it short, one way to solve your problem is to make sure that if you don't get a value at all, you place a default value in the variable you are working with. For example: $DealerType1 = (isset($_REQUEST['DealerType1']) ? $_REQUEST ['DealerType1'] : '0'); $request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); As I see it, this is only tip of the iceberg for a discussion of best practices regarding input handling. But it should be enough to solve the problem :) 9 mar 2009 kl. 17.44 skrev John Funk: > I have a survey form that gets data from existing records, shows > the data on form with check boxes. When submitted, edits the FMm data. > > When building and testing the site all worked well. This morning I > am getting index errors on the edit page because on check boxes > that are NOT checked, do not pass the input name (or data) to the > post. > > Here is my logic on each check box: > > I get the data using a normal query: > $DealerType1=$record['DealerType1'][0]; > > I how the data in a form: > > if ($DealerType1 =='Stand-Alone Single') > echo ""; > else > echo ""; > ?> > A stand-alone business with a single location
> > > In my edit.php file that the form calls, this is how I am getting > the data: > > $request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); > > > What am I doing wrong? This is an iis web server. > > John > _______________________________________________ > 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/20090309/927dee9b/attachment.html From leo at finalresort.org Mon Mar 9 11:10:28 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Mar 9 11:10:29 2009 Subject: [FX.php List] A php question In-Reply-To: <5B50A3A4-6680-4A62-9776-7CC3955C1216@finalresort.org> References: <5B50A3A4-6680-4A62-9776-7CC3955C1216@finalresort.org> Message-ID: Damn me, I was too quick when editing that. This code is what I meant to paste, of course: $DealerType1 = (isset($_REQUEST['DealerType1']) ? $_REQUEST ['DealerType1'] : '0'); $request->AddDBParam('DealerType1', $DealerType1); Sorry :-/ 9 mar 2009 kl. 18.08 skrev Leo R. Lundgren: > Well, just as with any input validation, you must be prepared for > and handle gracefully the situation where you don't get the data > that you are expecting from the client. One case of that is getting > no data at all. > > To cut it short, one way to solve your problem is to make sure that > if you don't get a value at all, you place a default value in the > variable you are working with. For example: > > $DealerType1 = (isset($_REQUEST['DealerType1']) ? $_REQUEST > ['DealerType1'] : '0'); > $request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); > > As I see it, this is only tip of the iceberg for a discussion of > best practices regarding input handling. But it should be enough to > solve the problem :) > > > 9 mar 2009 kl. 17.44 skrev John Funk: > >> I have a survey form that gets data from existing records, shows >> the data on form with check boxes. When submitted, edits the FMm >> data. >> >> When building and testing the site all worked well. This morning I >> am getting index errors on the edit page because on check boxes >> that are NOT checked, do not pass the input name (or data) to the >> post. >> >> Here is my logic on each check box: >> >> I get the data using a normal query: >> $DealerType1=$record['DealerType1'][0]; >> >> I how the data in a form: >> >> > if ($DealerType1 =='Stand-Alone Single') >> echo ""; >> else >> echo ""; >> ?> >> A stand-alone business with a single location
>> >> >> In my edit.php file that the form calls, this is how I am getting >> the data: >> >> $request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); >> >> >> What am I doing wrong? This is an iis web server. >> >> John >> _______________________________________________ >> 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/20090309/570688fa/attachment.html From jfunk at criticalsolution.com Mon Mar 9 11:46:40 2009 From: jfunk at criticalsolution.com (John Funk) Date: Mon Mar 9 11:46:44 2009 Subject: [FX.php List] A php question In-Reply-To: Message-ID: Leo, I see your point but I think my problem is getting the input name posted from the form if the check box is not set. I am only checking if a specfic text in in the field, I do not care if it is empty, infact if it is empty my logic should show an unchecked input field. So it is this part that is causing me problems: "; else echo ""; ?> 1. looks for a specific string 2. if there show a checked box pass the input name as DealerType1 3. if NOT there show an UNchecked box pass the input name as DealerType1 John On 3/9/09 12:10 PM, "Leo R. Lundgren" wrote: > Damn me, I was too quick when editing that. This code is what I meant to > paste, of course: > > $DealerType1 = (isset($_REQUEST['DealerType1']) ? $_REQUEST['DealerType1'] : > '0'); > $request->AddDBParam('DealerType1', $DealerType1); > > Sorry :-/ > > > 9 mar 2009 kl. 18.08 skrev Leo R. Lundgren: > >> Well, just as with any input validation, you must be prepared for and handle >> gracefully the situation where you don't get the data that you are expecting >> from the client. One case of that is getting no data at all. >> >> To cut it short, one way to solve your problem is to make sure that if you >> don't get a value at all, you place a default value in the variable you are >> working with. For example: >> >> $DealerType1 = (isset($_REQUEST['DealerType1']) ? $_REQUEST['DealerType1'] : >> '0'); >> $request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); >> >> As I see it, this is only tip of the iceberg for a discussion of best >> practices regarding input handling. But it should be enough to solve the >> problem :) >> >> >> 9 mar 2009 kl. 17.44 skrev John Funk: >> >>> I have a survey form that gets data from existing records, shows the data >>> on form with check boxes. When submitted, edits the FMm data. >>> >>> When building and testing the site all worked well. This morning I am >>> getting index errors on the edit page because on check boxes that are NOT >>> checked, do not pass the input name (or data) to the post. >>> >>> Here is my logic on each check box: >>> >>> I get the data using a normal query: >>> $DealerType1=$record['DealerType1'][0]; >>> >>> I how the data in a form: >>> >>> >> if ($DealerType1 =='Stand-Alone Single') >>> echo ">> checked />"; >>> else >>> echo ">> unchecked />"; >>> ?> >>> A stand-alone business with a single location
>>> >>> >>> In my edit.php file that the form calls, this is how I am getting the data: >>> >>> $request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); >>> >>> >>> What am I doing wrong? This is an iis web server. >>> >>> John >>> >>> _______________________________________________ >>> 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/20090309/bc5f3bba/attachment.html From leo at finalresort.org Mon Mar 9 12:05:32 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Mar 9 12:05:34 2009 Subject: [FX.php List] A php question In-Reply-To: References: Message-ID: <4B1025CF-80A1-4884-9C96-7EE2C0B28BE5@finalresort.org> Unless I totally misunderstand your problem, then no; Your problem/ what you want to do isn't to get a checkbox with the name DealerType1 submitted even if it is unchecked. Unchecked checkboxes are simply not POSTed at all, and this is the expected behaviour. To quote http://www.w3.org/TR/html401/interact/forms.html#checkbox , "When a form is submitted, only "on" checkbox controls can become successful." So, you should expect the following form a checkbox: - If it is checked, you will recieve it as part of the POST. - If it is *not* checked, you will not recieve it as part of the POST. I think it's more a problem of how you handle this fact in your business logic. I don't fully understand what you want to accomplish with showing a checkbox for something that you apparently still want to recieve the same value for nomatter what the checkbox status is. 9 mar 2009 kl. 18.46 skrev John Funk: > Leo, > I see your point but I think my problem is getting the input name > posted from the form if the check box is not set. > I am only checking if a specfic text in in the field, I do not care > if it is empty, infact if it is empty my logic should show an > unchecked input field. So it is this part that is causing me problems: > > if ($DealerType1 =='Stand-Alone Single') > echo ""; > else > echo ""; > ?> > > looks for a specific string > if there show a checked box pass the input name as DealerType1 > if NOT there show an UNchecked box pass the input name as DealerType1 > > John > > > > On 3/9/09 12:10 PM, "Leo R. Lundgren" wrote: > >> Damn me, I was too quick when editing that. This code is what I >> meant to paste, of course: >> >> $DealerType1 = (isset($_REQUEST['DealerType1']) ? $_REQUEST >> ['DealerType1'] : '0'); >> $request->AddDBParam('DealerType1', $DealerType1); >> >> Sorry :-/ >> >> >> 9 mar 2009 kl. 18.08 skrev Leo R. Lundgren: >> >>> Well, just as with any input validation, you must be prepared for >>> and handle gracefully the situation where you don't get the data >>> that you are expecting from the client. One case of that is >>> getting no data at all. >>> >>> To cut it short, one way to solve your problem is to make sure >>> that if you don't get a value at all, you place a default value >>> in the variable you are working with. For example: >>> >>> $DealerType1 = (isset($_REQUEST['DealerType1']) ? $_REQUEST >>> ['DealerType1'] : '0'); >>> $request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); >>> >>> As I see it, this is only tip of the iceberg for a discussion of >>> best practices regarding input handling. But it should be enough >>> to solve the problem :) >>> >>> >>> 9 mar 2009 kl. 17.44 skrev John Funk: >>> >>>> I have a survey form that gets data from existing records, shows >>>> the data on form with check boxes. When submitted, edits the FMm >>>> data. >>>> >>>> When building and testing the site all worked well. This >>>> morning I am getting index errors on the edit page because on >>>> check boxes that are NOT checked, do not pass the input name (or >>>> data) to the post. >>>> >>>> Here is my logic on each check box: >>>> >>>> I get the data using a normal query: >>>> $DealerType1=$record['DealerType1'][0]; >>>> >>>> I how the data in a form: >>>> >>>> >>> if ($DealerType1 =='Stand-Alone Single') >>>> echo ""; >>>> else >>>> echo ""; >>>> ?> >>>> A stand-alone business with a single location
>>>> >>>> >>>> In my edit.php file that the form calls, this is how I am >>>> getting the data: >>>> >>>> $request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); >>>> >>>> >>>> What am I doing wrong? This is an iis web server. >>>> >>>> John >>>> >>>> _______________________________________________ >>>> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090309/9daf702f/attachment-0001.html From derrick at fogles.net Mon Mar 9 12:12:39 2009 From: derrick at fogles.net (Derrick Fogle) Date: Mon Mar 9 12:12:53 2009 Subject: [FX.php List] A php question In-Reply-To: References: Message-ID: <008ADC7A-1F72-4D7B-A206-B108F877B61E@fogles.net> You're not having any trouble displaying the checkmark, are you? Previous emails indicated that the problem was that, when submitting the form, when the box is NOT checked, the name-value pair never gets submitted to the input processing page (which throws off your field indexing). The failure of the form to submit a name when there is no value checked is "normal" HTML. The only real work-around is to hard-code as Leo suggested; if there is no value, then you know the box was un- checked, so you can submit '' as the value for the field. If it was checked, then everything is there and works correctly. This still fails to solve the indexing issue though, doesn't it? You'll have to implement some alternative logic to handle the field index issue. Unfortunately, I don't have any great ideas on that. On Mar 9, 2009, at 12:46 PM, John Funk wrote: > Leo, > I see your point but I think my problem is getting the input name > posted from the form if the check box is not set. > I am only checking if a specfic text in in the field, I do not care > if it is empty, infact if it is empty my logic should show an > unchecked input field. So it is this part that is causing me problems: > > if ($DealerType1 =='Stand-Alone Single') > echo ""; > else > echo ""; > ?> > > ? looks for a specific string > ? if there show a checked box pass the input name as DealerType1 > ? if NOT there show an UNchecked box pass the input name as > DealerType1 > > John > > > > On 3/9/09 12:10 PM, "Leo R. Lundgren" wrote: > >> Damn me, I was too quick when editing that. This code is what I >> meant to paste, of course: >> >> $DealerType1 = (isset($_REQUEST['DealerType1']) ? >> $_REQUEST['DealerType1'] : '0'); >> $request->AddDBParam('DealerType1', $DealerType1); >> >> Sorry :-/ >> >> >> 9 mar 2009 kl. 18.08 skrev Leo R. Lundgren: >> >>> Well, just as with any input validation, you must be prepared for >>> and handle gracefully the situation where you don't get the data >>> that you are expecting from the client. One case of that is >>> getting no data at all. >>> >>> To cut it short, one way to solve your problem is to make sure >>> that if you don't get a value at all, you place a default value in >>> the variable you are working with. For example: >>> >>> $DealerType1 = (isset($_REQUEST['DealerType1']) ? >>> $_REQUEST['DealerType1'] : '0'); >>> $request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); >>> >>> As I see it, this is only tip of the iceberg for a discussion of >>> best practices regarding input handling. But it should be enough >>> to solve the problem :) >>> >>> >>> 9 mar 2009 kl. 17.44 skrev John Funk: >>> >>>> I have a survey form that gets data from existing records, shows >>>> the data on form with check boxes. When submitted, edits the FMm >>>> data. >>>> >>>> When building and testing the site all worked well. This morning >>>> I am getting index errors on the edit page because on check boxes >>>> that are NOT checked, do not pass the input name (or data) to the >>>> post. >>>> >>>> Here is my logic on each check box: >>>> >>>> I get the data using a normal query: >>>> $DealerType1=$record['DealerType1'][0]; >>>> >>>> I how the data in a form: >>>> >>>> >>> if ($DealerType1 =='Stand-Alone Single') >>>> echo ""; >>>> else >>>> echo ""; >>>> ?> >>>> A stand-alone business with a single location
>>>> >>>> >>>> In my edit.php file that the form calls, this is how I am >>>> getting the data: >>>> >>>> $request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); >>>> >>>> >>>> What am I doing wrong? This is an iis web server. >>>> >>>> John >>>> >>>> _______________________________________________ >>>> 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 Derrick From leo at finalresort.org Mon Mar 9 12:16:10 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Mar 9 12:16:11 2009 Subject: [FX.php List] A php question In-Reply-To: <008ADC7A-1F72-4D7B-A206-B108F877B61E@fogles.net> References: <008ADC7A-1F72-4D7B-A206-B108F877B61E@fogles.net> Message-ID: 9 mar 2009 kl. 19.12 skrev Derrick Fogle: > This still fails to solve the indexing issue though, doesn't it? > You'll have to implement some alternative logic to handle the field > index issue. Unfortunately, I don't have any great ideas on that. If you mean the problem that there are errors thrown for non-existing indexes, that is taken care of by the isset() check inside the first line of the code I pasted. > On Mar 9, 2009, at 12:46 PM, John Funk wrote: > >> Leo, >> I see your point but I think my problem is getting the input name >> posted from the form if the check box is not set. >> I am only checking if a specfic text in in the field, I do not >> care if it is empty, infact if it is empty my logic should show an >> unchecked input field. So it is this part that is causing me >> problems: >> >> > if ($DealerType1 =='Stand-Alone Single') >> echo ""; >> else >> echo ""; >> ?> >> >> ? looks for a specific string >> ? if there show a checked box pass the input name as DealerType1 >> ? if NOT there show an UNchecked box pass the input name as >> DealerType1 >> >> John >> >> >> >> On 3/9/09 12:10 PM, "Leo R. Lundgren" wrote: >> >>> Damn me, I was too quick when editing that. This code is what I >>> meant to paste, of course: >>> >>> $DealerType1 = (isset($_REQUEST['DealerType1']) ? $_REQUEST >>> ['DealerType1'] : '0'); >>> $request->AddDBParam('DealerType1', $DealerType1); >>> >>> Sorry :-/ >>> >>> >>> 9 mar 2009 kl. 18.08 skrev Leo R. Lundgren: >>> >>>> Well, just as with any input validation, you must be prepared >>>> for and handle gracefully the situation where you don't get the >>>> data that you are expecting from the client. One case of that is >>>> getting no data at all. >>>> >>>> To cut it short, one way to solve your problem is to make sure >>>> that if you don't get a value at all, you place a default value >>>> in the variable you are working with. For example: >>>> >>>> $DealerType1 = (isset($_REQUEST['DealerType1']) ? $_REQUEST >>>> ['DealerType1'] : '0'); >>>> $request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); >>>> >>>> As I see it, this is only tip of the iceberg for a discussion of >>>> best practices regarding input handling. But it should be enough >>>> to solve the problem :) >>>> >>>> >>>> 9 mar 2009 kl. 17.44 skrev John Funk: >>>> >>>>> I have a survey form that gets data from existing records, >>>>> shows the data on form with check boxes. When submitted, edits >>>>> the FMm data. >>>>> >>>>> When building and testing the site all worked well. This >>>>> morning I am getting index errors on the edit page because on >>>>> check boxes that are NOT checked, do not pass the input name >>>>> (or data) to the post. >>>>> >>>>> Here is my logic on each check box: >>>>> >>>>> I get the data using a normal query: >>>>> $DealerType1=$record['DealerType1'][0]; >>>>> >>>>> I how the data in a form: >>>>> >>>>> >>>> if ($DealerType1 =='Stand-Alone Single') >>>>> echo ""; >>>>> else >>>>> echo ""; >>>>> ?> >>>>> A stand-alone business with a single location
>>>>> >>>>> >>>>> In my edit.php file that the form calls, this is how I am >>>>> getting the data: >>>>> >>>>> $request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); >>>>> >>>>> >>>>> What am I doing wrong? This is an iis web server. >>>>> >>>>> John >>>>> >>>>> _______________________________________________ >>>>> 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 > > > Derrick > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jfunk at criticalsolution.com Mon Mar 9 12:19:46 2009 From: jfunk at criticalsolution.com (John Funk) Date: Mon Mar 9 12:19:50 2009 Subject: [FX.php List] A php question In-Reply-To: <4B1025CF-80A1-4884-9C96-7EE2C0B28BE5@finalresort.org> Message-ID: Yes I see, I am switching to radio boxes. Thanks for all your effort. On 3/9/09 1:05 PM, "Leo R. Lundgren" wrote: > Unless I totally misunderstand your problem, then no; Your problem/what you > want to do isn't to get a checkbox with the name?DealerType1 submitted even if > it is unchecked. Unchecked checkboxes are simply not POSTed at all, and this > is the expected behaviour. To > quote?http://www.w3.org/TR/html401/interact/forms.html#checkbox , "When a form > is submitted, only "on" checkbox controls can become successful." > > So, you should expect the following form a checkbox: > - If it is checked, you will recieve it as part of the POST. > - If it is *not* checked, you will not recieve it as part of the POST. > > I think it's more a problem of how you handle this fact in your business > logic. I don't fully understand what you want to accomplish with showing a > checkbox for something that you apparently still want to recieve the same > value for nomatter what the checkbox status is. > > > 9 mar 2009 kl. 18.46 skrev John Funk: > >> Leo, >> I see your point but I think my problem is getting the input name posted >> from the form if the check box is not set. >> I am only checking if a specfic text in in the field, I do not care if it is >> empty, infact if it is empty my logic should show an unchecked input field. >> So it is this part that is causing me problems: >> >> > if ($DealerType1 =='Stand-Alone Single') ? >> echo "> checked />"; ? >> else >> echo "> unchecked />"; >> ?> >> >> >> 1. looks for a specific string >> 2. if there show a checked box pass the input name as DealerType1 >> 3. if NOT there show an UNchecked box pass the input name as DealerType1 >> 4. >> >> John >> >> >> >> On 3/9/09 12:10 PM, "Leo R. Lundgren" wrote: >> >> >>> Damn me, I was too quick when editing that. This code is what I meant to >>> paste, of course: >>> >>> $DealerType1 = (isset($_REQUEST['DealerType1']) ? $_REQUEST['DealerType1'] >>> : '0'); >>> $request->AddDBParam('DealerType1', $DealerType1); >>> >>> Sorry :-/ >>> >>> >>> 9 mar 2009 kl. 18.08 skrev Leo R. Lundgren: >>> >>> >>>> Well, just as with any input validation, you must be prepared for and >>>> handle gracefully the situation where you don't get the data that you are >>>> expecting from the client. One case of that is getting no data at all. >>>> >>>> To cut it short, one way to solve your problem is to make sure that if you >>>> don't get a value at all, you place a default value in the variable you are >>>> working with. For example: >>>> >>>> $DealerType1 = (isset($_REQUEST['DealerType1']) ? $_REQUEST['DealerType1'] >>>> : '0'); >>>> $request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); >>>> >>>> As I see it, this is only tip of the iceberg for a discussion of best >>>> practices regarding input handling. But it should be enough to solve the >>>> problem :) >>>> >>>> >>>> 9 mar 2009 kl. 17.44 skrev John Funk: >>>> >>>> >>>>> I have a survey form that gets data from existing records, shows the data >>>>> on form with check boxes. When submitted, edits the FMm data. >>>>> ? >>>>> ?When building and testing the site all worked well. This morning I am >>>>> getting index errors on the edit page because on check boxes that are NOT >>>>> checked, do not pass the input name (or data) to the post. >>>>> ? >>>>> ?Here is my logic on each check box: >>>>> ? >>>>> I get the data using a normal query: >>>>> ?$DealerType1=$record['DealerType1'][0]; >>>>> ? >>>>> I how the data in a form: >>>>> ? >>>>> >>>> ?if ($DealerType1 =='Stand-Alone Single') >>>>> ?echo ""; >>>>> ?else >>>>> ?echo ""; >>>>> ??> >>>>> ?A stand-alone business with a single location
>>>>> ? >>>>> ? >>>>> ?In my edit.php file that the form calls, this is how I am getting the >>>>> data: >>>>> ? >>>>> ?$request->AddDBParam('DealerType1', $_REQUEST["DealerType1"]); >>>>> ? >>>>> ? >>>>> What am I doing wrong? This is an iis web server. >>>>> ? >>>>> John >>>>> ? >>>>> _______________________________________________ >>>>> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090309/e13a5d1a/attachment.html From kmccoy at supportgroup.com Mon Mar 9 17:59:42 2009 From: kmccoy at supportgroup.com (Karstyn McCoy) Date: Mon Mar 9 17:59:45 2009 Subject: [FX.php List] IIS 405 error In-Reply-To: References: <898d01b70903081845g2e89ae70p980a90aed933d7a@mail.gmail.com> <898d01b70903082115k1fae27d3wcd917513aa23e77@mail.gmail.com> Message-ID: <898d01b70903091659y1a5810bcre470f54ff6a25039@mail.gmail.com> GGT - That was a post from of mine from the Codeigniter list! Things seem to be going backwards. Now if I past the db query URL http://192.168.4.4/fmi/xml/FMPXMLRESULT.xml?-db=NN_PETS.fp7&-lay=FX_people&-max=50&ID_employeeNum_c.op=eq&ID_employeeNum_c=573890&-find directly in the address bar I get a Server Application Error. I have probably trying so many different setups that I have messed up the web server/FileMaker connection. Based on this I have tried un-installing and re-installing IIS and FMS v9, un-installing java 1.6 v12 upgrade so I know I'm only using java 1.6 v7. Now just testing the FMS PHP/XML/XSLT test pages gives me a 'Server Application Error' message. --Karstyn On Mon, Mar 9, 2009 at 1:04 AM, Gjermund Gusland Thorsen wrote: > OT: http://www.google.com/search?q=Codeigniter+error%3A+405 > > 2009/3/9 Karstyn McCoy : > > Thanks Jonathan. > > > > I wish it was as simple as a restart! > > > > --Karstyn > > > > On Sun, Mar 8, 2009 at 8:02 PM, Jonathan Schwartz > > > wrote: > >> > >> Hi Kartsyn, > >> > >> I know very very little about how IIS works...except that a client's > >> frequently-ill IIS system produces an 405 error that is fixed by > restarting > >> Web Servr and/or IIS. With the 405 error, FMP never receives the query > from > >> the web server....or so it seems. > >> > >> HTH, > >> > >> Jonathan > >> > >> > >> > >> > >> At 6:45 PM -0700 3/8/09, Karstyn McCoy wrote: > >>> > >>> I have taken over a project that uses the Codeigniter framework with > FX. > >>> I'm trying to get the site working on my Win XP laptop but an getting > an IIS > >>> Error of 405. Looks like Codeigniter sends Post forms without an actual > page > >>> name, which IIS does not like. On the site the index.php (actually > >>> welcome.php in Codeigniter) is a login page, which loads fine. The next > page > >>> will not load and is where I get the 405 error. The site does work on > it's > >>> live server, which uses apache. So I know the code should work, just > seems > >>> to be a Windows/IIS config issue. > >>> > >>> General Question - is anyone familier with getting past an IIS 405 > error? > >>> > >>> Since the above was not working I also tried installing Xampp on my > >>> laptop. Again the login page loads fine, and the submission to an > unamed > >>> page seems to work as well. The problem with this setup is that > FileMaker > >>> seems to be left out of the equation! SO with this eetup I can't login > as > >>> it's not communicating with FileMaker to check the username and > password. > >>> > >>> > >>> -- > >>> --Karstyn > >>> > >>> _______________________________________________ > >>> 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 > > > > > > > > _______________________________________________ > > 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/20090309/f136f7b6/attachment-0001.html From tcmeyers at troymeyers.com Mon Mar 9 18:17:24 2009 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Mon Mar 9 18:17:25 2009 Subject: [FX.php List] IIS 405 error Message-ID: Karstyn, I'm not used to looking at those XML URLs, but this looks odd. > http://192.168.4.4/fmi/xml/FMPXMLRESULT.xml?-db=NN_PETS.fp7&-lay=FX_people&-max=50&ID_employeeNum_c.op=eq&ID_employeeNum_c=573890&-find These portions look normal to me: -db=NN_PETS.fp7 -lay=FX_people -max=50 ID_employeeNum_c=573890 -find ... but this one ... ID_employeeNum_c.op=eq ...seems strange. I'm used to seeing: op=eq but not the 'dot' version. Maybe it's fine, but if not, could be the problem? I guess it might be fine if that's how FM is told to do "=" via XML. Sorry if this is a bum steer. -Troy From kmccoy at supportgroup.com Mon Mar 9 18:38:12 2009 From: kmccoy at supportgroup.com (Karstyn McCoy) Date: Mon Mar 9 18:38:16 2009 Subject: [FX.php List] IIS 405 error In-Reply-To: References: Message-ID: <898d01b70903091738p7f9e9464y737cec5b5a248872@mail.gmail.com> Troy, No problem, thanks for looking into it. The URL is valid and does work on another system, just can't get my components working together correctly! --Karstyn On Mon, Mar 9, 2009 at 5:17 PM, Troy Meyers wrote: > Karstyn, > > I'm not used to looking at those XML URLs, but this looks odd. > > > > http://192.168.4.4/fmi/xml/FMPXMLRESULT.xml?-db=NN_PETS.fp7&-lay=FX_people&-max=50&ID_employeeNum_c.op=eq&ID_employeeNum_c=573890&-find > > These portions look normal to me: > -db=NN_PETS.fp7 > -lay=FX_people > -max=50 > ID_employeeNum_c=573890 > -find > > ... but this one ... > ID_employeeNum_c.op=eq > ...seems strange. I'm used to seeing: > op=eq > but not the 'dot' version. Maybe it's fine, but if not, could be the > problem? > I guess it might be fine if that's how FM is told to do "=" via XML. Sorry > if this is a bum steer. > > -Troy > _______________________________________________ > 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/20090309/049ef74c/attachment.html From ggt667 at gmail.com Tue Mar 10 02:44:27 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Tue Mar 10 02:44:30 2009 Subject: [FX.php List] IIS 405 error In-Reply-To: <898d01b70903091738p7f9e9464y737cec5b5a248872@mail.gmail.com> References: <898d01b70903091738p7f9e9464y737cec5b5a248872@mail.gmail.com> Message-ID: It?s not a FX.php problem, it?s probably an IIS or Codeigniter issue, my guess is that you will get help quicker on an IIS or Codeigniter list. ggt 2009/3/10 Karstyn McCoy : > Troy, > > No problem, thanks for looking into it. > > The URL is valid and does work on another system, just can't get my > components working togetherFXcorrectly! > > --Karstyn > > On Mon, Mar 9, 2009 at 5:17 PM, Troy Meyers wrote: >> >> Karstyn, >> >> I'm not used to looking at those XML URLs, but this looks odd. >> >> > >> > http://192.168.4.4/fmi/xml/FMPXMLRESULT.xml?-db=NN_PETS.fp7&-lay=FX_people&-max=50&ID_employeeNum_c.op=eq&ID_employeeNum_c=573890&-find >> >> These portions look normal to me: >> -db=NN_PETS.fp7 >> -lay=FX_people >> -max=50 >> ID_employeeNum_c=573890 >> -find >> >> ... but this one ... >> ID_employeeNum_c.op=eq >> ...seems strange. I'm used to seeing: >> op=eq >> but not the 'dot' version. Maybe it's fine, but if not, could be the >> problem? >> I guess it might be fine if that's how FM is told to do "=" via XML. Sorry >> if this is a bum steer. >> >> -Troy >> _______________________________________________ >> 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 kmccoy at supportgroup.com Tue Mar 10 08:12:33 2009 From: kmccoy at supportgroup.com (Karstyn McCoy) Date: Tue Mar 10 08:12:37 2009 Subject: [FX.php List] IIS 405 error In-Reply-To: References: <898d01b70903091738p7f9e9464y737cec5b5a248872@mail.gmail.com> Message-ID: <898d01b70903100712nb0e8d69h2cdaed5f22dd2da4@mail.gmail.com> GGT - you are correct, it is an IIS/Codeigniter issue. With trying a bunch of different configs I ended up messing things up in general, and then had a hard time telling where the real issue was. But is not with FX or FileMaker! Thanks, --Karstyn On Tue, Mar 10, 2009 at 1:44 AM, Gjermund Gusland Thorsen wrote: > It?s not a FX.php problem, it?s probably an IIS or Codeigniter issue, > my guess is that you will get help quicker on an IIS or Codeigniter list. > > ggt > > 2009/3/10 Karstyn McCoy : > > Troy, > > > > No problem, thanks for looking into it. > > > > The URL is valid and does work on another system, just can't get my > > components working togetherFXcorrectly! > > > > --Karstyn > > > > On Mon, Mar 9, 2009 at 5:17 PM, Troy Meyers > wrote: > >> > >> Karstyn, > >> > >> I'm not used to looking at those XML URLs, but this looks odd. > >> > >> > > >> > > http://192.168.4.4/fmi/xml/FMPXMLRESULT.xml?-db=NN_PETS.fp7&-lay=FX_people&-max=50&ID_employeeNum_c.op=eq&ID_employeeNum_c=573890&-find > >> > >> These portions look normal to me: > >> -db=NN_PETS.fp7 > >> -lay=FX_people > >> -max=50 > >> ID_employeeNum_c=573890 > >> -find > >> > >> ... but this one ... > >> ID_employeeNum_c.op=eq > >> ...seems strange. I'm used to seeing: > >> op=eq > >> but not the 'dot' version. Maybe it's fine, but if not, could be the > >> problem? > >> I guess it might be fine if that's how FM is told to do "=" via XML. > Sorry > >> if this is a bum steer. > >> > >> -Troy > >> _______________________________________________ > >> 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 > 650 685-4300 x213 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090310/7704bd67/attachment.html From hank.shrier at efn-ex.com Mon Mar 9 22:52:12 2009 From: hank.shrier at efn-ex.com (Hank Shrier) Date: Tue Mar 10 08:59:29 2009 Subject: [FX.php List] Connecting a MYSQL database to a FileMaker database (Cross Post) In-Reply-To: <898d01b70903091738p7f9e9464y737cec5b5a248872@mail.gmail.com> References: <898d01b70903091738p7f9e9464y737cec5b5a248872@mail.gmail.com> Message-ID: I need to connect a MYSQL database to a FileMaker database. The table structure is identical. The MYSQL structure processes transactions and the FileMaker tables will be used for reporting. I know that PHP can be used to create reports from MYSQL. It seems that FileMaker is easier to use for the reporting engine. All interaction with either structure will be via a web interface. The MYSQL file is in the USA, the FileMaker files are in England and the PHP pages are in another location in the USA TIA Hank Shrier Office 408-252-5418 Fax 408-521-1801 email hank@atlasinnovation.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090310/72fa553f/attachment.html From jschwartz at exit445.com Mon Mar 16 18:04:28 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Mon Mar 16 18:05:33 2009 Subject: [FX.php List] [OFF] Automated FTP Client for backup? Message-ID: Hi Folks, My client's web site is hosted at a commercial web hosting joint. There is another person with FTP access to the web files and they recently managed to overwrite one of my php files. Since I do my work directly on the server using BBEdit, I had no backup for the file. So now I'm looking for a good backup solution (from server to local) for a server that I don't run. Sure, I could do it manually, but I'm interested in an automated solution. Is automated FTP a good way to go? Any other good solutions? Jonathan -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From 1265 at lucerneblvd.org Mon Mar 16 18:15:16 2009 From: 1265 at lucerneblvd.org (david weiner) Date: Mon Mar 16 18:15:24 2009 Subject: [FX.php List] [OFF] Automated FTP Client for backup? In-Reply-To: References: Message-ID: If you have shell access I'd suggest you use rsync - there are some projects out there that make it pretty easy to set up if you aren't familiar with it. Google rsync backup and you'll get lots of results. - David On Mar 16, 2009, at 5:04 PM, Jonathan Schwartz wrote: > Hi Folks, > > My client's web site is hosted at a commercial web hosting joint. > There is another person with FTP access to the web files and they > recently managed to overwrite one of my php files. Since I do my > work directly on the server using BBEdit, I had no backup for the > file. > > So now I'm looking for a good backup solution (from server to local) > for a server that I don't run. Sure, I could do it manually, but I'm > interested in an automated solution. > > Is automated FTP a good way to go? Any other good solutions? > > Jonathan > -- > 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 From jschwartz at exit445.com Mon Mar 16 18:39:36 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Mon Mar 16 18:40:32 2009 Subject: [FX.php List] [OFF] Automated FTP Client for backup? In-Reply-To: References: Message-ID: I'm OS X and somewhat comfortable with the command line. Server is Windows. They have web=based ssh ...but apparently not command line ssh. Still checking. My only clear choice at the moment is FTP. At 5:15 PM -0700 3/16/09, david weiner wrote: >If you have shell access I'd suggest you use rsync - there are some >projects out there that make it pretty easy to set up if you aren't >familiar with it. Google rsync backup and you'll get lots of results. > >- David > > >On Mar 16, 2009, at 5:04 PM, Jonathan Schwartz wrote: > >>Hi Folks, >> >>My client's web site is hosted at a commercial web hosting joint. >>There is another person with FTP access to the web files and they >>recently managed to overwrite one of my php files. Since I do my >>work directly on the server using BBEdit, I had no backup for the >>file. >> >>So now I'm looking for a good backup solution (from server to >>local) for a server that I don't run. Sure, I could do it manually, >>but I'm interested in an automated solution. >> >>Is automated FTP a good way to go? Any other good solutions? >> >>Jonathan >>-- >>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 > >_______________________________________________ >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 1265 at lucerneblvd.org Mon Mar 16 19:35:47 2009 From: 1265 at lucerneblvd.org (david weiner) Date: Mon Mar 16 19:36:00 2009 Subject: [FX.php List] [OFF] Automated FTP Client for backup? In-Reply-To: References: Message-ID: <8BB6960C-68C8-4A5E-A683-3E144500FE74@lucerneblvd.org> you could write a shell script to get everything over ftp and schedule it with cron or iCal - that's not a bad way to go. On Mar 16, 2009, at 5:39 PM, Jonathan Schwartz wrote: > > I'm OS X and somewhat comfortable with the command line. Server is > Windows. They have web=based ssh ...but apparently not command line > ssh. Still checking. > > My only clear choice at the moment is FTP. > > At 5:15 PM -0700 3/16/09, david weiner wrote: >> If you have shell access I'd suggest you use rsync - there are some >> projects out there that make it pretty easy to set up if you aren't >> familiar with it. Google rsync backup and you'll get lots of results. >> >> - David >> >> >> On Mar 16, 2009, at 5:04 PM, Jonathan Schwartz wrote: >> >>> Hi Folks, >>> >>> My client's web site is hosted at a commercial web hosting joint. >>> There is another person with FTP access to the web files and they >>> recently managed to overwrite one of my php files. Since I do my >>> work directly on the server using BBEdit, I had no backup for the >>> file. >>> >>> So now I'm looking for a good backup solution (from server to >>> local) for a server that I don't run. Sure, I could do it >>> manually, but I'm interested in an automated solution. >>> >>> Is automated FTP a good way to go? Any other good solutions? >>> >>> Jonathan >>> -- >>> 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 >> >> _______________________________________________ >> 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 From 1265 at lucerneblvd.org Mon Mar 16 19:43:21 2009 From: 1265 at lucerneblvd.org (david weiner) Date: Mon Mar 16 19:43:33 2009 Subject: [FX.php List] [OFF] Automated FTP Client for backup? In-Reply-To: References: Message-ID: <2DD3639C-E3DD-4D11-BA0E-378CB2F91EAA@lucerneblvd.org> I should point out the major difference between rsync / ssh and scripting FTP is that you are storing and sending the username and password in plain text - so that's obviously why it's not recommended. if they allow sftp then you should be able to get a shell I would think, but I don't have much experience with windows hosting so I'm probably wrong. - david On Mar 16, 2009, at 5:39 PM, Jonathan Schwartz wrote: > > I'm OS X and somewhat comfortable with the command line. Server is > Windows. They have web=based ssh ...but apparently not command line > ssh. Still checking. > > My only clear choice at the moment is FTP. > > At 5:15 PM -0700 3/16/09, david weiner wrote: >> If you have shell access I'd suggest you use rsync - there are some >> projects out there that make it pretty easy to set up if you aren't >> familiar with it. Google rsync backup and you'll get lots of results. >> >> - David >> >> >> On Mar 16, 2009, at 5:04 PM, Jonathan Schwartz wrote: >> >>> Hi Folks, >>> >>> My client's web site is hosted at a commercial web hosting joint. >>> There is another person with FTP access to the web files and they >>> recently managed to overwrite one of my php files. Since I do my >>> work directly on the server using BBEdit, I had no backup for the >>> file. >>> >>> So now I'm looking for a good backup solution (from server to >>> local) for a server that I don't run. Sure, I could do it >>> manually, but I'm interested in an automated solution. >>> >>> Is automated FTP a good way to go? Any other good solutions? >>> >>> Jonathan >>> -- >>> 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 >> >> _______________________________________________ >> 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 From bob at patin.com Mon Mar 16 20:16:56 2009 From: bob at patin.com (Bob Patin) Date: Mon Mar 16 20:17:05 2009 Subject: [FX.php List] [OFF] Automated FTP Client for backup? In-Reply-To: References: Message-ID: <2D1BC7E7-68C7-40FC-AF97-3B73C75C556E@patin.com> I know this doesn't address your question, but I would be extremely uncomfortable about not having a pristine set of my clients' sites for emergencies... Countless times I've had clients over-write code that I had done for them, but in my case, since I use Dreamweaver, I have a full set of the site docs on my computer here, and upload a page each time I finish editing it. Granted, it's tedious to have to upload each time I update a page, but there are a lot of benefits: a) my computer is backed up with Time Machine every hour, so I have tons of backups of sites that I've worked on; b) I never lose any of my work due to having been "stepped on" by the client's error (or my own); c) I can revert to the server copy if one of my tests doesn't pan out. For example, tonight I duplicated my home page in my website, added a feed to show my 3 latest blog entries on my home page; not wanting to destroy my wonderful work from before, I tested the duplicate page first, and then renamed it "index" when I was satisfied that I had what I wanted. I suppose you can do the same by duplicating a page on the server itself, but I really like having a local copy of every site. When I finish a project, I ZIP the site with a datestamp so that I know when it was archived... I know many of you don't really like Dreamweaver, but it makes my method so easy to maintain, plus I like all the features it gives me. Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com Twitter: bobpatin iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance & FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker Web hosting ? PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 16, 2009, at 7:04 PM, Jonathan Schwartz wrote: > My client's web site is hosted at a commercial web hosting joint. > There is another person with FTP access to the web files and they > recently managed to overwrite one of my php files. Since I do my > work directly on the server using BBEdit, I had no backup for the > file. > > So now I'm looking for a good backup solution (from server to local) > for a server that I don't run. Sure, I could do it manually, but I'm > interested in an automated solution. > > Is automated FTP a good way to go? Any other good solutions? -------------- next part -------------- Skipped content of type multipart/related From tim at nicheit.com.au Mon Mar 16 20:44:26 2009 From: tim at nicheit.com.au (Tim 'Webko' Booth) Date: Mon Mar 16 20:44:33 2009 Subject: [FX.php List] [OFF] Automated FTP Client for backup? In-Reply-To: <2D1BC7E7-68C7-40FC-AF97-3B73C75C556E@patin.com> References: <2D1BC7E7-68C7-40FC-AF97-3B73C75C556E@patin.com> Message-ID: On 17/03/2009, at 1:16 PM, Bob Patin wrote: > I know this doesn't address your question, but I would be extremely > uncomfortable about not having a pristine set of my clients' sites > for emergencies... > > Countless times I've had clients over-write code that I had done for > them, Likewise. After a number of nasty accidents with a major Uni's homepage when I fat fingered in vi, I will *never* work on a live web page, no matter how small the edit. I don't use any GUI software, but edit locally, test on dev/test, then upload to the live site. I think in the long run it saves me time ;-) Cheers Webko From dbengston at tds.net Mon Mar 16 21:15:09 2009 From: dbengston at tds.net (Dale Bengston) Date: Mon Mar 16 21:15:17 2009 Subject: [FX.php List] [OFF] Automated FTP Client for backup? In-Reply-To: References: <2D1BC7E7-68C7-40FC-AF97-3B73C75C556E@patin.com> Message-ID: I'm with Webko and Bob P here: the key is to be proactive about where and how you code, rather than reactive with backups. Dale On Mar 16, 2009, at 9:44 PM, Tim 'Webko' Booth wrote: > > On 17/03/2009, at 1:16 PM, Bob Patin wrote: > >> I know this doesn't address your question, but I would be extremely >> uncomfortable about not having a pristine set of my clients' sites >> for emergencies... >> >> Countless times I've had clients over-write code that I had done >> for them, > > Likewise. After a number of nasty accidents with a major Uni's > homepage when I fat fingered in vi, I will *never* work on a live > web page, no matter how small the edit. > > I don't use any GUI software, but edit locally, test on dev/test, > then upload to the live site. I think in the long run it saves me > time ;-) > > Cheers > > Webko > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1582 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090316/59e15154/smime.bin From ggt667 at gmail.com Tue Mar 17 01:08:42 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Tue Mar 17 01:08:47 2009 Subject: [FX.php List] [OFF] Automated FTP Client for backup? In-Reply-To: References: <2D1BC7E7-68C7-40FC-AF97-3B73C75C556E@patin.com> Message-ID: rsync if supposedly good, however I use cURL for such tasks. ggt 2009/3/17 Dale Bengston : > I'm with Webko and Bob P here: the key is to be proactive about where and > how you code, rather than reactive with backups. > > Dale > > On Mar 16, 2009, at 9:44 PM, Tim 'Webko' Booth wrote: > >> >> On 17/03/2009, at 1:16 PM, Bob Patin wrote: >> >>> I know this doesn't address your question, but I would be extremely >>> uncomfortable about not having a pristine set of my clients' sites for >>> emergencies... >>> >>> Countless times I've had clients over-write code that I had done for >>> them, >> >> Likewise. After a number of nasty accidents with a major Uni's homepage >> when I fat fingered in vi, I will *never* work on a live web page, no matter >> how small the edit. >> >> I don't use any GUI software, but edit locally, test on dev/test, then >> upload to the live site. I think in the long run it saves me time ;-) >> >> 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 ggt667 at gmail.com Tue Mar 17 01:27:02 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Tue Mar 17 01:27:05 2009 Subject: [FX.php List] [OFF] Automated FTP Client for backup? In-Reply-To: References: <2D1BC7E7-68C7-40FC-AF97-3B73C75C556E@patin.com> Message-ID: Here is an example of an ftp upload using curl: echo "something to fill test.txt with" | curl -T - -u ftpusername:ftppassword ftp://<>/folder/test.txt Just read the man page and you would probably easily be able to do a download instead, perhaps curl can dowload folders recursively too? ggt 2009/3/17 Gjermund Gusland Thorsen : > rsync if supposedly good, however I use cURL for such tasks. > > ggt > > 2009/3/17 Dale Bengston : >> I'm with Webko and Bob P here: the key is to be proactive about where and >> how you code, rather than reactive with backups. >> >> Dale >> >> On Mar 16, 2009, at 9:44 PM, Tim 'Webko' Booth wrote: >> >>> >>> On 17/03/2009, at 1:16 PM, Bob Patin wrote: >>> >>>> I know this doesn't address your question, but I would be extremely >>>> uncomfortable about not having a pristine set of my clients' sites for >>>> emergencies... >>>> >>>> Countless times I've had clients over-write code that I had done for >>>> them, >>> >>> Likewise. After a number of nasty accidents with a major Uni's homepage >>> when I fat fingered in vi, I will *never* work on a live web page, no matter >>> how small the edit. >>> >>> I don't use any GUI software, but edit locally, test on dev/test, then >>> upload to the live site. I think in the long run it saves me time ;-) >>> >>> 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 dbengston at tds.net Tue Mar 17 06:47:59 2009 From: dbengston at tds.net (Dale Bengston) Date: Tue Mar 17 06:48:13 2009 Subject: [FX.php List] [OFF] Automated FTP Client for backup? In-Reply-To: References: <2D1BC7E7-68C7-40FC-AF97-3B73C75C556E@patin.com> Message-ID: Do rsync and cURL work on a Windows server? On Mar 17, 2009, at 2:27 AM, Gjermund Gusland Thorsen wrote: > Here is an example of an ftp upload using curl: > > echo "something to fill test.txt with" | curl -T - -u > ftpusername:ftppassword ftp://<>/folder/test.txt > > Just read the man page and you would probably easily be able to do a > download instead, > perhaps curl can dowload folders recursively too? > > ggt > > 2009/3/17 Gjermund Gusland Thorsen : >> rsync if supposedly good, however I use cURL for such tasks. >> >> ggt >> >> 2009/3/17 Dale Bengston : >>> I'm with Webko and Bob P here: the key is to be proactive about >>> where and >>> how you code, rather than reactive with backups. >>> >>> Dale >>> >>> On Mar 16, 2009, at 9:44 PM, Tim 'Webko' Booth wrote: >>> >>>> >>>> On 17/03/2009, at 1:16 PM, Bob Patin wrote: >>>> >>>>> I know this doesn't address your question, but I would be >>>>> extremely >>>>> uncomfortable about not having a pristine set of my clients' >>>>> sites for >>>>> emergencies... >>>>> >>>>> Countless times I've had clients over-write code that I had done >>>>> for >>>>> them, >>>> >>>> Likewise. After a number of nasty accidents with a major Uni's >>>> homepage >>>> when I fat fingered in vi, I will *never* work on a live web >>>> page, no matter >>>> how small the edit. >>>> >>>> I don't use any GUI software, but edit locally, test on dev/test, >>>> then >>>> upload to the live site. I think in the long run it saves me >>>> time ;-) >>>> >>>> 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 >>> >>> >> > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1582 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090317/692ef7c2/smime.bin From ggt667 at gmail.com Tue Mar 17 06:55:22 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Tue Mar 17 06:55:26 2009 Subject: [FX.php List] [OFF] Automated FTP Client for backup? In-Reply-To: References: <2D1BC7E7-68C7-40FC-AF97-3B73C75C556E@patin.com> Message-ID: The question is: Which machine are you on? The server has ftp server right? The wiggles I sent you was for curl and curl will run as an ftp client, though scriptable from Mac or any other machine I guess... ggt 2009/3/17 Dale Bengston : > Do rsync and cURL work on a Windows server? > > On Mar 17, 2009, at 2:27 AM, Gjermund Gusland Thorsen wrote: > >> Here is an example of an ftp upload using curl: >> >> echo "something to fill test.txt with" | curl -T - -u >> ftpusername:ftppassword ftp://<>/folder/test.txt >> >> Just read the man page and you would probably easily be able to do a >> download instead, >> perhaps curl can dowload folders recursively too? >> >> ggt >> >> 2009/3/17 Gjermund Gusland Thorsen : >>> >>> rsync if supposedly good, however I use cURL for such tasks. >>> >>> ggt >>> >>> 2009/3/17 Dale Bengston : >>>> >>>> I'm with Webko and Bob P here: the key is to be proactive about where >>>> and >>>> how you code, rather than reactive with backups. >>>> >>>> Dale >>>> >>>> On Mar 16, 2009, at 9:44 PM, Tim 'Webko' Booth wrote: >>>> >>>>> >>>>> On 17/03/2009, at 1:16 PM, Bob Patin wrote: >>>>> >>>>>> I know this doesn't address your question, but I would be extremely >>>>>> uncomfortable about not having a pristine set of my clients' sites for >>>>>> emergencies... >>>>>> >>>>>> Countless times I've had clients over-write code that I had done for >>>>>> them, >>>>> >>>>> Likewise. After a number of nasty accidents with a major Uni's homepage >>>>> when I fat fingered in vi, I will *never* work on a live web page, no >>>>> matter >>>>> how small the edit. >>>>> >>>>> I don't use any GUI software, but edit locally, test on dev/test, then >>>>> upload to the live site. I think in the long run it saves me time ;-) >>>>> >>>>> 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 >>>> >>>> >>> >> _______________________________________________ >> 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 gareth.evans at schawk.com Tue Mar 17 07:03:45 2009 From: gareth.evans at schawk.com (Gareth Evans) Date: Tue Mar 17 07:06:16 2009 Subject: [FX.php List] [OFF] Automated FTP Client for backup? In-Reply-To: Message-ID: Wget?s ?mirror option is a good standby if all you have is FTP access. I believe you can get it from darwin ports. wget --mirror --ftp-user=username --ftp-password=password ftp://ftp.example.com/sitedir -- GARETH EVANS > From: Gjermund Gusland Thorsen > Reply-To: "FX.php Discussion List" > Date: Tue, 17 Mar 2009 13:55:22 +0100 > To: "FX.php Discussion List" > Subject: Re: [FX.php List] [OFF] Automated FTP Client for backup? > > The question is: Which machine are you on? The server has ftp server right? > > The wiggles I sent you was for curl and curl will run as an ftp > client, though scriptable from Mac or any other machine I guess... > > ggt > > 2009/3/17 Dale Bengston : >> Do rsync and cURL work on a Windows server? >> >> On Mar 17, 2009, at 2:27 AM, Gjermund Gusland Thorsen wrote: >> >>> Here is an example of an ftp upload using curl: >>> >>> echo "something to fill test.txt with" | curl -T - -u >>> ftpusername:ftppassword ftp://<>/folder/test.txt >>> >>> Just read the man page and you would probably easily be able to do a >>> download instead, >>> perhaps curl can dowload folders recursively too? >>> >>> ggt >>> >>> 2009/3/17 Gjermund Gusland Thorsen : >>>> >>>> rsync if supposedly good, however I use cURL for such tasks. >>>> >>>> ggt >>>> >>>> 2009/3/17 Dale Bengston : >>>>> >>>>> I'm with Webko and Bob P here: the key is to be proactive about where >>>>> and >>>>> how you code, rather than reactive with backups. >>>>> >>>>> Dale >>>>> >>>>> On Mar 16, 2009, at 9:44 PM, Tim 'Webko' Booth wrote: >>>>> >>>>>> >>>>>> On 17/03/2009, at 1:16 PM, Bob Patin wrote: >>>>>> >>>>>>> I know this doesn't address your question, but I would be extremely >>>>>>> uncomfortable about not having a pristine set of my clients' sites for >>>>>>> emergencies... >>>>>>> >>>>>>> Countless times I've had clients over-write code that I had done for >>>>>>> them, >>>>>> >>>>>> Likewise. After a number of nasty accidents with a major Uni's homepage >>>>>> when I fat fingered in vi, I will *never* work on a live web page, no >>>>>> matter >>>>>> how small the edit. >>>>>> >>>>>> I don't use any GUI software, but edit locally, test on dev/test, then >>>>>> upload to the live site. I think in the long run it saves me time ;-) >>>>>> >>>>>> 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 >>>>> >>>>> >>>> >>> _______________________________________________ >>> 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/20090317/df294ace/attachment-0001.html From ggt667 at gmail.com Tue Mar 17 16:12:19 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Tue Mar 17 16:12:23 2009 Subject: [FX.php List] Where did the snippets go? Message-ID: http://www.fmpug.com/websnippets.php ggt667 From andy at fmpug.com Wed Mar 18 08:41:12 2009 From: andy at fmpug.com (Andy Gaunt) Date: Wed Mar 18 08:41:20 2009 Subject: [FX.php List] Where did the snippets go? In-Reply-To: References: Message-ID: GGT, Oops, let me get that revived for you and everyone else! Andy Gaunt T: 321-206-3658 andy@fmpug.com http://www.fmpug.com FMPug.com: A Developer's best Friend! FindFileMakerDevelopers.com - The #1 listings engine for FileMaker Professionals On Mar 17, 2009, at 6:12 PM, Gjermund Gusland Thorsen wrote: > http://www.fmpug.com/websnippets.php > > ggt667 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From andy at fmpug.com Wed Mar 18 09:43:43 2009 From: andy at fmpug.com (Andy Gaunt) Date: Wed Mar 18 09:43:48 2009 Subject: [FX.php List] Where did the snippets go? In-Reply-To: References: Message-ID: <1B8E43A2-0A87-43C5-ABD4-FCCEFE72BE24@fmpug.com> Back in business (minus a graphic to recreate!) Cheers Andy Gaunt T: 321-206-3658 andy@fmpug.com http://www.fmpug.com FMPug.com: A Developer's best Friend! FindFileMakerDevelopers.com - The #1 listings engine for FileMaker Professionals On Mar 17, 2009, at 6:12 PM, Gjermund Gusland Thorsen wrote: > http://www.fmpug.com/websnippets.php > > ggt667 > _______________________________________________ > 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 Thu Mar 19 14:14:12 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Mar 19 14:14:15 2009 Subject: [FX.php List] [OT] Is it possible to see which fmapp users are logged into a database file from within FileMaker? Message-ID: Is it possible to see which fmapp users are logged into a FileMaker database file _now_ from within FileMaker? When people are logged in is not that interesting as those are logged in a login table. tia, ggt667 From steve at bluecrocodile.co.nz Thu Mar 19 14:22:37 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Thu Mar 19 14:22:45 2009 Subject: [FX.php List] [OT] Is it possible to see which fmapp users are logged into a database file from within FileMaker? In-Reply-To: References: Message-ID: <74AA77DF-2776-4878-88FF-9A46F9082BB8@bluecrocodile.co.nz> ggt, as far as a I know it's not possible within FM itself, but it is from within FMS... and it is from the FMS command line tool, which means that you could write a simple PHP script to query the fms command line tool, and then call that from the web viewer... cheers S On 19 Mar 2009, at 20:14, Gjermund Gusland Thorsen wrote: > Is it possible to see which fmapp users are logged into a FileMaker > database file _now_ from within FileMaker? > > When people are logged in is not that interesting as those are logged > in a login table. > > tia, > ggt667 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090319/e51e0a32/attachment.html From ggt667 at gmail.com Thu Mar 19 14:37:58 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Mar 19 14:38:01 2009 Subject: [FX.php List] [OT] Is it possible to see which fmapp users are logged into a database file from within FileMaker? In-Reply-To: <74AA77DF-2776-4878-88FF-9A46F9082BB8@bluecrocodile.co.nz> References: <74AA77DF-2776-4878-88FF-9A46F9082BB8@bluecrocodile.co.nz> Message-ID: And this thing? Get ( MultiUserState ) What is it for? ggt 2009/3/19 Steve Winter : > ggt, > as far as a I know it's not possible within FM itself, but it is from within > FMS... and it is from the FMS command line tool, which means that you could > write a simple PHP script to query the fms command line tool, and then call > that from the web viewer... > cheers > S > > On 19 Mar 2009, at 20:14, Gjermund Gusland Thorsen wrote: > > Is it possible to see which fmapp users are logged into a FileMaker > database file _now_ from within FileMaker? > > When people are logged in is not that interesting as those are logged > in a login table. > > tia, > ggt667 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > Steve Winter > steve@bluecrocodile.co.nz > m: +44 77 7852 4776 > 3 Calshot Court,?Channel Way > Ocean?Village,?Southampton?SO14 3GR > > _______________________________________________ > 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 Thu Mar 19 14:39:37 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Thu Mar 19 14:39:45 2009 Subject: [FX.php List] [OT] Is it possible to see which fmapp users are logged into a database file from within FileMaker? In-Reply-To: References: <74AA77DF-2776-4878-88FF-9A46F9082BB8@bluecrocodile.co.nz> Message-ID: no freaking idea ;-) On 19 Mar 2009, at 20:37, Gjermund Gusland Thorsen wrote: > And this thing? > > Get ( MultiUserState ) > > What is it for? > > ggt > > 2009/3/19 Steve Winter : >> ggt, >> as far as a I know it's not possible within FM itself, but it is >> from within >> FMS... and it is from the FMS command line tool, which means that >> you could >> write a simple PHP script to query the fms command line tool, and >> then call >> that from the web viewer... >> cheers >> S >> >> On 19 Mar 2009, at 20:14, Gjermund Gusland Thorsen wrote: >> >> Is it possible to see which fmapp users are logged into a FileMaker >> database file _now_ from within FileMaker? >> >> When people are logged in is not that interesting as those are logged >> in a login table. >> >> tia, >> ggt667 >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> Steve Winter >> steve@bluecrocodile.co.nz >> m: +44 77 7852 4776 >> 3 Calshot Court, Channel Way >> Ocean Village, Southampton SO14 3GR >> >> _______________________________________________ >> 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 Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090319/228bdddf/attachment-0001.html From tim at nicheit.com.au Thu Mar 19 14:40:43 2009 From: tim at nicheit.com.au (Tim 'Webko' Booth) Date: Thu Mar 19 14:40:53 2009 Subject: [FX.php List] [OT] Is it possible to see which fmapp users are logged into a database file from within FileMaker? In-Reply-To: <74AA77DF-2776-4878-88FF-9A46F9082BB8@bluecrocodile.co.nz> References: <74AA77DF-2776-4878-88FF-9A46F9082BB8@bluecrocodile.co.nz> Message-ID: On 20/03/2009, at 7:22 AM, Steve Winter wrote: > ggt, > > as far as a I know it's not possible within FM itself, but it is > from within FMS... and it is from the FMS command line tool, which > means that you could write a simple PHP script to query the fms > command line tool, and then call that from the web viewer... > $clientList = shell_exec ('/usr/bin/fmsadmin list clients -s -u XXX -p YYY'); Where XXX = FMS Admin User Name YYY = FMS ADMIN Password Cheers Webko From kmccoy at supportgroup.com Thu Mar 19 16:59:44 2009 From: kmccoy at supportgroup.com (Karstyn McCoy) Date: Thu Mar 19 16:59:48 2009 Subject: [FX.php List] [OT] Is it possible to see which fmapp users are logged into a database file from within FileMaker? In-Reply-To: References: <74AA77DF-2776-4878-88FF-9A46F9082BB8@bluecrocodile.co.nz> Message-ID: <898d01b70903191559h74246711vdcf9a2959cbde1de@mail.gmail.com> Get ( MultiUserState ) let's you know the level of network sharing that file has been set to. >From FM Help: Purpose Returns a number representing the level of sharing for the database fileusing FileMaker Network . Format Get(MultiUserState) Parameters None Data type returned number Description Returns: ? 0 when network sharing is off ? 1 when network sharing is on, you?re accessing the database file from the host computer, and either all users or a specific group of users (based on their privilege set) have network access to the database file ? 2 when network sharing is on, you?re accessing the database file from a client computer, and either all users or a specific group of users (based on their privilege set) have network access to the database file Notes ? If the current calculation is stored and you specify its context, this function will be evaluated based on that context; otherwise, it will be evaluated based on the context of the current window. ? For information on how functions evaluate differently on the host versus the client, search the FileMaker Knowledge Base available at www.filemaker.com/kb. --Karstyn On Thu, Mar 19, 2009 at 1:37 PM, Gjermund Gusland Thorsen wrote: > And this thing? > > Get ( MultiUserState ) > > What is it for? > > ggt > > 2009/3/19 Steve Winter : > > ggt, > > as far as a I know it's not possible within FM itself, but it is from > within > > FMS... and it is from the FMS command line tool, which means that you > could > > write a simple PHP script to query the fms command line tool, and then > call > > that from the web viewer... > > cheers > > S > > > > On 19 Mar 2009, at 20:14, Gjermund Gusland Thorsen wrote: > > > > Is it possible to see which fmapp users are logged into a FileMaker > > database file _now_ from within FileMaker? > > > > When people are logged in is not that interesting as those are logged > > in a login table. > > > > tia, > > ggt667 > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > > > > > Steve Winter > > steve@bluecrocodile.co.nz > > m: +44 77 7852 4776 > > 3 Calshot Court, Channel Way > > Ocean Village, Southampton SO14 3GR > > > > _______________________________________________ > > 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/20090319/7351e5fd/attachment.html From ggt667 at gmail.com Thu Mar 19 17:53:43 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Mar 19 17:53:45 2009 Subject: [FX.php List] [OT] Is it possible to see which fmapp users are logged into a database file from within FileMaker? In-Reply-To: References: <74AA77DF-2776-4878-88FF-9A46F9082BB8@bluecrocodile.co.nz> Message-ID: Yes, exactly the idea is right, but not as a hack ;-) What I am looking for would be --- $clientListCount = shell_exec ('/usr/bin/fmsadmin list clients -s -u $(echo /etc/fmsadminusername.txt) -p $(echo /etc/fmsadminpassword.txt) | wc -l'); --- But I guess that would be too much high tech for an application like FileMaker... ggt 2009/3/19 Tim 'Webko' Booth : > > On 20/03/2009, at 7:22 AM, Steve Winter wrote: > >> ggt, >> >> as far as a I know it's not possible within FM itself, but it is from >> within FMS... and it is from the FMS command line tool, which means that you >> could write a simple PHP script to query the fms command line tool, and then >> call that from the web viewer... >> > > $clientList = shell_exec ('/usr/bin/fmsadmin list clients -s -u XXX -p > YYY'); > > Where XXX = FMS Admin User Name > YYY = FMS ADMIN Password > > Cheers > > Webko > _______________________________________________ > 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 Thu Mar 19 17:55:05 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Mar 19 17:55:12 2009 Subject: [FX.php List] [OT] Is it possible to see which fmapp users are logged into a database file from within FileMaker? In-Reply-To: <898d01b70903191559h74246711vdcf9a2959cbde1de@mail.gmail.com> References: <74AA77DF-2776-4878-88FF-9A46F9082BB8@bluecrocodile.co.nz> <898d01b70903191559h74246711vdcf9a2959cbde1de@mail.gmail.com> Message-ID: Hmm, that?s nice, and explains why it always tells me the number 2 :-) and not the amount of users currently connected. ggt 2009/3/19 Karstyn McCoy : > Get ( MultiUserState ) let's you know the level of network sharing that file > has been set to. > > From FM Help: > > Purpose > Returns a number representing the level of sharing for the database file > using FileMaker Network. > Format > Get(MultiUserState) > Parameters > None > Data type returned > number > Description > Returns: > ??? > 0 when network sharing is off > ??? > 1 when network sharing is on, you?re accessing the database file from the > host computer, and either all users or a specific group of users (based on > their privilege set) have network access to the database file > ??? > 2 when network sharing is on, you?re accessing the database file from a > client computer, and either all users or a specific group of users (based on > their privilege set) have network access to the database file > Notes > ??? > If the current calculation is stored and you specify its context, this > function will be evaluated based on that context; otherwise, it will be > evaluated based on the context of the current window. > ??? > For information on how functions evaluate differently on the host versus the > client, search the FileMaker Knowledge Base available at > www.filemaker.com/kb. > --Karstyn > > On Thu, Mar 19, 2009 at 1:37 PM, Gjermund Gusland Thorsen > wrote: >> >> And this thing? >> >> Get ( MultiUserState ) >> >> What is it for? >> >> ggt >> >> 2009/3/19 Steve Winter : >> > ggt, >> > as far as a I know it's not possible within FM itself, but it is from >> > within >> > FMS... and it is from the FMS command line tool, which means that you >> > could >> > write a simple PHP script to query the fms command line tool, and then >> > call >> > that from the web viewer... >> > cheers >> > S >> > >> > On 19 Mar 2009, at 20:14, Gjermund Gusland Thorsen wrote: >> > >> > Is it possible to see which fmapp users are logged into a FileMaker >> > database file _now_ from within FileMaker? >> > >> > When people are logged in is not that interesting as those are logged >> > in a login table. >> > >> > tia, >> > ggt667 >> > _______________________________________________ >> > FX.php_List mailing list >> > FX.php_List@mail.iviking.org >> > http://www.iviking.org/mailman/listinfo/fx.php_list >> > >> > >> > Steve Winter >> > steve@bluecrocodile.co.nz >> > m: +44 77 7852 4776 >> > 3 Calshot Court,?Channel Way >> > Ocean?Village,?Southampton?SO14 3GR >> > >> > _______________________________________________ >> > 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 Thu Mar 19 18:00:41 2009 From: jsfmp at earthlink.net (Joel Shapiro) Date: Thu Mar 19 18:00:45 2009 Subject: [FX.php List] [OT] Is it possible to see which fmapp users are logged into a database file from within FileMaker? In-Reply-To: References: <74AA77DF-2776-4878-88FF-9A46F9082BB8@bluecrocodile.co.nz> <898d01b70903191559h74246711vdcf9a2959cbde1de@mail.gmail.com> Message-ID: see: Get(UserCount) http://www.filemaker.com/help/html/func_ref2.32.79.html#1045012 Description Returns: 1 if FileMaker network sharing is turned off 1 + the number of clients if FileMaker network sharing is turned on This function does not count clients accessing the database file via ODBC or JDBC. Examples Returns 5 when there are 4 clients accessing the database file. -Joel On Mar 19, 2009, at 4:55 PM, Gjermund Gusland Thorsen wrote: > Hmm, that?s nice, and explains why it always tells me the number 2 :-) > and not the amount of users currently connected. > > ggt > > 2009/3/19 Karstyn McCoy : >> Get ( MultiUserState ) let's you know the level of network sharing >> that file >> has been set to. >> >> From FM Help: >> >> Purpose >> Returns a number representing the level of sharing for the >> database file >> using FileMaker Network. >> Format >> Get(MultiUserState) >> Parameters >> None >> Data type returned >> number >> Description >> Returns: >> ? >> 0 when network sharing is off >> ? >> 1 when network sharing is on, you?re accessing the database file >> from the >> host computer, and either all users or a specific group of users >> (based on >> their privilege set) have network access to the database file >> ? >> 2 when network sharing is on, you?re accessing the database file >> from a >> client computer, and either all users or a specific group of users >> (based on >> their privilege set) have network access to the database file >> Notes >> ? >> If the current calculation is stored and you specify its context, >> this >> function will be evaluated based on that context; otherwise, it >> will be >> evaluated based on the context of the current window. >> ? >> For information on how functions evaluate differently on the host >> versus the >> client, search the FileMaker Knowledge Base available at >> www.filemaker.com/kb. >> --Karstyn >> >> On Thu, Mar 19, 2009 at 1:37 PM, Gjermund Gusland Thorsen >> >> wrote: >>> >>> And this thing? >>> >>> Get ( MultiUserState ) >>> >>> What is it for? >>> >>> ggt >>> >>> 2009/3/19 Steve Winter : >>>> ggt, >>>> as far as a I know it's not possible within FM itself, but it is >>>> from >>>> within >>>> FMS... and it is from the FMS command line tool, which means >>>> that you >>>> could >>>> write a simple PHP script to query the fms command line tool, >>>> and then >>>> call >>>> that from the web viewer... >>>> cheers >>>> S >>>> >>>> On 19 Mar 2009, at 20:14, Gjermund Gusland Thorsen wrote: >>>> >>>> Is it possible to see which fmapp users are logged into a FileMaker >>>> database file _now_ from within FileMaker? >>>> >>>> When people are logged in is not that interesting as those are >>>> logged >>>> in a login table. >>>> >>>> tia, >>>> ggt667 >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>>> >>>> Steve Winter >>>> steve@bluecrocodile.co.nz >>>> m: +44 77 7852 4776 >>>> 3 Calshot Court, Channel Way >>>> Ocean Village, Southampton SO14 3GR >>>> >>>> _______________________________________________ >>>> 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 ggt667 at gmail.com Thu Mar 19 18:07:16 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Mar 19 18:07:19 2009 Subject: [FX.php List] [OT] Is it possible to see which fmapp users are logged into a database file from within FileMaker? In-Reply-To: References: <74AA77DF-2776-4878-88FF-9A46F9082BB8@bluecrocodile.co.nz> <898d01b70903191559h74246711vdcf9a2959cbde1de@mail.gmail.com> Message-ID: That?s nice, now I can use my login table and show the ( Get(UserCount) - 1 ) last logins that has not yet logged out :-) ggt 2009/3/20 Joel Shapiro : > see: Get(UserCount) > > http://www.filemaker.com/help/html/func_ref2.32.79.html#1045012 > > Description > Returns: > 1 if FileMaker network sharing is turned off > > 1 + the number of clients if FileMaker network sharing is turned on > This function does not count clients accessing the database file via ODBC or > JDBC. > > Examples > Returns 5 when there are 4 clients accessing the database file. > > -Joel > > > On Mar 19, 2009, at 4:55 PM, Gjermund Gusland Thorsen wrote: > >> Hmm, that?s nice, and explains why it always tells me the number 2 :-) >> and not the amount of users currently connected. >> >> ggt >> >> 2009/3/19 Karstyn McCoy : >>> >>> Get ( MultiUserState ) let's you know the level of network sharing that >>> file >>> has been set to. >>> >>> From FM Help: >>> >>> Purpose >>> Returns a number representing the level of sharing for the database file >>> using FileMaker Network. >>> Format >>> Get(MultiUserState) >>> Parameters >>> None >>> Data type returned >>> number >>> Description >>> Returns: >>> ?? >>> 0 when network sharing is off >>> ?? >>> 1 when network sharing is on, you?re accessing the database file from the >>> host computer, and either all users or a specific group of users (based >>> on >>> their privilege set) have network access to the database file >>> ?? >>> 2 when network sharing is on, you?re accessing the database file from a >>> client computer, and either all users or a specific group of users (based >>> on >>> their privilege set) have network access to the database file >>> Notes >>> ?? >>> If the current calculation is stored and you specify its context, this >>> function will be evaluated based on that context; otherwise, it will be >>> evaluated based on the context of the current window. >>> ?? >>> For information on how functions evaluate differently on the host versus >>> the >>> client, search the FileMaker Knowledge Base available at >>> www.filemaker.com/kb. >>> --Karstyn >>> >>> On Thu, Mar 19, 2009 at 1:37 PM, Gjermund Gusland Thorsen >>> >>> wrote: >>>> >>>> And this thing? >>>> >>>> Get ( MultiUserState ) >>>> >>>> What is it for? >>>> >>>> ggt >>>> >>>> 2009/3/19 Steve Winter : >>>>> >>>>> ggt, >>>>> as far as a I know it's not possible within FM itself, but it is from >>>>> within >>>>> FMS... and it is from the FMS command line tool, which means that you >>>>> could >>>>> write a simple PHP script to query the fms command line tool, and then >>>>> call >>>>> that from the web viewer... >>>>> cheers >>>>> S >>>>> >>>>> On 19 Mar 2009, at 20:14, Gjermund Gusland Thorsen wrote: >>>>> >>>>> Is it possible to see which fmapp users are logged into a FileMaker >>>>> database file _now_ from within FileMaker? >>>>> >>>>> When people are logged in is not that interesting as those are logged >>>>> in a login table. >>>>> >>>>> tia, >>>>> ggt667 >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> >>>>> >>>>> Steve Winter >>>>> steve@bluecrocodile.co.nz >>>>> m: +44 77 7852 4776 >>>>> 3 Calshot Court, Channel Way >>>>> Ocean Village, Southampton SO14 3GR >>>>> >>>>> _______________________________________________ >>>>> 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 jsfmp at earthlink.net Thu Mar 19 18:20:54 2009 From: jsfmp at earthlink.net (Joel Shapiro) Date: Thu Mar 19 18:20:58 2009 Subject: [FX.php List] [OT] Is it possible to see which fmapp users are logged into a database file from within FileMaker? In-Reply-To: References: <74AA77DF-2776-4878-88FF-9A46F9082BB8@bluecrocodile.co.nz> <898d01b70903191559h74246711vdcf9a2959cbde1de@mail.gmail.com> Message-ID: <03568BEE-D6D5-419F-BF43-BD61B3C617D4@earthlink.net> (wouldn't people then need to log out in the reverse order they logged in?) One other option would be to capture Get(AccountName) in an OnOpen script and place it in some prefs table, and then purge it OnClose. I'm not saying it's a nice option, but an option it is. -Joel On Mar 19, 2009, at 5:07 PM, Gjermund Gusland Thorsen wrote: > That?s nice, now I can use my login table and show the ( > Get(UserCount) - 1 ) last logins that has not yet logged out :-) > > ggt > > 2009/3/20 Joel Shapiro : >> see: Get(UserCount) >> >> http://www.filemaker.com/help/html/func_ref2.32.79.html#1045012 >> >> Description >> Returns: >> 1 if FileMaker network sharing is turned off >> >> 1 + the number of clients if FileMaker network sharing is turned on >> This function does not count clients accessing the database file >> via ODBC or >> JDBC. >> >> Examples >> Returns 5 when there are 4 clients accessing the database file. >> >> -Joel >> >> >> On Mar 19, 2009, at 4:55 PM, Gjermund Gusland Thorsen wrote: >> >>> Hmm, that?s nice, and explains why it always tells me the number >>> 2 :-) >>> and not the amount of users currently connected. >>> >>> ggt >>> >>> 2009/3/19 Karstyn McCoy : >>>> >>>> Get ( MultiUserState ) let's you know the level of network >>>> sharing that >>>> file >>>> has been set to. >>>> >>>> From FM Help: >>>> >>>> Purpose >>>> Returns a number representing the level of sharing for the >>>> database file >>>> using FileMaker Network. >>>> Format >>>> Get(MultiUserState) >>>> Parameters >>>> None >>>> Data type returned >>>> number >>>> Description >>>> Returns: >>>> ? >>>> 0 when network sharing is off >>>> ? >>>> 1 when network sharing is on, you?re accessing the database file >>>> from the >>>> host computer, and either all users or a specific group of users >>>> (based >>>> on >>>> their privilege set) have network access to the database file >>>> ? >>>> 2 when network sharing is on, you?re accessing the database file >>>> from a >>>> client computer, and either all users or a specific group of >>>> users (based >>>> on >>>> their privilege set) have network access to the database file >>>> Notes >>>> ? >>>> If the current calculation is stored and you specify its >>>> context, this >>>> function will be evaluated based on that context; otherwise, it >>>> will be >>>> evaluated based on the context of the current window. >>>> ? >>>> For information on how functions evaluate differently on the >>>> host versus >>>> the >>>> client, search the FileMaker Knowledge Base available at >>>> www.filemaker.com/kb. >>>> --Karstyn >>>> >>>> On Thu, Mar 19, 2009 at 1:37 PM, Gjermund Gusland Thorsen >>>> >>>> wrote: >>>>> >>>>> And this thing? >>>>> >>>>> Get ( MultiUserState ) >>>>> >>>>> What is it for? >>>>> >>>>> ggt >>>>> >>>>> 2009/3/19 Steve Winter : >>>>>> >>>>>> ggt, >>>>>> as far as a I know it's not possible within FM itself, but it >>>>>> is from >>>>>> within >>>>>> FMS... and it is from the FMS command line tool, which means >>>>>> that you >>>>>> could >>>>>> write a simple PHP script to query the fms command line tool, >>>>>> and then >>>>>> call >>>>>> that from the web viewer... >>>>>> cheers >>>>>> S >>>>>> >>>>>> On 19 Mar 2009, at 20:14, Gjermund Gusland Thorsen wrote: >>>>>> >>>>>> Is it possible to see which fmapp users are logged into a >>>>>> FileMaker >>>>>> database file _now_ from within FileMaker? >>>>>> >>>>>> When people are logged in is not that interesting as those are >>>>>> logged >>>>>> in a login table. >>>>>> >>>>>> tia, >>>>>> ggt667 >>>>>> _______________________________________________ >>>>>> FX.php_List mailing list >>>>>> FX.php_List@mail.iviking.org >>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>> >>>>>> >>>>>> Steve Winter >>>>>> steve@bluecrocodile.co.nz >>>>>> m: +44 77 7852 4776 >>>>>> 3 Calshot Court, Channel Way >>>>>> Ocean Village, Southampton SO14 3GR >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >> > _______________________________________________ > 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 Thu Mar 19 18:24:48 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Mar 19 18:24:52 2009 Subject: [FX.php List] [OT] Is it possible to see which fmapp users are logged into a database file from within FileMaker? In-Reply-To: <03568BEE-D6D5-419F-BF43-BD61B3C617D4@earthlink.net> References: <74AA77DF-2776-4878-88FF-9A46F9082BB8@bluecrocodile.co.nz> <898d01b70903191559h74246711vdcf9a2959cbde1de@mail.gmail.com> <03568BEE-D6D5-419F-BF43-BD61B3C617D4@earthlink.net> Message-ID: I just have a field loggedOut in the user login table, that when shutdown script is run sets the value=1 g g t 2009/3/20 Joel Shapiro : > (wouldn't people then need to log out in the reverse order they logged in?) > > One other option would be to capture Get(AccountName) in an OnOpen script > and place it in some prefs table, and then purge it OnClose. > > I'm not saying it's a nice option, but an option it is. > > -Joel > > > On Mar 19, 2009, at 5:07 PM, Gjermund Gusland Thorsen wrote: > >> That?s nice, now I can use my login table and show the ( >> Get(UserCount) - 1 ) last logins that has not yet logged out :-) >> >> ggt >> >> 2009/3/20 Joel Shapiro : >>> >>> see: Get(UserCount) >>> >>> http://www.filemaker.com/help/html/func_ref2.32.79.html#1045012 >>> >>> Description >>> Returns: >>> 1 if FileMaker network sharing is turned off >>> >>> 1 + the number of clients if FileMaker network sharing is turned on >>> This function does not count clients accessing the database file via ODBC >>> or >>> JDBC. >>> >>> Examples >>> Returns 5 when there are 4 clients accessing the database file. >>> >>> -Joel >>> >>> >>> On Mar 19, 2009, at 4:55 PM, Gjermund Gusland Thorsen wrote: >>> >>>> Hmm, that?s nice, and explains why it always tells me the number 2 :-) >>>> and not the amount of users currently connected. >>>> >>>> ggt >>>> >>>> 2009/3/19 Karstyn McCoy : >>>>> >>>>> Get ( MultiUserState ) let's you know the level of network sharing that >>>>> file >>>>> has been set to. >>>>> >>>>> From FM Help: >>>>> >>>>> Purpose >>>>> Returns a number representing the level of sharing for the database >>>>> file >>>>> using FileMaker Network. >>>>> Format >>>>> Get(MultiUserState) >>>>> Parameters >>>>> None >>>>> Data type returned >>>>> number >>>>> Description >>>>> Returns: >>>>> ?? >>>>> 0 when network sharing is off >>>>> ?? >>>>> 1 when network sharing is on, you?re accessing the database file from >>>>> the >>>>> host computer, and either all users or a specific group of users (based >>>>> on >>>>> their privilege set) have network access to the database file >>>>> ?? >>>>> 2 when network sharing is on, you?re accessing the database file from a >>>>> client computer, and either all users or a specific group of users >>>>> (based >>>>> on >>>>> their privilege set) have network access to the database file >>>>> Notes >>>>> ?? >>>>> If the current calculation is stored and you specify its context, this >>>>> function will be evaluated based on that context; otherwise, it will be >>>>> evaluated based on the context of the current window. >>>>> ?? >>>>> For information on how functions evaluate differently on the host >>>>> versus >>>>> the >>>>> client, search the FileMaker Knowledge Base available at >>>>> www.filemaker.com/kb. >>>>> --Karstyn >>>>> >>>>> On Thu, Mar 19, 2009 at 1:37 PM, Gjermund Gusland Thorsen >>>>> >>>>> wrote: >>>>>> >>>>>> And this thing? >>>>>> >>>>>> Get ( MultiUserState ) >>>>>> >>>>>> What is it for? >>>>>> >>>>>> ggt >>>>>> >>>>>> 2009/3/19 Steve Winter : >>>>>>> >>>>>>> ggt, >>>>>>> as far as a I know it's not possible within FM itself, but it is from >>>>>>> within >>>>>>> FMS... and it is from the FMS command line tool, which means that you >>>>>>> could >>>>>>> write a simple PHP script to query the fms command line tool, and >>>>>>> then >>>>>>> call >>>>>>> that from the web viewer... >>>>>>> cheers >>>>>>> S >>>>>>> >>>>>>> On 19 Mar 2009, at 20:14, Gjermund Gusland Thorsen wrote: >>>>>>> >>>>>>> Is it possible to see which fmapp users are logged into a FileMaker >>>>>>> database file _now_ from within FileMaker? >>>>>>> >>>>>>> When people are logged in is not that interesting as those are logged >>>>>>> in a login table. >>>>>>> >>>>>>> tia, >>>>>>> ggt667 >>>>>>> _______________________________________________ >>>>>>> FX.php_List mailing list >>>>>>> FX.php_List@mail.iviking.org >>>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>>> >>>>>>> >>>>>>> Steve Winter >>>>>>> steve@bluecrocodile.co.nz >>>>>>> m: +44 77 7852 4776 >>>>>>> 3 Calshot Court, Channel Way >>>>>>> Ocean Village, Southampton SO14 3GR >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>> >> _______________________________________________ >> 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 1265 at lucerneblvd.org Mon Mar 23 23:52:33 2009 From: 1265 at lucerneblvd.org (david weiner) Date: Mon Mar 23 23:52:41 2009 Subject: [FX.php List] drupal/filemaker Message-ID: <22CC699F-C1FF-46A3-A7B6-B9782EDEE8F8@lucerneblvd.org> Hi, I've seen some posts about Filemaker/CMS integration so I thought I would let everyone know there's a new Drupal group for Filemaker integration. It's not really active yet and not necessarily dedicated to FX, but it could end up being helpful down the road. http://groups.drupal.org/filemaker - David From ggt667 at gmail.com Tue Mar 24 03:10:26 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Tue Mar 24 03:10:29 2009 Subject: [FX.php List] drupal/filemaker In-Reply-To: <22CC699F-C1FF-46A3-A7B6-B9782EDEE8F8@lucerneblvd.org> References: <22CC699F-C1FF-46A3-A7B6-B9782EDEE8F8@lucerneblvd.org> Message-ID: What is plan here? For most those SQL web interfaces all you have to do copy one of the database interchange include files; and port the read/write to/from datasource to FX.php ggt667 2009/3/24 david weiner <1265@lucerneblvd.org>: > Hi, > I've seen some posts about Filemaker/CMS integration so I thought I would > let everyone know there's a new Drupal group for Filemaker integration. It's > not really active yet and not necessarily dedicated to FX, but it could end > up being helpful down the road. > > http://groups.drupal.org/filemaker > > - David > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From 1265 at lucerneblvd.org Tue Mar 24 09:45:34 2009 From: 1265 at lucerneblvd.org (david weiner) Date: Tue Mar 24 09:45:39 2009 Subject: [FX.php List] drupal/filemaker In-Reply-To: References: <22CC699F-C1FF-46A3-A7B6-B9782EDEE8F8@lucerneblvd.org> Message-ID: <65176F24-9606-43CE-9C16-38B6D31BE07A@lucerneblvd.org> I suppose it could be done that way, but in the project I'm working on we are using MySQL to run Drupal as usual and using FX to drive dynamic content through individual pages with MySQL caching to increase speeds. The site is essentially all static content (i.e. no shopping cart or event scheduling types of things) and it works well. - David On Mar 24, 2009, at 2:10 AM, Gjermund Gusland Thorsen wrote: > What is plan here? > > For most those SQL web interfaces all you have to do copy one of the > database interchange include files; > and port the read/write to/from datasource to FX.php > > ggt667 > > 2009/3/24 david weiner <1265@lucerneblvd.org>: >> Hi, >> I've seen some posts about Filemaker/CMS integration so I thought I >> would >> let everyone know there's a new Drupal group for Filemaker >> integration. It's >> not really active yet and not necessarily dedicated to FX, but it >> could end >> up being helpful down the road. >> >> http://groups.drupal.org/filemaker >> >> - David >> _______________________________________________ >> 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 ggt667 at gmail.com Tue Mar 24 10:36:10 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Tue Mar 24 10:36:13 2009 Subject: [FX.php List] drupal/filemaker In-Reply-To: <65176F24-9606-43CE-9C16-38B6D31BE07A@lucerneblvd.org> References: <22CC699F-C1FF-46A3-A7B6-B9782EDEE8F8@lucerneblvd.org> <65176F24-9606-43CE-9C16-38B6D31BE07A@lucerneblvd.org> Message-ID: The MySQL caching can also be built into that database conversation file. ggt 2009/3/24 david weiner <1265@lucerneblvd.org>: > I suppose it could be done that way, but in the project I'm working on we > are using MySQL to run Drupal as usual and using FX to drive dynamic content > through individual pages with MySQL caching to increase speeds. The site is > essentially all static content (i.e. no shopping cart or event scheduling > types of things) and it works well. > > - David > > On Mar 24, 2009, at 2:10 AM, Gjermund Gusland Thorsen wrote: > >> What is plan here? >> >> For most those SQL web interfaces all you have to do copy one of the >> database interchange include files; >> and port the read/write to/from datasource to FX.php >> >> ggt667 >> >> 2009/3/24 david weiner <1265@lucerneblvd.org>: >>> >>> Hi, >>> I've seen some posts about Filemaker/CMS integration so I thought I would >>> let everyone know there's a new Drupal group for Filemaker integration. >>> It's >>> not really active yet and not necessarily dedicated to FX, but it could >>> end >>> up being helpful down the road. >>> >>> http://groups.drupal.org/filemaker >>> >>> - David >>> _______________________________________________ >>> 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 Tue Mar 24 16:01:10 2009 From: bob at patin.com (Bob Patin) Date: Tue Mar 24 16:01:19 2009 Subject: [FX.php List] Getting value list foundCount Message-ID: <720335BB-A858-4A99-BA0E-624AC4629DA4@patin.com> Is there a way to get the foundCount of a value list when using the FMView() function? Thanks, Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090324/f4a22a53/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 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 From tim at nicheit.com.au Tue Mar 24 16:07:53 2009 From: tim at nicheit.com.au (Tim 'Webko' Booth) Date: Tue Mar 24 16:07:58 2009 Subject: [FX.php List] Getting value list foundCount In-Reply-To: <720335BB-A858-4A99-BA0E-624AC4629DA4@patin.com> References: <720335BB-A858-4A99-BA0E-624AC4629DA4@patin.com> Message-ID: <19C8B0D3-10D3-453C-B303-60182186F539@nicheit.com.au> On 25/03/2009, at 9:01 AM, Bob Patin wrote: > Is there a way to get the foundCount of a value list when using the > FMView() function? It's just an array, isn't it? Cheers Webko From bob at patin.com Tue Mar 24 16:30:25 2009 From: bob at patin.com (Bob Patin) Date: Tue Mar 24 16:30:33 2009 Subject: [FX.php List] Getting value list foundCount In-Reply-To: <19C8B0D3-10D3-453C-B303-60182186F539@nicheit.com.au> References: <720335BB-A858-4A99-BA0E-624AC4629DA4@patin.com> <19C8B0D3-10D3-453C-B303-60182186F539@nicheit.com.au> Message-ID: <6DCE468B-11EC-4AA4-9EE3-993AD06369DA@patin.com> Tim, I suppose it is, so how do I return the # of values in the array? Thanks, Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090324/023517f2/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 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 Mar 24, 2009, at 5:07 PM, Tim 'Webko' Booth wrote: > > On 25/03/2009, at 9:01 AM, Bob Patin wrote: > >> Is there a way to get the foundCount of a value list when using the >> FMView() function? > > It's just an array, isn't it? > > Cheers > > Webko > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dbengston at tds.net Tue Mar 24 16:33:57 2009 From: dbengston at tds.net (Dale Bengston) Date: Tue Mar 24 16:34:07 2009 Subject: [FX.php List] Getting value list foundCount In-Reply-To: <720335BB-A858-4A99-BA0E-624AC4629DA4@patin.com> References: <720335BB-A858-4A99-BA0E-624AC4629DA4@patin.com> Message-ID: <57BE5EBA-E5D5-40D9-9C25-6BEDB92AEB56@tds.net> Hi Bob, Since FMView() brings back arrays by list name, you can do this: $countValues = count($ReturnedData['valueLists']['myValueList']); Dale On Mar 24, 2009, at 5:01 PM, Bob Patin wrote: > Is there a way to get the foundCount of a value list when using the > FMView() function? > > Thanks, > > Bob Patin > > > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 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 > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1582 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090324/d74e6d11/smime.bin From ggt667 at gmail.com Wed Mar 25 05:36:12 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Wed Mar 25 05:36:17 2009 Subject: [FX.php List] [OT] Installing FileMaker Pro 8.5 Advanced Message-ID: I install 8.5v1 on Leopard and it launches fine, however upgrading to 8.5v2 gives me the following: http://lastopp.no/filer/3e4c83785174a103d63d516d5c1fbeb1.png Anyone bumped into this same problem? However copying the already installed 8.5v2 from my portable to my desktop computer works fine. Gjermund From mtpaper at rochester.rr.com Thu Mar 26 19:45:57 2009 From: mtpaper at rochester.rr.com (Marion Taylor) Date: Thu Mar 26 20:01:59 2009 Subject: [FX.php List] Non-programmer with questions Message-ID: <3ED63307-D1BC-401F-ADD6-AF8BFEFD5260@rochester.rr.com> Hello - I am trying to install FX-php I've read the read-me file, but I haven't found an installation guide. What should my initial path be? http://localhost:8888/fx that just hangs and gives me an error that the URL isn't right http://localhost:8888/fx/databases... which gives me the list, but I'm not sure what to do with the list http://localhost:8888/fx/index.php says it can't be found I know that my basic path is right, because I've got a little htm file in the directory, and can load that up.... What am I doing wrong? Is there an install file that I missed somehow? Thank you - Marion in NY I have the following set-up (as I installed Drupal successfully) using my computer as a local host to learn before doing anything on a web server: mac os 10.5.6 Apache 2.0.59 MySQL 5.0.41 PHP 4.4.8 & 5.2.6 APC 3.0.14 eAccelerator 0.9.5.3 XCache 1.2.0 phpMyAdmin 2.11.7.1 Zend Optimizer 3.3.3 SQLiteManager 1.2.0 Freetype 2.3.4 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090326/c9337587/attachment.html From tim at nicheit.com.au Thu Mar 26 20:16:50 2009 From: tim at nicheit.com.au (Tim 'Webko' Booth) Date: Thu Mar 26 20:16:56 2009 Subject: [FX.php List] Non-programmer with questions In-Reply-To: <3ED63307-D1BC-401F-ADD6-AF8BFEFD5260@rochester.rr.com> References: <3ED63307-D1BC-401F-ADD6-AF8BFEFD5260@rochester.rr.com> Message-ID: On 27/03/2009, at 12:45 PM, Marion Taylor wrote: > Hello - > I am trying to install FX-php > I've read the read-me file, but I haven't found an installation guide. > > What should my initial path be? /FX/ is the one I normally use - just copy all of the files into there and it's installed. As it's a php class rather than an executable, there is no further installation required. Then you have to write pages that address that class in the subdirectory - FX doesn't actually do anything by itself, it needs to have input from another php page. Cheers Webko From ggt667 at gmail.com Fri Mar 27 02:41:51 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Fri Mar 27 02:41:54 2009 Subject: [FX.php List] Non-programmer with questions In-Reply-To: References: <3ED63307-D1BC-401F-ADD6-AF8BFEFD5260@rochester.rr.com> Message-ID: First open the sample .fp7 database on your FMSA, then type the path to your browser that is inside FX and ends with index.php It should give you a working example. ggt 2009/3/27 Tim 'Webko' Booth : > > On 27/03/2009, at 12:45 PM, Marion Taylor wrote: > >> Hello - >> I am trying to install FX-php >> I've read the read-me file, but I haven't found an installation guide. >> >> What should my initial path be? > > /FX/ is the one I normally use - just copy all of the files into there and > it's installed. As it's a php class rather than an executable, there is no > further installation required. > > Then you have to write pages that address that class in the subdirectory - > FX doesn't ?actually do anything by itself, it needs to have input from > another php page. > > Cheers > > Webko > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From chris at iViking.org Fri Mar 27 08:32:07 2009 From: chris at iViking.org (Chris Hansen) Date: Fri Mar 27 08:32:09 2009 Subject: [FX.php List] Re: FX.php_List post from mtpaper@rochester.rr.com requires approval In-Reply-To: <85450C19-6711-42CC-ACA4-16C9C7E61842@iViking.org> References: <85450C19-6711-42CC-ACA4-16C9C7E61842@iViking.org> Message-ID: Doh! Sorry for the admin gaffe there folks (and especially Marion)... That was supposed to go to one person, but I failed to double check the target email address. *sigh* --Chris From chris at iViking.org Fri Mar 27 08:58:32 2009 From: chris at iViking.org (Chris Hansen) Date: Fri Mar 27 08:58:34 2009 Subject: [FX.php List] Re: FX.php_List post from mtpaper@rochester.rr.com requires approval In-Reply-To: References: <85450C19-6711-42CC-ACA4-16C9C7E61842@iViking.org> Message-ID: <3EE9BFB3-024C-4CE8-B671-0DCF60C7D74B@iViking.org> Wow! Two gaffes in one morning (the first message just went to me :- p)... *mysterious hand gesture* These aren't the messages you're looking for... On Mar 27, 2009, at 8:32 AM, Chris Hansen wrote: > Doh! Sorry for the admin gaffe there folks (and especially > Marion)... That was supposed to go to one person, but I failed to > double check the target email address. *sigh* > > --Chris From william.downs at gmail.com Fri Mar 27 12:16:41 2009 From: william.downs at gmail.com (William Downs) Date: Fri Mar 27 12:16:45 2009 Subject: [FX.php List] - using fm_and_php gives character problems Message-ID: <3b77f2170903271116q2d8c4a6al165afa4701e9d34@mail.gmail.com> Hi guys, I am having a problem with special characters - 1) I have a reg.php page for registration - contains a form (amongst other stuff, validation etc) 2) If validated, then the data is sent to Filemaker 9 Server, Mac OS X, Apache) where it creates a new Customer record 3) This happens per the FM_and_PHP class (not my choosing, I would rather use FX of course.) 3) HOWEVER, IF the data contains umlaut, and much of it does as it is for a German company, then the umlaut has disappeared and in its place is some rubbish ( example, instead of M?llmann, it will say M??llman ) I saw this by having the DB open, and once the registration successful dialoge page was presented, looked at the record in Filemaker - this is of course the garbage that the web user also sees 4) The only way I can get round this is to use utf8_decode around EVERY single value that is to be sent to the Filemaker DB Example : $FM = new FM_and_PHP(); $FM->setFileMakerHost("127.0.0.1","80",'7'); $FM->setDatabaseUserPassword("webUser","webPassword"); $FM->setDatabaseName('Customer'); $FM->setDatabaseLayout('CustomerWeb'); $FM->setCommand("new"); $FM->addParameter('Name',utf8_decode($_POST['name'])); $FM->addParameter('Vorname',utf8_decode($_POST['vorname'])); $FM->addParameter('Strasse',utf8_decode($_POST['strasse'])); etc, etc - I have to do it for every field that may contain Umlaut - i.e. every text field. Surely this is NOT the correct way ? 1) I have a .php page open in BBEdit 9.1.1 2) At the bottom of the page, I have the page in Unicode (UTF-8, no BOM) Where is this going wrong ? Or is this indeed what one must do in order to get special characters into the DB ? Perplexed and puzzled - William From Blair.Duncan at bbdo.ca Fri Mar 27 12:26:43 2009 From: Blair.Duncan at bbdo.ca (Blair Duncan) Date: Fri Mar 27 12:26:51 2009 Subject: [FX.php List] - using fm_and_php gives character problems In-Reply-To: <3b77f2170903271116q2d8c4a6al165afa4701e9d34@mail.gmail.com> Message-ID: Do you have something like this within the tags? On 27/03/09 2:16 PM, "William Downs" wrote: > Hi guys, > > I am having a problem with special characters - > > 1) I have a reg.php page for registration - contains a form (amongst > other stuff, validation etc) > 2) If validated, then the data is sent to Filemaker 9 Server, Mac OS > X, Apache) where it creates a new Customer record > 3) This happens per the FM_and_PHP class (not my choosing, I would > rather use FX of course.) > 3) HOWEVER, IF the data contains umlaut, and much of it does as it is > for a German company, then the umlaut has disappeared and in its place > is some rubbish ( example, instead of M?llmann, it will say M??llman ) > I saw this by having the DB open, and once the registration successful > dialoge page was presented, looked at the record in Filemaker - this > is of course the garbage that the web user also sees > 4) The only way I can get round this is to use utf8_decode around > EVERY single value that is to be sent to the Filemaker DB > > Example : > > $FM = new FM_and_PHP(); > $FM->setFileMakerHost("127.0.0.1","80",'7'); > $FM->setDatabaseUserPassword("webUser","webPassword"); > $FM->setDatabaseName('Customer'); > $FM->setDatabaseLayout('CustomerWeb'); > $FM->setCommand("new"); > $FM->addParameter('Name',utf8_decode($_POST['name'])); > $FM->addParameter('Vorname',utf8_decode($_POST['vorname'])); > $FM->addParameter('Strasse',utf8_decode($_POST['strasse'])); > > etc, etc - I have to do it for every field that may contain Umlaut - > i.e. every text field. > > Surely this is NOT the correct way ? > > 1) I have a .php page open in BBEdit 9.1.1 > 2) At the bottom of the page, I have the page in Unicode (UTF-8, no BOM) > > Where is this going wrong ? Or is this indeed what one must do in > order to get special characters into the DB ? > > Perplexed and puzzled - > > William > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > Please consider the environment before printing this e-mail. This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by e-mail to helpdesk@bbdo.com. We appreciate your cooperation. From w.downs at kon5.net Fri Mar 27 12:46:44 2009 From: w.downs at kon5.net (William Downs) Date: Fri Mar 27 13:02:37 2009 Subject: [FX.php List] - using fm_and_php gives character problems In-Reply-To: References: Message-ID: Yes, in the index.php - but not in reg.php - this is an included file - of sorts - it uses a navi type, as in if ($_REQUEST['what'] == 'reg') { header('Location: index.php? navi=reg'); } However, when I look at the source code, I can see it there. William On 27 Mar 2009, at 18:26, Blair Duncan wrote: > Do you have something like this within the tags? > > > > > On 27/03/09 2:16 PM, "William Downs" wrote: > >> Hi guys, >> >> I am having a problem with special characters - >> >> 1) I have a reg.php page for registration - contains a form (amongst >> other stuff, validation etc) >> 2) If validated, then the data is sent to Filemaker 9 Server, Mac OS >> X, Apache) where it creates a new Customer record >> 3) This happens per the FM_and_PHP class (not my choosing, I would >> rather use FX of course.) >> 3) HOWEVER, IF the data contains umlaut, and much of it does as it is >> for a German company, then the umlaut has disappeared and in its >> place >> is some rubbish ( example, instead of M?llmann, it will say >> M??llman ) >> I saw this by having the DB open, and once the registration >> successful >> dialoge page was presented, looked at the record in Filemaker - this >> is of course the garbage that the web user also sees >> 4) The only way I can get round this is to use utf8_decode around >> EVERY single value that is to be sent to the Filemaker DB >> >> Example : >> >> $FM = new FM_and_PHP(); >> $FM->setFileMakerHost("127.0.0.1","80",'7'); >> $FM->setDatabaseUserPassword("webUser","webPassword"); >> $FM->setDatabaseName('Customer'); >> $FM->setDatabaseLayout('CustomerWeb'); >> $FM->setCommand("new"); >> $FM->addParameter('Name',utf8_decode($_POST['name'])); >> $FM->addParameter('Vorname',utf8_decode($_POST['vorname'])); >> $FM->addParameter('Strasse',utf8_decode($_POST['strasse'])); >> >> etc, etc - I have to do it for every field that may contain Umlaut - >> i.e. every text field. >> >> Surely this is NOT the correct way ? >> >> 1) I have a .php page open in BBEdit 9.1.1 >> 2) At the bottom of the page, I have the page in Unicode (UTF-8, >> no BOM) >> >> Where is this going wrong ? Or is this indeed what one must do in >> order to get special characters into the DB ? >> >> Perplexed and puzzled - >> >> William >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> > > > Please consider the environment before printing this e-mail. > > This message and any attachments contain information, which may be > confidential or privileged. If you are not the intended recipient, > please refrain from any disclosure, copying, distribution or use of > this information. Please be aware that such actions are prohibited. > If you have received this transmission in error, kindly notify us > by e-mail to helpdesk@bbdo.com. We appreciate your cooperation. > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list