php tag

731 questions


1 answers
407 views
0
I would like to use xdebug in PHP to perform steps at breakpoint.

I installed php xdebug on VSCode.I'd like to take steps.Running > Start Debugging from the menu with a breakpoint will not stop you.The current situation is as follows:in the 1.xdebug configuration...

2 years ago

1 answers
441 views
0
Is it safe to publish below /var/www in production deployment?

I'm a beginner at Linux & Larvel.I'm concerned about security for production deployments./var/www The following is the public directory?projectName = laraproject.Default Public Directory Server Values...

2 years ago

1 answers
394 views
0
I want to create a Q&A site like Yahoo Chiebukuro.

For Q&A sites like Yahoo Chiebukuro, I think each question has a unique URL.Would it be possible to receive it from the database and display it and give it a unique URL at the same time?If possibl...

2 years ago

1 answers
95 views
0
Unable to send mail from the inquiry form created in PHP

I'm a beginner at PHP, but I can't reach gmail even if I press the send button.I checked the spam, but there was no spam.I give it to xserver using docker.Why can't I send an email?I look forward to h...

2 years ago

2 answers
127 views
0
Ravel fails to migrate with SQLSTATE [23000] error when handling foreign key constraints.

users tablehttps://gyazo.com/831e6d98dfc12e266db09b3a0db6bd11leectures tablehttps://gyazo.com/c2626070a76bc14e555d89c7c3d7dfdfThere are two tables above, I want to associate the user_id column with th...

2 years ago

1 answers
141 views
0
Unable to deploy php on xampp, xamp does not work

xampp does not work in Windows.I'd like to do a php deployment test on the Windows virtual host.Deploying xampp in WindowsLaunch apache (81 port), mysql (3306 port) Boot url should be http://locathost...

2 years ago

3 answers
83 views
0
How to Divide a String in Mail Address Format into Names and Mail Addresses in PHP

Thank you for your help.Suppose you have a string in the following email address format:Test <[email protected]>I would like to get this string in PHP divided into the name part (for example, the...

2 years ago

1 answers
99 views
0
I want to return the date and title together with WordPress mwwform plug-in.

Edit function.php for WordPoress plug-in MWWPFORM.Now I can return the title and date individually to the form, but I would like to return them all together.I'm sorry that I can't explain it well, but...

2 years ago

1 answers
108 views
0
I want to ban full-width spaces with regular expressions.

This is what I'm using nowregex:/^[Ah-anger 1- -a-zA-Z0-9]+$/Half-width spaces are no longer available, but full-width spaces are not possible.


1 answers
170 views
0
ftruncate fails when fopen in a mode after vagrant-vbguest installation

I am maintaining an old PHP script, and I want to trunk the file and overwrite it as follows, but ftruncate failed after installing and restarting vagrant-vbguest.$file=./test.txt;$str = Write content...

2 years ago
« - 5 - »

© 2024 OneMinuteCode. All rights reserved.