What is the appropriate SE site for asking about oauth plugins for PHP?
123445
I'm looking into developing an ordering app for a potential client. The main part that I'm concerned about in this question is the payment mechanism. I would assume that there are already multiple plugins or similar programs out there, but I'm not sure where (or if) I should be asking for recommendations.
2798
I'm looking for a library that has functionality similar to Perl's , but for PHP. Basically, it should allow me to submit HTTP GET and POST requests with a simple syntax, and then parse the resulting page and return in a simple format all forms and their fields, along with all links on the page.  I know about CURL, but it's a little too barebones, and the syntax is pretty ugly (tons of curl_foo($curl_handle, ...) statements  Clarification:  I want something more high-level than the answers so far. For example, in Perl, you could do something like:  # navigate to the main page $mech-&gt;get( 'http://www.somesite.com/' );   # follow a link that contains the text 'download this' $mech-&gt;follow_link( text_regex =&gt; qr/download this/i );  # submit a POST form, to log into the site $mech-&gt;submit_form(     with_fields      =&gt; {         username    =&gt; 'mungo',         password    =&gt; 'lost-and-alone',     } );  # save the results as a file $mech-&gt;save_content('somefile.zip');   To do the same thing using HTTP_Client or wget or CURL would be a lot of work, I'd have to manually parse the pages to find the links, find the form URL, extract all the hidden fields, and so on. The reason I'm asking for a PHP solution is that I have no experience with Perl, and I could probably build what I need with a lot of work, but it would be much quicker if I could do the above in PHP.
79756
I'm not sure if this is a stupid question, but here goes anyway... I have only recently started learning PHP and Javascript and I'm reasonably proficient. One of the reasons I'm so proficient is because I LOVE Stack Overflow and find most of the solutions to my dilemmas here.   But I've found that I never get the chance to ask a question because it has normally been asked many times before and when I go through the unanswered questions to try and help someone else, they are generally WAY over my head.  So I'm not sure how to get more privileges. I can't even vote up answers that I like or that helped me. I can't comment to thank someone for their solution. It is most tragic and demoralising... How do I change the situation?
60522
How can I access the apache basic-auth username in a PHP script?
98220
They are , and they are not a strictly programming tool. The tools are normally offered by hosting providers to manage our domains, but where to ask questions about these tools?
20180
I've seen sign in methods using  as an authentication provider, for example : (AWS Cloud9)        Is it possible to authenticate into Stack Exchange using this method? At the moment there's other methods such as OpenID, Google, Yahoo and Facebook, but it would be interesting to also have the GitHub authentication.
44816
After reading , I think it might be useful to have a separate question for this subject.  Let me quote a part of :     SU and SF are generally not great places for WAMP questions...   Particularly when asked on SO, these nearly always involve someone   working with their development or testing setup (rather than, say, a   home or production server environment). If you see someone   recommending SF or SU for such questions, politely correct them.   So the argument is that since  is closely related to development, it belongs on Stack Overflow.  My concern is twofold:   It being development is irrelevant, issues appearing while using WAMP can also appear in a production environment. There might be more expertise on the subject over at .   Perhaps not many people will support my view, but it's worth asking so everybody knows how to handle such questions: what does the community think?
1355
Is it possible to redirect anonymous user to user/register page? How can I do that?
49377
Where can I find a syntax or language reference for the query language used on ?
69138
The situation  Across the entire domain, we'd like the URLs to hide file extensions and remove trailing slashes, independent of the domain name itself (as in, works on any domain).  Sample of our directory structure  We're not using index.* files except for the homepage.   /  /index.php /account.php /account  /subscriptions.php  /login.php /login  /reset-password.php     The goal  Some examples of how these files might be requested, and how they should look in the browser:   / and index.php --> mydomain.com (literally just the bare domain name). /account.php or /account/ or /account --> mydomain.com/account /account/subscriptions.php or /account/subscriptions/ or /account/subscriptions --> mydomain.com/account/subscriptions   As you can see, there are several ways to access each webpage, but no matter which of the 2 or 3 ways you use to get there, it only shows the one preferred URL in the browser.  The question  How is this done with .htaccess using mod_rewrite?  I've banged my head against the wall trying to figure this out, but in general, the rewrite flow would seem to be something like this:   External 301 redirect ( mydomain.com/account/ --> mydomain.com/account ) Internally append .php ( mydomain.com/account --> mydomain.com/account.php )   I've been Googling this all day, read thousands of lines of documentation and config texts, and have tried several dozen times... I think more brains on this would help a lot.  UPDATE  We found an answer our question (see below).
112966
I want to make sure all of the data in my plugins/themes is handled securely  before entering the database and before being output to the browser. My problem is that there are situations where the API handles the sanitization for you -- like when saving post meta fields -- and others where the plugin/theme author is wholly responsible for doing it -- like when saving custom settings.  For the scope of this question, I'm not concerned about validating data at the domain level -- e.g., checking that an Age field on a form is between 0 and 120, or that an e-mail address is valid. I'm only concerned about security -- e.g., escaping SQL queries to avoid SQL injection when saving to the database, or sanitizing data that's output to HTML templates to avoid XSS.  For output sanitization, I know that you always need to use functions like esc_html() and esc_attr() when echo'ing variables into HTML templates. But, what about when using ? Do they all sanitize the output already? If so, for which context (general HTML, tag attributes, etc)? Some functions have variants for different contexts (like the_title_attribute(), but most don't.  For input sanitization, I know that I need to use $wpdb-&gt;prepare() when making manual queries, but what about when using the Settings API to create a plugin settings page, or saving post meta fields for a custom post type?  Right now I've just been digging through Core and reading tutorials every time I use a function to find out if it sanitizes or not, but that's error-prone and time consuming. I'm hoping to find some kind of comprehensive list of all the possible situations and whether or not the API handles it. e.g.,  API validates/sanitizes   Saving post meta with update_postmeta() Saving user meta with update_user_meta() Outputting a post title - use the contextually appropriate variant of the_title() etc   You have to manually validate/sanitize   Saving plugin options with the Settings API. Pass a callback as the 3rd parameter of register_setting(). Direct database queries: Wrap the query in $wpdb-&gt;prepare(). Outputting variables in HTML. Use esc_attr(), esc_html(), etc etc   I'd also be interested to understand why the API provides it in certain situations, but not others. I'm assuming it has something to do with the unknown nature of the data, but would love to hear a thorough explanation.
85541
I am implementing SSO, the documents which are avaliable via Salesforce.com are hard to understand. Does anybody know an easy to understand document or blog where I can study and implement it. Thanks in adavance
10344
I am totally new to Linux, servers and websites. I recently set up Apache2, Python, PHP, and MySQL for setting up a LAMP server. I am using Xubuntu 16.04 and PHP 7.0.11. I followed a guide and placed a PHP file named testing.php in it with:  &lt;?php phpinfo(); ?&gt;    It doesn't show anything on localhost/testing.php All it shows is the code itself.
110411
I would like to implement a plugin that requires new users to reply to an email, to verify their email address, on registration. I am already doing extensive codex research, but I am very new and would appreciate some hints, especially regarding keeping the user inactive until they have verified their email. The rest I think I will manage on my own.
27011
I am using  on my live server which only uses  using an  key.    I want to install and upgrade plugins, but it appears that you are required to enter your FTP login to install the plugins. Is there a way to install and upgrade plugins by manually uploading the files instead of having WordPress handle the entire process?
121834
How are callbacks written in PHP?
116365
I mean, like php'h include...  something like   my_file_to_be_included = "include_me.asp"  -- >   for what I've seen so far, there are a couple of alternatives, but every one of them has some sort of shortcoming...  what I'm trying to figure out is how to make a flexible template system... without having to statically include the whole thing in a single file with a loooooong case statement...  here there are a couple of links            but it has some shortcomings I'd like to avoid... seems like (haven't tried yet) Server.Execute code runs in another context, so you can't use it to load a functions your are planning to use in the caller code... nasty...        I'm not sure about it (couldn't test it yet) but it seems like this one dinamycally handles the page to a SSDI component...  any idea???