xampp

Sending email in php using localhost

两盒软妹~` 提交于 2019-12-08 15:33:42
问题 I am having a bit of a problem getting to send an email from the localhost and kindly need your help. This is the error message I have been getting: Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\email\send_mail.php on line 22. Please assist 回答1: Your mail format is wrong mail($email_address,$subject,$msg,$header); 回答2: To send email using localhost you need to configure localhost to send emails. The followings steps are to send email

Why my access from my mobile to my computer network doesn't work?

限于喜欢 提交于 2019-12-08 15:00:35
问题 I have a problem and it is that, yesterday, I could access from my mobile phone to my computer network but today it doesn't work. Why it could be? What I have ready: I have running my local server with XAMPP (I have started Apache and MySQL ). I'm connect via WIFI to the same network. My mobile phone it's connect to the computer via USB. I went to CMD , copy the IP of my computer and put it on the browser of my mobile phone, but it doesn't work. I tried with the url 10.0.2.2 but it also doesn

Unable to load dynamic library php_zmq.dll - The specified module could not be found

心已入冬 提交于 2019-12-08 13:28:33
I have XAMPP with PHP Version PHP 7.1.13 (cli) (built: Jan 3 2018 20:16:04) ( ZTS MSVC14 (Visual C++ 2015) x86 ) . I want to install the ZeroMQ extension, which I downloaded from here http://pecl.php.net/package/zmq/1.1.3/windows specifically 7.1 Thread Safe (TS) x86 moved the php_zmq.dll to the file C:\xampp\php\ext , and wrote extension=php_zmq.dll into the file C:\xampp\php\php.ini , wrote C:\xampp\php\ext in to Windows PATH , but I still getting this error : PHP Warning: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_zmq.dll' - The specified module could not be found. in

The encoded file is not permissioned error

送分小仙女□ 提交于 2019-12-08 13:27:26
问题 when I run the project then the following error displayed: Fatal error: The encoded file C:\xampp\htdocs\anyfile.php is not permissioned for this server in Unknown on line 0 回答1: It simple means that the script encoded by Ioncube Encoder cannot be used on your domain / ip / mac address . Using encoded script may be limited to domain / ip / mac address and may even be limited in time. Different versions of encoder have different options to limit using script (you may look at Ioncube versions

how to set HTTP only flag in XAMPP

醉酒当歌 提交于 2019-12-08 13:17:14
问题 I want to set HTTP only flag in xampp v3.2.2 i have installed opencart v 2.3.0.2 on xampp and enable it in every php.ini but still not working you can also see this for more information here 回答1: session.httponly option can be enabled by php.ini. To verify that it is working you will need to run: phpinfo(); if the option is not there or set properly, then you are editing the wrong php.ini file. 回答2: For XAMPP on Ubuntu edit the file php.ini /opt/lampp/etc/php.ini session.cookie_httponly=On

Zend 2 Http Client Request times out when requesting php file from localhost/public directory

大兔子大兔子 提交于 2019-12-08 12:15:44
问题 The below http-request issued from an Zend Controller Action towards localhost fails with a timeout. My guess is that I have missed a very basic concept, since a request to an outside uri (e.g. www.google.com) returns normally. Of course the URL below ($localUrl) does return the expected result (TEST) when pasted directly into the browser. I am using Zend Framework 2 (based on the current skelleton application - today: 2016/06/19) in an XAMPP 3.2.2 Windows (Developer Environment) with PHP 5.6

PHP JasperReports Server API Error

ぐ巨炮叔叔 提交于 2019-12-08 11:25:49
问题 I am trying to ultimately run and display reports from a remote Jasper Server in a PHP application. What I am trying to do this with is the jrs-rest-php-client project on github. The error: Fatal error: Uncaught exception 'Jaspersoft\Exception\RESTRequestException' with message 'An unexpected HTTP status code was returned by the server' in C:\xampp\htdocs\jrs\vendor\src\Jaspersoft\Tool\RESTRequest.php:409 Stack trace: #0 C:\xampp\htdocs\jrs\vendor\src\Jaspersoft\Tool\RESTRequest.php(479):

How to Display Random Data on MySQL using PHP?

两盒软妹~` 提交于 2019-12-08 10:19:24
问题 Hello i have tables like this : Employee EmployeeID EmployeeName 1234 Nayeon 1235 Jihyo 1236 Jungyeon 1237 Dahyun 1238 Sana 1239 Mina 1240 Tzuyu 1241 Chaeyeong 1241 Chaeyeong 1242 Momo i used this source code : <?php mysql_connect("localhost", "root", "1234") or die(mysql_error()); mysql_select_db("databasetransport") or die(mysql_error()); $employees = mysql_query("SELECT * FROM Employee ORDER BY EmployeeID") or die(mysql_error()); $letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; $position = 0;

How to point to project index page by default in XAMPP

邮差的信 提交于 2019-12-08 08:48:26
i am pretty new this kind of work. I had developed a web app using PHP. i am using XAMPP Server. Now when i am hitting http://www.mywebsite.com/myproject i got my project index page. Now what i looking is if i enter http://www.mywebsite.com it should display myproject's index page. I am not sure what is this term called. I didn't know how to search for this solution. Your help will be much appreciated if you can provide the term i should look for or the solution for this. thanks When you edit the httpd-vhosts.conf file (which is in C:\xampp\apache\conf\extra ), edit the DocumentRoot property

xampp: hosting multiple sites

半城伤御伤魂 提交于 2019-12-08 08:45:26
问题 I have a web server running xampp. I have two domain names lets call them www.domain1.com and www.domain2.com. I have updated the dns settings of domain1 to point to my server which is working fine, (i.e the files for domain1 are in the htdocs folder and when i go to www.domain1.com in a browser i get the index file of these files.) What I would like to do though is have two folders in the htdocs folder (one for domain1 and one for domain2). If i change the dns settings of domain1 and domain2