Inserting a php page from an external file
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.quickandeasywebbuilder.com/f ... =12&t=1901
MUST READ:
http://www.quickandeasywebbuilder.com/g ... arted.html
Quick 'n Easy Web Builder FAQ
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.quickandeasywebbuilder.com/f ... =12&t=1901
MUST READ:
http://www.quickandeasywebbuilder.com/g ... arted.html
Quick 'n Easy Web Builder FAQ
Inserting a php page from an external file
I have a page on the server and noticed it missing from the project.
I tried inserting it from and External file (I downloaded it to my computer) but it ends up inserting a different page, I tried several time but it keeps inserting instead the index.php of that same project
Hope you can give me a hint...
Thanks
I tried inserting it from and External file (I downloaded it to my computer) but it ends up inserting a different page, I tried several time but it keeps inserting instead the index.php of that same project
Hope you can give me a hint...
Thanks
Re: Inserting a php page from an external file
Using "external file" in the Site Manager should work.
What exactly do you means by?
What exactly do you means by?
Are you sure you have selected the correct file?but it ends up inserting a different page
Re: Inserting a php page from an external file
I have 3 files on my pc desktop.
I icky the one I want, but it inserts the fileme I selected, but the content of another file.
Thanks
I icky the one I want, but it inserts the fileme I selected, but the content of another file.
Thanks
Re: Inserting a php page from an external file
That is very usually! But maybe you have already used the same name for another page?
Re: Inserting a php page from an external file
No, I have not.
But if I did, how will it insert the same name again?
But if I did, how will it insert the same name again?
Re: Inserting a php page from an external file
It works for me, so I need more details.
Please share the project file, the file you are trying to insert and describe the exact steps to reproduce this behavior.
Please share the project file, the file you are trying to insert and describe the exact steps to reproduce this behavior.
Re: Inserting a php page from an external file
Here is the project file, just empty - started it for sending to you
https://squadron-125.org.il/fileInsert.qwb
And the file I am trying to insert
https://squadron-125.org.il/loginfail4pablo.php - it seems that the index.php code is embeded inside this file???? It launches the website itself....
Thanks
https://squadron-125.org.il/fileInsert.qwb
And the file I am trying to insert
https://squadron-125.org.il/loginfail4pablo.php - it seems that the index.php code is embeded inside this file???? It launches the website itself....
Thanks
Re: Inserting a php page from an external file
Do you mean that you are trying to embed a file on the server?
That is not possible it must be a local file (on your local disk). PHP code only exists on the server.
That is not possible it must be a local file (on your local disk). PHP code only exists on the server.
Re: Inserting a php page from an external file
Well, I removed the PHP segment, changed the file name to .html and tried to insert it agian into the project, the following is all that was imported from the entire file.
Thanks
But the html section is much longer, where is the rest?<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Page</title>
<meta name="generator" content="Quick and Easy Web Builder - https://www.quickandeasywebbuilder.com">
<style>
body
{
background-color: #FFFFFF;
color: #000000;
font-family: Arial;
font-weight: normal;
font-size: 13px;
line-height: 1.1875;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
</body>
</html>
Thanks
Re: Inserting a php page from an external file
Did you insert it as a local file?
Did you mean 'import' or 'insert'? These are two different options.
'Insert external file' will add the file "AS IS". The software will not make any changes to the file.
Did you mean 'import' or 'insert'? These are two different options.
'Insert external file' will add the file "AS IS". The software will not make any changes to the file.
Re: Inserting a php page from an external file
I used "insert External file", I don't know where is import.
My my package is not ok?
Thanks
My my package is not ok?
Thanks
Re: Inserting a php page from an external file
What are the exact steps to reproduce this behavior?
How do you know the wrong file is added? Where do you see this?
How do you know the wrong file is added? Where do you see this?
Re: Inserting a php page from an external file
I open the project
Position my mmouse cursor on the top HOME icon
Right click, select : Insert External File
It open File Manager, I navigate to the Desktop
I select the html file (I renamed the file and removed the PHP segment
I click the "Open" button at the bottom, should it say maybe "Insert" ?
It inserts the file I selected, BUT
The file appears as a LINK to the file, not the file itself
The content of the link, shows the content of the Index.html in the project, NOT the content I need to insert - the name of the file is login.html
That's what happens at my end
Thaks
Position my mmouse cursor on the top HOME icon
Right click, select : Insert External File
It open File Manager, I navigate to the Desktop
I select the html file (I renamed the file and removed the PHP segment
I click the "Open" button at the bottom, should it say maybe "Insert" ?
It inserts the file I selected, BUT
The file appears as a LINK to the file, not the file itself
The content of the link, shows the content of the Index.html in the project, NOT the content I need to insert - the name of the file is login.html
That's what happens at my end
Thaks
Re: Inserting a php page from an external file
Correct, the file will be added as a link.The file appears as a LINK to the file, not the file itself
You cannot open/edit or view the file inside the software. it is just a reference to an external file so you can use it in menu's etc.
Re: Inserting a php page from an external file
But, what about the content, of another page?