RE: [PHP] bulk e-mails

2001-10-02 Thread Jack Dempsey
check out the archives and google--there's lots of info on things like qmail,ezmlm, and the topic of bulk emails jack -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 11:05 PM To: PHP-General Subject: [PHP] bulk e-mails Hello everyone,

Re: [PHP] bulk e-mails

2001-10-02 Thread Mukul Sabharwal
Hi, Well to reach the customers, each and every, you would have to send it to each and everybody, very simple. Ofcourse, it's not the most nice job the server can do, but your emails say 20K each, and 10,000 users, isn't a very rough job. You could essentially loop through the user record and s

Re: [PHP] Restrict where PHP is Usable?

2001-10-02 Thread Mukul Sabharwal
Hi, Take a look at the ScriptAlias directive of the Apache webserver. I'm not sure how other webservers limit execution, but apache does it using that directive. http://httpd.apache.org/docs/ http://httpd.apache.org/docs/misc/security_tips.html http://httpd.apache.org/docs/vhosts/mass.html Hope

Re: [PHP] Sockets on FreeBSD Mac OS X

2001-10-02 Thread Mukul Sabharwal
Hi, A bind error means that the port is being used by another application, incase that's incorrect you can assure yourself by doing this : socket_setopt(listener, SOL_SOCKET, SO_REUSEADDR, 1); This function is undocumented (yet) and would require you to download the latest version from CVS. Ho

Re: [PHP] Sockets on FreeBSD Mac OS X

2001-10-02 Thread Mukul Sabharwal
Oops, socket_setopt($listener, SOL_SOCKET, SO_REUSEADDR, 1); = * Know more about me: http://www.geocities.com/mimodit * __ Do You Yahoo!? Listen to your Yahoo! Mail messages from

RE: [PHP] Mirroring Website

2001-10-02 Thread Jon Shoberg
Nope, teh pages are actually hosted on a (gasp ...) NT machine. I need something that will suck down and write out a pure static .html mirror of an ASP/PHP driven website. WGET will surely mirror everything but not re-structure the internal links within the pages. Might be time to write my own

[PHP] Re: no of files in a folder....

2001-10-02 Thread Richard Lynch
You could probably http://php.net/exec some kind of shell script to do it. Or, something not unlike this: # Untested code: function count_files($directory){ static $count; if (!isset($count)){ $count = 0; } $dir = opendir($directory); while ($path = readdir($dir)){

[PHP] Re: next maintenance release?

2001-10-02 Thread Richard Lynch
Check php-dev archives. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Eugene Lee <[EMAIL

[PHP] Re: ImageColorAt()

2001-10-02 Thread Richard Lynch
What values are you passing to it?... Be sure you have a valid image before you call ImageColorAt and that you are passing integers for the x/y values. If it still crashes, follow the directions at http://bugs.php.net to get a backtrace... -- WARNING [EMAIL PROTECTED] address is an endangered s

[PHP] Re: PHP attempting to parse non-existent files

2001-10-02 Thread Richard Lynch
Your settings in httpd.conf to convince Apache to use PHP on .html files does not correctly "pass the buck" to the error-handling in Apache... Post your php-related and error-related settings in httpd.conf -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wan

[PHP] Re: Free hosts, or Temp account...some thing

2001-10-02 Thread Richard Lynch
http://php.net/hosts.php or http://hosts.php.net or somesuch is a database of hosts, some free, some cheap... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: htt

Re: [PHP] Sockets on FreeBSD Mac OS X

2001-10-02 Thread Brad Hubbard
On Wed, 3 Oct 2001 02:02, Devon Weller wrote: > Has anyone successfully gotten socket functions to work with FreeBSD? > More specifically, Mac OS X? > > I always get the following error: Can't bind to port 12345, exiting. > > The script works fine on Linux machines. Is there a patch in the works

[PHP] Re: PostgreSQL connection problems

2001-10-02 Thread Richard Lynch
You also can get rid of all those .'s pg_connect("host=$dbHost port=$dbPuerto dbname=$dbDB user=$dbLogin password=$dbPassword"); -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Voluntee

[PHP] Re: Help - error loading PHP into Apache

2001-10-02 Thread Richard Lynch
You probably don't need mm if you're not using SSL... It's also possible that PHP isn't finding MM properly without jumping through whatever hoops it does for SSL... At any rate, you didn't get MM, I guess... You might have ended up with a lib_mm.so that you can AddModule in httpd.conf, but I d

[PHP] Re: Problem with file permissions within my PHP document when running on an Apache web server

2001-10-02 Thread Richard Lynch
You'll need to use suExec to wrap around PHP. http://apache.org will have docs on suexec. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/v

[PHP] Re: Warning: offset not contained in string

2001-10-02 Thread Richard Lynch
You probably have a missing ' mark... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Pavel

[PHP] Re: MySQL - Selecting Unique Entries

2001-10-02 Thread Richard Lynch
I've never heard of select distinct not working... Is that the exact SQL you are using? -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/vol

[PHP] Re: Reading STDIN from within the program

2001-10-02 Thread Richard Lynch
http://php.net/fopen -- If filename is one of "php://stdin", "php://stdout", or "php://stderr", the corresponding stdio stream will be opened. (This was introduced in PHP 3.0.13; in earlier versions, a filename such as "/dev/stdin" or "/dev/fd/0

[PHP] Re: Globals and HTTP_SESSION_VARS variables.

2001-10-02 Thread Richard Lynch
You should be able to compare $var with $HTTP_SESSIN_VARS['var'] to figure out what you want... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.

[PHP] Re: Bug #13451 Updated: no images ;( (fwd)

2001-10-02 Thread Richard Lynch
Check the output from your configuration... Various files such as config.log and config.cache and whatnot may have specific info about GD and/or its failure to get included in your compilation. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me o

[PHP] Re: sock prob

2001-10-02 Thread Richard Lynch
Like, does Windows even do those kind of low-level sockets?... If so, you can file a bug report at http://bugs.php.net -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little

[PHP] Re: Php-Gtk.....does it work ever?

2001-10-02 Thread Richard Lynch
I've seen it work in a demo, so it must... You probably should try the [EMAIL PROTECTED] mailing lists... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http:/

[PHP] Re: Please help - debug.log

2001-10-02 Thread Richard Lynch
>I've attached the debug.log which was created while I was installing PHP >onto my 400MHz Pentium PC, running Linux (and DOS on another partition) with >a MySQL database and an Apache web server. >Please can you help. >When testing to view a PHP file requesting phpinfo( ) on the Netsacpe >browser,

[PHP] Re: Newbie But Urgent

2001-10-02 Thread Richard Lynch
PHP and MySQL go together hand-in-hand to do what you want. ASP and PHP are equally easy for what you want, but PHP has way more features and 3rd party support, and runs on a stable platform... If you plan on sticking with Win98/2K, though, and never expect to move to a stable Un*x environment,

[PHP] Re: Restrict where PHP is Usable?

2001-10-02 Thread Richard Lynch
httpd.conf php_value Engine Off or somesuch... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - Fr

[PHP] Re: XML and PHP

2001-10-02 Thread Richard Lynch
You can almost for sure alter the XML doc and write it out again... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Orig

[PHP] Re: scoping: can someone explain to me if this should/should not work?

2001-10-02 Thread Richard Lynch
You'd have to show the processing in getDomain for anybody to guess... Which values of $SERVER_NAME make it crash?... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little

[PHP] Re: All domains

2001-10-02 Thread Richard Lynch
You can interface to various "WhoIs" servers/forms, starting on some .ru sites, read in those sites looking for other sites with those TLDs... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artis

[PHP] Re: HELP!

2001-10-02 Thread Richard Lynch
"nobody" can't su to a real user without their password, and su requires a REAL TTY to get in a password, almost for sure, and you just can't do it that way... Make a nobody-executable shell script to do grabdb... Be aware that then anybody on your server can do grabdb whenever they want... --

[PHP] Re: Strange File write Problem

2001-10-02 Thread Richard Lynch
What's in $free?... How about checking some error codes? http://php.net/fputs -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.ht

[PHP] Re: images no appearing

2001-10-02 Thread Richard Lynch
Older versions of GD will do GIF, but not JPEG, and vice versa... What versions of GD are on the two servers? -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: ht

[PHP] Re: Installation Problem :PHP 4.06 + NT4 Server + Service Pack 6

2001-10-02 Thread Richard Lynch
Which DLLs are you loading? I think many of them have not been made thread-safe by the volunteers who wrote them... Start with no DLLs loaded, and then add them one-by-one and pound on the server. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help

[PHP] Re: Problems with virtual() => request execution failed

2001-10-02 Thread Richard Lynch
virtual doesn't work under CGI. You need to use http://php.net/exec or system or whatever. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/

[PHP] Re: Incorrect output or RSYNC with exec();

2001-10-02 Thread Richard Lynch
Wild Guess: http://php.net/clearstatcache -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From:

[PHP] Re: Sockets on FreeBSD Mac OS X

2001-10-02 Thread Richard Lynch
Wild Guess: Your OS is configured to not allow "nobody" to bind port 12345, and PHP is running within Apache as "nobody"... Check out what sort of limitations are put upon users binding ports... If I was a real Un*x guru, I'd even know what command tells you that... :-| -- WARNING [EMAIL PROTE

[PHP] Re: time limt

2001-10-02 Thread Richard Lynch
file() won't let you set the time-out... But http://php.net/fopen will. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

[PHP] Re: help please Sybase Result Paging.

2001-10-02 Thread Richard Lynch
You probably need to use a "cursor" -- Check out Sybase docs for how they work. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.ht

[PHP] Re: ereg expr guru

2001-10-02 Thread Richard Lynch
http://php.net/strtok -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Dave Vanauken <[EMAIL

[PHP] Re: execute remote CGI without redirect

2001-10-02 Thread Richard Lynch
http://php.net/fopen Use the URL of their site. Or even http://php.net/file -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm --

[PHP] Re: How to install PHP to do the function mail work

2001-10-02 Thread Richard Lynch
Error messages? Settings in php.ini? Windows? Un*x? OS X? Source code? -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm --

[PHP] Re: fopen !!!

2001-10-02 Thread Richard Lynch
If you are worried about this, you should probably use a database which will take care of this for you... It is possible to use http://php.net/flock to lock the file, pretty much like the example in the manual, and then 4999 users will have to wait until the one editor is finished... You'll stil

[PHP] Re: PHP and GD

2001-10-02 Thread Richard Lynch
What value is $im? Is it a valid image? Check error codes. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Me

[PHP] Re: problem about ereg function

2001-10-02 Thread Richard Lynch
You really shouldn't be storing a PHP variable in your database... Too easy for a hacker to get some bad PHP into it. You could mess with http://php.net/eval maybe. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD:

[PHP] Re: ftp

2001-10-02 Thread Richard Lynch
Read php.ini -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Eduardo Kokubo <[EMAIL PROTECT

[PHP] Re: image upload problems (diff. file size after upload)

2001-10-02 Thread Richard Lynch
#1 Upgrade PHP. #2 Try comparing the files in a text-editor. You may be able to strip out the extra stuff at the top as an interim measure. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artis

[PHP] Re: Having trouble using get_browser() function

2001-10-02 Thread Richard Lynch
#1. Did you download a nice big browscap.ini instead of that empty one that comes with PHP?... #2. Are you aware that $HTTP_USER_AGENT has the Browser in it, without the complications of get_browser and browscap.ini? #3. You do realize that get_browser() only tells you what a browser is theor

[PHP] help! linux 7 problems

2001-10-02 Thread rg
hi, i installed php4 onto my linux 7.0 system along with apache and mysql. the apache and mysql work. once i did 'make install' for php, i changed the http.conf file in apache so that the AddType lines were uncommented out and the file extensions should be recongized. i've done this on windows

[PHP] Re: php4.0.6 over W2000 + SQLServerEnterprise2000

2001-10-02 Thread Richard Lynch
Far too many variables for any meaningful numbers... RAM? HD? CPU? DBsize?... In short, you're going to have to try it out and see for yourself, really. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i

[PHP] Re: ImageColorAt()

2001-10-02 Thread ReDucTor
The script had been tested on a few *nix system, they all worked, hell see the threads that have kewl script inside them :D - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Reductor" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 03, 2001 12:40 PM

[PHP] Re: Free hosts, or Temp account...some thing

2001-10-02 Thread ReDucTor
But that doesn't have an option to search for only free ones...or even in a specific price range - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Reductor" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 03, 2001 12:47 PM Subject: Re: Free hosts,

Re: [PHP] php+apache 2

2001-10-02 Thread Stig Venaas
On Wed, Oct 03, 2001 at 01:32:13AM +0200, Jiri Mikulas wrote: > sapi_apache2.c: In function `php_input_filter': > sapi_apache2.c:248: too many arguments to function `ap_get_brigade' I haven't looked that much at the code, you could perhaps try to simply remove the last parameter... Not sure how w

[PHP] Re: Sessions Variables and refresh pages

2001-10-02 Thread Philippe Saladin
is your web server a Microsoft one (IIS, PWS, ...) ? I'm not sure, but I think there is a known problem with them if you set a session variable and do a redirect in the same page. Can anyone confirm this ? Philippe "Karina Gómez Salgado" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL

RE: [PHP] named anchors and query strings

2001-10-02 Thread Ralph Guzman
Never had to do this, however I would think the correct way to be: try it. -Original Message- From: Scott Mebberson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 4:53 PM To: [EMAIL PROTECTED] Subject: [PHP] named anchors and query strings Hi Guys, How do you reference bot

[PHP] retrieving info from a berkley db 3.0.11 ldbm databse..

2001-10-02 Thread Sovan_Shatpathy
Hi all ... I am an absolute newbie to php ... Here i am looking at wririting a script in php which can do a search in my berkley db 3.0.11 database and retrieve the required information ... In order to do the same which set of functions are supported .. is it that the functions

RE: [PHP] named anchors and query strings

2001-10-02 Thread Philip Olson
Here's an example : http://www.php.net/manual/en/configuration.php?foo=bar#ini.include-path It works. Regards, Philip Olson On Tue, 2 Oct 2001, Ralph Guzman wrote: > Never had to do this, however I would think the correct way to be: > > > > try it. > -Original Message- > From:

Re: [PHP] Re: Detecting user logout.

2001-10-02 Thread nayco
Well, I personnally use a SQL db into which I insert some information about the connected users (IP,LOGIN if member or "visitor" if not, MD5 session id -'cause I cannot use PHP4 sessions, my provider's got php3 - and unix epoch DATE). Each time a user sees a page, this user's DATE field is updated

Re: [PHP] Re: Free hosts, or Temp account...some thing

2001-10-02 Thread Philip Olson
sounds like it's time to repartition your HD, or get a new HD, or linux box ... install a flavor of linux and try it out locally. in the long run, this will be the most fun anyways :-) Regards, Philip Olson On Wed, 3 Oct 2001, ReDucTor wrote: > But that doesn't have an option to search for

RE: [PHP] Creating mailaccounts

2001-10-02 Thread Ralph Guzman
This is somewhat dependant on the email server (MTA) you are running and how it is set to authenticate users. If using linux/unix, sometimes all that is required is for you to create an account is to add the entry in the /etc/passwd, and create a home directory. This you can easily do with a PHP a

Re: [PHP] Sessions, sessions, sessions...

2001-10-02 Thread Papp Gyozo
session_register() registers the _global_ variable named by it with the current session. So if these globals are not set, you 're out of luck, I think. - Original Message - From: "Bradley Goldsmith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 3:13 AM Subjec

<    1   2