Re: Re[2]: [PHP] PHP includes without access to the default directory

2002-12-07 Thread Gundamn
thank you



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP includes without access to the default directory

2002-12-06 Thread Gundamn

Tom Rogers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
 Hi,

 Friday, December 6, 2002, 11:06:36 AM, you wrote:
 G I have a hosted account. As such, I am unable to use the default
location
 G for files when used with the include command. So could somebody tell me
how
 G I can either make it go to a different directory, or to link to
something
 G (and how to add the variable as the filename)?

 G Thank you in advance.

 If you still need access to the default include directory put this at the
top of
 each page:

 ini_set
(include_path,/path/to/local/includes:ini_get(include_path));

 Then no matter what directory you are in you can just include(filename);

 --
 regards,
 Tom


Thank you. This should work, but I have one question about the format of
that. this way I can make sure I do things right (getting a parse error
right now)

what did you mean by include_path?
/path/to/local/includes is just the path to the default includes folder?
and is include_path just the path to the includes folder that I use. And
with this, do I use the URL, or the file path (what I get whenever I get
errors)

and thank you again



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP includes without access to the default directory

2002-12-05 Thread Gundamn
I have a hosted account. As such, I am unable to use the default location
for files when used with the include command. So could somebody tell me how
I can either make it go to a different directory, or to link to something
(and how to add the variable as the filename)?

Thank you in advance.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] forgot this

2002-11-18 Thread Gundamn
Sorry, forgot this. I am kinda new to the newsgroup stuff (btw, I am the
same guy as the starter of the thread. I just didn't know it automatically
capitalized the name).

So if someone needs the code to explain it, I can post that.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: How to process data from forms

2002-11-18 Thread Gundamn
Sorry, forgot this. I am kinda new to the newsgroup stuff (btw, I am the
same guy as the starter of the thread. I just didn't know it automatically
capitalized the name).

So if someone needs the code to explain it, I can post that.


(and sorry for the double post)



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php