Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Is there a posibility that i can convert my php website to an mobile app or i should convert it into html then convert it to mobile app??
No, you cant run php client side. You should just make it a responsive website
There are multiple technologies. You will need to adjust your HTML/CSS to cater for how they work, but it is possible. I'd suggest looking at PhoneGap
PHP is server-side language and that gives HTML page output after execution at server-side so that is not possible.
But You can use native browser of that os e.g. for android webview.And can load your page into it.
Another option is PhoneGap but it slow down application than Native.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm trying to detect if a website is mobile friendly in a scripted way.
Preferably using php loading and parsing the html of the website. Is there any known way of doing this?
Right now the only thing i can think of is to detect the viewport meta tag.
you could search for width=device-width in a meta tag. There is no HTML tag or attribute which really defines mobile friendly.
Found from this link: Script to Mobile-Friendly test
Call google API, with JSON encoding to check for mobile friendliness.
https://www.googleapis.com/pagespeedonline/v3beta1/mobileReady?url=[http site to check]
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
How can I navigate on a website, using php ? (I want with a local program to access a website and parse html pages, fill forms, click buttons and being redirected, etc.; as if PHP was a real guy). Yet, I use Ruby Mechanise but it's not sufficient.
Thanks
To interact with a website you would most likely use a javascript framework such as phantomjs or dalekjs. PHP is not made for DOM manipulation and interaction or page automation.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I created an app with PhoneGap but I need to load some stuff from another domain. I tried jQuery load with a xdomainload plugin but It did not work.
The stuff I need to show run on PHP as the back-end language. I'm really noob - I've seen a few tutorials about JSON but all of them did not work and I ended giving up. Is JSON the easiest way?
Thank you all
Generally speaking, PHP wont run client-side in Cordova. If you're trying to access some sort of backend service that you built using PHP, then that's doable with JSON. Whether it's "the easiest", makes this question to open for interpretation. Generally speaking, a common approach may be to use javascript to communicate with backend services which "talk" JSON between each other. This question might get closed for being to opinion based. But that's my 2 cents.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
So there are websites that use dynamic web pages and use PHP for this. Also websites need to use SQL to run information in their server databases.
How would an iOS app do this? Through the same type of programming (PHP&SQL)?
I'm a student only looking to learn. Thanks!
This should get you started - https://developer.apple.com/library/ios/navigation/#section=Resource%20Types&topic=Getting%20Started
And once you have had a look around in the above link, have a read of this https://developer.apple.com/technologies/ios/
Lastly if you want to really go creative and social check out the iOS SDK for Facebook and start making cool apps - https://developers.facebook.com/docs/ios/ios-sdk-tutorial/
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Is it possible to launch a PHP script, client side, using an HTML web page?
If not, is there a way to embed the PHP into the HTML so it can run client side?
I think what you want is JavaScript. PHP is meant for server-side and JavaScript is meant for client side, among other things.
No. PHP cannot be run in browser. Learn JavaScript, alternatively CoffeScript if you don't like JavaScript's syntax.