RE: [PHP-DB] Mass mail

2004-09-20 Thread nikos
Thank you Miles Do you put the mail() function in a while{} loop for each mail address or make a "bactch" of them? -Original Message- From: Miles Thompson [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 4:43 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Mass mail Yes - we'r

RE: [PHP-DB] Re: Mass mail

2004-09-20 Thread nikos
Hello Ben, thank you for answering. I concern about the execution time of the script. If I do a while{} and there send a mail() for each of mail addresses it might take some minutes. -Original Message- From: Ben Galin [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 5:55 PM T

Re: [PHP-DB] Passing URL parameters, how to hide

2004-09-20 Thread M Saleh EG
BTW u might expose n get ur database hacked if u dont do some sort of validation while using the ID from the URI parameter example: http://domain/?show=records&id=4 if someone changes id to 4;use mysql; update user set password=md5("hello") where user='root'; imagine wat would happen??? ur

[PHP-DB] Database VS Datastructure

2004-09-20 Thread M Saleh EG
Do u prefer data structures in your scripts? as in Trees, Queues, Stacks Do u like arrays? or like classes? Once u get ur data from ur DB would u store it in a Tree for example or would u just take more trips to the database instead? Datascructures make DB so it cant be against it right? Da

[PHP-DB] How do u preffer ur Javascript in PHP?

2004-09-20 Thread M Saleh EG
Is it better if u have ur javascript alone (for example a good JS framework to make anykind of UI elements u need?) or would u preffer having a good set of PHP classes that generates those UI elements for u from PHP w/o even touching JS or even knowing it? to be clear, Would u write this

Re: [PHP-DB] Passing URL parameters, how to hide

2004-09-20 Thread M Saleh EG
You should always avoid passing Record IDs through URL parameters. Use form Hidden fields instead! In your case, when ur selecting the users form data from the record check if it's the same user if not then if he tries to change the ID from the URI Parameter just block it. Or u better MD5 every lo

Re: [PHP-DB] Passing URL parameters, how to hide

2004-09-20 Thread Jasper Howard
When I created a business management script for the business I work for, it was important that ids in url's were encrypted. What I did was create a code for each item that needed one. My encryption table fields looked something like: enc_id, encryption, table, id where enc_id was the unique identif

Re: [PHP-DB] Passing URL parameters, how to hide

2004-09-20 Thread Stuart Felenstein
I'm restarting this post. I thought I was out of the woods, but not. Here situation, in most of my update forms which involve 1 record, passing a session variable , usually the users ID is enough. No URL param passing. Not so in two update forms I have where there are multiple records for each

Re: [PHP-DB] Re: Finding the value of the COMMENT in a table column

2004-09-20 Thread M Saleh EG
Or maybe with "Describe Table" ? On Mon, 20 Sep 2004 10:51:30 -0700, Jasper Howard <[EMAIL PROTECTED]> wrote: > don't you get that with the DEFINE `table` query? > > -- > > -->> > Jasper Howard :: Database Administration > ApexEleven W

[PHP-DB] Re: Finding the value of the COMMENT in a table column

2004-09-20 Thread Jasper Howard
don't you get that with the DEFINE `table` query? -- -->> Jasper Howard :: Database Administration ApexEleven Web Design 1.530.559.0107 http://www.ApexEleven.com/ <<-- "Ross H

Re: [PHP-DB] Re: Mass mail

2004-09-20 Thread Manuel Lemos
Hello, On 09/20/2004 11:54 AM, Ben Galin wrote: Now, for the actual composing and sending of the newsletters, there are some optimizations that can be done depending on whether the newsletters are going to be personalized (avoid it at all costs if you can) or not. May I ask why? Are you refer

Re: [PHP-DB] Re: Mass mail

2004-09-20 Thread Manuel Lemos
Hello, On 09/20/2004 11:54 AM, Ben Galin wrote: Now, for the actual composing and sending of the newsletters, there are some optimizations that can be done depending on whether the newsletters are going to be personalized (avoid it at all costs if you can) or not. May I ask why? Are you refer

Re: [PHP-DB] Re: Mass mail

2004-09-20 Thread Ben Galin
On Sep 20, 2004, at 7:13 AM, Manuel Lemos wrote: Now, for the actual composing and sending of the newsletters, there are some optimizations that can be done depending on whether the newsletters are going to be personalized (avoid it at all costs if you can) or not. May I ask why? Are you refer

[PHP-DB] Re: Mass mail

2004-09-20 Thread Manuel Lemos
Hello, On 09/20/2004 10:18 AM, Nikos wrote: A client of mine sends thousands of mails as newsletters and wants as to make an Interface to admin this list. Its easy to put this mail list in a MySQL table and make the interface on PHP language and with mail() function to send a newsletter. The questi

Re: [PHP-DB] Mass mail

2004-09-20 Thread Miles Thompson
Yes - we're doing 900 per night. It's a one page letter providing the day's headlines with a link to where subscribers can view it. Viewing is done through a Flash movie so as to provide as secure an environment as possible. But now we're digressing into digital rights management. Code itself

[PHP-DB] Re: Mass mail

2004-09-20 Thread JeRRy
Hi Nikos, There is a number of ways you can handle this. But I have found these days "many" web - hosts are limiting the number of emails a "domain" may send "per hour". Many have set the limit to "500 emails per domain per hour" ... Which means you can only send 500 emails per hour via the doma

[PHP-DB] Mass mail

2004-09-20 Thread nikos
Hello list A client of mine sends thousands of mails as newsletters and wants as to make an Interface to admin this list. Its easy to put this mail list in a MySQL table and make the interface on PHP language and with mail() function to send a newsletter. The question is that if this function c

Re: [PHP-DB] Re: Finding the value of the COMMENT in a table column

2004-09-20 Thread M Saleh EG
hmm... u better check n hack phpmyadmin... u might get somethin out there... On Mon, 20 Sep 2004 13:02:55 +0930, David Robley <[EMAIL PROTECTED]> wrote: > On Sun, 19 Sep 2004 21:19, Ross Honniball wrote: > > > Hi all, > > > > Anyone know how to access the optional COMMENT you can add to columns