Re: [PHP] Chocked

2007-01-04 Thread Richard Lynch
On Thu, December 28, 2006 5:51 pm, Skip Evans wrote:
> "chocked" ?
>
> "chocking" ???

When you can write it in whatever language they use in whatever
country corresponds to .se, get back to us...

:-) :-) :-)

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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



Re: [PHP] Chocked

2006-12-29 Thread Casey Chu

He probably meant "shocked" and "shocking".

On 12/29/06, Jim Lucas <[EMAIL PROTECTED]> wrote:

Peter Lauri wrote:
> I was chocked when I got my additional dedicated server from my server
> provider. I assumed everyting would have been the same as I ordered the
> server with same package name etc. The chocking part was that the server had
> PHP5 and not PHP4.
>
>
>
> Ok, it is not a hard piece of work to get it working, but one thing stunned
> me :-)
>
>
>
> Assuming that I have the following structure:
>
>
>
> /index.php
>
> /classes/first.class.php
>
> /classes/second.class.php
>
>
>
> Index.php:
>
>
>
> include_once("classes/first.class.php");
>
>
>
>
>
> first.class.php
>
>
>
> include_once("second.class.php");
>
>
>
>
>
> This worked fine, but this time I get an "open dir" error. Is this something
> that is new to PHP5 for this, or do I just need to config the server to
> accept this "sloppy" including of files?
>
>
>
> Best regards,
>
> Peter Lauri
>
>
>
>   www.dwsasia.com - company web site
>
>   www.lauri.se - personal web site
>
>   www.carbonfree.org.uk - become Carbon Free
>
>
>
>
>
More the likely it is a difference in the include_path setting which can
be found in the php.ini file.  This can also override this setting in
the VirtualHosts block and .htaccess file.  Check these locations for
any additional include_path changes in the old system.
sometimes you will see things like

include_path = '/path/to/htdocs:.:/var/www/html'

or other variations of this

Jim Lucas

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




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



Re: [PHP] Chocked

2006-12-29 Thread Jim Lucas

Peter Lauri wrote:

I was chocked when I got my additional dedicated server from my server
provider. I assumed everyting would have been the same as I ordered the
server with same package name etc. The chocking part was that the server had
PHP5 and not PHP4.

 


Ok, it is not a hard piece of work to get it working, but one thing stunned
me :-)

 


Assuming that I have the following structure:

 


/index.php

/classes/first.class.php

/classes/second.class.php

 


Index.php:

 


include_once("classes/first.class.php");

 

 


first.class.php

 


include_once("second.class.php");

 

 


This worked fine, but this time I get an "open dir" error. Is this something
that is new to PHP5 for this, or do I just need to config the server to
accept this "sloppy" including of files?

 


Best regards,

Peter Lauri

 


  www.dwsasia.com - company web site

  www.lauri.se - personal web site

  www.carbonfree.org.uk - become Carbon Free

 



  
More the likely it is a difference in the include_path setting which can 
be found in the php.ini file.  This can also override this setting in 
the VirtualHosts block and .htaccess file.  Check these locations for 
any additional include_path changes in the old system. 
sometimes you will see things like


include_path = '/path/to/htdocs:.:/var/www/html'

or other variations of this

Jim Lucas

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



Re: [PHP] Chocked

2006-12-29 Thread Skip Evans

tedd wrote:

At 5:22 PM -0800 12/28/06, Paul Novitski wrote:


At 12/28/2006 03:51 PM, Skip Evans wrote:


"chocked" ?

"chocking" ???




RTFM:
http://php.net/chocked



This link said that the function "chocked" could 
not be found.


Is it anything like being "stoked" about something 
 back in the 80s? Is this like... a reference to 
... like Valley Girl?


I'm so sheeerrr...




Warm regards,
Paul




Now (along with Skip), I'm really confused.

First, Peter said he was "chocked" and I didn't know what to do -- 
should I call 911, or maybe he was stuck on a hill and couldn't roll 
down it, or what?


Now, Paul says to RTFM and provides a link that doesn't provide anything 
while others converse with Peter as if they know WTF he's talking about.


The new year approachth -- is this a sign of things to come? Has there 
been another seal broken?


tedd



--
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 59701
406-782-2240

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



Re: [PHP] Chocked

2006-12-29 Thread tedd

At 5:22 PM -0800 12/28/06, Paul Novitski wrote:

At 12/28/2006 03:51 PM, Skip Evans wrote:

"chocked" ?

"chocking" ???



RTFM:
http://php.net/chocked


Warm regards,
Paul



Now (along with Skip), I'm really confused.

First, Peter said he was "chocked" and I didn't know what to do -- 
should I call 911, or maybe he was stuck on a hill and couldn't roll 
down it, or what?


Now, Paul says to RTFM and provides a link that doesn't provide 
anything while others converse with Peter as if they know WTF he's 
talking about.


The new year approachth -- is this a sign of things to come? Has 
there been another seal broken?


tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

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



Re: [PHP] Chocked

2006-12-28 Thread Paul Novitski

At 12/28/2006 03:51 PM, Skip Evans wrote:

"chocked" ?

"chocking" ???



RTFM:
http://php.net/chocked


Warm regards,
Paul 


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



Re: [PHP] Chocked

2006-12-28 Thread Jürgen Wind

what if you prepend your path with "./" :

include_once("./classes/first.class.php");

include_once("./second.class.php");

is the include path configured correctly?

-- 
View this message in context: 
http://www.nabble.com/Chocked-tf2892714.html#a8082223
Sent from the PHP - General mailing list archive at Nabble.com.

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



Re: [PHP] Chocked

2006-12-28 Thread Skip Evans

"chocked" ?

"chocking" ???



Peter Lauri wrote:

I was chocked when I got my additional dedicated server from my server
provider. I assumed everyting would have been the same as I ordered the
server with same package name etc. The chocking part was that the server had
PHP5 and not PHP4.

 


Ok, it is not a hard piece of work to get it working, but one thing stunned
me :-)

 


Assuming that I have the following structure:

 


/index.php

/classes/first.class.php

/classes/second.class.php

 


Index.php:

 


include_once("classes/first.class.php");

 

 


first.class.php

 


include_once("second.class.php");

 

 


This worked fine, but this time I get an "open dir" error. Is this something
that is new to PHP5 for this, or do I just need to config the server to
accept this "sloppy" including of files?

 


Best regards,

Peter Lauri

 


  www.dwsasia.com - company web site

  www.lauri.se - personal web site

  www.carbonfree.org.uk - become Carbon Free

 





--
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 59701
406-782-2240

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



[PHP] Chocked

2006-12-28 Thread Peter Lauri
I was chocked when I got my additional dedicated server from my server
provider. I assumed everyting would have been the same as I ordered the
server with same package name etc. The chocking part was that the server had
PHP5 and not PHP4.

 

Ok, it is not a hard piece of work to get it working, but one thing stunned
me :-)

 

Assuming that I have the following structure:

 

/index.php

/classes/first.class.php

/classes/second.class.php

 

Index.php:

 

include_once("classes/first.class.php");

 

 

first.class.php

 

include_once("second.class.php");

 

 

This worked fine, but this time I get an "open dir" error. Is this something
that is new to PHP5 for this, or do I just need to config the server to
accept this "sloppy" including of files?

 

Best regards,

Peter Lauri

 

  www.dwsasia.com - company web site

  www.lauri.se - personal web site

  www.carbonfree.org.uk - become Carbon Free