[PHP] 2d array help

2002-01-21 Thread kurth
arg- trying to get the data that I pull outta my db into a 2d assoc array... any help? ~kurth $result = mysql_query( "SELECT pkgid FROM plans"); while($row = mysql_fetch_assoc($result)){ $resultpkg = mysql_query( "SELECT * FROM plans WHERE pk

[PHP] Putting text data into a associative array

2003-02-24 Thread Richard Kurth
I need to add the following to an array so that I can add,delete and change the data to the right of the last : I am thinking I first have to split this into an array and then split the part I what into another array. Would this be called a associative array? How do I create this type of array from

[PHP] array question

2003-02-24 Thread Richard Kurth
This is the code I am using to get the data out of the text file below. Now I need to turn the $group[3] into an array of its own so that I can make changes to it. How do I turn this into an array that I can reference with $group[0]. What I need to be able to do is search for the label in $group[0]

[PHP] Manipulating a text file

2003-02-26 Thread Richard Kurth
Hello php-general, I need to be able to add and delete to a text file that look like this. I only need to manipulate the part after site:x:503: site1:x:503:tester1,tester6 site2:x:504: site3:x:505: site4:x:506: site5:x:507: site6:x:508: site7:x:509:tester2,tester3,tester4 site8:x:510: site9:x:511

[PHP] HELP!! with array's

2003-02-27 Thread Richard Kurth
Hello , I need a way to read the following text file and add to or delete from or change the data. I have been able to move it all into an array using this code $groups= file("group"); for ($i=0; $i<$number_in_group; $i++){ } But I can not figure out how to search the array and delete from or add

[PHP] Help!! with array's Please

2003-02-27 Thread Richard Kurth
I really need somebody to help me with this I am totally lost on what to do I need a way to read the following text file and add to or delete from or change the data. I have been able to move it all into an array using this code $groups= file("group"); for ($i=0; $i<$number_in_group; $i++){ $grou

Re[2]: [PHP] Help!! with array's Please

2003-02-27 Thread Richard Kurth
Hello Tom, Thursday, February 27, 2003, 7:39:52 PM, you wrote: TR> Hi, TR> Friday, February 28, 2003, 12:20:38 PM, you wrote: RK>> I really need somebody to help me with this I am totally lost on what RK>> to do RK>> I need a way to read the following text file and add to or delete from RK>> o

[PHP] Getting error REG_EMPTY

2003-03-04 Thread Richard Kurth
ot;This email has already been registered."; exit;} } this is what is in the members.txt file [EMAIL PROTECTED]|Mr.|Richard|Kurth|1046828998|03/04/2003 -- Best regards, Richard mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

[PHP] remove a line from a text list

2003-03-05 Thread Richard Kurth
This script will remove a line from a text list of email address and then re-write the list. The only problem I am having is when it re-writes the list it adds a extra line between each record. How can I stop this from happening $recordsarray = file($members); $remove = "[EMAIL PROTECTED]"; $temp

Re[2]: [PHP] remove a line from a text list

2003-03-05 Thread Richard Kurth
Hello Jason, Wednesday, March 5, 2003, 12:38:39 PM, you wrote: JW> On Thursday 06 March 2003 04:18, Richard Kurth wrote: >> This script will remove a line from a text list of email address and >> then re-write the list. The only problem I am having is when it >> re-writ

Re[2]: [PHP] remove a line from a text list

2003-03-05 Thread Richard Kurth
Hello Chris, Don't know how I did that but it worked strange. Maybe the reason I am getting the extra line is because I am testing the script on Windows 200 and not on a good Linux box. Wednesday, March 5, 2003, 1:37:43 PM, you wrote: CW> On Wed, 5 Mar 2003, Richard Kurth wrote: >&g

[PHP] adding a comma between a list of file names

2003-03-05 Thread Richard Kurth
The scrip below will list all the files in a directory and also strip off every thing in the file name after a . so if I have files named 1.txt 2.txt 324.txt 5.txt it gives me a list that looks like this 123245. I need to add a , in between each of these file names so they will look

Re[2]: [PHP] adding a comma between a list of file names

2003-03-05 Thread Richard Kurth
JP> else part of the statement adding in the comma for you. JP> Hope this helped. JP> Jonathan Pitcher JP> On Wednesday, March 5, 2003, at 04:36 PM, Richard Kurth wrote: >>The scrip below will list all the files in a directory and also >> strip off every >>

[PHP] while loop with mysql

2003-03-10 Thread Richard Kurth
Can somebody look at this and tell me way the first while loop will only loop through the database once when there is more than one record that should be processed. while($members = @mysql_fetch_object($result)) { $logged_email=$members->email; $logged_title=$members->title; $logged_first_name

Re[2]: [PHP] while loop with mysql

2003-03-10 Thread Richard Kurth
Hello Tom, I have been looking at this for an hour and thought it was something like that but I could not see it. I guess it is time to go to bed. Thanks Monday, March 10, 2003, 1:47:27 AM, you wrote: TR> Hi, TR> Monday, March 10, 2003, 7:20:37 PM, you wrote: RK>> Can somebody look at this an

[PHP] Removing a Blank line from a text file

2003-03-10 Thread Richard Kurth
This function removes a line from a text file list. It has one problem if it removes a line from the beginning or middle of the text file list it leaves a blank line. How can I make it remove the blank line also? function remove_email($email){ global $members,$datadir,$email; $recordsarray = file

[PHP] warning when I compile PHP

2003-03-25 Thread Richard Kurth
What does this mean I get this when I compile PHP. It is all through the out put when make is run. What can I do to make it not be there cc1: warning: changing search order for system directory "/usr/include" cc1: warning: as it has already been specified as a non-system directory -- Bes

[PHP] using a for loop but it is not working how come

2003-06-05 Thread Richard Kurth
I am having a problem with this script It pulls a list of numbers from one field in the database (the numbers are in this format (275,277,278,276) It needs to pull each number and run it through the function dofunction and then move on to the next one in tell there are no more to process. What am I

[PHP] Problem with adding quotations to a mysql insert statement

2003-12-15 Thread Richard Kurth
I need to add extra quotation marks in to the following insert command for mysql. I need one that is part of the info right before the |$wrapper resend and right after the $outgoing,nobody $query = "insert into majordomoaliases (domain,listname,var,address1,address2)values (/"$domname/",\"$listnam

[PHP] searching and replacing in a file

2003-12-15 Thread Richard Kurth
How can I read through a file and find a string and then replace it with a new string and then save the whole file. Below is a peace of what I need to search through. I need to find the string subscribe_policy = open and replace it with subscribe_policy = open+confirm. Then save the whole file. I

[PHP] searching and replacing in a file

2003-12-15 Thread Richard Kurth
How can I read through a file and find a string and then replace it with a new string and then save the whole file. Below is a peace of what I need to search through. I need to find the string subscribe_policy = open and replace it with subscribe_policy = open+confirm. Then save the whole file. I

[PHP] Help with where clause

2003-12-16 Thread Richard Kurth
I need to know how I can do a where clause in a select statement for mysql where one of the fields can have two solutions. In the example below field3 needs to equal all with a and also all with b. Can this be done and if so how. I am stumped on this one. select * from table where field1= '$this'

[PHP] Having problems with a while loop

2004-01-01 Thread Richard Kurth
Way does this while loop not work. It does not read anything in the file. If I add ! in front of feof it will just loop forever but still it will not read the next line in the file. The file has two lines in it that look like this. tester3:$1$09BZpdge$b7TQcsYSsAP1hgiCuCWtS1 tester5:$1$5eq3i75D$X

Re[2]: [PHP] Having problems with a while loop

2004-01-01 Thread Richard Kurth
Ok I changed it to look this way but it still is not working $filenum="test"; $fpHt = fopen($filenum, "r"); while(feof($fpHt)) { $fpLine = fgets($fpHt,512); $fpLine = trim($fpLine); $fpData = explode(":", $fpLine); $fpData[0] = trim($fpData[0]); echo $fpData[0]; } And no I am just reading a .htp

[PHP] Problem with using php at the command line with mysql

2004-01-05 Thread Richard Kurth
I am using PHP to do some command line work on a Linux box. I keep getting this error and can not figure out way. Is there something I am missing because this should work. There is a copy of the code at the bottom of this message. Warning: mysql_fetch_array(): supplied argument is not a valid MyS

[PHP] Problem with while loop

2004-01-07 Thread Richard Kurth
I can't seam to get this while loop to work properly. It should create a message that has the first two lines and then it will list all the domain that meat the criteria. $lines = "The following are web sites that are at 95% usage or more of there web space\n"; $lines = "Site Name Used(MB

[PHP] 2d array?

2001-01-10 Thread Kurth Bemis
is with an array? I know that i've seen it done like aboutus.php:About Company or something. Its hard to explain - can anyone help me? ~kurth Kurth Bemis - Network/Systems Administrator, USAExpress.net/Ozone Computer People disagree with me. I just ignore them. -- Linus Torvalds, re

Re: [PHP] Homepage

2001-01-17 Thread Kurth Bemis
default.html default.htm not hard :-) ~kurth >Just a small (and hopefully easy) question. > >Is there a PHP equivalent of index.html? I want to be able to go straight >to a PHP script without the user specifying the filename. > >Thanks, Steve. > > >-- >PHP General Mailing

Re: [PHP] Hyperlink?

2001-01-17 Thread Kurth Bemis
At 04:42 PM 1/17/2001, Wee Chua wrote: their defined in style sheets. Point your browser to www.w3c.org for more information ~kurth >Hi all, >Could anyone tell me how to show a hyperlink without underline, just regular >text which contains link. Thanks. > >regards >Ca

Re: [PHP] What "PHP" Stands For....

2001-01-22 Thread Kurth Bemis
At 10:27 PM 1/22/2001, Fraser MacKenzie wrote: i like people hate perl :-) ~kurth >Acthually, it stands for Personal Home Page > >Frasre > >On Tue, 23 Jan 2001, Alexander Wagner wrote: > > > Brian White wrote: > > > 'PHP, which s

Re: [PHP] non-php related question.

2001-01-23 Thread Kurth Bemis
At 12:05 PM 1/23/2001, Jason Jacobs wrote: on linux use wget on windows use websnake. both are available somewhere on the net. wget is at freshmeat and websnake is available at download.com ~kurth >Hey guys and gals! I have my personal site on go.com, and I wanna move it. >The proble

[PHP] updating time fields

2001-01-26 Thread Kurth Bemis
i am wondering if anyone has written a snippet to process the current date or mktime into a mysql timestamp feild. ~kurth -- 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

[PHP] update db

2001-01-26 Thread Kurth Bemis
whats the php function that will let me update a db field? I've been looking at the manual but there seems to be no mention of it. ~kurth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To co

[PHP] disregard last two questions

2001-01-26 Thread Kurth Bemis
i'm a bit slow todayplease disregard those last 2 questions from me and i answered them myself :-) -- 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: [EMA

[PHP] arg....

2001-01-26 Thread Kurth Bemis
i'm having a horrible time updating 2 fields in the same db. I don't get an error but the fields aren't updatedcan anyone send me a snippet for the to learn from? ~kurth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

RE: [PHP] arg....

2001-01-26 Thread Kurth Bemis
more specific about DB and problem type. >You may have to commit the transaction if commit is not implict (ex Oracle). >There could be many resons including your SQL statement. > >Mike > >-Original Message- >From: Kurth Bemis [mailto:[EMAIL PROTECTED]] >Sent: Friday,

[PHP] header problems

2001-01-26 Thread Kurth Bemis
when i put this header('location: $url'); i get this http://domain.com/$url what the hell am i doing wrong? -- 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-mai

Re: [PHP] Problem with $REMOTE_ADDR

2001-02-23 Thread Kurth Bemis
At 09:54 AM 2/23/2001, Rosen wrote: is the machine that your browsing on the same machine that you have your serving software on? ~kurth >Hi, >I have problem with using of "$REMOTE_ADDR" variable. >The variable always return me "127.0.0.1" ( localhost ), > >

Re: [PHP] Best browser

2001-02-27 Thread Kurth Bemis
enc pack. what about PPTP? have you looked at that for a solution.? ~kurth >It's been my experience that Netscape doesn't support mistakes as well as IE >(example...forgetting a close td tag or close table, stuff like that), so >usually if I build a page, I use Netscape to c

[PHP] hrm...only hit submit once

2001-02-27 Thread Kurth Bemis
i have a form set that my users can fill out thier information. at the end of the process the results are mailed to an email address. then only problem is that reloads the page the mail is send again. this can be a problem...any ideas on how to prevent it?? ~kurth -- PHP General Mailing

[PHP] function not working?

2001-02-27 Thread Kurth Bemis
return $contents; } // return number of items in cart and heres what i do to call the function View Contents Of Cart what or where am i doing/going wrong? ~kurth -- 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] How to tell if client has cookies turned off?

2001-03-06 Thread Kurth Bemis
At 10:56 AM 3/6/2001, kevin1 wrote: try to set one...just a blank/empty one.if it fails then cookies are off :-) ~kurth >How can I tell reliably if someone has cookies turned off? > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [

Re: [PHP] PHP & MYSQL BOOKS

2001-03-19 Thread Kurth Bemis
At 03:46 PM 3/19/2001, YoBro wrote: i get a lot of my books at bookpool.com. Their prices are lower than amazon.com check them out. www.bookpool.com ~kurth >I actually think this is the book I have been waiting for. A bookstore in >New Zealand told me not until March 2001. It must be

Re: [PHP] How do i include ASP script into PHP...??!

2001-04-16 Thread Kurth Bemis
At 05:45 PM 4/16/2001, Plutarck wrote: plus - why would you want to :-) >Doesn't work. > >ASP scripts require an ASP interpreter. If you stick it in a PHP file, PHP >will try to interpret the ASP code. PHP can't do that. > > > >-- >Plutarck >Should be working on something... >...but forgot what

[PHP] OT - cyber squatting?

2001-04-17 Thread Kurth Bemis
this is totally OT - however I don't where else to ask. i need information on cyber squatting. as in what laws there are against it, etc.i believe that there was a law passed making cyber squatting illegal...but i can't find it at the library of congressany help? ~kurth

Re: [PHP] OT - cyber squatting?

2001-04-17 Thread Kurth Bemis
At 12:21 PM 4/17/2001, Plutarck wrote: thats is exactly what i'm looking for. :-) thanks ~kurth >I assume you mean registering a web address of a company, just to keep them >from registering it or to try and make them pay you for it? > >Check NetworkSolutions "domain

Re: [PHP] Help with a php Registration Form

2001-04-17 Thread Kurth Bemis
At 01:35 PM 4/17/2001, Michael Leone wrote: whats the problem taht you having? >I am trying to write a Registration form that send an email to a specific >address. >The source to the page is at http://www.probesnj.org/etownreg.txt >Its 400 lines long and I probably just spelled something wrong

Re: [PHP] Help with a php Registration Form

2001-04-17 Thread Kurth Bemis
At 01:44 PM 4/17/2001, Michael Leone wrote: double check ALL of your for loops as well as any place that you may have used a curly bracket. ~kurth >Im getting this pesky parse error at line 392 which is the last line of >the document. >At 01:40 PM 4/17/2001 -0400, you wrote: >&g

[PHP] freetype

2001-04-17 Thread Kurth Bemis
d and freetype2 are installedboth in /usr/local/lib ~kurth -- 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]

[PHP] ttf?

2001-04-17 Thread Kurth Bemis
does anyone have any tutorials on installing gd with freetype 2 support? ~kurth -- 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]

[PHP] TTF + GD

2001-04-17 Thread Kurth Bemis
I have compiled and installed freetype 2.0.1 and gd 1.8.1..the php configure script finds the libs okhowever gd still isn't compiled with true type font supportsomeone MUST have a solution for what i'm dealing with herelook : checking whether to enable FTP support... yes checki

Re: [PHP] PHP/M3U Questions!!!

2001-04-17 Thread Kurth Bemis
...on a large (450) or so that can take a long time hope this helps.. ~kurth >Hey, > >First I'll ask my OT question. I've been thinking lately of implementing a >system on my band's website where people can log in, and maintain a playlist >of all the mp3's

RE: [PHP] PHP/M3U Questions!!!

2001-04-17 Thread Kurth Bemis
At 05:12 PM 4/17/2001, Chris Cocuzzo wrote: theres a formula for figuring out how many frames based on file size and timehowever if your making a playlist with 20 or so entries the EXTINF's aren't really nessary ~kurth >Ok that makes sense definitely. I guess I wonder. How

Re: [PHP] Best non-tackified grip enhancer for golfers>

2001-04-18 Thread Kurth Bemis
whoever the mail admin is should start using rblsmtpd :-) ~kurth -- 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]

[PHP] gd php freetype problem solved

2001-04-19 Thread Kurth Bemis
y linked with progs. .so libs are stand alone, dynamic libs. then everything works ok you learn something new every day :-) If anybody has questions i urge to ask me for a copy of the bash script that i used to compile php with apache. Mail me at [EMAIL PROTECTED] ~kurth Kurth Bemis Owner: Oz

Re: [PHP] Site Structure

2001-04-23 Thread Kurth Bemis
At 01:12 PM 4/23/2001, Toby Miller wrote: personally i deny all access to my .inc files. with this Apache config... works really good :-) in httpd.conf # The following prevents .inc file from being read by web clients Order allow,deny Deny from all ~kurth >Jor

Re: [PHP] Query Analyzer For MySQL with PHP?

2001-04-23 Thread Kurth Bemis
At 02:56 PM 4/23/2001, Brandon Orther wrote: teh guys a phpwizzard.net wrote phpmyadmin...its a wonderful db admin tool...and it has a feature like what your describing.check it out...http://www.phpwizzards.net ~kurth >Hello, > I recently took an ANSI SQL class to

RE: [PHP] Filesystem security

2001-04-26 Thread Kurth Bemis
he LDP or something..just pull your head outta .. :-) ~kurth >my advice would be to disconnect the box from >the internet until you understand how to properly >secure it. > >please read the documentation and manuals >before your box gets raped and pillaged &g

[PHP] Update statement?

2001-04-30 Thread Kurth Bemis
; ){ modify_quantity($table,$session,$itemid,$quanity); } and the requested url. http://www.harborfresh.com/retail/cart.php?itemid=21591&quantity=5&action=Update any ideas? ~kurth -- 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] Update statement?:SOLVED

2001-04-30 Thread Kurth Bemis
At 01:03 PM 4/30/2001, Steve Werby wrote: I hate the letter "i" :-) it was missing when i passed quantity to the function ~kurth >"Kurth Bemis" <[EMAIL PROTECTED]> wrote: > > function modify_quantity($table, $session, $itemid, $quantity) > > { > >

[PHP] Protecting programs

2001-05-03 Thread Richard Kurth
Is there any way to protect a php program. Like you can other software were you can limit the amount of time they can use it. something like a compiled c program that the php program would have to look of a cod otherwise it will not work. Or am I just dreaming -- PHP General Mailing List (http

Re[2]: [PHP] Protecting programs

2001-05-03 Thread Richard Kurth
Hello MaD, what is obfuscation/encryption Thursday, May 03, 2001, 5:01:34 PM, you wrote: MaD> also sprach Richard Kurth (on Thu, 03 May 2001 04:31:42PM -0700): >> Is there any way to protect a php program. Like you can other software >> were you can limit the amount of time

[PHP] Getting the first part out of a string

2001-05-03 Thread Richard Kurth
I know how to get last part of a string out of a string But how do I get the first part before the needle On the example below I just what domain $hostdomain= domain.com $host = substr (strrchr ($hostdomain, "."), 1); echo $host; com -- PHP General Mailing List (http://www.php.net/) To

[PHP] HELP can not see data or tables in database

2001-05-03 Thread Richard Kurth
I have a major problem could somebody take a seeress look at this mysql running on cobalt raq4 I have looked through the archives and looked at the manual can not find anything to explain this nothing in the mysql log file I can not access the databases from the web browser I get empty data

[PHP] php installed as cgi with mysql support

2001-05-04 Thread Richard Kurth
Sense php4 comes with mysql access in it already when I install a cgi version of php do I still need to do it this way ./configure ==with mysgl or can you just do a ./configure and would you still have access to mysql. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Netscape and post

2001-05-04 Thread Richard Kurth
I am having problems with Netscape and post in a form In I.E. post works fine but in netscape it just gives me a Method Not Allowed The requested method POST is not allowed for the URL /scripts/index.html. Why is this doing this. Sometimes I just hate Netscape -- PHP General Mailing List (h

Re: [PHP] nslookup function ?

2001-05-04 Thread Kurth Bemis
At 04:11 PM 5/4/2001, Matthew Luchak wrote: goto zend.com then to the code exchange...then search for kurth bemis...i wrote a fucntion that does just that. ~kurth >I'm working on a email address verification script and need to do a DNS >lookup given the IP number of a remote hos

Re[2]: [PHP] Netscape and post

2001-05-04 Thread Richard Kurth
Hello Chris, Friday, May 04, 2001, 10:40:12 PM, you wrote: Chris> On 4 May 2001 21:48:46 -0700, Richard Kurth <[EMAIL PROTECTED]> wrote: >> I am having problems with Netscape and post in a form >> In I.E. post works fine but in netscape it just gives me a >> Method N

Re: [PHP] Installing the GD Library

2001-05-09 Thread Kurth Bemis
:-) ~kurth >Joseph Bannon wrote: > > What all do I need to do to install the GD Library and make it work > > with PHP? > >On what kind of platform? > >regards >Wagner > >-- >"Some guy hit my fender, and I told him, 'Be fruitful and multiply,'

[PHP] pulling data out of a string

2001-05-14 Thread Richard Kurth
I am trying to figure out how to pull data out of a string. This is driving me crazy. I figure an if statement of some sort would work but I'm not sure how to structure it. I know how to get what I want if it is just $fullhostname = "www.domain.net"; $exp = explode(".", $fullhostname); $host

Re[2]: [PHP] pulling data out of a string

2001-05-14 Thread Richard Kurth
Hello Philip, Monday, May 14, 2001, 3:36:17 PM, you wrote: That my problem www is not always the host when it is a sub-domain it would be like mysit.domain.net or sometimes people put a few extra periods in the domain name like www.my.test.net I thought maybe I could look at the string and fin

[PHP] Needing help hear

2001-05-15 Thread Richard Kurth
I am trying to pull all the e-mail out of the database and put them in a format like this [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED] this is what I have now but I don't seam to be going in the right direction. Could somebody give me a hint $sql = "SELECT email FROM customers";

[PHP] Need a little help with array

2001-05-15 Thread Richard Kurth
I am trying to get the first name and Last name plus the email address out of the database in a format like this Richard Kurth<[EMAIL PROTECTED]>;Richard Kurth<[EMAIL PROTECTED]> so I can put it in the BCC section of a mail all customer program What I have below works

Re[2]: [PHP] Need a little help with array

2001-05-15 Thread Richard Kurth
gt; Sincerely, Maxim Maletsky> Maxim Maletsky Maxim Maletsky> Founder, Chief Developer Maxim Maletsky> PHPBeginner.com (Where PHP Begins) Maxim Maletsky> [EMAIL PROTECTED] Maxim Maletsky> www.phpbeginner.com Maxim Maletsky> -Original Message- Maxim Maletsky> From: Richar

Re[4]: [PHP] Need a little help with array

2001-05-15 Thread Richard Kurth
Maxim Maletsky> Sincerely, Maxim Maletsky> Maxim Maletsky Maxim Maletsky> Founder, Chief Developer Maxim Maletsky> PHPBeginner.com (Where PHP Begins) Maxim Maletsky> [EMAIL PROTECTED] Maxim Maletsky> www.phpbeginner.com Maxim Maletsky> -Original Message- Maxi

Re: [PHP] Generate code bars

2001-05-16 Thread Kurth Bemis
Code bars? like Barcodes? I do it with gd and free type with a barcode font. Works like a charm. Currently i'm looking at using it on an online ticking system for conventions. ~kurth On Wed, 16 May 2001, Sandra Ruivo Grilo wrote: > > I have a problem: how can I generate code

[PHP] Is there a better way to do this

2001-05-16 Thread Richard Kurth
Is there a better way to do thisI want it to look and see if the userdata file is there and if true the bypass everything else run rest of code. If is not then check to see if userdat1 is and if it is change it's name to userdata the run rest of code. If none of the are there then gust shut do

Re[2]: [PHP] Is there a better way to do this

2001-05-16 Thread Richard Kurth
are you trying to do that for? scott [gts]> there's probably a much cleaner way to do what you scott [gts]> want, but i dont really know what you want to do, scott [gts]> so i cannot suggest anything >> -Original Message- >> From: Richard Kurth [mail

Re: [PHP] Encrypt Password for Session

2001-05-17 Thread Kurth Bemis
look in the manual for "md5" ~kurth On Thu, 17 May 2001, Troy Moreland wrote: > All, > > I am currently using sessions to store a user's ID, password and current > login status. All works fine. The only issue is that the session file on > the server is stor

[PHP] Problem with PHP_SELF

2001-05-18 Thread Richard Kurth
I am having a problem with this script. It works perfect if I just do a Query like ("SELECT * FROM customers") but if I call it from another script with a form to set the search criteria for this Query ("SELECT * FROM customers WHERE $metode LIKE '%$search%'") It will show the first pa

Re: [PHP] Problem with talnet

2001-05-18 Thread Kurth Bemis
At 09:31 AM 5/18/2001, khuram latif wrote: http://www.openssh.org you want SSH (Secure Shell) why anyone uses telnet anymore is beyond me. ~kurth >Hi Dears, >Please tell me the alternate software of Telnet, because i've problem >with talnet. > >Regards, >khuram >

[PHP] Getting email out of a database

2001-05-19 Thread Richard Kurth
I am trying to pull all the e-mail address out of a database to be able to do a mass send. This gets me all the e-mail address and puts a , between them which is what I want. $sql = "SELECT CONCAT(email) AS str_email FROM customers"; $result = mysql_query($sql);

Re: [PHP] Expense

2001-05-19 Thread Kurth Bemis
Clayton - I'm working on a similar time tracking tool myself...then it exports the data in CSV format. I'm looking at having it complete next week. I'll notify you when it done if your intrested. ~kurth On Sat, 19 May 2001, Clayton Dukes wrote: > I did actually look th

[PHP] mail function. not working

2001-05-19 Thread Richard Kurth
er $message .= "http://northwesthost.com";; $headers .= "From: Richard Kurth <[EMAIL PROTECTED]>\n"; $headers .= "X-Sender: <[EMAIL PROTECTED]>\n"; $headers .= "X-Mailer: NorthWestHost\n"; $headers .= "X-Priority: 1\n"; $headers .= "Ret

[PHP] should be simple

2001-05-20 Thread Richard Kurth
I am trying to pull html code out of a database to put in page something like this which I have stored in a database under cheader mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Re: [PHP] should be simple

2001-05-20 Thread Richard Kurth
Hello Richard, Never Mind It was a stupid mistake I am querying all the data in a function and forgot to add the variable to the global list work just fine DU!! Monday, May 21, 2001, 7:08:16 AM, you wrote: Richard Kurth> I am trying to pull html code out of a database to put in page Rich

Re: [PHP] Tab ordereing

2001-05-22 Thread Kurth Bemis
i believe that the attrib is taborder="3" bewarethat its not 4.0 standard tho.if i find a good resource then i'll send ti along to the list > The order is the order they are written in the html code. > > I'm not aware of any way to make it otherwise... > > > Plutarck > > "Tarrant Costel

[PHP] Running Crontab on php script

2001-05-23 Thread Richard Kurth
I have a php script that runs at root. I have php compiled as a cgi to do this. My question is what is the best way to run a crontab so that it does not send a message every time it runs. This script runs every 5 min and it can get pretty frustrating to get this email. The script runs only if ther

[PHP] Problem with PHP as CGI

2001-05-23 Thread Richard Kurth
I have php config as a cgi and I put this at the top of my script #!/usr/local/bin/php -q when ever I run this script at root in telnet I get this message below. I configured php like this ./configure --with-mysql make make install I have set this up on a number of servers Bu

Re[2]: [PHP] Problem with PHP as CGI

2001-05-23 Thread Richard Kurth
Hello Stuart, yes there is a Wednesday, May 23, 2001, 9:06:08 PM, you wrote: Stuart J. Browne> "Richard Kurth" <[EMAIL PROTECTED]> wrote in message Stuart J. Browne> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> >> I have php config as a

Re[2]: [PHP] Problem with PHP as CGI

2001-05-23 Thread Richard Kurth
w of a way to keep the path to PHP from showing up when the PHP CGI >> script is hit via HTTP? >> >> On Wed, 23 May 2001, Stuart J. Browne wrote: >> > "Richard Kurth" <[EMAIL PROTECTED]> wrote in message >> > [EMAIL PROTECTED]">news:

Re: [PHP] PLEASE SIGN-ME OFF !

2002-01-16 Thread Kurth Bemis
At 08:17 AM 1/16/2002, treiger wrote: maybe if you wern't totally retarded you read the footer of this email and EVERY other email that passed through this list. ~kurth >PLEASE SIGN-ME OFF ! > >I've sent already all emails requested to sign-me off this list, but I kee

Re: [PHP] 2d array help

2002-01-21 Thread Kurth Bemis
Yes I do... for an online billing system... Kurth Bemis Senior Network Admin/Owner: USAExpress.net Owner: Ozone Computer http://kurth.hardcrypto.com PGP Key Avail. - Uh!.Uh!.Uh!."I'm done with this.&

Re: [PHP] Variables Limit

2002-01-26 Thread Kurth Bemis
Unless your getting the values through a POST or a GET...both of these have limitesi forget what it is...maybe 1024 bytes? you'd jave to read the http rfc ~kurth On Sat, 2002-01-26 at 14:51, Nick Wilson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > >

[PHP] test

2001-10-19 Thread Kurth Bemis
system test -- 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]

[PHP] problem with a while loop

2001-10-25 Thread Richard Kurth
I am trying to get the data out of the while loop if I echo $email inside the } it gives me all of the data but if I echo it out side of the loop it only gives me one record even though I know there is more. How can I get this to work $query = "SELECT * FROM members Where Company LIKE '%$sea

Re: [PHP] Good php-tool for administer users on mysql?

2001-12-07 Thread Kurth Bemis
At 09:56 AM 12/7/2001, Stefan Rusterholz wrote: phpmyadmin - its great! get it at phpwizard.net ~kurth >Does anyone know a webbrowser/php based tool which allows to administer >user privileges in mysql easily? > >Thanks in advance >Stefan Rusterholz, [

[PHP] get data from file

2001-12-10 Thread Kurth Bemis
y, $val) = each ($string3)) { //echo "$key => $val"; //} ?> however - I get a "1" when look on the php site - under manual... any ideas? ~kurth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: [PHP] The "peacock" logo... and others...

2001-12-13 Thread Kurth Bemis
At 02:30 PM 12/13/2001, Rasmus Lerdorf wrote: my asp buddy saw this message as said "Cuckoo, huh? Maybe thats because you have to be crazy to use it." sigh - when will those pesky Microsoft junkies ever learn :-) ~kurth >The O'Reilly animal for PHP is a cuckoo bird. >

Re: [PHP] Pre-Written Script ?

2001-03-21 Thread Kurth Bemis
x27;t be lazy. that's it i'm finished! ~kurth >PhpMyAdmin is to manage MySQL, I want to take an existing table lets say >phone_book and then have a script generate the add/edit/modify scripts so I >don't have to code it, and look at how it is coded... > >Any Idea

  1   2   3   4   >