Help - Search - Members - Calendar
Full Version: Php Not Working In My Page!
Zymic Webmaster Forums > Web Design & Development > General Web Design Discussion
Javier from Argentina
Hi! I need your help. I write php code in my page.html, but not executing when i upload this page to zymic.com
I have configurate something. Sorry by question. I`m rookie and my english is very poor. Thanks!
The code is the simple <?php echo "Hello world" ?>. When i test the page in the localhost (generated wiht wampp server 2) in my pc desktop, the page work good. What`s wrong? Thanks very much again.
Javier from Argentina.
Jacob
The reason for this is:
QUOTE
I write php code in my page.html


To be executing PHP you need to save with a .php extension. Also, do not make multiple topics regarding your issues. One is enough.

Jacob.
Javier from Argentina
"One is enough" !! Thanks. In my localhost, i configutared the file httpd.conf for work with .html and .php files extensions. Is posible that in zymic.com?. In zymic, the principal file must by index.html for ever? Is posible other name and extension file? You sayd, i need the .php extension for executing php code.
Thanks again.
Javier from Argentina
Jacob
Yes. Providing there is index.* in your directory, your pages will always load. So, yes, you may rename it to index.php

Jacob.
Javier from Argentina
Ok Jacob. Thanks for your time! About of change the configuration with a file in the server zymic.com, is posible? How? Thanks
Jacob
You need to be a little more specific regarding your question as I don't understand fully.
Zymic Hosting only has one php.ini (config file) per server...not per user. So this file is not able to be changed.

Jacob.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.