Home
Help
Login
Register
LATEST NEWS:
What Features Do You Want To See On Paid Hosting?
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Helping Webmasters - Website Support and Webmaster Forum
Web Design & Developement
Programming
php script directory
Pages: [
1
]
« previous
next »
Send this topic
|
Print
Topic: php script directory (Read 2128 times)
php script directory
« on: July 08, 2005, 05:20:47 AM »
banahaw
Newbie
Posts: 3
Im new in php and want to know where should i point a script right directory. I installed a script on my root directory for example the directory script but the page that calling that script is not located in that dirctory i created for the script. For example myphp.php page is located in the root.My question is what would be its directory not its full url.'coa everytime i run the script the page says undefine function or error bout global off and that kind of error.
Report to moderator
Logged
Re: php script directory
« Reply #1 on: August 01, 2005, 08:50:53 AM »
EliteDuelist
Newbie
Posts: 23
Well, if I understand you right, you should be able to get away with a simple code like this:
Code:
<?PHP
include("/myphp.php");
?>
But if you mean as a link, try using something like:
Code:
<a href="/myphp.php">Name of link</a>
«
Last Edit: August 01, 2005, 08:52:24 AM by EliteDuelist
»
Report to moderator
Logged
Pages: [
1
]
Send this topic
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General and Business Discussion
=> Introductions
=> Web Hosting Forum
=> Website Reviews
=> How To's & Tutorials
=> Web Hosting Blog
-----------------------------
T35 Hosting Support
-----------------------------
=> Announcements
=> Pre-Sales Inquiries
=> Free Hosting General Support
=> Free Hosting Login Support
=> Free Hosting Domain Support
=> Paid Hosting General Support
=> Paid Hosting cPanel & Fantastico Support
=> T35 Hosting Testimonials
=> T35 Hosting Suggestions
-----------------------------
Web Design & Developement
-----------------------------
=> Web Design / HTML
=> Programming
=> Graphic Design
=> Useful Resources
-----------------------------
Revenue & Traffic
-----------------------------
=> Ad Revenue
=> Search Engine Optimization
-----------------------------
Market Place
-----------------------------
=> Sites & Domains for Sale
=> Trade Services / Employment
=> Contests
=> Site Promotion
Powered by SMF
|
SMF © 2006-2008, Simple Machines LLC