Re: re: ini_set() / Jason Wong / dynamically setting this?
| From: | Jason Wong | Date: | Mon, 02 Dec 2002 18:48:56 +0000 |
| Subject: | Re: re: ini_set() / Jason Wong / dynamically setting this? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126747@lists.php.net to get a copy of this message | ||
On Tuesday 03 December 2002 01:20, Matt Babineau wrote:
> Hi everyone:
>
>
>
> I just read the reply from Jason Wong pretty much just about my
> question. Using the ini_set() command at the top of all my pages I think
> would work out ok, but when I upload my pages to the server, how can I
> dynamically set the include path to match the root of my web folder on
> the shared server?
Look at the output of phpinfo(), in particular the contents of $_SERVER, you
should find what you need in there.
> I've included a link to the error message below. As an aside, I picked
> up this piece of software that lets me grab HTML or other content from
> web pages and puts it into its own window and gives me a link to it. I
> am finding it way handy for sharing these errors that I get with other
> people. They just click the link to view the error, rather then getting
> a ton of debug code in an email message. I highly recommend trying it
> out, makes my life a lot easier.
I disagree. If possible you should always post your error message/code to the
list. I, for one, would not bother to go click on a link to see what the
problem is, it's too much like hard work ;-)
Plus it might be a bit of social engineering and the link leads to the latest
Outlook exploit (which is why I don't use said program).
>
> <http://www.amplifytheweb.com/amplify/?13B53210-FD7A-4DDA-999E-993D243F4
> BB4>
>
> http://www.amplifytheweb.com/amplify/?13B53210-FD7A-4DDA-999E-993D243F4B
> B4
And another reason is all these posts are archived. Someone stumbling upon
these posts in a few years time might not be able to reach the above link,
thus they wouldn't have the faintest idea of what you are referring to.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
"What do you do when your real life exceeds your wildest fantasies?"
"You keep it to yourself."
-- Broadcast News
*/