Re: [PHP] [SOLVED] Can I set a different include path per Apache Virtual host?

2004-06-10 Thread Mike Zornek
mod_php4.c Anyways .. I found a work around. I set up the to "AllowOverride Options" and then in my .htaccess file put: # PHP php_value include_path ".:/usr/local/php/lib/php:/Library/WebServer/Websites/dev/content/includes And it seems to be working. Thanks for all your he

Re: [PHP] Can I set a different include path per Apache Virtual host?

2004-06-10 Thread Mike Zornek
default from Apple and PHP is from Marc: http://www.entropy.ch/software/macosx/php/ ~ Mike - Mike Zornek Web Designer, Media Developer, Programmer and Geek Personal site: <http://MikeZornek.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can I set a different include path per Apache Virtual host?

2004-06-09 Thread Mike Zornek
smpweb.org ErrorLog /Library/WebServer/Websites/dev/logs/error_log CustomLog /Library/WebServer/Websites/dev/logs/access_log common php_value include_path ".:/usr/local/php/lib/php:/Library/WebServer/Websites/dev/content/includes" But I donĀ¹t think its working. ~ Mike -

[PHP] info@astralsecurityandfinancebv.com emails every time I post

2004-06-08 Thread Mike Zornek
ur request is being > processed, we will get back to you shortly. Information Desk Best Google knows they are a fraud/scam thing: http://www.google.com/search?q=Astral+Security+and+Finance+BV&ie=UTF-8&oe=UT F-8 Can someone who has admin access PLEASE look into it. Thanks. ~ Mike - M

Re: [PHP] How to disable output buffer per script

2004-06-08 Thread Mike Zornek
ne it should display in real time. I did this and it works well. I saw some of the other responses and they seem useful as well. Thanks to all for your help. ~ Mike - Mike Zornek Web Designer, Media Developer, Programmer and Geek Personal site: <http://MikeZornek.com> -- PHP Genera

[PHP] How to disable output buffer per script

2004-06-08 Thread Mike Zornek
disable such buffering for just this script so I can see some useful feedback. Thanks! ~ Mike - Mike Zornek Web Designer, Media Developer, Programmer and Geek Personal site: <http://MikeZornek.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP] Command line include path?

2004-04-13 Thread Mike Zornek
phpinfo() mine is: .:/usr/local/php/lib/php ~ Mike - Mike Zornek Web Designer, Media Developer, Programmer and Geek Personal site: <http://MikeZornek.com> New Project: <http://WebDevWiki.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] require_once '../config.php'; doesn't work?

2004-04-09 Thread Mike Zornek
Is it true I can't include a file up a dir like this: require_once '../config.php'; This seems to work though: require_once 'settings/db.php'; Strange. ~ Mike - Mike Zornek Web Designer, Media Developer, Programmer and Geek Personal site: <http://MikeZo

Re: [PHP] Question, what to do when finding an error while validating data

2004-04-05 Thread Mike Zornek
of this object will hold a string like "[EMAIL PROTECTED]". In the setAddress method should I check for a valid email address and throw a warning then? And if so how? Or should I simply create a method isValidAddress and do the verification in my own interface code? ~ Mike - Mike

[PHP] Question, what to do when finding an error while validating data

2004-04-05 Thread Mike Zornek
What should I do if someone tries to set $EmailType to a value that is not listed in the enum set? Please give me some advice. Thanks! ~ Mike - Mike Zornek Web Designer, Media Developer, Programmer and Geek Personal site: <http://MikeZornek.com> New Project: <http://WebDevWiki.com&g

[PHP] Best way to approach object construction errors?

2003-09-18 Thread Mike Zornek
I've created a class called university, it has a constructor which can accept an id. If the id is sent during construction the constructor will connect to a MySQL db to set all of the objects member variables to the MySQl counterparts. I'd like to include some error notification so if I send it an

[PHP] [SOLVED] Re: [PHP] Parse error?

2003-09-05 Thread Mike Zornek
On 9/5/03 1:50 PM, "Mike Zornek" <[EMAIL PROTECTED]> wrote: > I'm trying to give PEAR a try and am currently following it's tutorial at: > http://pear.php.net/manual/en/package.database.db.intro-fetch.php > > Now when I put this code into a PHP file I ge

[PHP] Parse error?

2003-09-05 Thread Mike Zornek
at would cause the error, maybe the object syntax? I'm new to PHP objects so little help. ~ Mike -- Mike Zornek Extreme geek in training http://MikeZornek.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] OO PHP question

2003-08-26 Thread Mike Zornek
articles, links, etc. ~ Mike -- Mike Zornek Extreme geek in training http://MikeZornek.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Quick snippet to convert text files to unix based line endings

2003-03-24 Thread Mike Zornek
s. ~ Mike -- Mike Zornek http://MikeZornek.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php