php not working?

1Tsme1941

Member
Hi, I just loaded new os (windows7 proessional) to my machine
along with later version of xampp and when I run php files I get php code
I could use some advice. thanks!

here is the code:
<html><body>
<hr>
<center><b><font size=+2> 515 Certification Expiration Report</font><br>06/22/2020 - 06/22/2021<p>

<hr>
<?php

//Open a new connection to the MySQL server
require_once "hoappsdb-connect.php";

//MySqli Select Query
$results = $mysqli->query (SELECT * FROM waitlist");

echo "<table border=1>";
echo "<th>unit#</th>";
echo "<th>resident name</th>";
echo "<th>movein date</th>";
echo "<th>effect date</th>";
echo "<th>expire date</th>";
echo "<th>days left</th>";
echo "<th colspan=3>recertification notification</th>";
echo "</tr>";
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['apt'] . "</td>";
echo "<td>" . $row['name'] . "</td>";
echo "<td>" . $row['moveindate'] . "</td>";
echo "<td>" . $row['effdate'] . "</td>";
echo "<td>" . $row['expdate'] . "</td>";
echo "<td>" . $row['daysleft'] . "</td>";
echo "<td>" . $row['90date'] . "</td>";
echo "<td>" . $row['60date'] . "</td>";
echo "<td>" . $row['30date'] . "</td>";
echo "</tr>";
}
echo "</table>";

// Free result set
mysqli_free_result($result);
} else{
echo "No records matching your query were found.";
}
} else{
echo "ERROR: Could not able to execute $sql. " . mysqli_error($link);
}

// Close connection
mysqli_close($link);
?>
</body></html>

here is the result:

515 Certification Expiration Report
06/22/2020 - 06/22/2021

query (SELECT * FROM waitlist"); echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; while($row = mysql_fetch_array($result)) { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } echo "
unit# resident name movein date effect date expire date days left recertification notification
" . $row['apt'] . " " . $row['name'] . " " . $row['moveindate'] . " " . $row['effdate'] . " " . $row['expdate'] . " " . $row['daysleft'] . " " . $row['90date'] . " " . $row['60date'] . " " . $row['30date'] . "
"; // Free result set mysqli_free_result($result); } else{ echo "No records matching your query were found."; } } else{ echo "ERROR: Could not able to execute $sql. " . mysqli_error($link); } // Close connection mysqli_close($link); ?>
 

Trizoy

VIP Member
Do you do something like "$mysqli = new mysqli("localhost", "my_user", "my_password", "world");"
In the hoappsdb-connect.php? Does it exist?

Maybe print some outputs from that to show it connected properly?

Good luck.
 

1Tsme1941

Member
this is code for "hoappsdb-connect.php"

<?php
$mysqli = new mysqli("localhost","root","","hoappsdb");

// Check connection
if ($mysqli -> connect_errno) {
echo "Failed to connect to MySQL: " . $mysqli -> connect_error;
exit();
}
?>
 

Trizoy

VIP Member
I have played with php a little.. I could be completely off here. A few things to test.

-Is php running server side? Do a simple print statement like..
$txt1 = "php code";
echo "Testing:" . $txt2;

If it prints it, then looks to be running.

-when you check your connection, print a confirmation. It could be removed later.

-Make sure you are using php version 5+.

-You are also missing a double quote before the SELECT statement. This could be it...

Good luck.
 

Cromewell

Administrator
Staff member
If you are seeing code in the browser, your webserver is not configured to execute the php script, it is just serving the file.
 

Cromewell

Administrator
Staff member
Since you just posted again about this issue I assume you are still seeing it. Can you describe the problem a bit more? As I said above, it sounds like a configuration issue on your webserver to me but it may be something else.

-Make sure you are using php version 5+.
I'd suggest at least 7.3, 5 has been end of life for a while.
 

1Tsme1941

Member
please explain -
If you are seeing code in the browser, your webserver is not configured to execute the php script, it is just serving the file.


You know what the chain of command is? It's the chain I go get and beat you with 'til ya understand who's in command here.
Like Quote Reply
Report

[IMG alt="Cromewell"]https://www.computerforum.com/data/avatars/m/3/3333.jpg?1438313212[/IMG]

Cromewell

Administrator​

Staff member
  • 33 minutes ago
  • Add bookmark
  • #6


  • please explain -
    If you are seeing code in the browser, your webserver is not configured to execute the php script, it is just serving the file.

Since you just posted again about this issue I assume you are still seeing it. Can you describe the problem a bit more? As I said above, it sounds like a configuration issue on your webserver to me but it may be something else.

Trizoy said:
-Make sure you are using php version 5+.
I'd suggest at least 7.3, 5 has been end of life for a while.
explain -
 

1Tsme1941

Member
  • please explain -
    If you are seeing code in the browser, your webserver is not configured to execute the php script, it is just serving the file.
please explain -
it sounds like a configuration issue on your webserver to me but it may be something else.

Trizoy said:
-Make sure you are using php version 5+.
I'd suggest at least 7.3, 5 has been end of life for a while. i recently upgraded to the latest 64 bit version and it made no difference.
 

Cromewell

Administrator
Staff member
When you navigate to http://127.0.0.1/index.php or where ever, if you are seeing your php code displayed, or visible in the page source (i.e. you can see "<?php" then the likely issue is that you need to configure apache to be able to execute the php files. Something like this in your httpd.conf/whatever apache is calling its config file on windows.
Code:
LoadModule php7_module "C:/php7/php7apache2_4.dll"
PHPiniDir "c:/php7

Paths will need to be fixed for where you have php installed and what version of apache you have.

I would expect xampp to have this preconfigured but maybe something was messed up.

Also check your error logs. Their location is specified in the apache config file as well.
 

1Tsme1941

Member
I realized that my time had changed and I changed from edge to firefox and here is my new result:

query (SELECT apt, name, moveindate, effdate, expdate, daysleft, 90date, 60date, 30date FROM waitlist"); echo "";echo date('m/d/y');echo "
"; echo "515 Certification Expiration Report - 06/22/2020 - 06/22/2021"; print 'fetch_array()) { // ============================================ print '';print ''; print ''; print ''; print ''; print ''; print ''; print ''; print ''; print ''; print ''; print ''; } print '
'.$row["id"].''.$row["apt"].''.$row["name"].''.$row["moveindate"].''.$row["effdate"].''.$row["expdate"].''.$row["daysleft"].''.$row["90date"].''.$row["60date"].''.$row["30date"].'
'; // Frees the memory associated with a result $results->free(); // close connection $mysqli->close(); ?>
 

Cromewell

Administrator
Staff member
There is nothing obviously wrong code-wise and nothing in there looks to be browser dependent.

It is either configuration, or how you are accessing the file. Something like file:///c:/apache2/public_html/index.php will not execute the file, whereas http://localhost/index.php or http://127.0.0.1/index.php will. This is assuming your file is in the root html directory, and named index.php
 

1Tsme1941

Member
I'm using xampp 7.4.13-1-VC1. Anyone care to tell me how to "configure apache to be able to execute the php files"
What do I do with "..
LoadModule php7_module "C:/php7/php7apache2_4.dll"
PHPiniDir "c:/php7"
How to fix paths for where php installed
what do I do when I "Also check your error logs." Their location is specified in the apache config file as well.
 

1Tsme1941

Member
apache error log
[Fri Jan 22 12:52:25.812904 2021] [ssl:warn] [pid 404:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 22 12:52:25.859704 2021] [ssl:warn] [pid 404:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 22 12:52:25.890904 2021] [mpm_winnt:notice] [pid 404:tid 264] AH00354: Child: Starting 150 worker threads.
------------------------------------------------------------------------------------
PHP(php_error log)
the system cannot find the path specified
-------------------------------------------------------------------------------------
 

Cromewell

Administrator
Staff member
Is that the full apache error log?

The cert error can be ignored for a local development install.

The php error is worth looking at as well, but from that single item it is impossible to know what it is looking for.
What do I do with
LoadModule php7_module "C:/php7/php7apache2_4.dll"
PHPiniDir "c:/php7"
The load module bits need to be in the Apache configuration file, of you are using fastcgi I think the config is different, and you'd have to look it up.
 

1Tsme1941

Member
here is complete apache error log:
[Mon Jan 18 19:47:45.592046 2021] [ssl:warn] [pid 5644:tid 244] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jan 18 19:47:45.638846 2021] [ssl:warn] [pid 5644:tid 244] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jan 18 19:47:45.732446 2021] [mpm_winnt:notice] [pid 5644:tid 244] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.4.13 configured -- resuming normal operations
[Mon Jan 18 19:47:45.732446 2021] [mpm_winnt:notice] [pid 5644:tid 244] AH00456: Apache Lounge VC15 Server built: Oct 3 2020 12:58:33
[Mon Jan 18 19:47:45.732446 2021] [core:notice] [pid 5644:tid 244] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jan 18 19:47:45.732446 2021] [mpm_winnt:notice] [pid 5644:tid 244] AH00418: Parent: Created child process 1008
[Mon Jan 18 19:47:46.044447 2021] [ssl:warn] [pid 1008:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jan 18 19:47:46.075647 2021] [ssl:warn] [pid 1008:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jan 18 19:47:46.091247 2021] [mpm_winnt:notice] [pid 1008:tid 256] AH00354: Child: Starting 150 worker threads.
[Mon Jan 18 19:48:29.194122 2021] [ssl:warn] [pid 404:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jan 18 19:48:29.240922 2021] [ssl:warn] [pid 404:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jan 18 19:48:29.272123 2021] [mpm_winnt:notice] [pid 404:tid 252] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.4.13 configured -- resuming normal operations
[Mon Jan 18 19:48:29.272123 2021] [mpm_winnt:notice] [pid 404:tid 252] AH00456: Apache Lounge VC15 Server built: Oct 3 2020 12:58:33
[Mon Jan 18 19:48:29.272123 2021] [core:notice] [pid 404:tid 252] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jan 18 19:48:29.272123 2021] [mpm_winnt:notice] [pid 404:tid 252] AH00418: Parent: Created child process 1956
[Mon Jan 18 19:48:29.771323 2021] [ssl:warn] [pid 1956:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jan 18 19:48:29.818124 2021] [ssl:warn] [pid 1956:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jan 18 19:48:29.849324 2021] [mpm_winnt:notice] [pid 1956:tid 264] AH00354: Child: Starting 150 worker threads.
[Wed Jan 20 01:53:11.534860 2021] [ssl:warn] [pid 3956:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jan 20 01:53:11.612860 2021] [core:warn] [pid 3956:tid 252] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Jan 20 01:53:11.628460 2021] [ssl:warn] [pid 3956:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jan 20 01:53:12.767262 2021] [mpm_winnt:notice] [pid 3956:tid 252] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.4.13 configured -- resuming normal operations
[Wed Jan 20 01:53:12.767262 2021] [mpm_winnt:notice] [pid 3956:tid 252] AH00456: Apache Lounge VC15 Server built: Oct 3 2020 12:58:33
[Wed Jan 20 01:53:12.767262 2021] [core:notice] [pid 3956:tid 252] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Jan 20 01:53:12.782862 2021] [mpm_winnt:notice] [pid 3956:tid 252] AH00418: Parent: Created child process 3100
[Wed Jan 20 01:53:13.422463 2021] [ssl:warn] [pid 3100:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jan 20 01:53:13.469263 2021] [ssl:warn] [pid 3100:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jan 20 01:53:13.500463 2021] [mpm_winnt:notice] [pid 3100:tid 264] AH00354: Child: Starting 150 worker threads.
[Wed Jan 20 04:55:05.902340 2021] [mpm_winnt:notice] [pid 3956:tid 252] AH00428: Parent: child process 3100 exited with status 1073807364 -- Restarting.
[Wed Jan 20 04:55:06.027140 2021] [ssl:warn] [pid 3956:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jan 20 04:55:06.058340 2021] [mpm_winnt:notice] [pid 3956:tid 252] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.4.13 configured -- resuming normal operations
[Wed Jan 20 04:55:06.058340 2021] [mpm_winnt:notice] [pid 3956:tid 252] AH00456: Apache Lounge VC15 Server built: Oct 3 2020 12:58:33
[Wed Jan 20 04:55:06.058340 2021] [core:notice] [pid 3956:tid 252] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Jan 20 04:55:06.058340 2021] [mpm_winnt:notice] [pid 3956:tid 252] AH00418: Parent: Created child process 6184
[Wed Jan 20 04:55:06.073940 2021] [mpm_winnt:crit] [pid 3956:tid 252] AH00419: master_main: create child process failed. Exiting.
[Wed Jan 20 12:09:17.733769 2021] [ssl:warn] [pid 3620:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jan 20 12:09:17.796169 2021] [ssl:warn] [pid 3620:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jan 20 12:09:18.435770 2021] [mpm_winnt:notice] [pid 3620:tid 252] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.4.13 configured -- resuming normal operations
[Wed Jan 20 12:09:18.435770 2021] [mpm_winnt:notice] [pid 3620:tid 252] AH00456: Apache Lounge VC15 Server built: Oct 3 2020 12:58:33
[Wed Jan 20 12:09:18.435770 2021] [core:notice] [pid 3620:tid 252] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Jan 20 12:09:18.451370 2021] [mpm_winnt:notice] [pid 3620:tid 252] AH00418: Parent: Created child process 3656
[Wed Jan 20 12:09:19.106572 2021] [ssl:warn] [pid 3656:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jan 20 12:09:19.153372 2021] [ssl:warn] [pid 3656:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jan 20 12:09:19.200172 2021] [mpm_winnt:notice] [pid 3656:tid 264] AH00354: Child: Starting 150 worker threads.
[Fri Jan 22 12:52:24.284101 2021] [ssl:warn] [pid 5036:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 22 12:52:24.393302 2021] [core:warn] [pid 5036:tid 252] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 22 12:52:24.408902 2021] [ssl:warn] [pid 5036:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 22 12:52:25.142103 2021] [mpm_winnt:notice] [pid 5036:tid 252] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.4.13 configured -- resuming normal operations
[Fri Jan 22 12:52:25.142103 2021] [mpm_winnt:notice] [pid 5036:tid 252] AH00456: Apache Lounge VC15 Server built: Oct 3 2020 12:58:33
[Fri Jan 22 12:52:25.142103 2021] [core:notice] [pid 5036:tid 252] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Jan 22 12:52:25.157703 2021] [mpm_winnt:notice] [pid 5036:tid 252] AH00418: Parent: Created child process 404
[Fri Jan 22 12:52:25.812904 2021] [ssl:warn] [pid 404:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 22 12:52:25.859704 2021] [ssl:warn] [pid 404:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 22 12:52:25.890904 2021] [mpm_winnt:notice] [pid 404:tid 264] AH00354: Child: Starting 150 worker threads.
[Sat Jan 23 01:25:50.319819 2021] [ssl:warn] [pid 3700:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jan 23 01:25:50.429019 2021] [core:warn] [pid 3700:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Jan 23 01:25:50.444619 2021] [ssl:warn] [pid 3700:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jan 23 01:25:51.630222 2021] [mpm_winnt:notice] [pid 3700:tid 256] AH004,./a55: Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.4.13 configured -- resuming normal operations
[Sat Jan 23 01:25:51.630222 2021] [mpm_winnt:notice] [pid 3700:tid 256] AH00456: Apache Lounge VC15 Server built: Oct 3 2020 12:58:33
[Sat Jan 23 01:25:51.630222 2021] [core:notice] [pid 3700:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Jan 23 01:25:51.645822 2021] [mpm_winnt:notice] [pid 3700:tid 256] AH00418: Parent: Created child process 2948
[Sat Jan 23 01:25:52.316623 2021] [ssl:warn] [pid 2948:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jan 23 01:25:52.379023 2021] [ssl:warn] [pid 2948:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jan 23 01:25:52.410223 2021] [mpm_winnt:notice] [pid 2948:tid 264] AH00354: Child: Starting 150 worker threads.
------------------------------------------------------------------------------------------------------------------------------------
You may have have noticed the reason I've gone to forums is I don't have knowledge you should have so "fix something" should be "this is how".
 

Cromewell

Administrator
Staff member
Other than a bunch of restarts, there is nothing of real note.

How are you trying to access the php file? Like what are you typing into the url bar of your browser?
 

Cromewell

Administrator
Staff member
And that file is opened how? If you are dragging it into the browser for example, it is opening directly from the filesystem and not being served by apache which could be your problem. If your URL looks similar to C:/xampp/public_html/certlog.php that is what is wrong. You need to type in 127.0.0.1/certlog.php or localhost/certlog.php
 

1Tsme1941

Member
when I do this is what get:

Firefox can’t find the file at /C:/xampp/htdocs/property/localhost/certlog.php.

what am I doing wrong? To find my files I go to: computers > local disk(c) > xampp > htdocs > property > propsystem.html > certlog.php

this html file is what I access to get my php file:
<!DOCTYPE HTML><HTML>
<head></head>
<body><center><b>

<table border=0>
<tr>
<td BODY bgcolor="#ccffff">insert, update, delete<br>
database records<br>
<div align=center><img src="digitdown.gif"></td>

<td BODY bgcolor="#FBCEB1">print-outs<br>
<div align=center><img src="digitdown.gif"></td>

<td BODY bgcolor="#B2EC5D">end of month <br>
<div align=center><img src="digitdown.gif"></td>

<td body bgcolor="#E9D66B">access information<br>
<div align=center><img src="digitdown.gif"></td>
<tr>
<td bgcolor="#F0FFF0">
<a href="addstrans.htm" target="Main">addstrans.htm</a><br>
<a href="addstrans.php" target="Main">addstrans.php</a><br>
<a href="cert-update.php" target="Main">cert-update.php</a><br>
<a href="currentmaint.php" target="Main">currentmaint.php</a><br>
<a href="lateinsert.php" target="Main">lateinsert.php</a><br>
<a href="maintinsert.php" target="Main">maintinsert.php</a><br>
<a href="maint-update.php" target="Main">maint-update.php</a><br>
<a href="mischg-update.php" target="Main">mischg-.phpupdate</a><br>
<a href="newinsert.php" target="Main">newinsert.php</a><br>
<a href="payment.php" target="Main">payment.php</a><br>
<a href="prerentadd.php" target="Main">prerentadd.php</a><br>
<a href="waitlist-update.php" target="Main">waitlist-update.php</a><br>
<a href="selectmischg.php" target="Main">selectmischg.php</a><br>
<a href="waitinsert.php" target="Main">waitinsert.php</a><br>
<a href="prerent-update.php" target="Main">prerent-update.php</a><br>
</td>

<td BODY bgcolor="#FFEBCD">
<a href="maintlog.php" target="Main"> maintlog</a><br>
<a href="latehist.php" target="Main"> latehist</a><br>
<a href="prerenthist.php" target="Main"> prerenthist</a><br>
<a href="prerentlist.php" target="Main"> prerentrep</a><br>
<a href="rentreceipt.php" target="Main"> rentreceipt</a><br>
<a href="genreceipt.php" target="Main"> genreceipt</a><br>

<a href="localhost/certlog.php" target="Main"> certlog</a><br>

<a href="waitlist.php" target="Main"> dispwait</a><br>
<a href="misclist.php" target="Main"> mischgrep</a><br>
<a href="selectmschg.php" target="Main"> selectmischg</a><br>
</td>

<td BODY bgcolor="#FFFF00">
<a href="prerentadd.php" target="Main">prerentadd</a><br>
<a href="lateinsert.php" target="Main">lateinsert</a><br>
<a href="refreshprerent.php" target="Main">refreshprerent</a><br>
</td>

<td body bgcolor="#FFD700">
<a href="rolodex.html" target="Main">rolodex</a><br>
<a href="tenant-numbers.php" target="Main">tenant numbers</a><br>
<a href="apps.html" target="Main">approcedures</a><br>
<a href="rentrates.htm" target="Main">rent rates</a><br>
<a href="rules.htm" target="Main">rules & regs</a><br>
<a href="calendar.html" target="Main">calendar</a><br>
<a href="phone.html" target="Main">phone</a><br>
<a href="vendorlist.html" target="Main">vendor list</a><br>
</td>

</tr></table>
</body></html>

this html file is what I access to get my php file:
 

Cromewell

Administrator
Staff member
Firefox can’t find the file at /C:/xampp/htdocs/property/localhost/certlog.php.
That suggests to me that you are in fact opening the file locally, not the served version.
what am I doing wrong? To find my files I go to: computers > local disk(c) > xampp > htdocs > property > propsystem.html > certlog.php
That path is all kinds of weird looking.
Firefox can’t find the file at /C:/xampp/htdocs/property/localhost/certlog.php.
Trying to reverse it from that path above I am guessing you want is http://localhost/property/propsystem.html/certlog.php
 
Top