[PHP] OO PHP question

2003-08-26 Thread Mike Zornek
. ~ 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] Parse error?

2003-09-05 Thread Mike Zornek
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] [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 get a parse error on line 49 which has: while

[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

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

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

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

2004-04-05 Thread Mike Zornek
$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 -- PHP General Mailing List (http://www.php.net

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 Zornek Web

[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://MikeZornek.com New Project: http

[PHP] Command line include path?

2004-04-13 Thread Mike Zornek
/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] How to disable output buffer per script

2004-06-08 Thread Mike Zornek
to 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.php.net

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

2004-06-08 Thread Mike Zornek
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 General Mailing List (http://www.php.net/) To unsubscribe

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

2004-06-08 Thread Mike Zornek
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+BVie=UTF-8oe=UT F-8 Can someone who has admin access PLEASE look into it. Thanks. ~ Mike - Mike Zornek Web Designer, Media

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

2004-06-09 Thread Mike Zornek
/content/includes /IfModule /VirtualHost But I donĀ¹t think its working. ~ 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

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

2004-06-10 Thread Mike Zornek
: 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

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

2004-06-10 Thread Mike Zornek
.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 help. ~ Mike - Mike Zornek Web Designer, Media Developer, Programmer and Geek Personal site: http://MikeZornek.com