Jump to content
xisto Community
reith

.php?id=html Not Working

Recommended Posts

Hi,I think that registered globals are not enabled on Xisto servers so as you are forwarding your page id as GET mathod then you should use superglobal $_GET[]. You can put the variable ($id) within the parenthesis.Like this<?php include($_GET['$id']); ?>I also prefer include_once rather than include. It's just a precausionary measure. You should also use superglobals whereever you wanna refer to data from other page which are forwarded to current scripts.That's better programming.I also add this. You should know your server settings from a phpinfo(); file on your Xisto server and then use them to manually configure your local PHP settings so that what runs on your PC should run similarly on your Xisto servers, and other than your fiance the rest of the world can enjoy it.

Notice from rvalkass:
Merged double posts. Remember you can use the Edit button to add to your post if no-one else has replied.

Share this post


Link to post
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...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.