All Questions
780
questions
0
votes
0
answers
68
views
XAMPP: PHP homepage shows 404 page not found, but HTML homepage works
I have tried to setup XAMPP server for testing my own WP website locally on my Windows 11. XAMPP was installed correctly - I use default apache port 80 because there is no conflict with other apps, ...
0
votes
1
answer
43
views
HTML file does not seem to be running my PHP
I created the following xhtml code as to accept input then run it through a PHP file to then return said input:
"
<!DOCTYPE html>
<html lang="en">
<head>
<meta ...
0
votes
0
answers
29
views
Apache2 not able to use fopen php function
The following code is running on an apache2 webserver running on a raspberry pi 4 but the the fopen function is not currently working, I think it is something to do with the permissions but am unsure ...
0
votes
1
answer
94
views
Error "HTTP ERROR 500" while sign in to PHP website [duplicate]
I am a beginner in PHP and web development. I need to create a simple website with sign-in and sign-up functionality for testing purposes. I have installed a LAMP server on a CentOS 8 virtual machine ...
0
votes
1
answer
38
views
unable to convert localhost to mypage
I am not using XAMPP, WAMP, LAMP etc.
I installed APACHE, PHP and MYSQL Server directly. I also managed to update windows hosts file in windows also updated httpd-vhosts. Below is my updated script
...
0
votes
1
answer
195
views
Receive data from client-side on server-side
I have an html page where clients insert a url so that it can be stored on a file on the server side.
The issue that I am having is that I cannot figure out how to receive client data on the server
...
0
votes
0
answers
37
views
Issue with .htaccess file redirect
I am trying to make my subdomain work and redirect to skykontrol.machinesloveme.com but I can't.
The file redirects successfully to "https://skykontrol.machinesloveme.com/login" but it shows ...
3
votes
2
answers
307
views
PHP / HTML form - show data on the same page in Docker container, does not print
I want to have an HTML/PHP simple form on Apache. I would like the user to submit some data and then this data should be shown on the same page after submission. I want to have it all in a Docker ...
-1
votes
2
answers
59
views
Is it possible to have friendly urls without $_GET['slugs']?
I have a PHP script to save new articles into MySQL with the following parameters:
ID, Date, Category, Title, Content, Slug
Where the Slug is the same title but with - dashes like this:
this-is-a-nice-...
-1
votes
1
answer
33
views
Why would a Flash/SWF populate as a white box on remote machines?
I'm fighting something a little outside my normal areas of I.T. expertise. I feel like I'm missing something that will be obvious to many of you.
My kids loaded a Club Penguin private server on one ...
0
votes
0
answers
28
views
Problem running PHP in a Django app with Apache
I have a web app running in Django which mainly consists of HTML and JavaScript (which is running with no issues) but recently a colleague created some additional content that is implemented PHP. The ...
0
votes
0
answers
77
views
Apache 2 302 error when executing php script
This program is 4 years old but i am trying to make it work. https://github.com/msaad1999/KLiK-SocialMediaWebsite I followed all the instructions everything appears to work except I get the following ...
-2
votes
1
answer
262
views
why url with slash gives 404 error on website?
I want URL with slash / at the end.
On my website if I the enter URL with slash / at the end it is giving 404 error.
I modified .htaccess file with the below code. Still not working.
AcceptPathInfo ...
0
votes
1
answer
590
views
How to show loader for a php page?
I have a bunch of .php pages, each of these echos a html web page. It takes about a minute or so to completely process and load each page. I want to show users a loading image while the page loads ...
0
votes
1
answer
434
views
Parse error: syntax error, unexpected variable "$from_email" [duplicate]
I am unable to understand why this error comes.. I am trying to run a mail sending using my html page, and it keeps on showing this.
This is my php code
<?php
$from_name = $_POST['name']
$...