problem with php preview (webuilder 9)

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
daredare
Posts: 125
Joined: Sun Sep 09, 2007 1:40 pm

problem with php preview (webuilder 9)

Post by daredare »

hello

i have configured webuilder to preview php, it works fine but:

if i got this simple code(a url query):

this is the first file(this one doesnt need php extension has there is no php in it)(excerpt):

Code: Select all

<body>
<p><a href="welcome1.php?name=Kevin">Hi, I'm Kevin!</a></p>
</body>

it calls this file wich needs the php extension(has there is php code in it)(excerpt):

Code: Select all

<body>
<p><?php $name = $_GET['name'];
echo "Welcome to our Web site, $name!";?></p>
</body>
the problem is i need to change the extension of the first file to php to make the query work, it is strange as this file doesnt hold php code hence it don't need a php extension, thoughts?.
webuilder 2010 version 10.02 (10.0.2.118) is the best !!
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: problem with php preview (webuilder 9)

Post by Karlis »

The preview is possible only or the file being edited. As soon as you click a link, you navigate away just like in a regular web browser. Of course id the link will work in a web browser, it will also work in the preview panel.

So as I understand, you want to preview the HTML file and be able to click on the link to the PHP file and preview that one too. This would be only possible, if your local web server and preview settings are configured to run the PHP scripts. There is a plenty of info on configuring the PHP preview in our Knowledge Base and FAQ that may help you.
Karlis Blumentals
Blumentals Software
www.blumentals.net
daredare
Posts: 125
Joined: Sun Sep 09, 2007 1:40 pm

Re: problem with php preview (webuilder 9)

Post by daredare »

ok thank you, where can i find the faq and knowledge database?
webuilder 2010 version 10.02 (10.0.2.118) is the best !!
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: problem with php preview (webuilder 9)

Post by Karlis »

Karlis Blumentals
Blumentals Software
www.blumentals.net
daredare
Posts: 125
Joined: Sun Sep 09, 2007 1:40 pm

Re: problem with php preview (webuilder 9)

Post by daredare »

thank you
webuilder 2010 version 10.02 (10.0.2.118) is the best !!
Post Reply