Jump to content

insert PHP or Html


daninapoli

Recommended Posts

 

Hello everyone. I have static pages where I have to insert PHP or Html code done by me ... Selecting the instrument value -> code inserts my code but does not work? Must some module or something be installed to do this?   Hello Daniele.

Link to comment
Share on other sites

I put html code but display the code and not what I wrote..

<html>

<head>
<title>file_e_directory</title>
</head>
<body>
<%
dir=”/nome directory”
Set file1 = CreateObject(“Scripting.FileSystemObject”)
Set file2 = file1.GetFolder(server.mappath(“nome directory”))
Set file3 = file2.Files
For Each file in file3
response.write “<A HREF='”
response.write file.name
response.write “‘>”
response.write file.name
response.write “</A><br>”
Next
%>
</body>
</html>

I put html code but display the code and not what I wrote

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...