Re: [PHP] Create a Bulletin Board

2001-03-20 Thread mwaples
Jimmy Bäckström wrote: > > Yo! > I'm thinking of writing a bulletin board and I wonder about threads. I want the >board to be built on threads but I don't know how to do it. I want it to look >something like this: > > subject 1 >| >|__ reply1 to 'subject 1' >| | >|

Re: [PHP] Webmin

2001-03-17 Thread mwaples
Michael Kimsal wrote: > > Although I somewhat agree with the webmin sentiment, > after having tried to do simple maintenance on a cobalt for someone, > it seems a real dog for anything outside the normal scope of what > they want you to do. We needed to edit an httpd.conf file, > but there doesn

Re: [PHP] PostgreSQL vs InterBase

2001-02-27 Thread mwaples
Arnold Gamboa wrote: > > I hve heard a great deal about InterBase. Please comment on which is > better: > > 1. Speed > 2. Data Reliability > 3. Compatibility with PHP > > Thanks for your comments. > > -- 1. I think Postgresql 2 and 3 I can't say which is better. Both seem to work ok - you

Re: [PHP] Temporarily turning off magic quotes?

2001-02-24 Thread mwaples
Ben Cheng wrote: > > If I have magic quotes turned on for post/get/etc. in my php.ini, is > there any way to temporarily turn it off for one page? For example, > I have a preview page inbetween my data entry page and the page that > actually saves to db. I don't want magic quotes turned on when

Re: [PHP] Unwanted Characters

2001-02-24 Thread mwaples
Clayton Dukes wrote: > > How do I remove unwanted/unprintable characters from a variable? > > $sometext = "ThÀe cØar röøan over mÖy dog" > needs to be filtered and reprinted as: > "The car ran over my dog" > > Thanks :-) > Clayton Dukes will print what you asked - of course you may not want

Re: [PHP] Cookie References?

2001-02-24 Thread mwaples
Jeff Oien wrote: > > Could you give me some URLs for tutorials related > to cookies and good reference material? www.cookiecentral.com/faq/ has some good general info rfc2109 - more technical but useful http://www.cis.ohio-state.edu/htbin/rfc/rfc2109.html > > One question I have is can a cook

Re: [PHP] Change Password script

2001-02-02 Thread mwaples
enthalpy wrote: > > anyone have example code of a change password script in php? > > <-CoreComm-Internet-Services--http://core.com/-> > (Jon Marshall CoreComm Services Chicago) > ([EMAIL PROTECTED] Systems Engineer II) > ([EMAIL PROTECTED] Networ

Re: [PHP] Pricing for PHP programming???

2001-02-01 Thread mwaples
Shane McBride wrote: > > I know this is not really a PHP question, but it should make for a good thread. :) > > I was wondering what other PHP people charge to write PHP? I have just been given a >project for a fairly large customer, much larger than I normally do work for. So I am >VERY confu

Re: [PHP] solutions to disadvantages when register_globals is off

2001-01-21 Thread mwaples
Dale Robinson wrote: > > Everyone seems to recommend turning off register_globals, but accessing them > through $HTTP_POST_VARS["var_name"], gets tedious. > > I haven't found a better solution (not to say there isn't one) than this > small snippet. > > The idea is to turn off "register_globals"

[PHP] ibase_num_fields() -a workaround ?

2001-01-19 Thread mwaples
ibase_num_fields() isn't functional in php 4 - anyone have any ideas to work around this ? I'm checking the number of results for a query to check if a user/password is correct -I suppose I could just do a fetch_row() on the result and test if thats empty or not - but I'll only do that as a last

Re: [PHP] i should have been clearer

2001-01-19 Thread mwaples
Slappy Smith wrote: > > >Something along the lines of this?: > > > >"X-Powered-By: PHP/4.0.2-dev Content-type: text/html" > > > >If so, stick this at the top of your script(s): > > > >#!/path/to/php -q > > > >(obviously change the /path/to/php) > > This is my error: > > Warning: Sybase: Server