Receive Email using PHP [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Does PHP have any classes to receive email? Do you know of any good resources about this?

Try php-imap library. It's very popular and stable.

I had this question too and I wanted to get emails in real time so I worked out my own solution with google app engine. I basically made a small dedicated google app engine app to receive and POST emails to my main site.
You can check out Emailization (a little weekend project I did to do it for you), or you this small GAE app that should do the trick.
I kinda explained it more on another question.
Hope that helps!

If you want to receive e-mail in real-time(COOL? but have to use .appspot domain. You could off course also forward it to the .appspot domain) I would advise you to have a look at google app engine which is free to use(generous quota). You could forward the email it your webserver using asynchronous request which in turn let's you do all the cool stuf you would like it to do in PHP.
Python is pretty easy to learn especially after watching this video from Brett Slatkin explaining how to "Developing and deploying an application on Google App Engine" and the snippets in the google app engine documentation should get you started in no time.

Related

Is there a way to program an Android or iOS app with php? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I have been a php developer for a long time and very comfortable making web applications with it. I want to try to make an app for android and I phones. But it's just for fun, and I am not sure I have enough time to learn a new language right now. I could create this app in php in a short day if it were possible and would prefer not to go through the traditional learning curve of trying to figuring out sonething new. Is there a way to create an app that would just run something similar to an iframe that would then just pull all the functionality from a website?
you can create a web viewer application. First create a website, host it and just implement that site URL into your android or IOS app. it's just a few lines of code so you don't have to learn from scratch to make the whole app.
follow this link...
https://youtu.be/A8sSRQ5mVqY
you can use react native instead of implement native android or iOS.

REST-Centric web dashboard in PHP [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm planning to build a REST-Centric web dashboard in PHP. Without connecting to the databases directly. All data 100% comes in and goes out through REST calls alone. I've gone through few framework for writing API like slim, silex, Wave and Lumen, gonna pick one form this (for Azure & MSSQL), My concern is whether developing the Dashboard in Angular or some other js & pure HTML will have any security issue or is it safe to go with Server-side scripts for dashboard too?
Interesting question, I'm doing research for a similar project and this is what I have so far:
All the opensource out there don't fill 100% the needs I have for the project so I can't use them (ie: not mobile ready or not tv ready or poor browser support)
Because of the above, I will need to build a custom solution:
server side: Lumen framework for the log in and for securing+processing all the dashboard requests
client side: I will use a angular.js + dashboard template (from envato or from strapui). You can also do it with jQuery.
I hope it helps

iOS push notIfication using PHP? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
First off, I do apologies if this question shouldn't be asked here. please let me know and I will delete it.
I'm trying to create an iOS app using jquery mobile and for the server side I will be using PHP/MYSQL and will package it via phonegap.
I am totally new in implementing push notification in the app so I wouldn't know where to start.
The issue that I have is that I need to implement a Push Notification in the app.
I have been searching and reading a lot of blogs and stuff on Google and I can't seem to find a straight forward and clear information about implementing Push Notification using PHP or by any other means (I prefer PHP as I will be doing a lot of MYSQL/PHP stuff).
could someone please point me to a tutorial of some sort that will walk me through the steps from start to finish?
any help would be appreciated.
If you are using phonegap to package your app I suggest using push notification phonegap plug in. Here are a few tutorials for it and the project on github:
Here is a tutorial: http://devgirl.org/2013/07/17/tutorial-implement-push-notifications-in-your-phonegap-application/
Here is the project: https://github.com/phonegap/phonegap-plugin-push

What sort of server to use for a scalable PHP project? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I just started a project in a company, they had it hosted on Google App Engine and the app was developed in Java. The thing is that this code was totally unreadable. So I've came to the conclusion that the best solution would be start it all over.
Because it is a Facebook App, one approach would be to stop using Java and start using their available PHP SDK. But, Google App Engine still doesn't work well with PHP, we can't install Frameworks like Yii without workarounds, etc.
So I think the best solution would be change the place that we are hosting the application. It needs to be a host for scalable PHP applications.
I've researched a little bit and found people talking about Pagoda and appfog.
Do you have any suggestions? What is the best solution considering: price, efficiency and also it needs to be easy to use. I don't have a lot of experiences managing servers, I usually have someone on the company that takes care of all of that for me.
My best advice would be to choose a standard Cloud provider like DigitalOcean, VPS.net or AWS. You get full access to the server to configure and install anything you like, and they often come with pre-built server images with PHP/MySQL/Apache already configured and ready to use.
Heroku has PHP support to https://devcenter.heroku.com/articles/getting-started-with-php and it's ideal for FB apps https://devcenter.heroku.com/articles/facebook

Tutorial for PHP Amazon Simple Storage Service [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm about to integrate Amazon Simple Storage Service (S3) with a php web application that must maintain a lot of office documents and photoshop files.
Can anyone point me to a brief tutorial on how to do this? There's "too much" documentation on the Amazon website for me to wade through. I learn best by studying and tinkering with code that actually works.
If you're using Zend, the S3 section has a great tutorial.
http://framework.zend.com/manual/en/zend.service.amazon.s3.html
If not, but don't want to roll your own code, try this:
http://undesigned.org.za/2007/10/22/amazon-s3-php-class
The basics are pretty ... basic:
$s3 = new S3('accessKey', 'secretKey');
$s3->putBucket('bucket', S3::ACL_PUBLIC_READ);
$s3->putObjectFile('file.doc', 'bucket', 'docs/file.doc', S3::ACL_PUBLIC_READ);
$s3->deleteObject('bucket', 'docs/file.doc');
Or this:
https://github.com/tpyo/amazon-s3-php-class
Which is a great library - I've used it. I prefer it to Zend S3.
I would use the official SDK for php from Amazon.
Start with the Getting Started Guide, and then consult the full library docs as needed.
If you are new to S3, the general getting started guide should be useful in giving a general overview of how the service works.
This very nice tutorial comes with an added bonus; it links to an already-written library, so you won't have to write all the code yourself.

Categories