Re: [PHP] do i need to output headers on parsed CSS files?

2003-07-23 Thread Justin French
Yup, that worked... thanks to everyone for their help :) Justin On Thursday, July 24, 2003, at 01:50 PM, Chris Shiflett wrote: Yeah, that's a very good guess. You should be able to do something like this to specify the content type yourself: header('Content-Type: text/css'); -- PHP General

Re: [PHP] PHP CGI mode and command line variables

2003-07-23 Thread Chris Shiflett
--- CDitty <[EMAIL PROTECTED]> wrote: > I have written a script that runs fine when I run it via the > command line. However, when I tack on variables to the command > line, I get an error. > > This works. > php -q ./import.php > > This doesn't > php -q ./import.php?feed=eastwood I might be

Re: [PHP] PHP CGI mode and command line variables

2003-07-23 Thread CDitty
Thanks man. That got rid of the error, however it is not using the variable in the script. I can't run this via wget or the browser since the importing files are rather large. Any other ideas? Chris At 11:33 PM 7/23/2003, Chris Shiflett wrote: --- CDitty <[EMAIL PROTECTED]> wrote: > I have

Re: [PHP] PHP CGI mode and command line variables

2003-07-23 Thread Chris Shiflett
--- CDitty <[EMAIL PROTECTED]> wrote: > Thanks man. That got rid of the error, however it is not using the > variable in the script. You have to read them in. I think you can just loop through $argv, so something like this will show you what PHP is receiving: Hope that helps. Chris = Be

[PHP] Re: [PEAR-DEV] Please Help me..MySQL

2003-07-23 Thread Sebastian Bergmann
Mohsen Pahlevanzadeh wrote: > Hi dears. Please post such questions to mailto:[EMAIL PROTECTED] Your posting has no reference to PEAR whatsover. Greetings, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://

[PHP] Re: Problem with MySQL Query

2003-07-23 Thread Mikael Jansson
Hi Phil, What I can see in your question there is a missing space between fieldname "type" and the operator != I tested on my machine and it works fine when using both != and <> operators, but it will not work with the NOT operator. Hope the missing space will do some good. br /Mikael "Phillip

<    1   2   3