Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread B Richards
How many emails per hour can people generate on a typical dedicated server? on qmail? on smtp? - Original Message - From: "Manuel Lemos" <[EMAIL PROTECTED]> To: "Ed Lazor" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, February 02, 2002 9:09 PM Subject:

Re: [PHP] RANT: Why doesn't PHP have built-in support for dynamicimage generation?

2002-02-02 Thread Weston Houghton
Anybody interested in working on a PEAR module to interface PHP with something like ImageMagick directly? I would love to see it. Maybe if I am unemployed long enough soon I can work on it myself. Not that I really want that to happen... I think that might be the best solution for PHP's lack of

Re: [PHP] RANT: Why doesn't PHP have built-in support for dynamic image generation?

2002-02-02 Thread Ed Lazor
Hi Erica, I feel your pain - I've been dealing with the same thing this week. I finally got the compile to complete and the system up and running, but it was painful. It seemed like everything was finished, but I've noticed high server loads (.8), trouble accessing web pages (I tested using

Re: [PHP] file validation

2002-02-02 Thread Mike Frazer
A slightly less cumbersome method than the while() loop below would be a foreach() loop: function check_file($filename) { if (!$lines = file($filename)) { return false; } foreach ($lines as $line) { $num_pipes = substr_count($line, '|'); if ($num_pipes < 2 ||

[PHP] Re: Mysql & php

2002-02-02 Thread Mike Frazer
Give us the exact error message, that probably will hold the answer. Mike Frazer "Uma Shankari T." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Hello, > > I am trying to connect php and mysql with the following syntax > > mysql_connect("localhost"

php-general Digest 3 Feb 2002 07:22:59 -0000 Issue 1149

2002-02-02 Thread php-general-digest-help
php-general Digest 3 Feb 2002 07:22:59 - Issue 1149 Topics (messages 83250 through 83290): attachment via mail PHP 83250 by: Olev Rumm how to add attachment 83251 by: Olev Rumm Re: [PHP-INST] Default mysql path 83252 by: Uma Shankari T. Limiting time of PHP script

[PHP] RANT: Why doesn't PHP have built-in support for dynamic image generation?

2002-02-02 Thread Erica Douglass
Forgive my grumpiness, but I've spent the last several hours trying to install GD, etc. Let's be honest. PHP needs built-in support for creating dynamic images. JSP already has this. Heck, you could even make it a configure option. As it stands now, you have to do the following: -- Install GD --

[PHP] FastTemplate Not Working after PHP Migration

2002-02-02 Thread Chris Williams
My service provider has migrated from V4.0.1?? (not sure of exact version because itÂ’s history) to V4.0.6. Under V4.01?? I was using FastTemplate and it worked fine now under 4.06 I am getting the following error. Warning: Invalid content of \{\} in FastTemplate/class.FastTemplate.php3 on line 21

[PHP] Re: testing for cookies capable client (browser)

2002-02-02 Thread Manuel Lemos
Hello, Justin French wrote: > > Hi, > > Is there a simple method for checking if cookies are enabled (able to be > set) on a browser? The only method I can think of is setting the > cookie, then refreshing the page (or going to another URL) in order to > tet if the cookie exists... which sound

[PHP] testing for cookies capable client (browser)

2002-02-02 Thread Justin French
Hi, Is there a simple method for checking if cookies are enabled (able to be set) on a browser? The only method I can think of is setting the cookie, then refreshing the page (or going to another URL) in order to tet if the cookie exists... which sounds messy. I'd prefer not to use anything cli

Re: [PHP] Re: Address unknown

2002-02-02 Thread CC Zona
In article <001001c1ac45$406eab00$017f@localhost>, [EMAIL PROTECTED] (Hugh Danaher) wrote: > Thank you for your help regarding parsing the url (Hey, go figure, they > named the function almost exactly the same as my question.). > > I am still at sea about getting all the information from th

Re: [PHP] PHP and Apache authorization: how to logout. Help!

2002-02-02 Thread Frederick L. Steinkopf
While I've never done this before, couldn't you use a session and have session variables tied to the user name and password and then have the logout function kill the session? - Original Message - From: "Rodolfo Gonzalez" <[EMAIL PROTECTED]> To: "Matthew Walker" <[EMAIL PROTECTED]> Cc: "

Re: [PHP] Address unknown

2002-02-02 Thread hugh danaher
Jim, I did as you suggested and changed over to an input tag. Works great, but without your suggestion regarding the underling (someplace_y), I'd have never made it. Thanks, Hugh - Original Message - From: "Jim Lucas [php]" <[EMAIL PROTECTED]> To: "hugh danaher" <[EMAIL PROTECTED]>; "Php-

[PHP] imagecopy or why men don't use maps.

2002-02-02 Thread hugh danaher
Help! I have an image file which is a map of the local area. I want to put symbols on the map at various points, but I first need to get the php image function to work. My site has imaging enabled and I can create graphs from scratch, but this has stumped me so far. Any help will be greatly a

RE: [PHP] PHP and Apache authorization: how to logout. Help!

2002-02-02 Thread Rodolfo Gonzalez
On Fri, 1 Feb 2002, Matthew Walker wrote: > Does anyone have the answer for this question? I need it too... As I learnt before, it's not possible without closing the user's browser. > My site is in directory which is protected with .htaccess file. > I want to develope a logout function, which ca

[PHP] use_trans_sid

2002-02-02 Thread Justin French
Hi, When I run phpinfo(), use_trans_sid is set to 1 (assume 1 = enabled) on both my test server, and on my live server. Great! Only trouble is, when I disable cookies in my browser, the sessions are lost (in this case, each page asks me to login, rather than only once). Is there anything speci

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Michael Sims
At 11:42 PM 2/2/2002 -0200, Manuel Lemos wrote: > > I think you are confused... Unsolicited e-mail is in fact the > > definition of spam! > >No, with time, people started confusing definitions. You may not be >aware of it because you were too young and by that time you probably >even did not knew

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Manuel Lemos
Hello, Ed Lazor wrote: > > At 06:25 PM 2/2/2002 -0500, Chris Cocuzzo wrote: > >Godamnit. Shut-up about this already for godsakes and answer the > >original question!! > > LOL hehe good point Chris. Aleluia, somebody sensible! :-) > >"Ben Clumeck" <[EMAIL PROTECTED]> wrote in message > > >

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread rpruitt
I don't know the nature of your feud, but Manuel is right on here, as far as I'm concerned. Sterling's comments were unwarranted, unjust, and stupid. Rise above it man. Manuel Lemos wrote: > Hello, > > Sterling Hughes wrote: > > > > On Sat, 2002-02-02 at 17:42, Manuel Lemos wrote: > > > Hello,

Re: [PHP] Re: Securite problem

2002-02-02 Thread rpruitt
I used this in index.php3, in a password protected directory, using Xitami on Windows. require_once("../test/require.php3"); Everything did fine. Roebie wrote: > I have tried absolute paths but that does not solve the problem. > Unlike the filename extension suggests I am using php4. > > The

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Manuel Lemos
Hello, Sterling Hughes wrote: > > On Sat, 2002-02-02 at 17:42, Manuel Lemos wrote: > > Hello, > > > > Lars Wilhelmsen wrote: > > > > > > "Ben Clumeck" <[EMAIL PROTECTED]> wrote in message > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > I would like to send an e-mail (the same e-mail)

[PHP] RE: [PHP-DEV] Re: Securite problem

2002-02-02 Thread James Cox
Hi, this isn't a problem for [EMAIL PROTECTED], as that's the developers list. You will find most help on [EMAIL PROTECTED] or php-windows. Thanks, james cox > -Original Message- > From: Roebie [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 03, 2002 1:20 AM > To: [EMAIL PROTECTED]

[PHP] Re: Newbie: function for downloading

2002-02-02 Thread Daniel Grace
"Manuel Ritsch" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hey There > > I have a little question > > I'm making a page where you can download mp3's (hip hop and funk beats made > by myself) and i want, if you press on the > link (), that it doesn't start a

[PHP] Re: Securite problem

2002-02-02 Thread Roebie
I have tried absolute paths but that does not solve the problem. Unlike the filename extension suggests I am using php4. The problem seems to be the password protection. When the three files are in the same directory (be it protected or unprotected) everything works fine. When index.php3 is in on

Re: [PHP] Securite problem

2002-02-02 Thread rpruitt
There are a few issues that could be involved, but the glaring big one is that require_once() only works with PHP 4 The php3 extensions make me think you should simply use require() Roebie wrote: > Dear all, > I have a index.php3 file in a password protected directory (on Windows) > which calls

Re: [PHP] Securite problem

2002-02-02 Thread Jeff Sheltren
I believe that require() and require_once() have a problem with relative paths. See here for more info: http://www.php.net/manual/en/function.require-once.php Jeff At 01:24 AM 2/3/2002 +0100, Roebie wrote: >Dear all, >I have a index.php3 file in a password protected directory (on Windows) >whic

[PHP] Securite problem

2002-02-02 Thread Roebie
Dear all, I have a index.php3 file in a password protected directory (on Windows) which calls two other files with require_once("../code/anolislib2.php3"); require_once("../code/pageslib1.php3"); These two files are in another (not protected) directory. When I try to open index.php3 with I

Re: [PHP] Re: Address unknown

2002-02-02 Thread hugh danaher
Thank you for your help regarding parsing the url (Hey, go figure, they named the function almost exactly the same as my question.). I am still at sea about getting all the information from the url header. If I leave the brackets empty [e.g. parse_url() ] I get an error saying I have a parameter

RE: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Ed Lazor
At 06:25 PM 2/2/2002 -0500, Chris Cocuzzo wrote: >Godamnit. Shut-up about this already for godsakes and answer the >original question!! LOL hehe good point Chris. >"Ben Clumeck" <[EMAIL PROTECTED]> wrote in message > > I would like to send an e-mail (the same e-mail) to 1,000 different > > peop

RE: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Chris Cocuzzo
Godamnit. Shut-up about this already for godsakes and answer the original question!! -Original Message- From: Sterling Hughes [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 02, 2002 6:05 PM To: Manuel Lemos Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Sending an e-mail to 1,000 pe

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Sterling Hughes
On Sat, 2002-02-02 at 17:42, Manuel Lemos wrote: > Hello, > > Lars Wilhelmsen wrote: > > > > "Ben Clumeck" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > I would like to send an e-mail (the same e-mail) to 1,000 different > > people. > > > I want each

[PHP] Using IP as an identfier

2002-02-02 Thread Razorfish
Last week a thread went by that was a discussion on the merits of using the REMOTE_ADDR as an element of several parts to "secure" (other unique items were to be the USER_AGENT, etc.). I'd like to incorporate the lists collective wisdom. What was the list's conclusion on this matter? It

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Ed Lazor
> > > I would like to send an e-mail (the same e-mail) to 1,000 different > > people. > > > I want each persons name to be in the "To:" field. Is there a way to > > > customize it to where it can say Dear (having a different persons > name > > > corresponding to an e-mail address) so that i

[PHP] Re: IP based redirection

2002-02-02 Thread LaserJetter
Don't worry, I'll post back to yourmessage with something relevant! I would recommend redirecting according to what language the user has selected in their browser as an IP address can be unreliable e.g. someone in India could be using an IP address which is registered to an English speaking comp

[PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Manuel Lemos
Hello, Lars Wilhelmsen wrote: > > "Ben Clumeck" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I would like to send an e-mail (the same e-mail) to 1,000 different > people. > > I want each persons name to be in the "To:" field. Is there a way to > > cust

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Lars Torben Wilson
On Sat, 2002-02-02 at 13:46, Lars Wilhelmsen wrote: > "Ben Clumeck" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I would like to send an e-mail (the same e-mail) to 1,000 different > people. > > I want each persons name to be in the "To:" field. Is there

Re: [PHP] Address unknown

2002-02-02 Thread Jim Lucas [php]
instead of using an image map, put the image in and when you click on the image. it will submit the form, which you can have pointing at someplace.php, and then when you parse the GET/POST vars you can look for the variables someplace_x & someplace_y. this will give you the x / y axis you are

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread rpruitt
Hmmm. I've also heard it described as a newsletter. Or a mailing list. A good program that does this is http://www.kingmailer.com/ Thirty bucks, with a built-in SMPT server. Lars Wilhelmsen wrote: > "Ben Clumeck" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED

[PHP] Re: Address unknown

2002-02-02 Thread CC Zona
In article <000e01c1ac31$2cdf6f20$017f@localhost>, [EMAIL PROTECTED] (Hugh Danaher) wrote: > Some one please tell me to RTFN!, but first tell me where to look. :-) > > I have a page with an image of a map which delivers the following info to the > address bar of someplace.php. the html c

[PHP] Re: is create_function slow?

2002-02-02 Thread Lars Wilhelmsen
"Emile Bosch" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, is create function slow? Or has it a very significant slowdown compared > to an include? > > i might want to create functions on the fly if it isn't tooo slow.. > > warm regards, > Emile Bosch >

[PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Lars Wilhelmsen
"Ben Clumeck" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I would like to send an e-mail (the same e-mail) to 1,000 different people. > I want each persons name to be in the "To:" field. Is there a way to > customize it to where it can say Dear (having

[PHP] Re: Content Management

2002-02-02 Thread Lars Wilhelmsen
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Does anyone know of an organization who has built and maintains a web > content management application for a large site? Hi, The answer for your question is: eZ Publish : http://developer.ez.no/ by the norwegi

[PHP] Address unknown

2002-02-02 Thread hugh danaher
Help, Some one please tell me to RTFN!, but first tell me where to look. :-) I have a page with an image of a map which delivers the following info to the address bar of someplace.php. the html code delivers the coordinates of the cursor when clicked. What I want to do, is get the following

[PHP] Limiting time of PHP script.

2002-02-02 Thread Andre
I've a little PHP script that waits for commands and reply to them, it's setup to run from inetd, and so acts as a server. My problem is that I want to limit the time this script will wait for a command (in this case, a line, read by fgets), but set_time_limit seems to only count the time

[PHP] Re: [PHP-INST] Default mysql path

2002-02-02 Thread Uma Shankari T.
Actually i have stored mysql in my machine in /usr/lib/mysql when i am tried to connect it is giving this error. nomysql support.From the prompt itself i can connect to mysql .using php script i can't connect. While in the installtion also i have mentioned the path for mysql I couldn't gue

[PHP] how to add attachment

2002-02-02 Thread Olev Rumm
Hello > I was looking a way to fill a forms on line and send them over via the server. > > Found a good(in my mind) and simple php mail skript > from http://open.appideas.com/phpMailForm/source.php > > I managed to get it working. In my form there is a upload the the file section. > like

[PHP] attachment via mail PHP

2002-02-02 Thread Olev Rumm
Hello I was looking a way to fill a forms on line and send them over via the server. Found a good(in my mind) and simple php mail skript from http://open.appideas.com/phpMailForm/source.php I managed to get it working. In my form there is a upload the the file section. like this:

php-general Digest 2 Feb 2002 19:00:01 -0000 Issue 1148

2002-02-02 Thread php-general-digest-help
php-general Digest 2 Feb 2002 19:00:01 - Issue 1148 Topics (messages 83232 through 83249): IP based redirection 83232 by: PHPbin.dinsol.com Parsing commands to a program 83233 by: Liam MacKenzie 83235 by: val petruchek 83237 by: Liam MacKenzie 83241

[PHP] Default mysql path

2002-02-02 Thread Uma Shankari T.
Hello, I have installed php and mysql in my machine.By default in which path php check for mysql Anyone can know this tell to me as soon as possible -Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: [PHP] Adding 6 digits to a str?

2002-02-02 Thread Edward van Bilderbeek - Bean IT
like this: $digit = 122; $digits = sprintf ("%08d", $digit); print $digits; Greets, Edward - Original Message - From: "Jeff Sheltren" <[EMAIL PROTECTED]> To: "Andy" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, February 02, 2002 6:41 PM Subject: Re: [PHP] Adding 6 digits

Re: [PHP] Adding 6 digits to a str?

2002-02-02 Thread Jeff Sheltren
Why is it that you want to represent an int with leading 0's? Is it just to print it out that way? If that is the case, then you can use the printf function for formatted printing. Jeff At 10:53 AM 2/2/2002 +0100, Andy wrote: >Hi guys, > >I am trying to force a int to be 8 digits. If it is

[PHP] Re: How to get the URL into a var?

2002-02-02 Thread Andy
thanx works ! "Francois Jordaan" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I am trying to find out which dir the user is browsing. How > > can I get the > > URL into a var? I tryed path_info, but it only returns the filename. > > I'm quite new to

[PHP] Adding 6 digits to a str?

2002-02-02 Thread Andy
Hi guys, I am trying to force a int to be 8 digits. If it is only 3 dig filling the first ones with 0. Anyhow I tryed it with type casting, but it does not matter what I try, I always get an addition. E.g: $member_id is: 136 should be: 0136 Here is the code, which is still returning 1

[PHP] HOT! - PHP4.1.x - Step by Step Installation manual

2002-02-02 Thread Andre Amaral
Hi all. Here is my first attempt to make easy Step by Step installation manual for PHP4.1.x on Windows 2000 based systems running IIS5 using CGI or ISAPI. Here is the link that will ake a lot of people happy. :) http://www.experttek.com/php/installation.php Fell free to contact me. Contact info a

[PHP] Re: [URGENT] PHP as an apache module on windows under cygwin

2002-02-02 Thread David
why would you need cygwin am i missing something? there's Win32 binaries availiable for apache check out: http://www.apache.org/dist/httpd/binaries/win32/ as for running it as a module for Apache(Win32), check this out: http://sg.php.net/manual/en/install.apache.php many people prefer using t

Re: [PHP] Attaching a file via MAIL()

2002-02-02 Thread DL Neil
Dave and Mauricio, (basically the same question!) > How can I add an attachment to an email using MAIL(). So far I have been > able to successfully send email by using: > > mail($to, $subject, $message, $headers); > > Is there something I can add in the $headers to add an attachment?? =c

Re: [PHP] Parsing commands to a program

2002-02-02 Thread Jason Cox
How I've done it in the past is to dynamically build the command string and then pass it through the exec function like so: $cmdStr = "pure-pw useradd joeblow -u ftpuser -d /home/joeblow"; exec($cmdStr); The exec call won't display output but I believe if you use system($cmdStr) it will. I don'

[PHP] [URGENT] PHP as an apache module on windows under cygwin

2002-02-02 Thread Stephano Mariani
Hi! I am very new to both windows and PHP (coming from a solaris environment), so please excuse me if the answer is glaringly obvious. I have built and installed apache (1.3.23) on a windows 2000 Professional (SP2, build 2195) box with cygwin (1.3.9, I believe). The build supports many of the mod

Re: [PHP] Re: create xml document with PHP

2002-02-02 Thread hassan
hi another great way of doing what you want to do is to use templates regards, __ Hassan El Forkani http://WarmAfrica.com EveryOne's Africa __ At 21:20 29/01/02, you wrote: >Hello, > >Rodrigo Peres wrote: > > > > Hi list, > > > >

Re: [PHP] Check Boxes and updating records. (HELP ME....)

2002-02-02 Thread Yogesh
Hi! I've developed something like this recently, i'll explain to you how i proceeded, maybe that'll help you to solve your problem :-) Here goes: I have the following tables: 1. users (primary key: user_id) 2. categories (primary key: category_id) Now, the users may be in different categ

Re: [PHP] Parsing commands to a program

2002-02-02 Thread Liam MacKenzie
Nope, can't get that to work. Any more suggestions? - Original Message - From: "val petruchek" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Saturday, February 02, 2002 8:58 PM Subject: Re: [PHP] Parsing commands to a program > > Hello, > > > > I was wondering, how would I pas

Re: [PHP] Can this be done in PHP?

2002-02-02 Thread S.Murali Krishna
Based on the GET_VARS you can identify the image and do some mapping stuffs to get the sitename. Then you can construct your header accordingly with 'Location:' parameter to view that site. On Fri, 1 Feb 2002, Lazor, Ed wrote: > I'm trying to understand how this banner exchange works

Re: [PHP] Parsing commands to a program

2002-02-02 Thread val petruchek
> Hello, > > I was wondering, how would I pass commands to a program and print the > results on my screen? > For instance, to add an FTP user the command would be: > "pure-pw useradd joeblow -u ftpuser -d /home/joeblow" > How would I make a php script do that and display it's output when it's > do

[PHP] script running under certain user

2002-02-02 Thread val petruchek
Hello, php-world! I know my question a little offtopic;), but: we have apache running under user "nobody". now we want to change this user to another one on certain folder. We want php to run under this new user. We cannot change set httpd.conf to do it. can anyone give an example of such sol

[PHP] Parsing commands to a program

2002-02-02 Thread Liam MacKenzie
Hello, I was wondering, how would I pass commands to a program and print the results on my screen? For instance, to add an FTP user the command would be: "pure-pw useradd joeblow -u ftpuser -d /home/joeblow" How would I make a php script do that and display it's output when it's done? Thanks, Li