Re: [PHP] Include Paths
a rap song hihi haha best comment I've ever read on a mailing list. reminds me that live is fun thanks for making my day thanks sheridan for ur shakespear like abbilities thanks bastien for ur humor GREAT "Bastien Koert" wrote in message news:d7b6cab70908120909u593cbd6v692f34ae6ddea...@mail.gmail.com... > On Wed, Aug 12, 2009 at 12:06 PM, Ashley > Sheridan wrote: > > On Wed, 2009-08-12 at 12:03 -0400, Rick Duval wrote: > >> SORRY BUT > >> I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST > >> I'VE TRIED. NO RESPONSE. IS THERE AN ADMIN OUT THERE? PLEASE GET ME > >> OFF THIS LIST! > >> > >> > >> This message has been scanned for > >> viruses and dangerous content by > >> Accurate Anti-Spam Technologies. > >> www.AccurateAntiSpam.com > >> > >> > >> > >> On Wed, Aug 12, 2009 at 11:08 AM, Adam Shannon wrote: > >> > On Wed, Aug 12, 2009 at 10:02 AM, Julian Muscat Doublesin < > >> > opensourc...@gmail.com> wrote: > >> > > >> >> I had a problem with the include and require paths when using AJAX. This I > >> >> have solved by using the document root. However since doing so I am > >> >> experiencing performance issues. Loading 20 records has suddenly turned > >> >> into > >> >> something of a matter of a minute rather then seconds. > >> >> > >> >> Has anyone ever experienced such an issue? > >> >> > >> >> Can anyone please advise? > >> >> > >> >> Thanks > >> > > >> > > >> > I wonder if loading the script/page with an absolute path would fix the > >> > problem. > >> > > >> > > >> > > >> > -- > >> > - Adam Shannon ( http://ashannon.us ) > >> > > >> > - > >> > This message has been scanned for > >> > viruses and dangerous content by > >> > Accurate Anti-Spam Technologies. > >> > www.AccurateAntiSpam.com > >> > > >> > > >> > > Wow! > > > > First off, have you followed the unsubscription details on the website? > > > > Failing that, have you tried emailing the unsubscribe email address? > > It's found in all the email headers that are part of the mailing list. > > > > And don't shout! > > > > Thanks, > > Ash > > http://www.ashleysheridan.co.uk > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > Thought it was a rap song to the tune of You Can't Touch This > > -- > > Bastien > > Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Include Paths
Have you gone here: http://www.php.net/unsub.php Make sure you input the email address with which you registered: r...@duvals.ca It's really not very hard... my 10 month old baby could do it. Cheers, Rob. Rick Duval wrote: SORRY BUT I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST I'VE TRIED. NO RESPONSE. IS THERE AN ADMIN OUT THERE? PLEASE GET ME OFF THIS LIST! This message has been scanned for viruses and dangerous content by Accurate Anti-Spam Technologies. www.AccurateAntiSpam.com On Wed, Aug 12, 2009 at 11:08 AM, Adam Shannon wrote: On Wed, Aug 12, 2009 at 10:02 AM, Julian Muscat Doublesin < opensourc...@gmail.com> wrote: I had a problem with the include and require paths when using AJAX. This I have solved by using the document root. However since doing so I am experiencing performance issues. Loading 20 records has suddenly turned into something of a matter of a minute rather then seconds. Has anyone ever experienced such an issue? Can anyone please advise? Thanks I wonder if loading the script/page with an absolute path would fix the problem. -- - Adam Shannon ( http://ashannon.us ) - This message has been scanned for viruses and dangerous content by Accurate Anti-Spam Technologies. www.AccurateAntiSpam.com -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Include Paths
On Wed, Aug 12, 2009 at 12:06 PM, Ashley Sheridan wrote: > On Wed, 2009-08-12 at 12:03 -0400, Rick Duval wrote: >> SORRY BUT >> I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS >> LIST >> I'VE TRIED. NO RESPONSE. IS THERE AN ADMIN OUT THERE? PLEASE GET ME >> OFF THIS LIST! >> >> >> This message has been scanned for >> viruses and dangerous content by >> Accurate Anti-Spam Technologies. >> www.AccurateAntiSpam.com >> >> >> >> On Wed, Aug 12, 2009 at 11:08 AM, Adam Shannon wrote: >> > On Wed, Aug 12, 2009 at 10:02 AM, Julian Muscat Doublesin < >> > opensourc...@gmail.com> wrote: >> > >> >> I had a problem with the include and require paths when using AJAX. This I >> >> have solved by using the document root. However since doing so I am >> >> experiencing performance issues. Loading 20 records has suddenly turned >> >> into >> >> something of a matter of a minute rather then seconds. >> >> >> >> Has anyone ever experienced such an issue? >> >> >> >> Can anyone please advise? >> >> >> >> Thanks >> > >> > >> > I wonder if loading the script/page with an absolute path would fix the >> > problem. >> > >> > >> > >> > -- >> > - Adam Shannon ( http://ashannon.us ) >> > >> > - >> > This message has been scanned for >> > viruses and dangerous content by >> > Accurate Anti-Spam Technologies. >> > www.AccurateAntiSpam.com >> > >> > >> > Wow! > > First off, have you followed the unsubscription details on the website? > > Failing that, have you tried emailing the unsubscribe email address? > It's found in all the email headers that are part of the mailing list. > > And don't shout! > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Thought it was a rap song to the tune of You Can't Touch This -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Include Paths
On Wed, 2009-08-12 at 12:03 -0400, Rick Duval wrote: > SORRY BUT > I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS > LIST > I'VE TRIED. NO RESPONSE. IS THERE AN ADMIN OUT THERE? PLEASE GET ME > OFF THIS LIST! > > > This message has been scanned for > viruses and dangerous content by > Accurate Anti-Spam Technologies. > www.AccurateAntiSpam.com > > > > On Wed, Aug 12, 2009 at 11:08 AM, Adam Shannon wrote: > > On Wed, Aug 12, 2009 at 10:02 AM, Julian Muscat Doublesin < > > opensourc...@gmail.com> wrote: > > > >> I had a problem with the include and require paths when using AJAX. This I > >> have solved by using the document root. However since doing so I am > >> experiencing performance issues. Loading 20 records has suddenly turned > >> into > >> something of a matter of a minute rather then seconds. > >> > >> Has anyone ever experienced such an issue? > >> > >> Can anyone please advise? > >> > >> Thanks > > > > > > I wonder if loading the script/page with an absolute path would fix the > > problem. > > > > > > > > -- > > - Adam Shannon ( http://ashannon.us ) > > > > - > > This message has been scanned for > > viruses and dangerous content by > > Accurate Anti-Spam Technologies. > > www.AccurateAntiSpam.com > > > > > Wow! First off, have you followed the unsubscription details on the website? Failing that, have you tried emailing the unsubscribe email address? It's found in all the email headers that are part of the mailing list. And don't shout! Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Include Paths
SORRY BUT I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST I'VE TRIED. NO RESPONSE. IS THERE AN ADMIN OUT THERE? PLEASE GET ME OFF THIS LIST! This message has been scanned for viruses and dangerous content by Accurate Anti-Spam Technologies. www.AccurateAntiSpam.com On Wed, Aug 12, 2009 at 11:08 AM, Adam Shannon wrote: > On Wed, Aug 12, 2009 at 10:02 AM, Julian Muscat Doublesin < > opensourc...@gmail.com> wrote: > >> I had a problem with the include and require paths when using AJAX. This I >> have solved by using the document root. However since doing so I am >> experiencing performance issues. Loading 20 records has suddenly turned >> into >> something of a matter of a minute rather then seconds. >> >> Has anyone ever experienced such an issue? >> >> Can anyone please advise? >> >> Thanks > > > I wonder if loading the script/page with an absolute path would fix the > problem. > > > > -- > - Adam Shannon ( http://ashannon.us ) > > - > This message has been scanned for > viruses and dangerous content by > Accurate Anti-Spam Technologies. > www.AccurateAntiSpam.com > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Include Paths
On Wed, Aug 12, 2009 at 10:02 AM, Julian Muscat Doublesin < opensourc...@gmail.com> wrote: > I had a problem with the include and require paths when using AJAX. This I > have solved by using the document root. However since doing so I am > experiencing performance issues. Loading 20 records has suddenly turned > into > something of a matter of a minute rather then seconds. > > Has anyone ever experienced such an issue? > > Can anyone please advise? > > Thanks I wonder if loading the script/page with an absolute path would fix the problem. -- - Adam Shannon ( http://ashannon.us )
Re: [PHP] Include Paths
Could you post some of the code that you have used. -- Conor http://conormacaoidh.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Include Paths
I had a problem with the include and require paths when using AJAX. This I have solved by using the document root. However since doing so I am experiencing performance issues. Loading 20 records has suddenly turned into something of a matter of a minute rather then seconds. Has anyone ever experienced such an issue? Can anyone please advise? Thanks
RE: [PHP] Apache config + PHP include paths
Title: RE: [PHP] Apache config + PHP include paths Shaun, you can also define php_value (but NOT php_admin_value) lines in a .htaccess file rather than in your httpd.conf, assuming you gave (or were given) the appropriate AllowOverride parameters to use .htaccess... Unless you are running your own server or know root, then thats what might be your best (quickest) bet. the appropriate format would be: php_value include_path ".:/path/to/includes:/another/path/somewhere/else" (personally, i use a "." as the first path to check current directory as well.. (covered in the manual as well, i believe) -- Aaron Bennett [EMAIL PROTECTED] -Original Message- From: lenar [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 8:32 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Apache config + PHP include paths in your virtualhost definition use: php_value include_path "new include path" might be that instead of php_value you have to use php_admin_value, not sure. this is explained in "Chapter 3. Configuration" of php manual. lenar. ""Butler, Shaun"" <[EMAIL PROTECTED]> wrote in message 0106240506.10472@progeny" TARGET="_blank">news:0106240506.10472@progeny... > is there a way to set up a different include path per virtual host in the > apache config or in the php.ini ? > > so www.blahblah.com would have /www/libs as the include path > > and > > www.moomoo.com would have /www/moo > > -- Shaun > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Apache config + PHP include paths
on 6/21/01 8:14 AM, Butler, Shaun at [EMAIL PROTECTED] wrote: > is there a way to set up a different include path per virtual host in the > apache config or in the php.ini ? > > so www.blahblah.com would have /www/libs as the include path > > and > > www.moomoo.com would have /www/moo > > -- Shaun DocumentRoot /usr/local/web/myWeb ServerName myWeb.org ServerAlias www.myWeb.org php_value include_path /usr/local/web/myWeb_inc CustomLog /usr/local/web/logs/myWeb_access_log combined ErrorLog /usr/local/web/logs/myWeb_error_log That would make the include directory outside the server root. You could just as easily put it inside and name all your files *.php. But that has been discussed at length already ;^) DAve -- Dave Goodrich Director of Interface Development Reality Based Learning Company 9521 NE Willows Road, Suite 100 Redmond, WA 98052 Toll Free 1-877-869-6603 ext. 237 Fax (425) 558-5655 [EMAIL PROTECTED] http://www.rblc.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Apache config + PHP include paths
Yes, in httpd.conf, just add the appropriate line, i.e. php_value include_path "blah" in the section for each virtual host. - Tim http://www.phptemplates.org > is there a way to set up a different include path per virtual host in the > apache config or in the php.ini ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Apache config + PHP include paths
in your virtualhost definition use: php_value include_path "new include path" might be that instead of php_value you have to use php_admin_value, not sure. this is explained in "Chapter 3. Configuration" of php manual. lenar. ""Butler, Shaun"" <[EMAIL PROTECTED]> wrote in message 0106240506.10472@progeny">news:0106240506.10472@progeny... > is there a way to set up a different include path per virtual host in the > apache config or in the php.ini ? > > so www.blahblah.com would have /www/libs as the include path > > and > > www.moomoo.com would have /www/moo > > -- Shaun > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Apache config + PHP include paths
is there a way to set up a different include path per virtual host in the apache config or in the php.ini ? so www.blahblah.com would have /www/libs as the include path and www.moomoo.com would have /www/moo -- Shaun -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Include Paths
On Saturday 19 May 2001 23:18, Dylan Finney wrote: > I am fairly new to PHP and so far I love it. One question I have is > how to call include files outside of their directory without hard > coding the real path to the file itself. Is there map path or a See the include_path ini directive in the config section of the manual > similar function in PHP? Also when i use readfile() or fpassthru() when > I echo the result what I assume is the file size is added to the end of > the line. i.e.( blah blah blah will produce a 14 at the end of the > line ) I was curious as to if there is a flag i'm missing that is > causing them to do that. Thank you for the help! You do a print (readfile ('foo')); right? Well, readfile reads the file *and outputs it*, then returns the number of chars read. That is passed to print (). So just use readfile ('foo'); -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) I saw God - and she was black. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Include Paths
Hello, I am fairly new to PHP and so far I love it. One question I have is how to call include files outside of their directory without hard coding the real path to the file itself. Is there map path or a similar function in PHP? Also when i use readfile() or fpassthru() when I echo the result what I assume is the file size is added to the end of the line. i.e.( blah blah blah will produce a 14 at the end of the line ) I was curious as to if there is a flag i'm missing that is causing them to do that. Thank you for the help! Dylan Finney www.healthcoast.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]