<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged php</title>
<link>https://www.question2answer.org/qa/tag/php</link>
<description>Powered by Question2Answer</description>
<item>
<title>User Manager - Since PHP Version 8 and up, it shows a white page.</title>
<link>https://www.question2answer.org/qa/114500/user-manager-since-php-version-8-and-up-it-shows-a-white-page</link>
<description>Is this a problem only for me? If so, can anyone explain why this could happen?&lt;br /&gt;
&lt;br /&gt;
If not, does anyone know how to fix this plugin?&lt;br /&gt;
&lt;br /&gt;
Thank you!</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/114500/user-manager-since-php-version-8-and-up-it-shows-a-white-page</guid>
<pubDate>Wed, 14 Aug 2024 15:17:34 +0000</pubDate>
</item>
<item>
<title>warning message php8.2  ..</title>
<link>https://www.question2answer.org/qa/113984/warning-message-php8-2</link>
<description>

&lt;p style=&quot;text-align: left;&quot;&gt;Hi everybody ,&lt;/p&gt;

&lt;p style=&quot;text-align: left;&quot;&gt;After I switched to PHP 8.2, I received a warning message in the error log as follows:&lt;/p&gt;

&lt;p style=&quot;text-align: left;&quot;&gt;PHP Warning:&amp;nbsp; session_start(): open(/var/cpanel/php/sessions/ea-php82/sess_80b429d0c17d7d6d05483ccfca6e1ca1, O_RDWR) failed: Permission denied (13) in /home1/×××××/public_html/××××/qa-include/app/users.php on line 162&lt;/p&gt;

&lt;p style=&quot;text-align: left;&quot;&gt;PHP Warning:&amp;nbsp; session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php82) in /home1/×××××/public_html/××××/qa-include/app/users.php on line 162&lt;/p&gt;

&lt;p style=&quot;text-align: left;&quot;&gt;I hope the developers of Q2A will look into this issue&lt;/p&gt;

&lt;div&gt;&lt;/div&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/113984/warning-message-php8-2</guid>
<pubDate>Tue, 25 Jun 2024 19:41:24 +0000</pubDate>
</item>
<item>
<title>Does Q2A require allow_url_fopen=0</title>
<link>https://www.question2answer.org/qa/113650/does-q2a-require-allow_url_fopen-0</link>
<description>

&lt;p&gt;I am getting a lot of warning errors when I go to&amp;nbsp;admin &amp;gt; plugins page&lt;/p&gt;

&lt;p&gt;PHP Warning:&amp;nbsp; file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/illdebateyou/public_html/qa-include/qa-base.php on line 1838&lt;/p&gt;

&lt;p&gt;And almost all the plugins are throwing the following error:&lt;/p&gt;

&lt;p&gt;PHP Warning:&amp;nbsp; file_get_contents(&lt;a href=&quot;https://raw.githubusercontent.com/creator/plugin_name/master/metadata.json):&quot; rel=&quot;nofollow&quot;&gt;https://raw.githubusercontent.com/creator/plugin_name/master/metadata.json):&lt;/a&gt; Failed to open stream: no suitable wrapper could be found in /home/illdebateyou/public_html/qa-include/qa-base.php on line 1838&lt;/p&gt;

&lt;p&gt;It looks like if I just turn on&amp;nbsp;&lt;strong&gt;allow_url_fopen&lt;/strong&gt;, the errors&amp;nbsp;might go away. But from what I am understanding&amp;nbsp;this setting not safe (true/false?).&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;Is it the core that is causing the errors or all the plugins?&lt;/li&gt;

&lt;li&gt;Is there a fix to the code that will stop the errors? (without enabling&amp;nbsp;allow_url_fopen)&lt;/li&gt;&lt;/ul&gt;

&lt;div&gt;Thanks, Eddie&lt;/div&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/113650/does-q2a-require-allow_url_fopen-0</guid>
<pubDate>Fri, 24 May 2024 15:42:46 +0000</pubDate>
</item>
<item>
<title>PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP</title>
<link>https://www.question2answer.org/qa/113579/deprecated-methods-their-class-constructors-future-version</link>
<description>What does this error mean? &lt;br /&gt;
&lt;br /&gt;
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; qa_layer_30_from_layer_php has a deprecated constructor in /tmp/fakeEvalbdkKEo on line 4&lt;br /&gt;
&lt;br /&gt;
How is it repaired?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/113579/deprecated-methods-their-class-constructors-future-version</guid>
<pubDate>Fri, 17 May 2024 01:55:38 +0000</pubDate>
</item>
<item>
<title>mysqli error, qa-db.php:84, version 1.6.3 -- without losing any q&amp;a</title>
<link>https://www.question2answer.org/qa/113003/mysqli-error-qa-db-php-84-version-1-6-3-without-losing-any-q%26a</link>
<description>

&lt;p&gt;&lt;span style=&quot;color:#000000; font-family:Arial,Helvetica,sans-serif&quot;&gt;&lt;u&gt;&lt;strong&gt;Here is my error:&lt;/strong&gt;&lt;/u&gt;
&lt;br&gt;[27-Mar-2024 11:49:31 UTC] PHP Fatal error: &amp;nbsp;Uncaught Error: Class &quot;mysqli&quot; not found in&amp;nbsp;/home/username/public_&lt;/span&gt;&lt;span style=&quot;color:#000000; font-family:Arial,Helvetica,sans-serif&quot;&gt;html/qa-include/qa-db.php:84&lt;/span&gt;
&lt;br&gt;
&lt;br&gt;I am using the &lt;strong&gt;version 1.6.3.&lt;/strong&gt;
&lt;br&gt;
&lt;br&gt;Hosting: &lt;strong&gt;godaddy&lt;/strong&gt;
&lt;br&gt;________________________________________________________________
&lt;br&gt;
&lt;br&gt;There was an issue yesterday and I backed up the files. But then&amp;nbsp;I got this error.
&lt;br&gt;Now I cannot use my website. (&lt;span style=&quot;color:#5f6368; font-family:&amp;quot;Segoe UI&amp;quot;,Tahoma,sans-serif; font-size:12px&quot;&gt;HTTP ERROR 500&lt;/span&gt;)&lt;/p&gt;

&lt;p&gt;
&lt;br&gt;I am a user just downloading, and then writing questions and answers. That's all. I don't&amp;nbsp;know the details too much.&amp;nbsp;
&lt;br&gt;
&lt;br&gt;Can you give me a way to solve this problem without losing any of my questions and answers?
&lt;br&gt;
&lt;br&gt;Thanks in advance!&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/113003/mysqli-error-qa-db-php-84-version-1-6-3-without-losing-any-q%26a</guid>
<pubDate>Wed, 27 Mar 2024 13:46:22 +0000</pubDate>
</item>
<item>
<title>PHP 8.01 User profile is not displayed</title>
<link>https://www.question2answer.org/qa/109929/php-8-01-user-profile-is-not-displayed</link>
<description>

&lt;p&gt;I have installed the latest version of Question2Answer. If I use PHP 8.029, the User profile page is not displayed when I click on a user's profile picture (Error 500). The server reports the following error:&lt;/p&gt;

&lt;blockquote&gt;

&lt;p&gt;mod_fcgid: stderr: thrown in /var/www/vhosts/gefragt.net/httpdocs/qa-include/qa-base.php(720) : eval()'d code on line 106, referer: &lt;a href=&quot;https://gefragt.net/&quot; rel=&quot;nofollow&quot;&gt;https://gefragt.net/&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I'm using the MayroPro theme.&amp;nbsp;Can anyone help me?&lt;/p&gt;

&lt;div&gt;&lt;/div&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/109929/php-8-01-user-profile-is-not-displayed</guid>
<pubDate>Sat, 12 Aug 2023 16:48:41 +0000</pubDate>
</item>
<item>
<title>Failed opening required 'qa-base.php'</title>
<link>https://www.question2answer.org/qa/109083/failed-opening-required-qa-base-php</link>
<description>[29-Jun-2023 02:13:32 America/New_York] PHP Fatal error: Uncaught Error: Failed opening required 'qa-base.php' (include_path='.:/opt/alt/php80/usr/share/pear:/opt/alt/php80/usr/share/php:/usr/share/pear:/usr/share/php') in /home/bigogzfe/ask-1000.com/qa-include/qa-index.php:46&lt;br /&gt;
&lt;br /&gt;
So, it seems that you need to add this qa-base.php file with the code in order to resolve your issue. Please contact your developer for further instructions.&lt;br /&gt;
&lt;br /&gt;
What do you think is the solution؟</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/109083/failed-opening-required-qa-base-php</guid>
<pubDate>Thu, 29 Jun 2023 06:51:46 +0000</pubDate>
</item>
<item>
<title>PHP-8.1 error help</title>
<link>https://www.question2answer.org/qa/108969/php-8-1-error-help</link>
<description>I keep encountering the following error in the error log after adding an answer, comment, or making a modification: &amp;quot;PHP Deprecated: mb_strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home1/xxxxxx/public_html/xxxxxx/qa-include/util/string.php on line 765.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
What should I do? Please help me.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/108969/php-8-1-error-help</guid>
<pubDate>Sat, 24 Jun 2023 19:03:17 +0000</pubDate>
</item>
<item>
<title>PHP-8.1 Deprecated error messages</title>
<link>https://www.question2answer.org/qa/108863/php-8-1-deprecated-error-messages</link>
<description>

&lt;p style=&quot;text-align:left&quot;&gt;Hi,&lt;/p&gt;

&lt;p style=&quot;text-align:left&quot;&gt;About a month ago, I upgraded my website to (PHP- 8.1). And There were problems such as uploading and displaying avatars, local mail, and a lot of error messages (PHP Deprecated), However, after I used (bugfix-pupi1985), either by changing some codes or&amp;nbsp;overwrite some files, all the error messages disappeared and the site now works fine.&lt;/p&gt;

&lt;p style=&quot;text-align:left&quot;&gt;&amp;nbsp;: But one problem remained which is&lt;/p&gt;

&lt;p style=&quot;text-align:left&quot;&gt;&lt;u&gt;PHP Deprecated: mb_strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home1/xxxxxx/public_html/xxxxxx/qa-include/util/string.php on line 765)&lt;/u&gt;&lt;/p&gt;

&lt;p style=&quot;text-align:left&quot;&gt;&amp;nbsp;This error appears in the error log after adding an answer, comment, or modification.&lt;/p&gt;

&lt;p&gt;I will be very grateful and appreciative for your cooperation&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/108863/php-8-1-deprecated-error-messages</guid>
<pubDate>Tue, 20 Jun 2023 19:38:18 +0000</pubDate>
</item>
<item>
<title>Does Q2A work fine under PHP 8.0 and newer?</title>
<link>https://www.question2answer.org/qa/108239/does-q2a-work-fine-under-php-8-0-and-newer</link>
<description>

&lt;p&gt;Hello guys&lt;/p&gt;

&lt;p&gt;Does Q2A script work well under php 8.0, 8.1 and 8.2?&lt;/p&gt;

&lt;p&gt;In my case there are different errors and bugs under these php versions. &lt;span class=&quot;x12ejxvf x1beo9mf x1h91t0o x1h9r5lt x1jfb8zj x1lytzrv x1qrby5j x1t2pt76 x3igimt x4k7w5x x7ja8zs xaigb6o xarpa2k xedcshv xv2umb2&quot;&gt;When using php 8.0 there are issues with displaying profile pictures and when using 8.1 or 8.2 there is error &quot;Content encoding error An error occurred while connecting to the &quot;(domain)&quot; server.&quot;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;x12ejxvf x1beo9mf x1h91t0o x1h9r5lt x1jfb8zj x1lytzrv x1qrby5j x1t2pt76 x3igimt x4k7w5x x7ja8zs xaigb6o xarpa2k xedcshv xv2umb2&quot;&gt;The script works fine for me only under php 7.4 and older. Do you have the same problems?&lt;/span&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/108239/does-q2a-work-fine-under-php-8-0-and-newer</guid>
<pubDate>Wed, 24 May 2023 21:03:46 +0000</pubDate>
</item>
<item>
<title>Question2Answer and php 8?</title>
<link>https://www.question2answer.org/qa/105416/question2answer-and-php-8</link>
<description>Will Question2Answer evolve for PHP 8?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/105416/question2answer-and-php-8</guid>
<pubDate>Fri, 23 Dec 2022 16:04:22 +0000</pubDate>
</item>
<item>
<title>Main Q2Q script and all Its plugins affected</title>
<link>https://www.question2answer.org/qa/105320/main-q2q-script-and-all-its-plugins-affected</link>
<description>Due to upgrade in php version 8.1.&lt;br /&gt;
&lt;br /&gt;
Main q2a script is not working and giving error while submitting any input on website.. &lt;br /&gt;
&lt;br /&gt;
All plugins not working completely or partially due to php version support issue....&lt;br /&gt;
&lt;br /&gt;
Admin and founder please upgrade the version support..</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/105320/main-q2q-script-and-all-its-plugins-affected</guid>
<pubDate>Fri, 16 Dec 2022 18:47:43 +0000</pubDate>
</item>
<item>
<title>How can I get my site's homepage link using PHP?</title>
<link>https://www.question2answer.org/qa/104483/how-can-i-get-my-sites-homepage-link-using-php</link>
<description>I'm creating a custom logo function for my theme.&lt;br /&gt;
For the logo link I need the URL for my homepage in PHP. How can I get the homepage URL using PHP?</description>
<category>Themes</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/104483/how-can-i-get-my-sites-homepage-link-using-php</guid>
<pubDate>Sat, 05 Nov 2022 12:50:56 +0000</pubDate>
</item>
<item>
<title>PHP Warning error message</title>
<link>https://www.question2answer.org/qa/103836/php-warning-error-message</link>
<description>

&lt;p style=&quot;text-align:left&quot;&gt;&amp;nbsp;Hi,&lt;/p&gt;

&lt;p style=&quot;text-align:left&quot;&gt;Sometimes I get an error message in error log in cPanel&lt;/p&gt;

&lt;p style=&quot;text-align:left&quot;&gt;1:&lt;/p&gt;

&lt;p style=&quot;text-align:left&quot;&gt;&lt;u&gt;ing:&amp;nbsp; session_start(): open(/tmp/sess_c27493270b3e263aa4ab51d1c49ad0c4, O_RDWR&amp;nbsp;failed: No space left on device (28) in /xxxx/xxxxxx/public_html/xxxxx/qa-include/app/users.php on line 162&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;2 :&lt;/p&gt;

&lt;p&gt;&lt;u&gt;PHP Warning:&amp;nbsp; session_start(): Failed to read session data: files (path: /tmp) in&amp;nbsp;&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;&lt;u&gt;/xxxx/xxxxxx/public_html/xxxxx/qa-include/app/users.php on line 162&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&amp;nbsp;I don't know what the problem is! Although , the site is working fine. But I am afraid that this&amp;nbsp;error message is a warning of something wrong&lt;/u&gt;.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;I hope someone with experience can help.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/103836/php-warning-error-message</guid>
<pubDate>Sat, 01 Oct 2022 09:12:45 +0000</pubDate>
</item>
<item>
<title>Fatal error: Uncaught Error: Failed opening required 'qa-include/qa-index.php'  - Error when I click on logo image</title>
<link>https://www.question2answer.org/qa/103826/fatal-uncaught-failed-opening-required-include-index-click</link>
<description>

&lt;p&gt;I moved my q2a installation&amp;nbsp;from example.com to example.com/qna but changed my mind and reverted the change. The reverting move was done by renaming the qna directory to public_html and overwriting the existing one.&lt;/p&gt;

&lt;p&gt;I also changed from PHP 7.4 to PHP 8.023. Since I made two changes I cannot figure out&amp;nbsp;which one caused the problem I am now having.&lt;/p&gt;

&lt;p&gt;When I click on the logo of my site I get the following error :&lt;/p&gt;

&lt;p&gt;
&lt;br&gt;&lt;strong&gt;Fatal error&lt;/strong&gt;&lt;span style=&quot;color:#000000; font-family:Times; font-size:medium&quot;&gt;: Uncaught Error: Failed opening required 'qa-include/qa-index.php' (include_path='.:/usr/local/php80/pear') in /home/www/example.com/public_html/index.php:27 Stack trace: #0 {main} thrown in&amp;nbsp;&lt;/span&gt;&lt;strong&gt;/home/www/example.com/public_html/index.php&lt;/strong&gt;&lt;span style=&quot;color:#000000; font-family:Times; font-size:medium&quot;&gt;&amp;nbsp;on line&amp;nbsp;&lt;/span&gt;&lt;strong&gt;27&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In admin/general the url structure is set to the first one that uses .htaccess&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q2A 1.8.6 (20/04/2021)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PHP 8.023&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MySQL&amp;nbsp;&lt;/strong&gt;&lt;span style=&quot;font-family:&amp;quot;Open Sans&amp;quot;,sans-serif; font-size:14px&quot;&gt;5.7.39-42-log&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Please have been struggling with this for 2 days.&lt;/strong&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/103826/fatal-uncaught-failed-opening-required-include-index-click</guid>
<pubDate>Fri, 30 Sep 2022 17:29:01 +0000</pubDate>
</item>
<item>
<title>PHP Notice Error</title>
<link>https://www.question2answer.org/qa/102164/php-notice-error</link>
<description>

&lt;p style=&quot;text-align:left&quot;&gt;Hi,&lt;/p&gt;

&lt;p style=&quot;text-align:left&quot;&gt;&amp;nbsp;After I converted my site to (php 7.4) I got an error in the error log as follows :&lt;/p&gt;

&lt;blockquote&gt;

&lt;p style=&quot;text-align:left&quot;&gt;PHP Notice:&amp;nbsp; Trying to access array offset on value of type null in /home1/qa-include/app/post-update.php on line 424&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style=&quot;text-align:left&quot;&gt;This happens after I moderate a question submitted by an unregistered user&lt;/p&gt;

&lt;p style=&quot;text-align:left&quot;&gt;&amp;nbsp;The other error :&lt;/p&gt;

&lt;blockquote&gt;

&lt;p style=&quot;text-align:left&quot;&gt;PHP Notice:&amp;nbsp; Trying to access array offset on value of type null in /home1/qa-include/app/users.php on line 418&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style=&quot;text-align:left&quot;&gt;some times&amp;nbsp; also&lt;/p&gt;

&lt;p style=&quot;text-align:left&quot;&gt;I hope someone can help solve it&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/102164/php-notice-error</guid>
<pubDate>Sun, 03 Jul 2022 18:34:40 +0000</pubDate>
</item>
<item>
<title>Php load site based on cookie</title>
<link>https://www.question2answer.org/qa/100012/php-load-site-based-on-cookie</link>
<description>

&lt;p&gt;Hello there,&lt;/p&gt;

&lt;p&gt;I need to load site based on cookie, i write code to validate that like this.&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#c586c0&quot;&gt;if&lt;/span&gt;(!&lt;span style=&quot;color:#dcdcaa&quot;&gt;isset&lt;/span&gt;(&lt;span style=&quot;color:#9cdcfe&quot;&gt;$_COOKIE&lt;/span&gt;[&lt;span style=&quot;color:#ce9178&quot;&gt;'cookie'&lt;/span&gt;])){&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#9cdcfe&quot;&gt;$domain&lt;/span&gt; = &lt;span style=&quot;color:#9cdcfe&quot;&gt;$_SERVER&lt;/span&gt;[&lt;span style=&quot;color:#ce9178&quot;&gt;'SERVER_NAME'&lt;/span&gt;];&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#dcdcaa&quot;&gt;setcookie&lt;/span&gt;(&lt;span style=&quot;color:#ce9178&quot;&gt;'cookie'&lt;/span&gt;, &lt;span style=&quot;color:#9cdcfe&quot;&gt;$cookie&lt;/span&gt;, &lt;span style=&quot;color:#dcdcaa&quot;&gt;time&lt;/span&gt;() + &lt;span style=&quot;color:#b5cea8&quot;&gt;31536000&lt;/span&gt;, &lt;span style=&quot;color:#ce9178&quot;&gt;'/'&lt;/span&gt;, &lt;span style=&quot;color:#9cdcfe&quot;&gt;$domain&lt;/span&gt;);&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#dcdcaa&quot;&gt;header&lt;/span&gt;(&lt;span style=&quot;color:#ce9178&quot;&gt;'Location: '&lt;/span&gt;.&lt;span style=&quot;color:#9cdcfe&quot;&gt;$_SERVER&lt;/span&gt;[&lt;span style=&quot;color:#ce9178&quot;&gt;'REQUEST_URI'&lt;/span&gt;]); &lt;span style=&quot;color:#6a9955&quot;&gt;// reload&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;But when cookie created first time i got error.&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=12577414993404535963&quot; style=&quot;height:340px; width:600px&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#000000; font-family:Helvetica Neue&quot;&gt;&lt;span style=&quot;font-size:13px&quot;&gt;I think&amp;nbsp;header('Location: '.$_SERVER['REQUEST_URI']); execute multiple times, How to fix this ? its that right way to do ? or any other thing i need to change ?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#000000; font-family:Helvetica Neue&quot;&gt;&lt;span style=&quot;font-size:13px&quot;&gt;Please advise, Thank you&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/100012/php-load-site-based-on-cookie</guid>
<pubDate>Wed, 09 Mar 2022 14:59:21 +0000</pubDate>
</item>
<item>
<title>What is the best setting for php?</title>
<link>https://www.question2answer.org/qa/99300/what-is-the-best-setting-for-php</link>
<description>

&lt;p&gt;Does question2answer also work without FastCGI or which is the best setting for PHP Vers. 7.4.27?&lt;/p&gt;

&lt;p&gt;Thank you for your answer&amp;nbsp;&lt;img title=&quot;smiley&quot; alt=&quot;smiley&quot; src=&quot;https://www.question2answer.org/qa/qa-plugin/wysiwyg-editor/ckeditor/plugins/smiley/images/regular_smile.png&quot; style=&quot;height:23px; width:23px&quot;&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/99300/what-is-the-best-setting-for-php</guid>
<pubDate>Thu, 27 Jan 2022 09:21:25 +0000</pubDate>
</item>
<item>
<title>How to show questions selected by a custom sql query?</title>
<link>https://www.question2answer.org/qa/98881/how-to-show-questions-selected-by-a-custom-sql-query</link>
<description>

&lt;p&gt;I am building a search plugin which should show some results.
&lt;br&gt;I am having a custom mysql query. Which returns certain post of type 'Q' . How I can show those posts as questions. I am unable to make
&lt;br&gt;$posts into&amp;nbsp;$questions object. Which I can use it here.&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=8829518323479492791&quot; style=&quot;height:203px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/98881/how-to-show-questions-selected-by-a-custom-sql-query</guid>
<pubDate>Thu, 06 Jan 2022 04:51:26 +0000</pubDate>
</item>
<item>
<title>Collection of sources to understand the implementation of Q2A</title>
<link>https://www.question2answer.org/qa/98522/collection-of-sources-to-understand-the-implementation-q2a</link>
<description>

&lt;p&gt;I'm an experienced programmer in scientific programming and data science using Python, C++ and Java and I know the basics of PHP, although I don't work with it professionally. I also know a little about design patterns. But I have a hard time understanding the details of Q2A implementation and details about internet programming. &lt;span lang=&quot;en&quot; class=&quot;VIiyi&quot;&gt;&lt;span data-language-for-alternatives=&quot;en&quot; data-language-to-translate-into=&quot;pt&quot; data-phrase-index=&quot;0&quot; data-number-of-phrases=&quot;1&quot; class=&quot;ChMk0b JLqJ4b&quot;&gt;&lt;span&gt;Every time a problem occurs on the site, I get very apprehensive.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; I would like to know more in order to improve my website and also make my contribution to the forum. Can you please suggest a set of books or sources that could help me to develop my understanding of internet programming. I do not use my site for commercial purposes.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/98522/collection-of-sources-to-understand-the-implementation-q2a</guid>
<pubDate>Wed, 22 Dec 2021 18:00:36 +0000</pubDate>
</item>
</channel>
</rss>