[PHP] A way to stop spam on this list

2006-06-18 Thread Denis Gerasimov
Hello List Members, I am very tired of deleting spam messages received from PHP mailing lists and I think we all are. As I can see most of the spam messages are in Chinese / Japanese. Since this is an English-only mailing list I would like to suggest blocking all messages containing such C

Re: [PHP] Re: Mail in Spam Box

2006-06-18 Thread eqla3.com eqla3.com
On 6/19/06, eqla3.com eqla3.com <[EMAIL PROTECTED]> wrote: is there an example of the correct code? is my messege get in the right place? === web archive http://7b99.com/";>.

Re: [PHP] Re: Mail in Spam Box

2006-06-18 Thread eqla3.com eqla3.com
is there an example of the correct code?

Re: [PHP] Compare data between 2 array

2006-06-18 Thread Chris
weetat wrote: Hi all, I would like to say good job to this newsgroup , they are the best. Ok. My dilemma is that i have to compare values between 2 table which are exactly the same structure and fields. Below is rough example . The table are tbl_chassis and tbl_chassis_temp. Below a

[PHP] Compare data between 2 array

2006-06-18 Thread weetat
Hi all, I would like to say good job to this newsgroup , they are the best. Ok. My dilemma is that i have to compare values between 2 table which are exactly the same structure and fields. Below is rough example . The table are tbl_chassis and tbl_chassis_temp. Below are the fields.

Re: [PHP] Want some PHP e-book

2006-06-18 Thread Ligaya Turmelle
prolibertine wrote: i am a newbie of php .i want get some php ebook to read. who can send me some thx http://www.hudzilla.org/phpbook/ -- life is a game... so have fun. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ok next php problem

2006-06-18 Thread Chris
Rob W. wrote: Ok but my problem is is that in the process of doing that, numbers can be released so they pretty much haft to be dynamic. Any idea how I do it with that. IE: 1 2 3 6 9 10 ... So if them numbers change, which they can, because they are assigned port numbers for servers, How do

Fwd: [PHP] Re: Mail in Spam Box - my code

2006-06-18 Thread kartikay malhotra
Oops, sent this previous mail to Manuel instead of the group... :) Hi All! Sure, here is what I've: Mail sent Successfully"; } else { echo "Mail send failed"; } ?> Thanks & Regards KM On 6/19/06, Manuel Lemos <[EMAIL PROTECTED]> wrote: on 06/18/2006 12:29 PM kartikay malhotra said the f

Re: [PHP] Re: Mail in Spam Box - its working now

2006-06-18 Thread kartikay malhotra
Hey! Its working now. I replaced @mydomain with some valid mail address (gmail address) and the mail was delivered to the Inbox. Feel free to use the code if it helps. Attachments are allowed. Also, it works without a subject (for gmail), but the mail address I used now was genuine. Also genuine

Re: [PHP] Ok next php problem

2006-06-18 Thread tedd
At 7:21 PM -0500 6/18/06, Rob W. wrote: >I got the previous question answered, Now here's my next problem. > >With the numbers displaying correctly again I got: > >1 >2 >3 >4 >5 >6 >7 >10 >11 >12 >13 >14 >15 >16 >17 >18 >19 >20 >21 >22 >25 > >listed in that order in the database > >Now i'm trying t

Re: [PHP] Ok next php problem

2006-06-18 Thread Rob W.
Ok but my problem is is that in the process of doing that, numbers can be released so they pretty much haft to be dynamic. Any idea how I do it with that. IE: 1 2 3 6 9 10 ... So if them numbers change, which they can, because they are assigned port numbers for servers, How do I make it so t

Re: [PHP] Re: Ok next php problem

2006-06-18 Thread Chris
Rob W. wrote: No, but ok here goes the whole thing and sorry if I didnt explain this to everyone before. I am trying to duplicate a program that keep's track of server information, switch ports, apc ports ect ect... In the one column is switchports This lists a total of 24 or 48 or how many

[PHP] Re: Mail in Spam Box

2006-06-18 Thread Manuel Lemos
on 06/18/2006 12:29 PM kartikay malhotra said the following: > I've use PHP mail to send mail to my Gmail ID. But it gets delivered to my > Spam box and not the Inbox :( > > Am I missing a header, signature, certificate? Maybe if you show how you are composing the message you are sending we can a

Re: [PHP] Ok next php problem

2006-06-18 Thread Chris
Rob W. wrote: I got the previous question answered, Now here's my next problem. With the numbers displaying correctly again I got: 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 18 19 20 21 22 25 listed in that order in the database Now i'm trying to figure out how to write a syntax saying that if lik

Re: [PHP] Re: Ok next php problem

2006-06-18 Thread Rob W.
No, but ok here goes the whole thing and sorry if I didnt explain this to everyone before. I am trying to duplicate a program that keep's track of server information, switch ports, apc ports ect ect... In the one column is switchports This lists a total of 24 or 48 or how many ever ports are

[PHP] Re: Ok next php problem

2006-06-18 Thread Jo�o C�ndido de Souza Neto
If i understood right, you want to list a sequence of numbers and follow some data like: 1 - data of number 1 2 - data of number 2 ... If it's right, you can do it. $query="SELECT * FROM db ORDER BY numbers DESC limit 1"; $maxnum=$numbers; for ($num=1;$num<=$maxnum; $num++) { $query="SELE

[PHP] Ok next php problem

2006-06-18 Thread Rob W.
I got the previous question answered, Now here's my next problem. With the numbers displaying correctly again I got: 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 18 19 20 21 22 25 listed in that order in the database Now i'm trying to figure out how to write a syntax saying that if like number 8 isnt

Re: [PHP] mysql ORDER BY problem

2006-06-18 Thread Rob W.
Yeah, I got this problem fixed. The datbase was listed under [chr] instead of [integer]. Thanks for the help though. - Original Message - From: Xavier Casto To: Rob W. Cc: php-general@lists.php.net Sent: Sunday, June 18, 2006 7:30 PM Subject: Re: [PHP] mysql ORDER BY probl

RE: [PHP] Re: mysql ORDER BY problem

2006-06-18 Thread Peter Lauri
Just do: SELECT * FROM thetable ORDER BY yourfieldyouwanttoorder If you want it in reverse order you add DESC in the end. /Peter -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 5:51 AM To: php-general@lists.php.net Subject: Re: [PHP] Re: mysq

Re: [PHP] Re: mysql ORDER BY problem

2006-06-18 Thread John Nichel
Rob W. wrote: It's not in general to mysql, it's how php and mysql is displaying it. That's not what you asked. You asked how to do it with your query, which has nothing, nadda, zip to do with PHP. You want MySQL to do the sorting, look at the MySQL manual under the select syntax, or ask o

Re: [PHP] SMS with php recommendation (a bit 0T i guess)

2006-06-18 Thread Ryan A
Hey, > http://www.clickatell.com/brochure/products/developer_solutions.php Ok, clickatell seems to be the popular choice around here, will have a look see In the meantime feel free to recommend any others. Thanks for replying guys. Cheers! Ryan -- - The faulty interface lies between the c

Re: [PHP] Re: mysql ORDER BY problem

2006-06-18 Thread Rob W.
It's not in general to mysql, it's how php and mysql is displaying it. - Original Message - From: "Michael Rasmussen" <[EMAIL PROTECTED]> To: Sent: Sunday, June 18, 2006 4:51 PM Subject: [PHP] Re: mysql ORDER BY problem On Sun, 18 Jun 2006 15:55:14 -0500, Rob W. wrote: Is there

Re: [PHP] Get rid of line breaks

2006-06-18 Thread Martin Alterisio
2006/6/18, Peter Lauri <[EMAIL PROTECTED]>: Best group member, I have a variable $content that is taken from a database. It contains line breaks and the $content will be posted with line breaks. I need to use this to insert this into a JavaScript function: $output = 'writeRichText(\'rte

[PHP] Re: mysql ORDER BY problem

2006-06-18 Thread Michael Rasmussen
On Sun, 18 Jun 2006 15:55:14 -0500, Rob W. wrote: > > Is there a way with my mysql query so that I can list the numbers in > correct order? > In what way is this problem related to PHP? Try a MySQL group instead. -- Hilsen/Regards Michael Rasmussen http://keyserver.veridis.com:11371/pks/lookup

[PHP] mysql ORDER BY problem

2006-06-18 Thread Rob W.
Ok, here's what i got in my mysql db. I got a table listed with numbers as follows 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 18 19 20 21 22 25 These numbers I can display fine. I'm using .. $query="SELECT * FROM db ORDER BY numbers ASC"; Right now it displays it as 1 10 11 12 . 2 22 23 25 ...

[PHP] Get rid of line breaks

2006-06-18 Thread Peter Lauri
Best group member, I have a variable $content that is taken from a database. It contains line breaks and the $content will be posted with line breaks. I need to use this to insert this into a JavaScript function: $output = 'writeRichText(\'rte1\', \''.$content.'\', 400, 200, true, fals

Re: [PHP] SMS with php recommendation (a bit 0T i guess)

2006-06-18 Thread John Nichel
Ryan A wrote: Hey, Right now I am using PSWIN to send SMS messages from my php scripts, can anybody recommend a (reliable) company that i can use instead? We "fill up" on 25euros everytime on pswin, so i am not looking for a "free" provider, just a reliable and good priced one. PSwin is good,

Re: [PHP] Mail in Spam Box

2006-06-18 Thread Travis Doherty
kartikay malhotra wrote: > Hi all! > > I've use PHP mail to send mail to my Gmail ID. But it gets delivered > to my > Spam box and not the Inbox :( > > Am I missing a header, signature, certificate? > > Thanks > KM > > Is the system you are sending from listed in any RBLs? If you don't set a subj

[PHP] Re: Want some PHP e-book

2006-06-18 Thread Stephen Lake
http://www.php.net/docs.php You can download a CHM for Windows as well as PDF's and HTML Versions "prolibertine" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >i am a newbie of php .i want get some php ebook to read. > who can send me some > thx > -- > /***

Re: [PHP] SMS with php recommendation (a bit 0T i guess)

2006-06-18 Thread cajbecu
http://www.clickatell.com/brochure/products/developer_solutions.php Ryan A wrote: > Hey, > > Right now I am using PSWIN to send SMS messages from > my php scripts, can anybody recommend a (reliable) > company that i can use instead? > > We "fill up" on 25euros everytime on pswin, so i am > not l

[PHP] SMS with php recommendation (a bit 0T i guess)

2006-06-18 Thread Ryan A
Hey, Right now I am using PSWIN to send SMS messages from my php scripts, can anybody recommend a (reliable) company that i can use instead? We "fill up" on 25euros everytime on pswin, so i am not looking for a "free" provider, just a reliable and good priced one. PSwin is good, problem is they

Re: [PHP] Includes, Require, Location, Other

2006-06-18 Thread Larry Garfield
A couple of things. 1) Delay your output to the very end. That way you can still do page redirects and build whole new pages depending on the errors you get. 2) Store errors in the session, then when building the page have a place for "put any error messages here, then delete them from the ses

Re: [PHP] ImageCopyResized() function

2006-06-18 Thread Robert Cummings
On Sun, 2006-06-18 at 12:02, BBC wrote: > Hi all. > is any one know how to use these functions, and what for are they: > imagecreatetruecolor(); > imagecreatefromjpeg(); > ImageCopyResized(); > ImageDestroy(); I know how to use them all. I learned by reading here: http://ca.php.net/manual/en/

Re: [PHP] ImageCopyResized() function

2006-06-18 Thread Rabin Vincent
On 6/18/06, BBC <[EMAIL PROTECTED]> wrote: is any one know how to use these functions, and what for are they: imagecreatetruecolor(); imagecreatefromjpeg(); ImageCopyResized(); ImageDestroy(); php.net/imagecreatetruecolor php.net/imagecreatefromjpeg php.net/imagecopyresized php.net/imagedestroy

[PHP] ImageCopyResized() function

2006-06-18 Thread BBC
Hi all. is any one know how to use these functions, and what for are they: imagecreatetruecolor(); imagecreatefromjpeg(); ImageCopyResized(); ImageDestroy(); please tell me how to use it like this function mail($a,$b,$c,$d); $a = "email direction where we email to"; $b = "subject of email, it will

[PHP] Includes, Require, Location, Other

2006-06-18 Thread Beauford
Hi, If I were to have something like the following, what is the best way (or best practice) to reload the page and display the error - or is there a better way to do this. I want to keep the site uniform and don't want errors popping up and making a mess. Thanks B -

Re: [PHP] Mail in Spam Box

2006-06-18 Thread Rabin Vincent
On 6/18/06, kartikay malhotra <[EMAIL PROTECTED]> wrote: I've use PHP mail to send mail to my Gmail ID. But it gets delivered to my Spam box and not the Inbox :( Am I missing a header, signature, certificate? You're probably missing a header, but, who knows, you haven't shown us any code. Rab

[PHP] Mail in Spam Box

2006-06-18 Thread kartikay malhotra
Hi all! I've use PHP mail to send mail to my Gmail ID. But it gets delivered to my Spam box and not the Inbox :( Am I missing a header, signature, certificate? Thanks KM

[PHP] Re: best solution for page acess right

2006-06-18 Thread Jo�o C�ndido de Souza Neto
Sometimes i've been used this solution pointed out by you. I think it's a good way, though has more detailed way, it depends on your level care. ""Alain Roger"" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Hi, > > I have a web administration application which allow particul

Re: [PHP] Want some PHP e-book

2006-06-18 Thread tedd
At 5:27 PM +0800 6/18/06, prolibertine wrote: >i am a newbie of php .i want get some php ebook to read. >who can send me some >thx Sorry for other post, I misread "ebook". I thought you were asking for free books. In any event, you might review these links: http://www.htmlgoodies.com/beyond/ph

Re: [PHP] Want some PHP e-book

2006-06-18 Thread tedd
At 5:27 PM +0800 6/18/06, prolibertine wrote: >i am a newbie of php .i want get some php ebook to read. >who can send me some >thx Amazon.com tedd -- http://sperling.com http://ancientstones.com http://earthst

Re: [PHP] Want some PHP e-book

2006-06-18 Thread Jochem Maas
prolibertine wrote: > i am a newbie of php .i want get some php ebook to read. http://php.net/docs.php > who can send me some > thx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ImageCopyResized() function

2006-06-18 Thread Jochem Maas
BBC wrote: > Hi all. > is any one know how to use these functions, and what for are they: > imagecreatetruecolor(); > imagecreatefromjpeg(); creating image resource. > ImageCopyResized(); copy and resize image resource. > ImageDestroy(); destroy image resource. RTFM: http://php.net/gd > >

[PHP] Want some PHP e-book

2006-06-18 Thread prolibertine
i am a newbie of php .i want get some php ebook to read. who can send me some thx -- /** * Love in AJAX J2ME and Python * Look at my website and my blog * http://www.pinzui.cn * 希望宝宝可以永远快乐,你是最棒的。 *

Re: [PHP] GET, POST, REQUEST

2006-06-18 Thread Satyam
- Original Message - From: "Manuel Lemos" <[EMAIL PROTECTED]> To: "PHP List" Sent: Sunday, June 18, 2006 10:12 AM Subject: Re: [PHP] GET, POST, REQUEST Hello, on 06/18/2006 04:19 AM Satyam said the following: Good code won't be vulnerable to register_globals either, but having reg

Re: [PHP] GET, POST, REQUEST

2006-06-18 Thread Manuel Lemos
Hello, on 06/18/2006 04:19 AM Satyam said the following: >> Good code won't be vulnerable to register_globals either, but having >> register_globals on is a security problem because there are security >> flaws >> that can only be exploited when register_globals is enabled. >> > > Actually, code q

Re[2]: [PHP] GET, POST, REQUEST

2006-06-18 Thread Tom Rogers
Hi, Sunday, June 18, 2006, 5:19:20 PM, you wrote: S> - Original Message - S> From: "Rory Browne" <[EMAIL PROTECTED]> >> >> Good code won't be vulnerable to register_globals either, but having >> register_globals on is a security problem because there are security flaws >> that can only b

[PHP] best solution for page acess right

2006-06-18 Thread Alain Roger
Hi, I have a web administration application which allow particular users to store into DB some information. Information will be later on displayed dynamically on the website. However, among these users, some should be able just to see information, some others just to write, and so on... therefo

Re: [PHP] GET, POST, REQUEST

2006-06-18 Thread Satyam
- Original Message - From: "Rory Browne" <[EMAIL PROTECTED]> Good code won't be vulnerable to register_globals either, but having register_globals on is a security problem because there are security flaws that can only be exploited when register_globals is enabled. Actually, code qu

[PHP] ImageCopyResized() function

2006-06-18 Thread BBC
Hi all. is any one know how to use these functions, and what for are they: imagecreatetruecolor(); imagecreatefromjpeg(); ImageCopyResized(); ImageDestroy(); Best regard BBC