Search the Community
Showing results for tags 'faq'.
This topic is everything you'd want to know about PHP Freaks and some frequently asked questions. Table of Contents - You can find the answers to these questions below in this thread: General Rules and Terms of Service What is the purpose of this forum? Can you delete my post / thread / account? I don't like my username, can I change it? Why can't I edit my profile? What do those user badges mean? How do I get one?!!?
This topic is to provide information for those looking for help with regex in PHP. Below are some great resources and FAQs: Table of Contents - You can find the answers to these questions below in this thread: I need help with some regex, how should I post? When shouldn't I use regex? PHP kept crashing on preg_match* on large strings, why? Some Resources Common REGEX patterns Cheat sheet ($2) regular-expressions.info Andy's Regex Tutorial
This topic is here for those looking for help on frequently asked questions, or just need some direction in where to find more information. Resources The official PHP website - you can find the manual here PHP Freaks main site - you can find tutorials, articles, and more there Table of Contents for FAQs Can you do / write _________ for me? Call to undefined function "mysql_connect" I'm getting a "headers already sent error". What does that mean? What is the point of MD5 / SHA1 / SHA256 / etc.? Should I salt my user's passwords, and why? mysql* expects parameter 1 to be resource, boolean given
This thread should help users with frequently asked questions and links to some resources we've found useful. HTML5, should I use it? In short, YES! HTML5 is great because it keeps the web moving forward with new developments. New attributes & form types are included and are backwards compatible. Other new additions such as new tags (section, article, etc.) are great additions and only require a slight JS & CSS fix to apply to older browsers. A few links that come in handy for HTML5: html5.org, html5.info, and diveintohtml5.info Microdata, what is it? Microdata is great generating rich content markup. It allows crawlers and screen readers to know more about the information being displayed. An example of this would be the "Person" schema, which allows you to define meta-data about a user. This is great for blogs and profiles, and Google will be able to render and display this information in the search results. You can read more from Google or visit schema.org Should my layout be based on tables or CSS? This is an old question that surprisingly still pops up today. Tables are for tabular data, not layouts. You should use CSS for presentation & layouts, and HTML for the structure of the data. (X)HTML, what is it? In short, XML is for structuring data, HTML is for displaying data, thus XHTML allows you to combine both. There are different rules to be applied to XHTML that don't apply to HTML4 documents. You can read a full debate on this on our site, or read more about XHTML on wikipedia.