Posts by Rooh Macedo • 137 points
11 posts
-
-2
votes1
answer107
viewsQ: How to point links to site root without using . htaccess
How do I point to the root directory without needing me to put index.php in the links and without using the .htaccess ? Example: <a href="index.php" class="nav-brand"><img src="logo.png"…
-
0
votes1
answer72
viewsQ: Send form with hidden fields
Guys, next, I have a form with two hidden selects, they will be displayed only when I select one of the options in the parent select, but every time I submit this one it takes the value of a hidden…
-
1
votes1
answer795
viewsQ: Conditions for form using bootstrap 4
How do I create a condition in a form using Bootstrap 4 ? I have the following form: <form id="createusers" class="needs-validation" oninput='userrepassword.setCustomValidity(userrepassword.value…
-
-1
votes1
answer617
viewsQ: Picking up specific text from a text file using PHP
I was wondering if you have how to get a specific text from a txt file using php ? I can already read this to display it completely as a result in a div, but I needed to take for example a word or a…
phpasked Rooh Macedo 137 -
0
votes1
answer306
viewsQ: How to display the contents of a div with PHP parameters
I need help updating content within a div that is displayed as a result in PHP. This div contains PHP variables to display the results that are taken from a text file that is in another directory.…
-
1
votes1
answer128
viewsQ: How to pass a php variable to shell_exec
How do I pass an input or select value as a variable to a shell_exec ? I have the following form: <form action="speedtest.php" method="POST" id="SpeedTest" class="form"> <p>…
-
1
votes0
answers34
viewsQ: How to set the number of times to run Speedtest via PHP
Hello, I’m trying to run Speedtest on a server via PHP, I’ve installed the necessary on the server to be able to do this via Terminal on Linux, and I’ve also managed to run this test via Web access…
-
1
votes1
answer158
viewsQ: How to add "Reply To" with Woocommerce Client Name and Email
Hello, I have a big problem in this part, I would like to set the name of the Customer instead of only the E-mail when clicking Reply. Below the code I used to work "Reply To": add_filter(…
-
0
votes1
answer690
viewsQ: How to Validate Form with Hidden Fields
This is going to be a little tricky to explain, but I believe you’ll be able to help me. I’m having trouble validating a form where there are some hidden fields in the middle. In this form there is…
-
3
votes1
answer217
viewsQ: How to put Transition in Form Option
I’m having a little trouble applying an effect on an Option, I have a form where you have Name, Email, Phone, Themes. In where is Themes he has a Children’s Decorations option, when selecting…
-
4
votes2
answers727
viewsQ: How to display a hidden CSS select using Javascript
I have a contact form on a decoration site, except I’m looking to perfect it by putting a select only hidden, Example, my request form, Name, E-mail, Telephone Area Code, Event Date and Decoration…