RE: [PHP] Sending alots of mail

2001-08-16 Thread Tyrone Mills
I use qmail to handle all my PHP generated mail. It does a wonderful job. One small coding error sent almost 1000 e-mails to one address in about 30 seconds. It's fast! -Original Message- From: Jimmy Bäckström [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 9:46 AM To: Daniel A

RE: [PHP] Emulating a POST

2001-08-08 Thread Tyrone Mills
I use CURL... Works beautifully... -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 1:51 PM To: PHP User Group Subject: [PHP] Emulating a POST Hello, I have used perl to emulate a post with LWP:UserAgent I am looking for the same ef

RE: [PHP] Adopt A Newbie (ME)

2001-08-03 Thread Tyrone Mills
I agree, IMHO that is the best MySQL book there is. That and the manual are all you are likely to need. -Original Message- From: B. van Ouwerkerk [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 02, 2001 10:55 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Adopt A Newbie (ME) >I've was h

RE: [PHP] Replacing template variables with values?

2001-08-01 Thread Tyrone Mills
I haven't tried those, but should have mentioned in my post, the value of $message is always a value I create. The person asking the original question however, might have been accepting input from unknown users. Thanks for the 'alert' though... Stand down Number One... -Original Message-

RE: [PHP] Replacing template variables with values?

2001-08-01 Thread Tyrone Mills
This always works for me... eval ("\$message = \"$message\";"); I use it in the same type of scenario you've described, and also with E-Mail bodies stored in a DB. Works like a charm. HTH, Tyrone -Original Message- From: Ryan Fischer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August

RE: [PHP] Sorry To Repeat Repeat Repeat Repeat Re.......

2001-07-26 Thread Tyrone Mills
And what pray tell would you like these scripts to do? I've written thousands of PHP scripts. What do you want? Be more specific and I'm sure you'll get a great response. -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 9:15 PM To: [EMAIL PROTEC

RE: [PHP] IE -> View Source

2001-07-26 Thread Tyrone Mills
No problems here. -Original Message- From: Dennis Gearon [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 8:17 AM To: PHP Mailing Listl (E-mail) Subject: Re: [PHP] IE -> View Source Please try to read any of the browser printed text in this URL(I can't do it in NS): http://rwcha

RE: [PHP] PHP.... i suck at it

2001-07-22 Thread Tyrone Mills
"; echo $remote_admin; ?> -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 22, 2001 5:47 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP i suck at it Ok this may sound really pathetic but how do i add a new line (like a space) to a code like this cau

RE: [PHP] encrypting session variables

2001-07-09 Thread Tyrone Mills
Make an MD5 hash using the session variable. Make it again (with the same seed) before using it, if the hashes don't match, it's been messed with. You can store the hash in a MySQL DB, pass it on the URL, write it out to a local file, all kinds of things... -Original Message- From: Brad

Re: [PHP] Security of PHP code

2001-07-04 Thread Tyrone Mills
I use something that accomplishes the same (displays the source of a file), but doesn't accept the file name as a parameter. The script is also in a directory with a password and is restricted by ip. Not perfect, but alot better. - Original Message - From: "Hankley, Chip" <[EMAIL PROTECTE

RE: [PHP] calculate download time

2001-06-29 Thread Tyrone Mills
Scott, All your method does is come up with how many kb/s you would need to achieve to transfer the file in 1 minute. To estimate how long it would take with a 28.8 modem connection (many sites do this), I would do something like the following: -- 28.8Kbps Modem (that's kilobit, not byt

[PHP] PHP-Nuke vs. PHP-BB vs. ???

2001-05-23 Thread Tyrone Mills
Hello All, I'm looking for input and/or advice on selecting a Portal System like PHP-Nuke or PHP-BB. I haven't used any of these products, so I don't really have an opinion myself. Here's what I want to be able to do: - Modify the system, so it needs to be PHP based - Use MySQL as the backend -

Re: [PHP] Why is this not working

2001-05-17 Thread Tyrone Mills
su nobody -c "/usr/local/bin/htpasswd -b /users/domain/.htpasswd abc pass" See what you get... "YoBro" <[EMAIL PROTECTED]> wrote in message news:<9e1i8t$op5$[EMAIL PROTECTED]>... > I have set the htpasswd file to 777 while i attempt to get this to work. > > I have found the htpasswd executable

Re: [PHP] Why is this not working

2001-05-17 Thread Tyrone Mills
This works for me... $update = exec ("/usr/local/apache/bin/htpasswd -b ./.htpasswd $username $password"); Just make sure that the user that Apache runs under has the appropriate permissions to the .htpasswd file. Tyrone "YoBro" <[EMAIL PROTECTED]> wrote in message news:<9e1fcd$pir$[EMAIL PROT

Re: [PHP] ssh

2001-05-14 Thread Tyrone Mills
How about using something like puTTY or SecureCRT? I use puTTY to connect Windoze boxes to my linux servers all the time, it works great and actually passes the function keys to remote server instead of interpreting them itself. - Original Message - From: "Dennis Gearon" <[EMAIL PROTECTE

RE: [PHP] PC MAG article

2001-05-09 Thread Tyrone Mills
If you can stand to read the whole article (I barely could), BEA declined to participate. The article is nothing but worthless tripe, BEA is probably better off for having been mentioned only in passing. -Original Message- From: Mark Charette [mailto:[EMAIL PROTECTED]] Sent: Wednesday, Ma

Re: [PHP] add to .htpasswd via php

2001-05-02 Thread Tyrone Mills
I do this exact thing on my system, here is the code I use: $update = exec ("/usr/local/apache/bin/htpasswd -b ./.htpasswd $username $password"); My guess is you are dealing with a permissions issue. Like Jack says, try 'su nobody' (or whatever your webserver runs as) and then try the command..

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

2001-04-15 Thread Tyrone Mills
Hi Manisha I use and recommend Beginning PHP 4, published by WROX and PHP Developer's Cookbook, published by SAMS. I started with the Beginning PHP 4 book, the PHP Manual, this list and phpbuilder.com. That was all I needed to get a good introduction and grounding into PHP programming. The PHP De

RE: [PHP] Problems with files!!!!!

2001-04-01 Thread Tyrone Mills
I don't know if it's been mentioned or not, but I have found that unless the file exists, I can't open it. Have you verified that the file exists and the user that the script will run as has the appropriate permissions? -Original Message- From: jon [mailto:jon]On Behalf Of Jon Jacob Sent:

RE: [PHP] Cache

2001-03-20 Thread Tyrone Mills
Yup, at the beginning of your PHP script. Sorry, I should have mentioned that... :) -Original Message- From: Matt Stone [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 8:04 PM To: Tyrone Mills; PHPlist Subject: RE: [PHP] Cache That goes in the PHP code no? -Original

RE: [PHP] Cache

2001-03-20 Thread Tyrone Mills
Hi Matt, For a very extensive solution, check this out: http://www.zend.com/codex.php?id=435&single=1 Or, if you just want all your pages to be forced to load all the time regardless... header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); head