Reverse Proxy PHP - php

I want to develop software that will allow people to log in and pay a bill. The software will have to connect to a server hosted at a client (could be many clients) and retrieve some information. The issue is that I want to make it work in any scenario. Similar to the home remote control software like goto my pc. I have no gurantee of the setup for the client only that they have a windows based server and and internet connection. I would like to install a piece of software and have it connect to the server and wait for information. I really would like to use the simplest software possible such as PHP.
Thanks

I want to develop software that will allow people to log in and pay a bill.
That is a requirement. That is fine.
The software will have to connect to a server hosted at a client (could be many clients) and retrieve some information.
That is a specific technical solution to the above requirement. And not a very good one I might add.
So. Do you want to know how best to solve your requirement, or do you want a technical explanation about how you could implement your (totally misguided) proposed solution?

Related

How to access Data from another Server not in the same Network

Hello guys.
In our actual project we got a Microsoft Server accessed via remotehost. On this server we installed xampp ,Microsoft SQL Server and our previously in ObjectPascal developed program.
Then we have a Microsoft SQL Server at our Customers. Then we have our Application, programmed in ObjectPascal, installed, that works with the SQL-Server and is programmed by our company.
Our Web-solution is programmed that it can work with the database like our old programm. Furthermore we would like to use the old program for working locally and our web solution for working remotely. Furthermore the databases on the web-server and at our customer are identical.
Now we have the problem how we can access the data at our Customers SQL Server, without the need of complex configuration at our customers network.
Our thoughts were:
A Web Server at our customer and access the data per AJAX.
Customers Server permanently asking the web-server if it needs data
Doing something similar like 'push up notification' sending from the web-server to our customer.
Maybe synchronising to and from the server?
We are able to get the public IP-Adress from our customer and are able to update it if it change, so that is no problem. The only problem we have is, how we can access the data from our customer. Maybe our solutions go to a completely wrong direction, that's why i am asking you guys.
If you could give me some hints, tips and tricks, maybe a link or a technology name would help me and we would be really gratefull for that.
I thank you for your time reading this!

Choices regarding IP restrictions on web request

Didn't really know what title to give this question so I hope its acceptable.
I am using a system which has an API. I don't have a lot of control over this system, but one thing I need for security reasons is for it to be locked down to my IP. This works, so now the system can only be accessed from my IP.
Now, I have built a custom app which uses the above API. This app is hosted on a server which is different from my IP address. Therefore, when I try to make the API call it fails due to it being restricted. I know this is the case, because if I run the app locally from my location, it works without any problems.
So, the question is whats the best thing to do? I know I could add the IP address of the server which is hosting my app to the systems API. However, I think the servers IP is dynamic which could cause problems. I have also used things like no-ip locally to control my dynamic IP, but I cant imagine I can install this on my web server.
Looking for thoughts as to how I can overcome this problem.
Thanks

How to implement PPP in linux server

This must be vague to ask, but I need a possible solutions.
I'm working on a project where 10 or more linux (Ubuntu) server need to talk to each other using specific ID. Without using WAN IP or Port forwarding.
I've tried with a third party library, they charge 2$ or 3$ per ID. And ask me to establish 3 rely server. I'm okay with it and ready to spend money, but the project will rely on this server completely after implementation, if they discontinue the service later, I will be screwed.
So I thought to go for either a reputed P2P service provider or Implementing on my own. But neither could find one who provides nor have an idea of implementing this.
Please help me with it. Give some ideas.

How can I sold my software?

I don't know if I can ask this here but well.
I have created my software, it's developed in php 5.4, laravel 4, xampp v3.2.1, and I work the software local (localhost/public/something).
So my question is:
If I want to sell my software, how can I install it in the pc of a user?
I dont know about servers, but I think it's better to have the data in a free server isn't it? Any recommended tutorial?
I don't want to install the xampp server to the client and all the stuff of a developer, just install the software and have it easy for the user.
Any help will be grateful.
You can't sell PHP software with the expectation that a user installs it. This is functionally possible but involves so much setup that you'd never guarantee a user would be able to use it on even a small range of systems. They'd have to setup a web server, database server, all the various connections etc. or you'd have to write an installer which did all that for them.
You're also disclosing your entire code base to any user who buys your software, which means there are no mechanisms you could use to prevent both your software and code being shared freely - which is nice if you're writing open source, but not if you plan to make much money.
The best way to sell software in the form of a website is to provide a restricted user mechanism such that you can enable or disable a users' access via a website, and control this access based on a subscription or one time sale to the customer.
You're speaking of xampp so it seems you have created a website/application. Hence you should not have to "install it in the pc of a user". A website is made to be available from any machine with a browser.
Xampp is a local server on your computer. What you need is a server to make it available to other person than you.
You have a wide variety of possibilities to host your code and make it available:
Shared hosting
IaaS/PaaS hosting (http://www.tomsitpro.com/articles/paas-providers,1-1517.html)
You'll also need a domain name to make it reachable (ex: stackoverflow.com)

Is there a way to access MySQL and/or PHP pages from Lotus Notes?

I have a full internet application served on a LAMP server, which I have complete access (root) to all of the server settings and web page files. Unfortunately, due to policy, it cannot be accessed outside of the company location.
However, we are using Lotus Notes for an email/database system, which is fully accessible from anywhere with an internet connection. All users have the Notes client installed, and the interaction can be one way (MySQL --> Domino Server). There are no concerns about access or security through Lotus Notes from management.
Is there a way to have notes access my LAMP server, and either serve up webpages and files, or develop a quick interface to access the MySQL database?
I am assuming that the Domino Server can access MySQL through ODBC, but I'm not sure where to go from here.
Thank you in advance for any assistance or direction!
Since you have old Notes clients, IBM's latest XPages technology is out of the question -- unless your Domino server is already open for HTTP, in which case you can use XPages on Domino to get information from MySQL and serve it to a browser. This would be the most up-to-date technical direction to go in.
But in general, the answer is yes, there are several ways for Domino servers to access MySQL data, and if you don't need to be using all the latest toys there are some old standby tools to get the job done. There is an IBM solution called Domino Enterprise Connection Services, or DECS, that performs real-time mapping between Notes databases and relational databases. You can find information about it here. Another IBM solution called Lotus Enterprise Integrator, or LEI, is designed for batch transfer operations between Notes databases and relational databases. You can find information about it here. You can also use the #DbLookup function in Lotus formula language or LCLSX (LotusScript Connector Extensions) in LotusScript code for events or agents in a Notes database.

Categories