Re: [PHP-WIN] PHP cgi

2005-01-04 Thread Luis Moreira
If you don't have errors, then probably PHP is starting but there is some other problem. My HTTPD.CONF is as follows, and it runs fine. Luis # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in th

[PHP-WIN] Re: Searching for UPS tool

2005-01-04 Thread Jason Barnett
Didn't you already search their site and find the answer? It is *very* infuriating when people refuse to help themselves! Because I can guarantee that if you search the UPS site you will find the answer. -- Teach a person to fish... Ask smart questions: http://www.catb.org/~esr/faqs/smart-ques

[PHP-WIN] Re: Searching for UPS tool

2005-01-04 Thread Jason Barnett
Ah, you were just asking for a scipt. In that case I send you my apologies my good sir. This works for PHP 4.3 http://www.phpscriptsearch.com/0/PHP-XML-and-PHP/UPS-XML-Shipping-Tool-PHP-Function-Library.html -- Teach a person to fish... Ask smart questions: http://www.catb.org/~esr/faqs/smart-q

RE: [PHP-WIN] Re: Searching for UPS tool

2005-01-04 Thread Tony Devlin
Thanks for the ignorant reply. I'll assume that you hastidely read the email and didn't see the part where I said "I have searched". They have Jscript examples, but I can't decipher that spanglish. Their documentation, although very bloated, gives no real answers to anyof my needed ques

Re: [PHP-WIN] Re: Searching for UPS tool

2005-01-04 Thread Jason Barnett
Yes, I did reply without carefully reading the message. See my second response to the thread for a PHP script that does as you ask. -- Teach a person to fish... Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html PHP Manual: http://php.net/manual/ php-general archives: http:/

[PHP-WIN] Making includes easy.... Am I a 'tard?

2005-01-04 Thread Leif Gregory
Hello all, Here's the situation. I have a site where each php page contains the "header" (top bar), "navigator" (left-side bar), the "footer" (bottom bar), and the css file. Each of those four files are in a folder called includes in the site root folder (sorry if the terminology is incorrect).

Re: [PHP-WIN] PHP cgi

2005-01-04 Thread blulagoon
Hi Luis, You are running PHP as a CGI, which is what I've been doing for about 3 years now with no problems. Now I am trying to use a piece of Open Source software which is written entirely in PHP, but the install bit fails and I was told this was because PHP has to run as a module. For me for

[PHP-WIN] Re: Making includes easy.... Am I a 'tard?

2005-01-04 Thread Jason Barnett
I haven't bothered to benchmark this, but here is my own solution to this problem. If you already have a common file that you are including in every script then the cost should be very low. Feel free to use it if you prefer. Apache htdocs site1 includes common.php

Re: [PHP-WIN] Re: Making includes easy.... Am I a 'tard?

2005-01-04 Thread Patrick Roane
The inludes folder is thrown around as more of a generic term for a directory that includes important files. Is this a pretty good definition for the purpose of an 'includes' folder? Also, I've seen the following syntax before: (__FILE__). Why the underscores? thanks- --- Jason Barnett <[EMA

Re: [PHP-WIN] Re: Making includes easy.... Am I a 'tard?

2005-01-04 Thread Jason Barnett
Patrick Roane wrote: The inludes folder is thrown around as more of a generic term for a directory that includes important files. Is this a pretty good definition for the purpose of an 'includes' folder? Sure, that's a fine definition. And the setup that I proposed isn't the only way to do it, b