Re: [PHP] PHP Interview questions

2003-08-26 Thread Michael A Smith
CPT John W. Holmes wrote: From: "Jay Blanchard" <[EMAIL PROTECTED]> Also ask a couple of other questions that require thought, but have nothing else to do with code. such as... In one room you have 3 light switches, each connected to one light bulb in another room. How many trips must you make

Re: [PHP] (^&*$*(^&*$% ensim web appliance

2003-08-19 Thread Michael A Smith
Do you have AllowOverride All in your httpd.conf file for that dir? -Michael Dennis Gearon wrote: please cc me Anyone on a shared, name-based IP, ensim web appliance hosted website? Can you tell me how to set the freekin': php_value auto_prepend_file "/some_freekin_unknown_real_director

[PHP] HELP! I'm Desperate...

2003-08-19 Thread Michael A Smith
Hi, I'm going off to school and won't have computer access for like 9 months... :-\ .. and I need someone with a couple of hours every week to monitor my CMS for bug reports, and to fix bugs (if they want). I would appreciate it so much. The project resides at: http://sourceforgen.net/projects

Re: [PHP] Mail() Problem Sending

2003-08-18 Thread Michael A Smith
My ideas: (in order of likelihood) Idea #1: Your computer hates you. Idea #2: Sendmail isn't running. Idea #3: Sendmail isn't setup correctly. Idea #4: You have been hacked by Saddam. -Michael :-) Ben C. wrote: I have recently had php installed on my server with sendmail. The server is behind a

Re: [PHP] READ RECEIPTS [WAS: $GLOBAL question]

2003-08-18 Thread Michael A Smith
Thanks, I'd forgotten about that setting which I just did... I'm sorry if everyone feels I've been too harsh, but I'm not saying I'm sorry for what I said. :-) -Michael Robert Cummings wrote: This is pretty off topic -- but most clients also let you refuse to send receipts automatically -- which

Re: [PHP] READ RECEIPTS [WAS: $GLOBAL question]

2003-08-18 Thread Michael A Smith
Dan Anderson wrote: On Mon, 2003-08-18 at 17:22, Robert Cummings wrote: This is pretty off topic -- but most clients also let you refuse to send receipts automatically -- which is how I deal with them. Yes but read reciepts do exist for a purpose. If you happen to work at a place wher

Re: [PHP] READ RECEIPTS [WAS: $GLOBAL question]

2003-08-18 Thread Michael A Smith
Would all who are, quit requesting "read receipts" on their messages? It's really annoying and I don't think you want to know of the 100+ users on this list how many read the message... Thanks! -Michael Robin Kopetzky wrote: Good Morning!! I'm trying to print $GLOBALs this way and it doesn't wo

Re: [PHP] PHP- accessing session var

2003-08-14 Thread Michael A Smith
That's what he was doing and he gave us the output. You can have an object stored in $_SESSION as long as the class and object were defined _before_ you stared the session. You would therefore access it like this: $some_var = $_SESSION['object_name']->varname; Cheers! -Michael Chris Shiflett

Re: [PHP] PHP - MySQL Query...

2003-08-14 Thread Michael A Smith
Steven Kallstrom wrote: Hello all... I'm embarrassed by this one... I think it should work but it isn't... $dbh = mysql_connect("localhost", "login", "password") or die('cannot connect to the database because: ' . mysql_error()); mysql_select_db("database"); $query = 'SELECT * FROM cit

[PHP] Large PHP Project... Need Project Manager

2003-08-14 Thread Michael A Smith
Hey, I've got a nice CMS (in quite stable 2.0 form) that I need a Project Manager who can just deal with some bugs/answer questions for the next 9 months while I'm away at school... anyone interested? It would simply mean watching bug reports on SourceForge and answering things. Also, if you w

Re: [PHP] project management php system

2003-08-14 Thread Michael A Smith
I've developed PrattCMS... (Try out the latest RC, it's quite stable and note that 2.0 will be out later today or tomorrow depending...). It's: -GPL'ed -PHP/MySQL (Could support other databases, with small amount of work.) -Has an error reporting class to send notes when a db query fails (by e-m

[PHP] Session Problem

2003-07-02 Thread Michael A Smith
Okay, I'm starting session with session_name("PRATTCMS_ADMIN"); session_save_path($sess_path); session_start(); This works on one server I have, compiled the almost exact same (except without png and jpeg support for gd). They both use trans_sid. What's going on here? In the session path, the s

[PHP] PHP5 - Bugs

2003-07-01 Thread Michael A Smith
Hey, Can't figure this out... whenever I try to use any mysql functions or anything, I get problems. PHP throws a DNS error... what's up with that? -Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bundled GD & Webalizer

2003-06-27 Thread Michael A Smith
No, you don't understand, I want to know where PHP installs GD. -Michael On Fri, 2003-06-27 at 08:06, Adam Voigt wrote: > PHP did not remove your copy of GD, so this is > a system question, not PHP. > > > On Fri, 2003-06-27 at 12:03, Michael A Smith wrote: > > I co

[PHP] Bundled GD & Webalizer

2003-06-27 Thread Michael A Smith
I compiled PHP 4.3.2 --with-gd, but now webalizer can't find GD? Where is it? I tried installing the original library but that's not good either. -Michael -- Michael Smith [EMAIL PROTECTED] "The great thing about democracy is that it gives every voter a chance to do something stupid." -Ar

[PHP] Sybase and PHP

2003-06-25 Thread Michael A Smith
Hi, I want to connect to a Sybase database running on another windoze server without having to a buy a copy of sybase for linux. How can I compile PHP to have the sybase functions, but not the local database program. -Michael -- Michael A Smith <[EMAIL PROTECTED]> -- PHP General Mailin

[PHP] ATTN: Steve Marquez [ Fwd: Re: [PHP] php.ini]

2003-06-25 Thread Michael A Smith
Take a look at this message first. --- Begin Message --- Does the php.ini file always go in the same place no matter the OS? I did a locate in the shell, and nothing came up. I could find .ini files, or php. files, but no php.ini files. In all likelihood, you don't have a php.ini file on your com

[PHP] Search Engine

2003-06-20 Thread Michael A Smith
Hi, I'm trying to find a script (PHP,Perl, Whatever) that will search through a bunch text files, ignore certain keywords, and then generate a text file with the line that each one is on, and what the words were. Thanks, -Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] POST Variables get passed as GET variables.

2003-06-05 Thread Michael A Smith
Hey, So I've got this form that passes POST variables. However, they keep getting passed as get variables. Example: Get's sent to it as: url.php?action=something What's going on here? This is a new installation of PHP 4.3.1, Apache 1.3... -Michael -- PHP General Mailing List (http://ww

Re: [PHP] New word proposition (was: Re: [PHP] HTML and PHP)

2003-06-05 Thread Michael A Smith
Sounds good to me... On Wed, 2003-06-04 at 12:49, Evan Nemerson wrote: > Well since you seem to be in favor of confining usage to PHP, what about > "phode"- that way there's no association with the bullshit notices on > commercial advertisements that mean nothing since the address is always > ei

[PHP] OpenSource PHP Project

2003-06-04 Thread Michael A Smith
Hi, Anyone interested in helping out with an opensource CMS project. PHP/MySQL/Smarty Templates/Modules checkout prattcms.sf.net. It's different from other CMSs in that it is not user-driven. The pages use a WYSIWYG editor (inline, htmlarea, also open-source). Thanks! -Michael -- PHP General

[PHP] PEAR DB Error

2003-03-13 Thread Michael A Smith
Hello, I am using a script running PEAR. I did a: $db = DB::connect($database_string); at I get the error: Fatal error: Undefined class name 'db' in /var/www/html/prattcms/variables/global.inc.php on line 17 Any ideas? -Michael -- Some people's minds are like cement; all mixed up and permanentl

[PHP] trailing slash

2003-03-04 Thread Michael A Smith
Hi all, How come some servers (like one of our RH7.3s) can accept a www.somewhere.com/foldername without the trailing slash and others (like my RH8.0) gives a 404 error? -Michael -- Some people's minds are like cement; all mixed up and permanently set. Life is full of obstacle ill

[PHP] Convert *.PST Files to Something Else (LDAP...)

2003-02-21 Thread Michael A Smith
Hi, Is there any way using PHP (or any thing else, preferably PHP) to convert a MS Outlook *.PST file to another file that would be usable by PHP, using only PHP scripts, or even a CGI? I am working on an open-source project called falconmail that needs to be able to import all sorts of mail files

[PHP] MySQL Functions Setup

2003-01-23 Thread Michael A Smith
Hello All, I'm trying to setup a RedHat Psyche (8.0) server. So far, all well. However, I just ran into a problem with MySQL. PHP doesn't have the MySQL functions in it. Is there another way to install those without having to re-compile PHP? Thanks for any and all help, -Michael Smith Some peop

[PHP] variable scope -- unsetting vars inside functions

2001-03-01 Thread Michael A. Smith
_something finishes executing? Thanks! -- Michael A. Smith <[EMAIL PROTECTED]> Director of Data Systems, wcities.com ICQ: 35884415 :wq -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To