Re: [PHP-DB] Cookies on a Macintosh

2001-01-19 Thread Jerry
the variable? How does it refuse to use the variable in a manner that lets you know it set the cookie? Jerry -- http://www.hoboes.com/jerry/ "Give a man a fish and you feed him for a day. Teach him to fish, and you've depleted the lake."--It Isn't Murder If They're Yankees (http://www.hoboes

[PHP-DB] MSSQL connect

2001-12-21 Thread Jerry
($sql_temp); mssql_close($connexion); ? But it didn't work. Please help me. Jerry -- PHP Database 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-DB] MSSQL DB Connect

2001-12-21 Thread Jerry
($sql_temp); mssql_close($connexion); ? But it didn't work. Please help me. Jerry -- PHP Database 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-DB] Re: MSSQL DB Connect

2002-01-02 Thread Jerry
0){ print Number of rows: $numberBR; while($i $number){ $dateval= mssql_result($result,$i,dateval); echo TRTDFONT color=#112266$dateval/FONT/TD; $i++;} }? And it works fine ! Now I'm looking for the same function for IBM DB2 database connection... Jerry Jeremy Reed [EMAIL PROTECTED] wrote

[PHP-DB] Re: Urgent! Store Data In A Text File!

2002-01-02 Thread Jerry
To retrieve data from a text file, I'm using: $fp= file(textfile.txt,r); foreach($fp as $line) echo - $line -; Jerry Arik Ashepa [EMAIL PROTECTED] wrote: Can someone please tell me how can I add and retrive data from a text file I know it has something to do with Spliting...??? But I dont

[PHP-DB] Connect to IBM DB2

2002-01-02 Thread Jerry
: IBM DB2 V7.1 on windows 2000 Server PHP4 for windows Thanks. Jerry -- PHP Database 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-DB] Re: WebMail

2002-01-15 Thread Jerry
/Scripts_and_Programs/Email_Systems/Web-based_ Email/index.html There are so many out there... ;-) Jerry Michael K. Dolan Jr. [EMAIL PROTECTED] wrote: Hi, I'm looking for a good web based email client (preferably easy to setup and done in PHP of course). We have a sendmail server that works

[PHP-DB] mySQL administration on Linux through NT

2002-01-16 Thread Jerry
Hi, I have mySQL on LINUX Does anybody knows a windows software to manage mySQL through win2k (TCP/IP - Intranet) ? With mySQL on win2k, you can manage it using a windows interface. I'm looking for the same kind of interface to manage mySQL on a Linux platform from win2k. Thanks. Jerry

[PHP-DB] Connect to DB2-win2k through PHP4-Linux

2002-01-30 Thread Jerry
odbc_connect ? When I tried I received the error: Fatal error: Call to undefined function: odbc_connect()... 3. I didn't have any directory sqllib (like on windows platform) after IBM DB2 Client installation, is it normal ? 3. Do I need to install another software like iODBC ? Thanks. Jerry -- PHP

[PHP-DB] Database Connection

2002-02-05 Thread Jerry
compiling PHP with the option --with-ibm-db2=/home/db2inst1, Apache doesn't start anymore. Do I need to install iODBC (or another ODBC) or is it included ? Any idea what can cause this problem and how to solve it ? Thanks Jerry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP-DB] Database Connection

2002-02-05 Thread Jerry
Thanks Andrew for your answer. In the environment variables I have already: DB2INSTANCE=db2inst1 LD_LIBRARY_PATH=:/home/db2inst1/sqllib/lib Is it correct ? Or does it need to point to the DB2 Client directory /usr/IBMdb2/V7.1/lib Thanks. Jerry Andrew Hill [EMAIL PROTECTED] wrote

[PHP-DB] PHP - DB2 / odbc_connect() failed

2002-03-07 Thread Jerry
in /svr/jerry/web/myphppage.php But on the Linux server from the command line I don't have any problem to connect to the database... Do you have any idea what is the problem and how to solve it ? Thanks. Jerry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP-DB] INSERT IMG in Database

2002-03-14 Thread Jerry
its file name ? Can I directly send the image object to the database ? Thanks Jerry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: php-db Digest 5 Feb 2003 17:13:51 -0000 Issue 1661

2003-02-05 Thread JeRRy
someone please show me how to achieve this? At pressent it only produces an error if the database is not found. Nothing else! Jerry http://movies.yahoo.com.au - Yahoo! Movies - What's on at your local cinema? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP-DB] Column Sort Question

2003-03-05 Thread Jerry
the variable from $_POST are not staying persistent. I tried playing around with session with no luck. What is the best way to resort on a column? Thanks, Jerry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] PHP to mysql to email

2003-03-09 Thread JeRRy
BOUNCES is their a way to remove the entry that the email bounced email matches? I'd say this would be more complicated but any suggestions are welcome on this. I could always manually remove them for the time being. Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via

[PHP-DB] some php and database questions!

2003-03-11 Thread JeRRy
much in advance, credit will be given. Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra or Vodafone mobile. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] multiple queries in PHP ????

2003-03-24 Thread JeRRy
. I alsready have the script to update table1 and does this fine but am not sure how to do mulitple queries in the one PHP page. Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra or Vodafone mobile. -- PHP Database Mailing List (http

[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
Hi, This is what I have so far. ? if ($REQUEST_METHOD == POST) { $usr = usr; $pwd = pwd; $db = db; $host = localhost; $cid = mysql_connect($host,$usr,$pwd); mysql_select_db($db); // NOTE that form

[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
. But for table2 I am guessing it WILL need to know the username or id to update the appropiate field and not update everyones score to +1. So how is this achieved? Or am I doing this a hard way? Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra

[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
ignore this, I no longer require assistance on the message below. ATTACHMENT part 6 message/rfc822 Date: Wed, 26 Mar 2003 19:41:32 +1100 (EST) From: JeRRy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: re: multiple queries in PHP Hi, This is what I have so far

[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
ignore this, I no longer require assistance on the message below. ATTACHMENT part 6 message/rfc822 Date: Wed, 26 Mar 2003 19:41:32 +1100 (EST) From: JeRRy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: re: multiple queries in PHP Hi, This is what I have so far

[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
ignore this, I no longer require assistance on the message below. l ATTACHMENT part 6 message/rfc822 Date: Wed, 26 Mar 2003 19:41:32 +1100 (EST) From: JeRRy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: re: multiple queries in PHP Hi, This is what I have so far

[PHP-DB] php mail() question?

2003-03-27 Thread JeRRy
and where what goes. I have tried a few techniques but have failed so thought I'd post here. Thanks in advance! Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra or Vodafone mobile. -- PHP Database Mailing List (http://www.php.net

[PHP-DB] multiple queries in PHP to mysql database.

2003-03-27 Thread JeRRy
. But for table2 I am guessing it WILL need to know the username or id to update the appropiate field and not update everyones score to +1. So how is this achieved? Or am I doing this a hard way? Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra

[PHP-DB] PHP mail() question?

2003-03-31 Thread JeRRy
; $headers .= X-Priority: 1\r\n; $headers .= X-MSMail-Priority: High\r\n; $headers .= X-Mailer: Just My Server; mail($contactemail, $subject, $message, $headers); ? Maybe I need a different function? If so could someone show me a example of how it can be achieved please? Thanks! Jerry P.S

[PHP-DB] PHP mail fetching email address(es) from database question!

2003-04-01 Thread JeRRy
but I can't get it to work. :( The code is below. Quite easily achieved in the end. All help is mostly appreicated. Thanks in advance. Jerry ?php if(empty($SEND)){$SEND=;} switch($SEND){ case Send: if(!empty($MESSAGE)){ $HEADERS .= MIME

[PHP-DB] ?? php and mysql database question ??

2003-06-07 Thread JeRRy
for your time in advance. Kind Regards, Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra or Vodafone mobile. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Loading database information from a text file

2003-06-07 Thread JeRRy
, Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra or Vodafone mobile. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: ?? php and mysql database question ??

2003-06-07 Thread JeRRy
correctly. Thanks people for all your help in pointing me in the right direction. Mostly appreicated and I hope I can help some of you in return sometime soon. Now off to do my offline work. :) Kind Regards, Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your

[PHP-DB] Re: ?? php and mysql database question ??

2003-06-07 Thread JeRRy
correctly. Thanks people for all your help in pointing me in the right direction. Mostly appreicated and I hope I can help some of you in return sometime soon. Now off to do my offline work. :) Kind Regards, Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your

[PHP-DB] ?? Login problems ??

2003-06-08 Thread JeRRy
\ Name=\Password\; echo BR; echo Input Type=\submit\ Value=\Submit\; echo Input Type=\hidden\ Name=\redirect\ Value=\tip.php\; echo /FORM; ? Any ideas? Thanks! Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra or Vodafone mobile. -- PHP

RE: [PHP-DB] ?? Login problems ??

2003-06-09 Thread JeRRy
. Thankyou again. Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra or Vodafone mobile. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] php /mysql / viewing offline question

2003-06-14 Thread JeRRy
, only offline viewing. So I thought there mught be another program I could use for this. If so, please let me know. If Apache is the only option I guess I'll have to use that. Thankyou for your suggestions / help in advance. Kind Regards, Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check

[PHP-DB] apache, mysql, php4 for windows.

2003-06-20 Thread JeRRy
Hi, I have apache, mysql and php4 for windows installed. I grabbed all my webapages and mysql databases to my pc. But my login cookies/script fails to work at all. It wont let me login. Is anyone aware of a fix for this? I am only using a basic login script/cookie that looks for a username

[PHP-DB] Re: apache, mysql, php4 for windows.

2003-06-20 Thread JeRRy
are appreicated. Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra or Vodafone mobile. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] (can't remember my original subject) - php4, apache and mysql????

2003-06-20 Thread JeRRy
not think it would be my code that is why I did not post in my first post. (my code) Anyways thanks again for being helpful. I have learnt from this experience. :) Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra or Vodafone mobile. -- PHP

[PHP-DB] Re: test

2003-06-21 Thread JeRRy
Are we 'testing' something here? Seems to be working, but I guess I really don't know because I have NFI what is being tested here. Nor do I expect anyone to care to explain! ;) To: [EMAIL PROTECTED] From: fazla [EMAIL PROTECTED] Date: Sat, 21 Jun 2003 16:30:09 +0200 Subject: Re: test

[PHP-DB] md5 question!

2003-06-24 Thread JeRRy
Hi, If I use md5 to handle passwords to my database is there a way to reverse the action if someone forgets their password? Is there a way for me to decode the 32bit to plain text? Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra or Vodafone

Re: [PHP-DB] md5 question!

2003-06-24 Thread JeRRy
it, somehow. But what I have heard and read it's very tight and probably the best method to handle passwords for now, until something new is released. Which will happen when md5 is broken, like everything else after a little bit of time. Jerry --- Marco Tabini [EMAIL PROTECTED] wrote: Hi Jerry

Re: [PHP-DB] md5 question!

2003-06-24 Thread JeRRy
Hi, Hmmm okay... So if the passowrd was. jerry and the md5 output was SKHDJHDJDHJDHSfdfs and another user sets their passowrd to the same as mine does that mean the md5 output would be identical to the last as the same password is entered? e.g. User 1: Username: Fred Password: jerry User 2

Re: [PHP-DB] md5 question!

2003-06-24 Thread JeRRy
, instead I'm going to give the examples I have recieved a go and see what happens. Thanks everyone for your help/feedback/ideas and code on this subject, it's been overwhelming. Very much appreciated. Jerry --- Marco Tabini [EMAIL PROTECTED] wrote: On Tue, 2003-06-24 at 09:08, JeRRy wrote: I

Re: [PHP-DB] md5 question!

2003-06-24 Thread JeRRy
Hi, Aha... That's what I thought! :) So with md5 I can retrieve the passwords back to the user if they lose them via email. That's what I was seeking an answer to. Thanks so much. Jerry --- [EMAIL PROTECTED] wrote: They would be the same, they have to be. If you can de-crypt

Re: [PHP-DB] md5 question!

2003-06-24 Thread JeRRy
more secure than they already are. Any good websites that is good reading for this? I mean reliable sites with no bull ***rubbish*** which does not send on the wrong messages. Jerry --- Marco Tabini [EMAIL PROTECTED] wrote: On Tue, 2003-06-24 at 09:36, JeRRy wrote: Hi, Hmmm okay... So

[PHP-DB] Re: php-db Digest 25 Jun 2003 15:10:42 -0000 Issue 1899

2003-06-27 Thread JeRRy
on php talk how do I make a java popup message appear in a PHP code? Is there a way to do this, alert? There are many ways to do it im Javascript but was wondering if PHP had a way to do it in the PHP code itself. (hidden away if possible) Jerry http://mobile.yahoo.com.au - Yahoo! Mobile

[PHP-DB] Re: PHP help

2003-06-30 Thread JeRRy
snip PHP file called addform.php: ? $user=chris; $database=test; mysql_connect(localhost,$user); @mysql_select_db($database) or die(unable to select database); $query=INSERT INTO login VALUES ('$login'); mysql_query($query); mysql_close(); ? /snip Okay the line $query is wrong. So I quote...

RE: [PHP-DB] question about '

2003-07-11 Thread Jerry
I think you should use addslashes to store the text in the database and then stripslashes when displaying the text. I think that should work, but I'm new to PHP so I might be wrong. Jerry -Original Message- From: Chris Payne [mailto:[EMAIL PROTECTED] Sent: Saturday, July 12, 2003 2:11

[PHP-DB] editing part of a fiedl!

2003-07-16 Thread JeRRy
. To fix the image url. Is there a mysql query I can use to edit where board/emotions with /emotions? I am not sure if there is a way but I expect it can't be done but thought I'd ask. Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra or Vodafone

[PHP-DB] editing part of a fiedl!

2003-07-16 Thread JeRRy
. To fix the image url. Is there a mysql query I can use to edit where board/emotions with /emotions? I am not sure if there is a way but I expect it can't be done but thought I'd ask. Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra or Vodafone

[PHP-DB] editing part of a fiedl!

2003-07-16 Thread JeRRy
. To fix the image url. Is there a mysql query I can use to edit where board/emotions with /emotions? I am not sure if there is a way but I expect it can't be done but thought I'd ask. Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra or Vodafone

[PHP-DB] editing part of a fiedl!

2003-07-16 Thread JeRRy
. To fix the image url. Is there a mysql query I can use to edit where board/emotions with /emotions? I am not sure if there is a way but I expect it can't be done but thought I'd ask. Jerry http://mobile.yahoo.com.au - Yahoo! Mobile - Check compose your email via SMS on your Telstra or Vodafone

Re: [PHP-DB] editing part of a field

2003-07-17 Thread JeRRy
the text needs to be unchanged. I have over 9,000 posts to update and fix the image url for it. I can't afford to muddle up the posts. Jerry From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu, 17 Jul 2003 13:43:17 +0800 Subject: Re: [PHP-DB] editing part of a fiedl

[PHP-DB] Problem with page layout!

2003-08-01 Thread JeRRy
ideas why it is outputing out of line? All help mostly appreciated. Thanks! Jerry http://personals.yahoo.com.au - Yahoo! Personals - New people, new possibilities! Try Yahoo! Personals, FREE for a limited period! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP-DB] a bandwitch question

2003-08-05 Thread JeRRy
Hi, I have this site that uses PHP and mysql. Now I have a page that has 2 frames in it, a top frame and a bottom frame. Top frame loads a page from the server itself and the bottom frame loads an external website. (off the server) So top frame loads: http://localhost/blah.php And the

[PHP-DB] Calculations

2003-08-30 Thread JeRRy
worked out, I should of created another field to get the table score for that round from the start and keep it but I did not think of that earlier in the year. If it's tto much work I wont bother about it, but thought I'd ask and see if anyone can help. Thanks! Jerry http://search.yahoo.com.au

[PHP-DB] figures question

2003-09-27 Thread JeRRy
Hi, I have in my database a total value which looks like this. 0.0 If the figure is more than 9.9 it goes to 10.0 and so on.. The first 2 digits after the . is cents and the following is part of a cent. So it appears in the database for example like 7.51234 .. But I want to

[PHP-DB] Email bouncer Program(s) - know any?

2003-09-29 Thread JeRRy
Hi, I run PHP and mysql on my site. I allow people to use a PHP page to send me an email that is logged in the mysql for logging reasons. If someone sends me an email to [EMAIL PROTECTED] (fake address, not real) when it is sent it does not bounce, instead it gets sent to the root email

Re: [PHP-DB] Email bouncer Program(s) - know any?

2003-09-30 Thread JeRRy
at my doamin it will bounce and say a message and stating the reason. But I need to know what I need to achieve it. Jerry http://search.yahoo.com.au - Yahoo! Search - Looking for more? Try the new Yahoo! Search -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP-DB] multiple WHERE's

2003-10-18 Thread JeRRy
first_name,last_name,email,.$mysql_prefix.users.username from .$mysql_prefix.users $leftjoinfirst where vacation'$curdate' $leftjoinsecond limit $thisstart,$massmail[stop]); @mysql_query(drop table tmpcmailcttbl); while ([EMAIL PROTECTED]($users)) Jerry http://personals.yahoo.com.au - Yahoo

[PHP-DB] WHERE statement used multiple times.

2003-10-19 Thread JeRRy
Hi, If I was to want to use the WHERE statement multiple times (more than once) how do I seperate each WHERE statement? Would it be with a ',' (coma) or a ' ' (space) or what? Or not possible to have multiple WHERE's in the one query? I need 2 tables checked before executing the

Re: [PHP-DB] WHERE statement used multiple times.

2003-10-20 Thread JeRRy
. - Chris Thanks Chris, the help is mostly appreciated. I have got the code to skip emails that are flagged with a y vlaue in emailerror field. :) Thanks again. Jerry http://personals.yahoo.com.au - Yahoo! Personals New people, new possibilities. FREE for a limited time. -- PHP Database

[PHP-DB] mysql or php calculations required!

2003-10-31 Thread JeRRy
Hi, I have got a written PHP page that feeds most information off a mysql database. But I need some calculations completed either via the php page itself or mysql functions. But let me explain what I want. Maybe I could use a javascript on this but prefer all the code hidden away from the eyes

[PHP-DB] debugging / help required urgently.

2003-11-21 Thread JeRRy
. All the help is needed here if people can provide it. Thanks in advance, and sorry for the long email. But this problem is really giving me the 'you know what' now. Jerry http://personals.yahoo.com.au - Yahoo! Personals New people, new possibilities. FREE for a limited time. -- PHP Database

[PHP-DB] Downloading PHP source from a PHP filename, possible?

2003-11-28 Thread JeRRy
. Does that make sense? If not please reply and I'll try and explain better. Thanks for your time. Jerry http://personals.yahoo.com.au - Yahoo! Personals New people, new possibilities. FREE for a limited time. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP-DB] Downloading PHP source from a PHP filename, possible?

2003-11-29 Thread JeRRy
/mysql etc. Which Only I can edit. I understand PHP has a ftp service in PHP, could this work to download the source? Thanks for your time. Jerry Date: Fri, 28 Nov 2003 22:35:16 -0500 From: David T-G [EMAIL PROTECTED] To: PHP DB list [EMAIL PROTECTED] CC: JeRRy [EMAIL PROTECTED] Subject: Re

[PHP-DB] Dynamic Website Question!

2003-11-30 Thread JeRRy
, etc... Is there a way in PHP or something to make updates show up live as they happen instead of the yucky meta refresh tag in HTML? Thanks for your time in advance. Jerry http://personals.yahoo.com.au - Yahoo! Personals New people, new possibilities. FREE for a limited time. -- PHP Database

[PHP-DB] Re: Downloading PHP source from a PHP

2003-12-02 Thread JeRRy
To: [EMAIL PROTECTED] From: Kim Steinhaug [EMAIL PROTECTED] Date: Mon, 1 Dec 2003 22:48:00 +0100 Subject: Re: Downloading PHP source from a PHP filename, possible? What you do is, if my logic is correct... Read the entire file in to a variable and send it back to the browser with another

[PHP-DB] IFRAME sound question!

2003-12-02 Thread JeRRy
Hi, I know this is a bit off-topic but I find to get faster answers from this Mailing List (generally within a few minutes) than any other list. I find it quicker to post here and get an answer than trying to even search it on the web. And besides most of the search results on the web are not

[PHP-DB] php mail() question

2003-12-14 Thread JeRRy
Hi, Php mail() question. I use php mail() frequently, dragging data from a mysql database. I am not sure if this is possible but thought I'd throw it on this board. in php mail() function you can set a return_address etc. Is it possible to change this and run a query? I mean if the email

[PHP-DB] Re: php mail() question

2003-12-15 Thread JeRRy
it was sucessful or not. What I need to know is how I get the from address? Jerry --- Manuel Lemos [EMAIL PROTECTED] wrote: Hello, On 12/14/2003 11:51 PM, Jerry wrote: Php mail() question. I use php mail() frequently, dragging data from a mysql database. I am not sure if this is possible

[PHP-DB] Re: php mail() question

2003-12-16 Thread JeRRy
if there was a way to look in the $body of the email for an email address I thought perg_match would do something like that but maybe not? Is there a PHP matching function/command? So it coulds search for '@' in the email $body and skip the $headers. Jerry Hello, That's tricky. What I do is to have

[PHP-DB] Re: php mail() question

2003-12-16 Thread JeRRy
Jerry, Actually I just relised what you meant. :P And that would work great by having it like that.. Something like this would work fine. If the email bounces return it to [EMAIL PROTECTED] So I would set the sender as whatever I want and the return_path as a way to identify the user

[PHP-DB] Re: php mail() question

2003-12-17 Thread JeRRy
to reply. Jerry http://personals.yahoo.com.au - Yahoo! Personals New people, new possibilities. FREE for a limited time. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] table match lookup!

2003-12-18 Thread JeRRy
Hi, If I have a table named quote and the field has 30 words in it is there a way to pin-point a certain word and match it with another query in PHP? So a quote may say: Tomorrow never comes And I wanted 'never' to be dragged out of all quotes and counted in another table to keep a track of

[PHP-DB] Re: php mail() question

2003-12-18 Thread JeRRy
Hi, Just to follow-up on this. I knuckled down and did some work regarding this thread. What I achieved makes things work a tad faster than previously however it did not work out as I wanted entily but has fastened the process somewhat but still have a question regarding it. I have managed to

[PHP-DB] Re: php mail() question

2003-12-22 Thread JeRRy
You just need to call the RetrieveMessage function that returns the headers of each message and then look for the To: header. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ Ummm, why can't you give me a working code that grabs the headers

Re: [PHP-DB] PHP/DB speed

2003-12-22 Thread JeRRy
Robin Kopetzky wrote: Good afternoon! I am writing a project and have a speed concern... The code I am using is thus and is retrieving around 2,500 records: $result = mysql_query($sql) while ($row = mysql_fetch_array($result)) { build

[PHP-DB] Re: php mail() question

2003-12-22 Thread JeRRy
Hi, Okay removed value and have this now: ---some code--- echo Form Action='pop_update.php' METHOD='POST' enctype='multipart/form-data'; echo textarea name='headers' cols='250' rows='5'PRE,HtmlSpecialChars($headers[$line]),/PRE/textarea'; echo input name='submit' type='submit'

Re: [PHP-DB] Re: php mail() question

2003-12-23 Thread JeRRy
Change this: echo textarea name='headers' cols='250' rows='5'PRE,HtmlSpecialChars($headers[$line]),/PRE/textarea'; For echo textarea name='headers' cols='250' rows='5'PRE.HtmlSpecialChars($headers[$line])./PRE/textarea'; Which should display. I tried this a few days ago. All it

Re: [PHP-DB] Re: php mail() question

2003-12-27 Thread JeRRy
Change this: echo textarea name='headers' cols='250' rows='5'PRE,HtmlSpecialChars($headers[$line]),/PRE/textarea'; For echo textarea name='headers' cols='250' rows='5'PRE.HtmlSpecialChars($headers[$line])./PRE/textarea'; Which should display. I tried this a few days ago. All it

[PHP-DB] **Season Greetings**

2003-12-28 Thread JeRRy
and best Wishes, Jerry (J) **SEASON GREETINGS** http://personals.yahoo.com.au - Yahoo! Personals New people, new possibilities. FREE for a limited time. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] re: handling newsletter bounced emails. :)

2004-01-03 Thread JeRRy
- HI there everyone, Is it possible to use PHP to check an email on the same server? I have a system setup for my newsletters which I want to expand, and basically when mails bounce back to a certain email address on the server as failed it would then read the email and remove the

[PHP-DB] Re: Subject: grabbing text from a webpage and putting it in a query.

2004-01-03 Thread JeRRy
All I can suggest is that you cut and paste the desired text into notepad and save it as a file. This is because their pages are not regular nor xhtml (or even well formed HTML) that you cannot parse the page reliably. So, cut and paste the text only and save it first using notepad,

[PHP-DB] Re: Subject: grabbing text from a webpage and putting it in a query.

2004-01-04 Thread JeRRy
a webpage and putting it in a query. At 08:03 04/01/2004 +, JeRRy wrote: QUOTE $matcharray=array(Brisbane Lions v Collingwood at Gabba (night)); /QUOTE This will only work for that game matching the names right? I'd like to run some query or maybe 2 or 3 MAX Wrong. I guess you didn't read

[PHP-DB] What is missing/wrong? ?

2004-01-05 Thread JeRRy
Hi, What is missing/wrong here? What is MEANT to occour is explained below. I want to grab the bounced emails from a mailbox and grab the bounced email address from the body and input it in a query to update a db. But : mysql_query (DELETE FROM emaillist WHERE EMail = '$email'); Seems to

[PHP-DB] RE: What is missing/wrong? ?

2004-01-05 Thread JeRRy
Hi again, Also how do I output on the php page the email addresses it collects from the email body? echo Email was . $email . ; appears to return nothing... Thanks! ?php include(../db/connectionstart.php); global $IP_RegExp_Match, $Host_RegExp_Match, $Email_RegExp_Match;

[PHP-DB] re: What is missing/wrong?

2004-01-05 Thread JeRRy
Hi, Nevermind, got it to work now, always happens... Post and work it out 5 seconds later. :P J http://personals.yahoo.com.au - Yahoo! Personals New people, new possibilities. FREE for a limited time. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP-DB] displaying/deleting one at a time

2004-01-05 Thread JeRRy
Hi, This code works fine as long as you only have 1 email in your inbox. If there is more than 1 than it will return the last emails from: address rather than look in the $body for what's it meant to. So I am looking for a solution. One I thought which could be the simpliest way is to display

[PHP-DB] Re: pop, php and mysql problem!

2004-01-17 Thread JeRRy
On ¬P´Á¤é 18 [EMAIL PROTECTED] 2004 06:54, JeRRy wrote: Could someone look/try my code below. It grabs emails from a mailbox and grabs emails within the BODY of the email and sends the details to a database to match and flag an account. Could you rephrase the above? I'm sure you meant

[PHP-DB] Re: pop, php and mysql problem!

2004-01-19 Thread JeRRy
On ¬P´Á¤é 18 [EMAIL PROTECTED] 2004 06:54, JeRRy wrote: Could someone look/try my code below. It grabs emails from a mailbox and grabs emails within the BODY of the email and sends the details to a database to match and flag an account. Could you rephrase the above? I'm sure you meant

[PHP-DB] table values

2004-02-03 Thread JeRRy
Hi, I am running a bouncing script for bounced emails that updated to a database. What I want to do is have 3 bounces before dis-allowing emails to be sent to that user. So I have the following tables in my db: - Username Username of the user - Email Users Email Address - email_setting If set

[PHP-DB] Re: php-db Digest 8 Feb 2004 01:40:01 -0000 Issue 2250

2004-02-07 Thread JeRRy
information to output to the webpage. I've done some reading online, but have not found what I am requiring ... Could be looking in the wrong place, as usual. All help appreciated. Jerry http://greetings.yahoo.com.au - Yahoo! Greetings Send your love online with Yahoo! Greetings - FREE

[PHP-DB] Is it safe to do this?

2004-02-17 Thread JeRRy
(UPDATE users SET email_setting='-1' WHERE emailerror 5) or die (Unable ); /snip Suggestions welcome. Jerry Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: Is it safe to do this?

2004-02-18 Thread JeRRy
has a value of 5 or more? J Jerry wrote: Hi, Is it safe to do this: snip foreach ($addresses as $email) { $body = str_replace($email, $comp_uri, $body); mysql_query (update users SET email_setting='-1' WHERE email='$email') or die (Can't set email_setting

[PHP-DB] Need some help please!

2004-02-19 Thread JeRRy
game and is not ideal. Ideas/code welcome here. Jerry Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Need some help please!

2004-02-20 Thread JeRRy
Mikael, Hi :) First of all it's never a good idea to use ? instead of ?php. But anyway. Your loss. ;) My loss? Explain? (all ears) I've used only ? php a few times and end it with ? ... But I normally use only ? and ? and have *never* had a problem with it. But I am all ears knowing

[PHP-DB] Re: Help with SQLite and ADOdb

2004-02-22 Thread JeRRy
willing to pay around $5 - $10 a month on hosting. Which is quite reasonable for the kind of service you get and services (more importantly). If you want to know more please let me know or point your web browser to http://www.tassiedemononline.org.au Jerry Find local movie times and trailers

[PHP-DB] Re: call to undefined function mysql_connect() [PHP / MySQL / Red Hat 8]

2004-02-26 Thread JeRRy
To: [EMAIL PROTECTED] From: Jono [EMAIL PROTECTED] Date: Wed, 25 Feb 2004 20:50:37 - Subject: call to undefined function mysql_connect() [PHP / MySQL / Red Hat 8] Hey. I've just installed Red Hat 8 from a downloaded distribution and have set up Apache, PHP and MySQL. The problem I

[PHP-DB] plain-text file (.txt) to mysql database

2004-03-01 Thread JeRRy
Hi, Quick question, does anyone know of a program/site that could do the following: I have a .txt file written in notepad. Bob Someone Mr Now I have a db with the fields: First Last Title Now the .txt file looks something like this: Bob Someone Mr Susan Taylor Miss Andrea Nothing Ms ...

[PHP-DB] plain-text file (.txt) to mysql database

2004-03-01 Thread JeRRy
Hi, Quick question, does anyone know of a program/site that could do the following: I have a .txt file written in notepad. Bob Someone Mr Now I have a db with the fields: First Last Title Now the .txt file looks something like this: Bob Someone Mr Susan Taylor Miss Andrea Nothing Ms ...

  1   2   3   >