I currently use PHRETS to query/download information from the RMLS's RETS server. I've tried a few different configs and haven't been able to get it to work. I also don't know if PHRETS can already do what I want?
I was wondering if there's a similar script or library for connecting to the NWMLS IDX server? A PHP script/library would be preferred.
I know this is a late answer but maybe it'll help somebody later.
Here's a link to a list of RETS clients "supported" by RESO the Standards Organization for Real Estate.
Not on this list but for PHP there's also VieleRETS
Related
Good morning,
I'm currently facing a small problem. To create some automated process, I need to be able to check If a hostname has a CAA record.
CAA record are needed by letsencrypt to generate certificate. I wanted to use dns_get_record to check my DNS, but unfortunately for me, we are using PHP 5.6 and dns_get_record in php 5.6 does not fetch those record.
So I was wondering if anyone had any idea in php, on how I could check if an hostname has a CAA record.
Thanks in adavance
Unfortunately, PHP doesn't provide any other tools for this. You'll have to settle with one of the following:
Upgrade PHP (just do it, you'll have to anyway and it's not as painful as you may think)
Find a user-space DNS-resolver library that works on PHP 5.6 (there are some, but I don't know of any with CAA support)
Use something like exec('dig caa <domainNameHere>') to hack around it
Do this outside of PHP
I am new here. I haven't found any solution to my problem.
WHY i need that? I am building a Joomla based system for fast custom Android app creation working on php hostings having no java installed available for people to develop and install apps easily on their devices. Thus i am interested only PHP or universal-like solutions implementable in PHP too. Only CHANGING FILES UNPACKED AND NOT DECOMPILED IS AN OPTION. No apktool no whatever else like that. I am working with DEBUG packages with self generated keys. or something like that, because i am a beginning phone gap developer.
For example i would like my own icons for an app, or change the title of it in AndroidManifest.xml. And update sha1 digest hashes for cert.sf and manifest.sf for the changed files. I need human understandable procedure step by step.
PHP gives sha1 and base64 encoding and many more like that.
I was trying to get the same codes like cert.sf and manifest.sf (no file was changed before) but i wasn't able to do so. I tried silly ways to sha1 files and base64 them and no outcome was as in the files mentioned.
Please there is no answer like that i need.
Let me say the anwswer to the question will help people or at least will help to build application development systems.
P.S.
For Adobe Air apps i will be trying to do the same what for .apk apps. I hope it won't create the same issues. But not about it is the main question.
UPDATE:
I feel from a couple topics of this kind that any practical help on this matter is unavailable and sometimes even perceived negatively. Thus what i am going to do is to use an additional server for making apps (simply command: cordova build) and send an app produced to a server which requested for it. This only because for some unknown reasons i cannot sign any files with php (debug packages). But why? It seems that the effect would be just the same as with installing running stuff with additional server using java, would it not?
Update:
I don't think there will be any answer. So i do .air and .apk apps using home computer hosting java what is not the best idea - two servers one not professional. There is http://build.phonegap.com/ and it can be interesting for building apps manually or via api. For free one app can be private and more open source. IOS and Windows are supported too there.
If you change a file, you must resign the APK with an existing certificate.
APK files are signed with the java jarsigner tool, so you can't do it only manually just by editing some files, you need the private key of the certificate.
Maybe you should try to add a Java application next to your Joomla server and use jarsigner for signing the generated APKs.
This might seem to be a silly question but I was wondering if there any programs out there that would scan over a directory of PHP scripts and generate a report that states exactly what databases and tables are queried in each particular script?
Our database type is MySQL. Thanks for your help.
You might try something like PHP Code Sniffer. It's a static analysis tool that can search through PHP code for certain rules. You may have to end up writing your own sniffing rules, but it might be somewhere you could start. I've used it to check PHP version updates and it's worked pretty well. Just search for 'php code sniffer custom standards' and you can find some useful stuff to help get started.
I am working with some code for uploading images to a server on android. I am working on my local xampp server. I do have Restler and PHP installed on it for REST services at the moment.
I was working modifying the code in this tutorial.
I installed an external jar file for the http client errors. But I cannot install coldfusion as it appears to require a commercial license of some sort and this is what this tutorial is using. As I said, most of the code is in that tutorial besides downloading the latest http client jar file here. What I'm really asking is what alternatives to this cfc function are there? And preferrably what php alternatives are there? Please let me know if I should clarify anything else. Thank You.
Cormac, the only ColdFusion consideration here is that the blogger uses a CFC as a web service within one of their Java classes (it's not great to have a dependency like that in there, but oh well). So what you're gonna need to do is to find out what that web service does, and roll your own. On the basis of the info you have given is, we can't tell you what the web service does... I recommend you touch base with the blogger and ask them. They'll almost certainly flick you the code, and then we can have a look at that if you need further help.
So i've done a lot of searching on here and Google and haven't seem to come across anything that is known to work or that I think will accomplish what i'm looking to do.
Basically right now i've been using www.thumboo.com to create thumbnails via their API however they do not support SSL and where im creating the preview is under a customer area where SSL is required.
So i'm looking to either develop something myself or find something already developed to use, i would like to create a simple "screenshot" or "thumbnail" of a website address on the fly, not sure if i want to cache it yet or not, but either way doesn't matter.
Does anybody know of any scripts out there that can accomplish this? I'm not looking to get a screenshot of the "entire" page, just what a "browser" would originally see without scrolling down, just like how it works on www.thumboo.com.
I'm not too concerned with the scripting language but i plan on outputting the file using php by pulling the file from somewhere or activating the script with java or php.
Does anybody know of any other thumbnail services that may have an API That works with SSL or any scripts that are still developed for this purpose? Everything i have found has been outdated which makes me wonder if there is some easy way to do it now with some type of function or module i may need to add to PHP.
I am server admin so i can customize PHP and the server as i need to get it to work.
Thanks ahead of time!
http://www.thumbalizr.com/apitools.php
i have never use but seems like this works for you.