SmartPill PHP Edition
Discussions using PHP in relation to the SmartPill plug-in by Scodigo.
29 topics in this forum
-
Just wondering if anyone has a quick answer to this... I've been going round in circles trying to get it to work... Firstly, I would like to use FileMaker Pro 13's base64encode function to encode a file in a container field, and then use httppost to send the encoded text to a php script on my web server which then does a base64_decode to then save the file (PDF, images etc) on the web server. However, php's base64_decode doesn't seem to work with the base64 encoded text that FileMaker has generated. The resulting file is saved, but cannot be opened/recognised..... Further to this, I also need to be able to do the same in a FileMaker Pro 12 version, using the Base …
-
-
- 1 reply
- 19.9k views
-
-
-
Hello All... How are you all. Just was not able to be in contact with you since long. But cant be away from you as Filemaker is only the bread and butter for me...!!! Hope you are doing great... I am just stuck at some place. We are using Smart Pill plugin from http://www.scodigo.com/products/smartpill-php/ This plugin is very usefull in executing the PHP codes straightaway form the filemaker (Acting as a web server for your application) Attached are files. ExampleCallingPHP.php is the file whose code I need to run through the filemaker smart pill plugin When I am trying to run the following code through filemaker smart pill plugin …
-
- 0 replies
- 4.8k views
-
-
Hiya, I am trying to upload an image using Smartpill and cURL to my webservice. The following code works well to grab an image from a URL and then upload it to my webservice. My problem however is how to get the image from a container field instead of a URL. I think it is only grabbing the name of the image, not the actual file itself? I am using Windows. Can anyone help? $url = 'http://sprott.physics.wisc.edu/fractals/carlson/PGPHX82.GIF'; $datain = file_get_contents($url); $ctype= "image/gif"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://garytest.nordic-e.com/__API__/picture/8/data"); curl_setopt($ch, CURLOPT_HTTPAUT…
-
- 0 replies
- 3.2k views
-
-
Hi All, I'm using the testbed php email 2.3 example in my code. This works great!. I changed my server settings form sbc to gmail and now its broke. The settings I'm using are in FM fields and I'm useing them in FM SMTP Server setting in the send mail function. Works great. The only differences I see are the Authenticate "plain password and ssl is checked. I do not have settings in my php code for these and are not sure they are available. Things I've tried. Did a google search for php gmail. 1. updating the code to PHPMail to 5.02. Did not work. 2. change my host to mail=>Host = 'ssl://smtp.gmail.com Did not work 3. I also learned there is specf…
-
- 1 reply
- 4.4k views
-
-
Hi I'm getting an error when accessing PHPx_FTP_Exists ( Path ) I am running my script as set field>>to result1 PHPx_FTP_ConnectionSettings ( "fms.arina.biz" ; "username" ; "password") set field>>to result2 PHPx_FTP_exists (fileonserver). result2= "Error: 1002 Could not connect to the ftp site. PHP Error: ftp_connect() expects parameter 2 to be long, string given". It seems to work OK in the function builder cheers
-
- 1 reply
- 3.4k views
-
-
Anyone have a function to do the file path correctly when going to and from PHP and Filemaker for the file paths on Windows and Mac?
-
- 0 replies
- 3.4k views
-
-
I am looking at using SmartPill to encrypt some data in FileMaker fields but am wondering how others store the encryption/decryption key in a FileMaker environment? The database file will be hosted by a third party hosting provider and I can not remove the full access account so I do not want to store the key in a data field or hard coded in a script. I am thinking encrypting the key and storing it in each users FileMaker Applications folder. When encryption/decryption occurs the encrypted key would be loaded into FileMaker and decrypted using a key hardcoded into the script. I am thinking that this gives me two encrypted locations so that if someone gains …
-
- 0 replies
- 3.7k views
-
-
I'm storing PHP code in a field and using the SmartPill plugin to run the PHP code within scripts. I'd rather my end-user's not be able to see the actual PHP code that's getting run. I've got a separate user created and a separate privilage set setup but the closest I could come up with was saying No Access on that field for this user. This way the field actually says and they can't export that field, however, the scripts are also failing when they try and pull the data from that field. Is there any way I can accomplish what I want? Any information would be greatly appreciated. Thanks!
-
- 5 replies
- 3.6k views
-
-
I put together this php to geocode an address in filemaker. I am new to PHP and this is the first PHP script I have ever written. I got most of the code from Begining Google Maps Applications with PHP and Ajax (great book). This was done using the Testbed v2 file. I created new fields, address, city, state, and zip to pass to the script. header('content-type:text/plain;'); $api_key = "...enter key here..."; // First we store our FileMaker expression $address= fm_evaluate('GetField ( "address" )'); $city = fm_evaluate('GetField( "city" )'); $state = fm_evaluate('GetField( "state" )'); $zip = fm_evaluate('GetField( "zip" )'); // Create a CURL object fo…
-
- 0 replies
- 6.5k views
-
-
I am trying to un-encode HTML from a bunch of data elements using smartpill and PHP. I basically have a bunch of text strings in my database which contain stuff like "Hello, thisis Bobs house." and I want to convert this data to "Hello, this is Bob's house.". I'm trying to use this PHP command: html_entity_decode($value, ENT_QUOTES); Unfortunately it seems to miss a lot of stuff, including "". Anyone have any suggestions?
-
- 0 replies
- 3.2k views
-
-
Anyone had any success doing sftp with SmartPill? How does sftp differ from doing standard ftp in PHP?
-
- 0 replies
- 3k views
-
-
Kalamazoo, MI, January 15, 2008 Scodigo, Inc. is pleased to announce the availability of our public beta for the next version of SmartPill PHP Edition . Available for download @ http://www.scodigo.com/support/downloads. What Is SmartPill PHP Edition? SmartPill does one simple but very powerful thing, it allows you to run PHP code and return the results back to FileMaker. Putting the power of PHP inside FileMaker opens a whole new world of possibilities. Visit PHP's website to view a complete list of functions: http://www.php.net/manual/en/funcref.php. Just a few of the things you can do: - Send and receive email - Send and receive files using FT…
-
- 0 replies
- 3.6k views
-
-
Just thought I'd post a link to our announcement regarding Chris Hansen (creator of FX.php). Chris will be working on the development of what we're calling "supplements" (based on the pill theme). The idea of supplements is to provide groups of functionality and to make it very easy for non-PHP programmers to use SmartPill. For example, we may release an email supplement pack or an ftp supplement pack or one for encryption, web services, LDAP, writing to the file system, etc. These functions may be released as custom functions, thus making them very easy to use (no PHP experience needed) or we may try to find an even easier way to use them. http://www.scodigo.com/pre…
-
- 4 replies
- 4.8k views
-
-
Hi There Been looking at SmartPill - very interesting. I am unsure how to install it on the server though. I have placed it in FileMaker Server/Extensions/Plugins/ - and then enabled it, but when I open the now hosted SmartPill PHP Examples 2.fp7 it gives the "Plug-In not loaded" error. Of course, I would usually place the plugin in my client extension folder. Do I need the plugin in both locations ? What would be the benefit of placing it in the Server plugins folder ? I have to admit, I am a bit non-plussed at this - any advice given would be extremely useful Glorifindal
-
- 1 reply
- 3.6k views
-
-
Hi, Are there any plans to create a SmartPill for other languages as well ? For example SmartPill for Lasso ? Livio
-
- 8 replies
- 4k views
-
-
Kalamazoo, MI, February 14, 2007 Scodigo, Inc. is very pleased to announce the commercial release of our first plug-in, SmartPill PHP Edition. After many months in beta and many improvements along the way, SmartPill is finally ready for action. Along with the release of SmartPill, we're debuting our new website: http://www.scodigo.com. What Is SmartPill PHP Edition? SmartPill does one simple but very powerful thing, it allows you to run PHP code and return the results back to FileMaker. Putting the power of PHP inside FileMaker opens a whole new world of possibilities. Visit PHP's website to view a complete list of functions: http://www.php.net/manual/en/fu…
-
- 0 replies
- 3.1k views
-
-
I'm a php developer not a filemaker developer. I have written a UPS Shipping Class in php that needs to return information about the shipment to filemaker. It could possibly need to put information in other tables besides the current one etc. Whats the best way to go about this? Could I use FM evaluate? Should I send parameters to scripts? We also do alot of work with fx.php so I could theoretically use that but it seems very hackish to go outside filemaker and back in. It might not even work because its possible I could be using that record. Which ever way you think is the best please include a little sample code if you don't mind. It would be appreciated. Keep…
-
- 3 replies
- 3.3k views
-
-
I'm trying to use PHPlot from SourceForge ( http://sourceforge.net/projects/phplot ) and I try to create a simple plot with this code: require_once 'phplot/phplot.php'; $plot =& new PHPlot(); // Uncomment this line to send output to top level of your hard disk (at least on MacOS X) //$plot->SetOutputFile('mygraph.png'); $plot->SetIsInline(true); $data = array(array('', 0, 0), array('', 1, 9)); $plot->SetDataValues($data); $plot->SetDataType('data-data'); $plot->DrawGraph(); When executed, the output from SmartPill is only 8 bytes long - basically the first 8 bytes of the PNG image that should be outputted. If I uncomment…
-
- 3 replies
- 5.5k views
-
-
What's the best way to specify the path for an include statement that gets to the 'PHP Support' folder? So far I've used FileMaker to return the path to it's folder and then built the path from there, then using fm_evaluate() to get the contents of the path from an FM field. This all works, but I suspect I can just use a relative path, ie: include_once('../xxx/yyy/mycodetoinclude.php'); Anyone know if there is a way to specify this via a relative path to the 'PHP Support' folder, and what it might be?
-
- 6 replies
- 5.8k views
-
-
Kalamazoo, MI, January 9, 2007 Scodigo, Inc. is pleased to announce the availability of a release candidate version of our SmartPill PHP Edition plug-in for FileMaker. The public beta was announced back in August, just prior to DevCon, and we've spent the last 5 months testing, fine-tuning and extending SmartPill's functions. We'd like to thank the 1,500+ people that took time to download the beta version and special thanks to those that shared their experience, reported issues and suggested improvements. New version with extended beta license available here: http://www.scodigo.com What's New? - PHP FileMaker extension (see below for more info) - The…
-
- 0 replies
- 3.2k views
-
-
Is it possible to use SmartPill PHP to zip and unzip files? Does anyone have example? Thanks in advance
-
- 7 replies
- 5.6k views
-
-
This plug-in sounds absolutley brilliant... It would seriously solve a whole lot of problems i currently have. My one and only concern is the pricing, as much as i want to get right into this plug-in (and as much as i had wanted to when it was first released) I kind of fear what price is going to be attached when it hit's release. When can we seriously expect pricing on this thing?
-
- 3 replies
- 3.2k views
-
-
I cant set a session, I get header errors. I cant read the session id that is set either, am I doing something wrong? I have it installed on a IIS server. thanks!
-
- 1 reply
- 3.2k views
-
-
Hi! Is there any way to display progress bar when when php code is executed (ftp download)? ftp_get is working great but when transfer starts filemaker stops all other processes. I even tried with flash in webviewer but it freezes when php evaluate is executed. Thanks in advance
-
- 0 replies
- 4k views
-
-
I am trying out the PHP plugin, and so far it has been pure genius. I have one issue, and it is quite possible that it is my code. On win XP p2, FM 8.5, I cannot get the n new line character to work. I would post code, but even if I do a simple echo "testn"; with varying combinations of quote marks(single quotes, double quotes, no quotes) I get a PHP warning(see below). if I do an echo test; I get the word test in my output field. Any ideas? The warning i get: PHP Warning: Unexpected character in input: '' (ASCII=92) state=1 in Embedded code on line 1
-
- 3 replies
- 3k views
-
-
I have been trying to figure out how to get data passed to SmartPill, but have not seen any example of this is done. Basically I want tu use the cURL-example from SmartPill Examples WIN.fp7 What I wonder about is if you could show one step-by-step guide how I can get variables passed to the php-script from a field in Filemaker.
-
- 2 replies
- 2.9k views
-
-
Some newbie questions. I am just getting ready to dive in and learn how to use PHP with our FMS8A so we can publish information to and from our web server. We host everything internally on Macs and I am trying to figure out where to get started. I watched the demo video of SmartPill but I am still not clear on how it works with FileMaker Server Advanced. Does SmartPill work with FMS8A or just FM clients?
-
- 2 replies
- 3.2k views
-
-
[ANN] Scodigo Releases Public Beta of SmartPill PHP Edition Plug-in Kalamazoo, MI, August 11, 2006 Introducing the first email sending, ftp'ing, file writing, encrypting, URL getting, web service talking, XML, XSL, XPath, image making, EXIF reading, LDAP calling, socket speaking, regular expressing, object oriented plug-in for FileMaker! Scodigo, Inc. is proud to announce the public beta release of SmartPill, PHP Edition, now available for download @ http://www.scodigo.com. Versions are available for both Mac (including Intel) and Windows. Read the rest of the press relase here
-
- 0 replies
- 2.7k views
-
Recently Browsing 0
- No registered users viewing this page.
Who's Online (See full list)
- There are no registered users currently online