searching for a great php overview [closed] - php

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
as the title reads I'd like to find a webpage which presents an overview of the php language cause it's been a little while since I stopped to program server scripts.
By overview I see a page with the basic writing of the language (variable writing and the types, the control flows, some writing recommandations and some common functions about arrays and string manipulation) of course without the explicative text that generally comes with tutorials, I just want to refresh my memory about the basis.
I used google to find my request but not seeing anything like this on the first page.
I prefer asking here cause I trust in the stackoverflow community. If you have a personal page that refers to my wanting feel free to post back
edit: this sheet seems to be fine if you want php get the surface of your brain back
http://www.emezeta.com/weblog/emezeta-php-card-v0.1.png

I would say this:
http://oreilly.com/catalog/phppr/chapter/php_pkt.html
Combined with this:
http://www.addedbytes.com/cheat-sheets/php-cheat-sheet/
One great source to find information is actually stackoverflow. Whatever specific problem you encounter, the answer is sure to be found on this site :)
Good luck, PHP is fun!

Related

Edit a css file from the live website [closed]

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
so i want to develop a mini website builder within my website. Have a control panel where users can edit the text in their websites, i want each of those html pages to have its own css file attached to it. Now, i want it so that the user sees something like a button saying "Edit Background color" they are prompted with a color picker and on hitting save, the css file is updated without them knowing that css even exists.
I would like to know what language i can use to make the previous example happen. And if possible a hint of code.
I appreciate your answers, Braulio :)
I didn't downvote you but just for informational purposes, the reason you were probably downvoted is due to the scope of your question, The language you choose depends on what platform you are running your site on. And it is likely possible to do what you want in tons of different languages assuming your platform supports them. For an easy solution check out .net languages like c# with ajax controls for live updates without refreshes. But then again you could use ruby with rails. Or you could do most of it in the client side with jquery and javascript then send the results to the server which could utilize php. It is just to broad a question to really answer without writing the whole thing for you which nobody is going to do.

How to make HTML interact with a database? [closed]

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 8 years ago.
Improve this question
Hello everyone, I have a project and I want to create an MVP: Minimum Viable Product.
And I have html pages ready but I don't know how to make them interact with databases, preferably MySQL.
I need the simplest way to be able to POST and GET data from a database, PHP or Rails.
IF there's just one simple tutorial or a small ebook to read, I'll be so thankful.
I have to the end of the month to create the MVP, about 20 days or so, and I really want to make that happen and I was gonna learn the whole Rails just to do that, but it'll take time you know!
Thanks for your time and I hope that you might help me :)
You can't make HTML directly interacting with database. You should create server-side application, which answer queries generated by HTML forms, JS queries, etc. I am PHP developer, I like this language, so I recommend you using it in your solution.
You can read about connecting PHP to MySQL database here:
http://www.w3schools.com/php/php_mysql_connect.asp
There you have basic information about handling data sent by POST:
http://www.w3schools.com/php/php_forms.asp
If you have any troubles during develop proccess try Google before, then if didn't find answer ask specific and well described question on Stack Overflow.
Best luck!

How to implement a database like search form into a website? [closed]

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
How can I go about implementing a database like search form into an HTML website? For example, there is a form to enter your zip code and after entering the zip code, it searches a .txt file (for example) and returns results that fall under that specific zip code.
Any help would be greatly appreciated.
Thank you
There are many approaches you could take. It's a very broad question.
As an example solution, you would need to have both client and server side code. The client would submit the form to a server. The server code could be written in a multitude of languages, PHP, ASP, JAVA etc.
The server side code would take the request parameters sent by the form, read the file, calculate any result and pass it back in the http response to the front end, which could be dealt with by displaying a new page or as part of an AJAX refresh.
As you can appreciate though, this is a very broad topic and there are many possible solutions.
Also as #Dagon points out, if you are not restricted to using a text file (although your title probably suggests you are) then using a MySQL or other such database could be a better solution, maybe even Solr as an indexing solution, depending on what you are searching for.

Showing some parts of a external website and modifing HTML/CSS [closed]

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
I would like to know what is the best approach, based on good programming practices to show an external webpage (say Facebook or Twitter) on my website while being able to modify the HTML and CSS before showing it.
I know that I could use an iFrame however based on some opinions the iFrame does not seem to be a good programming practice (width issues, ugly scrollbars, etc).
Is there a better approach?
Update: Question was put on "too broad", in order to limit the possible answers I would like to know if it possible to change the CSS (and only CSS) of an iFrame, the user Muhammad Umer commented that it would be possible but provided no more details. Someone knows how to achieve this?
This can be done in PHP. First I want to suggest to look for API's. Facebook has some nice API's which allow you to show them on your website, with some options to customize is.
The more difficult (and lots of work to maintain) is using file_get_contents() and using some parsers and regex to get the parts you want. Allthough facebook (and some other sites) might prove difficult, they load some parts via JS, so file_get_contents cant get everything
Again, API's are the way to go.

PHP solution for Epaper [closed]

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 8 years ago.
Improve this question
I am working on a news paper website which has epaper facility. I am developing it in php.
Is there any script or something else where I can learn how to make an epaper site.
I want solution like this http://epaper.timesofindia.com/Default/Client.asp?Daily=TOIM&showST=true&login=default&pub=TOI&Enter=true&Skin=TOINEW&AW=1333084145015
Please help me out..
ePaper in your context is a web app developed by Pressmart, and it appears to be proprietary, or at the very least not developer-friendly. So I highly doubt there have been advances in PHP libraries for it.
I'm sure as a partner, they have internal documentation and tech support that you can request more information from. They may even have a web API with PHP examples (I've seen worse companies that knew they had to keep up).
This is all info I've gathered in the last 7 minutes, so there may be more out there. But you should always reach out to the developer support of the product if they don't have easy access to documentation, as this is a sure-sign that there is not a large population of developers in the general community that will know what you're talking about, let along give insight.

Categories