PDA

View Full Version : PHP Include Wont Work



Constructive Visual
05-05-2010, 12:15 PM
Hello

I have a simple php button that points to my php page named "domain"(php extension) which has a php include pointing to the whois page.

This page works fine but as soon as I search for a domain name it takes me straight to back to the original whois page rather than loading in my include.

I'm aware that in the admin section it has:
Script URL
The default URL to this script. Must end in a trailing slash.
Which is a real pain in the ass for the task that I wish to achieve.

QUESTION

Is there anyway around the default URL to the script to get my php include to work so it works from the same page that I am calling it from?


Any suggestions would be appreciated.

Kind Regards
Pete

chandrika
06-16-2011, 12:26 AM
Just use include function properly by mentioning exact file locations.