Re: [PHP] Simple Question, I think

2001-10-01 Thread Kath
Perhaps check the URL and direct as such using header();. Use phpinfo(); to find what var holds the current URL. - k - Original Message - From: "Ratfish" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 01, 2001 10:25 PM Subject: [PHP] Simple Question, I think > All

Re: [PHP] Running a Shell Script in PHP HELP!

2001-09-30 Thread Kath
Executing the script could be good :) Try a system(); command. Alas, remember, PHP runs as whatever user apache does, so chances are it has no privledges to run any of these operations as it is www/nobody/apache/daemon/etc. You could sudo it in the system call. - k - Original Message

[PHP] Troublesome complex fetching from database

2001-09-30 Thread Kath
Quite an interesting quandry I have. What I have is this: Table schooltypes: (typeid is a unique# iding the type, schooltypes is the type of school, say "Elementary School" or "High School") | typeid | schooltypes | Table schools: (typeid is the type the school falls under, schoolid is the uni

Re: [PHP] Re: PHPEd

2001-09-30 Thread Kath
I'm looking to support the company though and my boss said he would buy software for us. - k - Original Message - From: "Henrik Hansen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 30, 2001 6:08 AM Subject: [PHP] Re: PHPEd >

[PHP] PHPEd

2001-09-29 Thread Kath
Is it worth picking up the retail NuSphere copy of PHPEd? I'm using the 1.75 Alpha now and enjoy it a lot over what I was using prior (Dreamweaver). Only peeve is what seems like a memory leak (PHPEd will crash after a bit of very minor web browser/message client/email use) in 1.75. Have issu

Re: [PHP] IMAP - create user?

2001-09-23 Thread Kath
http://phpclasses.upperdesign.com/browse.html/file/766 Try that class. - k - Original Message - From: "Tom Malone" <[EMAIL PROTECTED]> To: "PHP Users" <[EMAIL PROTECTED]> Sent: Sunday, September 23, 2001 10:07 PM Subject: [PHP] IMAP - create user? > Is there a way to create a new us

[PHP] User's editting profiles

2001-09-22 Thread Kath
I have some user profiles and I'd like them to be able to update them as they see fit (Change their email, password etc etc). However, their options are rather long and instead of having these turkeys have to type in stuff into 8 form fields, I'd like to display the current data in those f

Re: [PHP] randomly picking a variable from an array

2001-09-07 Thread Kath
Which is more resource attentive however (Random question, not necessarily pertaining to this)? Making MySQL do extra work or PHP do some extra work? - k - Original Message - From: "King, Justin" <[EMAIL PROTECTED]> To: "Rasmus Lerdorf" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent:

Re: [PHP] randomly picking a variable from an array

2001-09-07 Thread Kath
Example if you do know the number of items in the array: /* Begin */ $choice = rand(1, 6); echo $array[$choice]; /* End */ That will randomly pick something from 1-6 in the array. If you do not know the number of things in the array (say it is off a form or something): /* Begin */ $numinarray

Re: [PHP] Sending Broadcast Email - will a large loop cause a crash?

2001-09-06 Thread Kath
Whats your time frame for deployment of the email? You might want to stagnate it out... like loop through 100, pause for 10 secs, do the next 100, pause, repeat. Maybe longer if you could. You could always have it record the number, stop it and adjust higher/lower as required. Also, make sure

[PHP] Best Methods for Storing Checkbox Information in a MySQL Database

2001-09-06 Thread Kath
I have some checkboxes on a form. Now I figured out how to store them in a database sandwiched together (like thing1,thing2,thing3,thing4). However, what is the best method for storing them each in an individual field. This is what I'd really like: | userid | otherthing | |1 |azu

[PHP] Databases, arrays and woes

2001-08-30 Thread Kath
I have a MySQL table which stores information like this: | Type | Place Name | Place Abbrv | and lets say I have data in the table like: Example #1: | Office | Bill's Office | bo | | Store | Millcreek Supply | mcs | | Office | Harry's Office | ho | | Store | Sam's Discount Taxidermy | sdt | | S

Re: [PHP] close browser

2001-08-08 Thread kath
I knew it was a joke yeah... really... I did ;) - k - Original Message - From: "Ryan Fischer" <[EMAIL PROTECTED]> To: "kath" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, August 07, 2001 11:20 PM Su

Re: [PHP] close browser

2001-08-07 Thread kath
PHP cannot execute client side actions, afaik. - k - Original Message - From: "Ryan Fischer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, August 07, 2001 10:39 PM Subject: Re: [PHP] close browser > You wrote: > > Can anybody tell me what the code to

Re: [PHP] Spot the difference?

2001-08-03 Thread kath
I think the response to this will probably be equally informative and hilarious. - k - Original Message - From: "Kyle Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 02, 2001 7:34 PM Subject: [PHP] Spot the difference? Whats the difference between ASP and PHP

Re: [PHP] WSIWYG Editor using PHP?

2001-07-25 Thread kath
I use Quanta. Sorry, don't have a link at the moment. Try on freshmeat.net or sourceforge - k On Tuesday 24 July 2001 11:27 pm, Chip wrote: > Joseph Blythe wrote: > > Try PHP Coder Pro! http://www.phpide.de > > Too bad it's a winblows-only app. :-( > > Chip > > > Regards, > > > > Joseph. > >

[PHP] IMAP and Attachments

2001-07-23 Thread kath
Hiya all. Doing the usual web based mail system. How can I check to see if a email has an attachment? Then download it if the user clicks on it? Preferably a class, documentation or something similar, if you have it. Please don't link an RFC, I hate RFCs, it is like reading Aramaic upside,

Re: [PHP] Prevent user to close web browser

2001-07-19 Thread kath
Not with PHP. Maybe some Javascript could. But why would you want this? Planning some infinite spawning pop up website? =) - k On Thursday 19 July 2001 08:28 am, you wrote: > Hello, > > I need to prevent user to close the web browser on close button or by > pressing ALT+F4. > > Is this possi

Re: [PHP] webmail

2001-07-09 Thread kath
Original message: > > I am trying to write a web-based email client for my site (or are there > > any samples) using php4 and POP3. Reply: > The one which I use which matches your requirements (non-PHP, perl-module > driven) is NS WebMail, He just said he was using PHP4, not Perl :) - k -

Re: [PHP] Next Book

2001-07-08 Thread kath
> Web Application Development for PHP 4.0 (Ratschiller, Gerken) I'm reading through this one now, I like it. - k - Original Message - From: "Chris Lambert - WhiteCrown Networks" <[EMAIL PROTECTED]> To: "Chris Lott" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, July 08, 2001

Re: [PHP] I have a problem with phpMySqlAdmin

2001-05-17 Thread Kath
Do you have extension=mysql.so in your php.ini? - Kath - Original Message - From: "John Monfort" <[EMAIL PROTECTED]> To: "Enrique Ivorra Gómez" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 9:05 AM Subject: Re: [PH

Re: [PHP] HallMark uses PHP!!!!

2001-05-14 Thread Kath
http://www.bbspot.com/News/2000/6/php_suspend.html - Kath - Original Message - From: "Joseph Blythe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, May 14, 2001 12:30 AM Subject: Re: [PHP] HallMark uses PHP > [EMAI

Re: [PHP] "Free" Database Design Program

2001-05-05 Thread Kath
You mean something like phpMyAdmin? http://www.phpwizard.net/projects/phpMyAdmin/index.html - Kath - Original Message - From: "Augusto Cesar Castoldi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 05, 2001 9:19 AM Subject: [PHP] "Fr

Re: [PHP] What's wrong?

2001-05-01 Thread Kath
Don't you need a $ before acao on the line: if (acao == 1) { ? - Kath - Original Message - From: "Rafael Faria" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 01, 2001 6:08 PM Subject: [PHP] What's wrong? >

Re: [PHP] php suck

2001-04-28 Thread Kath
copyrights. Besides, as someone said, it is humor. And Jason said "Mockery is the biggest form of flattery." I don't think people are gonna goto phpsucks.net and seriously not use PHP because of it. I mean people still use AOL :/ - Kath - Original Message - From: "

Re: [PHP] PHP.INI

2001-04-28 Thread Kath
Not with Linux, in my experience at least. - Kath - Original Message - From: "Manesh" <[EMAIL PROTECTED]> To: "Taylor, Stewart" <[EMAIL PROTECTED]>; "'Johannes Rumpf'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday

Re: [PHP] Is PHP code software?

2001-04-27 Thread Kath
What makes something done for free (Say Linux or something infinitely smaller, the forums I am writing) not software? Isn't freeware a form of software? - Kath - Original Message - From: "Chris Anderson" <[EMAIL PROTECTED]> To: "Kath" <[EMAIL PRO

[PHP] Is PHP code software?

2001-04-27 Thread Kath
Food for thought: Is PHP code software? - Kath

Re: [PHP] PHP4, .php3 files and Apache

2001-04-27 Thread Kath
Thank you! I wasn't doing the "application/x-httpd-php" part right! Thanks! - Kath - Original Message - From: "Philip Olson" <[EMAIL PROTECTED]> To: "Kath" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, April 27,

[PHP] PHP4, .php3 files and Apache

2001-04-27 Thread Kath
x27;m not familiar with how. - Kath

Re: [PHP] PHP Book?

2001-04-27 Thread Kath
I agree 100% with Professional PHP Programming. It was my first book. Also "php fast and easy web development" by Julie Meloni. - Kath - Original Message - From: "Angerer, Chad" <[EMAIL PROTECTED]> To: "'Hamed Nik'" <[EMAIL PROTECTED]&g

Re: [PHP] Can I install Lihnux on My Windows 95 machine ?

2001-04-24 Thread Kath
This isn't really the list for this. Read the docs here: http://www.linuxdoc.org/HOWTO/Linux+Windows-HOWTO/index.html http://www.linuxdoc.org/HOWTO/mini/Linux+Win95/index.html You also might want to read the NHFs here: http://www.linuxnewbie.org/nhf/intel/index.html - Kath - Ori

Re: [PHP] Authentication

2001-04-19 Thread Kath
In the future, do not post your mysql password on the list Just a little piece of advice ;) Also, try checking the online errata for the book (You didn't mention which book so I can't point you in the right direction). - Kath - Original Message - From: "Navid Yar&quo

Re: [PHP] Want a Good Book for Ref on PHP

2001-04-15 Thread Kath
Yes, they do. - Kath - Original Message - From: "Manisha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 15, 2001 11:11 PM Subject: Re: [PHP] Want a Good Book for Ref on PHP > Whether these books cover PHP 4 also ? > > manisha > >

Re: [PHP] Want a Good Book for Ref on PHP

2001-04-15 Thread Kath
hese books and STILL refer to them today. - Kath - Original Message - From: "Manisha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 15, 2001 10:46 PM Subject: [PHP] Want a Good Book for Ref on PHP > Hi all, > > I am just entering into PHP w

Re: [PHP] login & security

2001-04-09 Thread Kath
Sessions would do this. - Kath - Original Message - From: "kaab kaoutar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 09, 2001 1:00 PM Subject: [PHP] login & security > Hi! > i have developped a site using php, but i'd like to

Re: [PHP] anything wrong with php.net?

2001-04-08 Thread Kath
Can you traceroute it? Maybe that can pinpoint the cause of the problem for you. Works for me. - Kath - Original Message - From: "Christian Dechery" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 08, 2001 8:02 PM Subject: [PHP] anything wron

Re: [PHP] The ubitquitous forum project

2001-03-25 Thread Kath
| | - Reply 2 ( I hope that formatted ok) This is phorum style: + Main Post - Reply 1 - Reply 2 - Reply 3 - Reply 4 I'm partial to phorum style, myself. - Kath - Original Message - From: "Gfunk" <[EMAIL PROTECTED]> To: "Stephan Ahonen" <[EMAIL PRO

[PHP] The ubitquitous forum project

2001-03-25 Thread Kath
I guess I'm doing another rite of passage for a PHP programmer: The forum Any advice? I did code forums once before, but they were rather rudimentary (No OOP, poorly written, no DB abstraction). - Kath

Re: [PHP] Create a Bulletin Board

2001-03-20 Thread Kath
http://fractalcore.com/cgi-bin/Ultimate.cgi?action=intro&number=1&category=1 vBulletin looks the same. - Kath - Original Message - From: "Boget, Chris" <[EMAIL PROTECTED]> To: "'Kath'" <[EMAIL PROTECTED]>; "'Jimmy Bäckström

Re: [PHP] Create a Bulletin Board

2001-03-20 Thread Kath
threads, personally. - Kath - Original Message - From: "Boget, Chris" <[EMAIL PROTECTED]> To: "'Jimmy Bäckström'" <[EMAIL PROTECTED]>; "PHP General List" <[EMAIL PROTECTED]> Sent: Tuesday, March 20, 2001 4:57 PM Subject: RE: [PHP] C

Re: [PHP] TraceRoute

2001-03-18 Thread Kath
I tried emailing him 5 times with this, but I could never get through :| I even found the script for him and tried to send it to him :| - Kath - Original Message - From: "Henrik Hansen" <[EMAIL PROTECTED]> To: "Mick" <[EMAIL PROTECTED]> Cc: <[EMAIL

[PHP] PHP/MySQL Question

2001-03-10 Thread Kath
Having some problems with syntax. If I wanted to SELECT only 5 instances of something from a database and order it by datetime, how would I do that? - Kath

Re: [PHP] Advanced PHP

2001-03-09 Thread Kath
Yes, lets please respect everyones beliefs and just drop this. - Kath - Original Message - From: "Rick St Jean" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 09, 2001 7:44 PM Subject: RE: [PHP] Advanced PHP &g

Re: [PHP] Advanced PHP

2001-03-09 Thread Kath
> Where did the chicken come from, God? Lets not get into that debate :| - Kath - Original Message - From: "Keith Vance" <[EMAIL PROTECTED]> To: "Jerry Lake" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, March 09, 2001 7:01 PM Subj

Re: [PHP] Advanced PHP

2001-03-09 Thread Kath
Yeah. I even see some PHP book authors, like Julie Meloni here on this list. There is never a question, no matter how retarded, that this list or #php on irc.openprojects.net has never been able to answer. - Kath - Original Message - From: "Krznaric Michael" <[EMAIL P

Re: [PHP] Using PHP as a shell script

2001-03-09 Thread Kath
Compile PHP as CGI and you should be able to. - Kath - Original Message - From: "Alexandre Hautequest" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 09, 2001 1:07 PM Subject: [PHP] Using PHP as a shell script > Hi all. > > Can i use P

[PHP] Odd PHP/MySQL Question

2001-03-01 Thread Kath
I have a user database where a year has to be put in. Now, I want to compile a list of each different year and how many users are in that year. Is there a way to do this beyond coding for each year: SELECT * FROM students WHERE year = '1983' ? - Kath

Re: [PHP] php4 as a module AND a cgi

2001-02-26 Thread Kath
I'd like to see this also. - Kath - Original Message - From: "colin olkowski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 3:58 PM Subject: [PHP] php4 as a module AND a cgi > hi all, > > thanks for the replies. many

Re: [PHP] No same username

2001-02-25 Thread Kath
$sql = "SELECT username FROM main_users WHERE username = '$username'"; $result = mysql_query($sql); $num = mysql_numrows($result); if ($num > "0") { die ("That username already exists, please chose another"); } -----

Re: [PHP]

2001-02-24 Thread Kath
Don't forget to close the . Netscape doesn't like it without that sometimes. - Kath - Original Message - From: "PHPBeginner.com" <[EMAIL PROTECTED]> To: "Peter Houchin" <[EMAIL PROTECTED]>; "PHP MAIL GROUP" <[EMAIL PROTECTED]> S

Re: [PHP] Libraries

2001-02-19 Thread Kath
I don't exactly try to reinvent a new and better wheel... I just find that writing my own libraries makes the site feel like it is more all mine. - Kath - Original Message - From: "Martin A. Marques" <[EMAIL PROTECTED]> To: "Kath" <[EMAIL PROTEC

Re: [PHP] Determining what kind od software a remote server is running

2001-02-19 Thread Kath
http://www.netcraft.com/whats/ ? - Kath - Original Message - From: "Jeremy Bowen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 19, 2001 4:36 PM Subject: [PHP] Determining what kind od software a remote server is running > Hey, > >

[PHP] Libraries

2001-02-19 Thread Kath
Why do a lot of people use libraries like PHPLib? I find it a lot better to write my own basic functions. Is it just the attitude "Someone else coded it already, why should I?" - Kath

Re: [PHP] Session support in PHP

2001-02-19 Thread Kath
Make sure there are no lines (except a yadda yadda yadda etc etc etc Example that will not work: yadda yadda yadda etc etc Hope this helps, Kath - Original Message - From: "Sascha Andres" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 19

Re: [PHP] woe is me

2001-02-19 Thread Kath
Think of it this way: Now you'll know both ASP and PHP for your next clients and can charge them more because of your increased talents :) - Kath - Original Message - From: "Adrian Murphy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 19,

Re: [PHP] Quick hellp, How do I stip new lines?

2001-02-16 Thread Kath
You want to totally remove \n? $something = ereg_replace("\n"," ",$something); That should do it. If you mean making \n into BR: $something = ereg_replace("\n","",$something); - Kath - Original Message - From: "Brandon Orther"

Re: [PHP] OOP in web development

2001-02-13 Thread Kath
ace, instead of having to copy it to dozens of other places. Also, what happens if you change your database password and now need to change a bunch of pages to have the new password? Problem solved in OOP, because the vars are all in the same file. - Kath, a recent converter to OOP, but enjoying ev

Re: [PHP] afraid !

2001-02-11 Thread Kath
Hell yes to phpmyadmin, IMHO. I use it on all my servers. - Kath - Original Message - From: "php php" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 11, 2001 2:17 PM Subject: [PHP] afraid ! > Hi! > i've just joined ur mailing l

[PHP] General Question: OOP

2001-02-05 Thread Kath
This isn't PHP related, but I hope it isn't too off topic for this list. Does anyone here have an explanation guide to object oriented programming? I look at stuff like $this->something and haven't the foggiest what it means. Would a book on OOP be best? - Kath, procedural programmer 4EVER

Re: [PHP] Ultradev

2001-01-30 Thread Kath
My copy of UltraDev 4 lets you work with PHP. Might not have all the bells and whistles, but it works good and lets me seemlessly mix HTML/JScript/PHP. :) - Kath - Original Message - From: "kaab kaoutar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday,

Re: [PHP] Editor

2001-01-30 Thread Kath
I'm partial to PHPEd. - Kath - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 30, 2001 2:37 AM Subject: [PHP] Editor > Hi, > > I know this has been asked before but I can`t seem to get the archive email >

Re: [PHP] oops, little problem with mysql

2001-01-22 Thread Kath
Do you still have r00t access to the database? - Kath - Original Message - From: "Dominick Vansevenant" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Monday, January 22, 2001 9:05 AM Subject: [PHP] oops, little problem with mysql

Re: [PHP] Pre-loading HTML form w/ mySQL data

2001-01-20 Thread Kath
Do you mean, like if they are editting their profile, their existing one shows up in the text box? Here is a chunk of code I wrote to do that this morning: --- "); ?> PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTE

Re: [PHP] Ethics question...

2001-01-17 Thread Kath
true. But why would Microsoft be using PHP? =D - Kath -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Anything similar to phpmyedit?

2001-01-17 Thread Kath
I like phpMyAdmin - Kath - Original Message - From: "Gerry Chu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 17, 2001 12:44 AM Subject: [PHP] Anything similar to phpmyedit? > I'm looking for something exactly like phpmyedit (mys

Re: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-17 Thread Kath
ROFLMAO =D - Kath - Original Message - From: "Chris Aitken" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 16, 2001 8:11 PM Subject: Re: [PHP] I love/hate FrontPage - need another HTML editor. > At 09:06 PM 16/01/2001, Kath wrote: > >

Re: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-16 Thread Kath
ge" 8 - Make command "frontpg.exe" 9 - Hit ok 10 - It should work :D - Kath - Original Message - From: "Murph" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 16, 2001 8:50 PM Subject: [PHP] I love/hate FrontPage - need another HTML e