[PHP] Re: SPAMCEASE ???

2004-07-31 Thread ADFH
> I got the following e-mail from this list. Is this legit? I'm skeptical > because the URL it tells me to click on leads to what looks like a SPAM site > to me. Here's the full e-mail I received with headers: ... > Received: from tgpnexus.com ([66.17.150.83]) by mc3-f36.hotmail.com with > Microsof

Re: [PHP] php4.3.7 + phpBB 2.0.10 + Apache - zero sized replies with

2004-07-31 Thread ADFH
> How was the dump made, mysqldump? PHPMyAdmin? Something else? -- MySQL dump 9.10 - first dump -- MySQL dump 9.11 - second dump (see below) > How are you trying to import it? Command line MySQL? PHPMyAdmin? > Something else? command line (have SSH/SCP/SFTP access) mysql dbname < dumpname.sql

Re: [PHP] php4.3.7 + phpBB 2.0.10 + Apache - zero sized replies with no hits/errors logged by apache

2004-07-31 Thread John Nichel
ADFH wrote: My IHP, Netset, currently went into what I think is Chapter 7. I was stuck without a host for my messageboard.. Someone steps in and offers me a host.. cool.. I have a SQL dump.. I install phpBB, I import the data, I go to log in... I get a zero sized response from apache! Check the err

Re: [PHP] Invisible watermarking / GD2

2004-07-31 Thread Jason Wong
On Sunday 01 August 2004 07:10, Joseph Hill wrote: > I use GD for stamping images with a visible watermark - in this case, a > text string and a tracking number appended to the bottom of each image. > > However, I'd like to embed tracking information (I sometimes see my pics > crop up on mailing l

Re: [PHP] Another problem with grids and checkboxes

2004-07-31 Thread John Holmes
Henri Marc wrote: 1 [snip] 1 Is there a reason you're sending a 1, 2 or 3 value with the checkboxes? You already know what was checked by the keys of the $grid array. I'd leave it similar to how you have it, but just pass 1 for every value (since you won't be needin

[PHP] Another problem with grids and checkboxes

2004-07-31 Thread Henri Marc
Hello, I have another problem with my program. Again! Here it is: I have some grids. To make it simple, let's say I have two grids like this: 1 2 3 1 2 3 Each grid has 3 numbers, 1, 2 and 3. There is grid[1][

RE: [PHP] function similar to to sizeof

2004-07-31 Thread bruce
specifically, i'm looking to return an object using the socket_write(). this requires that i be able to give it the size of the object being passed... if you know of another approach, i'm more than interested... -thanks -Original Message- From: raditha dissanayake [mailto:[EMAIL PROTECT

Re: [PHP] function similar to to sizeof

2004-07-31 Thread raditha dissanayake
bruce wrote: does php have a function similar to the 'C' sizeof function... yep in PHP 5 but it's just an alias for count. i'm looking to copy an object, and i'd like to be able to copy it at the binary level So how about using the clone feature of PHP5 instead of doing this manually. but

[PHP] Still need help with regex function

2004-07-31 Thread C.F. Scheidecker Antunes
Hello, In order to get the filenames from the output below I have tried the following: preg_match_all('/inflating:"(.*?)"/', $stdout, $matches); print_r($matches); return $matches[1]; But I only get empty arrays with it. I need to fix that so I can have the filenames stored on arrays and also ev

[PHP] Invisible watermarking / GD2

2004-07-31 Thread Joseph Hill
Hi I use GD for stamping images with a visible watermark - in this case, a text string and a tracking number appended to the bottom of each image. However, I'd like to embed tracking information (I sometimes see my pics crop up on mailing lists... And they're the ones I see copied!) into the pict

[PHP] function similar to to sizeof

2004-07-31 Thread bruce
does php have a function similar to the 'C' sizeof function... i'm looking to copy an object, and i'd like to be able to copy it at the binary level but i need to be able to determine the size of the object... any thoughts/comments..??? thanks -bruce -- PHP General Mailing List (http://w

[PHP] SPAMCEASE ???

2004-07-31 Thread Monty
I got the following e-mail from this list. Is this legit? I'm skeptical because the URL it tells me to click on leads to what looks like a SPAM site to me. Here's the full e-mail I received with headers: - MIME-Version: 1.0 Received: from tgpnexus.com ([66.17.150.83]) by mc3-f36.hotm

Re: [PHP] mail() function not working

2004-07-31 Thread Justin Patrin
On Sat, 31 Jul 2004 16:15:41 +0100, Robin Wilson <[EMAIL PROTECTED]> wrote: > Hi > > I am not a php programmer but have installed a php based blog. When the php > script tries to use the mail() function it fails. Does the mail function > rely on the sendmail server? Is there a way to make the mail

Re: [PHP] Page load based on logic

2004-07-31 Thread Justin Patrin
On Sat, 31 Jul 2004 01:58:48 -0400, Michael Harding <[EMAIL PROTECTED]> wrote: > Thank you. > > You suggestion will work for some cases. However it doesn't actually load a > different page. Sometime I will need to load a completely new URL instead > of just a local PHP page...ie: www.somepage.co

[PHP] ImageColorAllocate Problem

2004-07-31 Thread Kevin
Hi there, I am having a problem in ImageColorAllocate function. I am using this function in a loop. After some number of looping the function starts returning -1 value. I am attaching my code below. Can any one help me with this? Thanks for reading this far. Kevin. -- PHP General Mailing Lis

[PHP] Re: Mail() not working

2004-07-31 Thread Tularis
Robin Wilson wrote: Hi I get the following error message: Fatal error: Call to undefined function: mail() in /srv/www/htdocs/blog/serendipity_functions.inc.php on line 1394 I have changed my php.ini file to find the correct path to sendmail and to put an option on the end (-f [EMAIL PROTECTED]) to

Re: [PHP] Re: Re: Mail() not working

2004-07-31 Thread Jason Wong
On Sunday 01 August 2004 02:58, Robin Wilson wrote: > I get the following error message: > > Fatal error: Call to undefined function: mail() in google the error message. > What should I do to make this work? Short answer: recompile PHP Long answer: see the results from google and the past discu

[PHP] Re: Re: Mail() not working

2004-07-31 Thread Robin Wilson
Hi I get the following error message: Fatal error: Call to undefined function: mail() in /srv/www/htdocs/blog/serendipity_functions.inc.php on line 1394 I have changed my php.ini file to find the correct path to sendmail and to put an option on the end (-f [EMAIL PROTECTED]) to make the mail com

Re: [PHP] db transactions across multiple pages...

2004-07-31 Thread Curt Zirzow
* Thus wrote bruce: > the method i described gives the user/app a potential way of > establsihing/maintaining/using the same connection thoughout the life of the > web app/session... > > with this approach, one could possible have the 'persistent' conection > handle to the db that i've been talkin

Re: [PHP] Variables not passed to next page

2004-07-31 Thread Andre Dubuc
On Saturday 31 July 2004 02:12 pm, Jason Wong wrote: > On Sunday 01 August 2004 01:40, Andre Dubuc wrote: > > I have attempted to post variables from a simple page: edit-news.php to > > edit-news-x.php, then load them into a session for re-use -- I use output > > buffering. They do not pass. The co

Re: [PHP] Variables not passed to next page

2004-07-31 Thread Jason Wong
On Sunday 01 August 2004 01:40, Andre Dubuc wrote: > I have attempted to post variables from a simple page: edit-news.php to > edit-news-x.php, then load them into a session for re-use -- I use output > buffering. They do not pass. The code: > > > [edit-news] > > > $news = "A few paragraphs"

Re: [PHP] php4.3.7 + phpBB 2.0.10 + Apache - zero sized replies with no hits/errors logged by apache

2004-07-31 Thread ADFH
> Be sure to check common error logs, ie: apache/error_log, > /var/log/messages .. I'll forward this onto the person who admin's the server - I don't have root access, so don't have rights to the log files in question. Other than usual boot messages, dmesg says: sending pkt_too_big (len[1500] pm

[PHP] Variables not passed to next page

2004-07-31 Thread Andre Dubuc
Hi, I have attempted to post variables from a simple page: edit-news.php to edit-news-x.php, then load them into a session for re-use -- I use output buffering. They do not pass. The code: [edit-news] $news = "A few paragraphs"; print ""; print ""; ?> [edit-news-x] ... $_SESSION

Re: [PHP] Re: Sending E-mail From Mail

2004-07-31 Thread Matthew Sims
> Here are the last few lines of my error log: > Egads, dude...nearly went crossed-eyes with all that text. This is completely offtopic and you might want to consult with the sendmail mail list. Setting up mail server is fairly painless but it requires some planning. Mail follows domain names. I

Re: [PHP] mail() function not working

2004-07-31 Thread Matthew Sims
> Hi > > I am not a php programmer but have installed a php based blog. When the > php > script tries to use the mail() function it fails. Does the mail function > rely on the sendmail server? Is there a way to make the mail() function > just > send via an external smtp server? > > Thanks in advanc

RE: [PHP] db transactions across multiple pages...

2004-07-31 Thread bruce
the method i described gives the user/app a potential way of establsihing/maintaining/using the same connection thoughout the life of the web app/session... with this approach, one could possible have the 'persistent' conection handle to the db that i've been talking about... which would then allo

RE: [PHP] db transactions across multiple pages...

2004-07-31 Thread bruce
curt... the method i described allows one to essentially have/maintain persistent connections... -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Saturday, July 31, 2004 8:59 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] db transactions across multiple pages... * Thus

Re: [PHP] php4.3.7 + phpBB 2.0.10 + Apache - zero sized replies with no hits/errors logged by apache

2004-07-31 Thread Curt Zirzow
* Thus wrote ADFH: > > So everything else works fine except phpBB? > > Would seem so - but even if it is phpBB, it shouldn't be able to cause a > fault that would cause apache to completely ignore the hit, no? Be sure to check common error logs, ie: apache/error_log, /var/log/messages .. > > Ie

[PHP] Re: PHP5 Manual in PDF and for Pocket PCs

2004-07-31 Thread Chris Martin
Jason Barnett wrote: As far as I know, no one has done that yet. Although all of the PHP manual pages are written in XML so if you were so inclined you could do it yourself. And I'm sure others would appreciate it if you shared it :) You could use HTMLDoc to convert the html pages to pdf. http:

Re: [PHP] php4.3.7 + phpBB 2.0.10 + Apache - zero sized replies with no hits/errors logged by apache

2004-07-31 Thread ADFH
> So everything else works fine except phpBB? Would seem so - but even if it is phpBB, it shouldn't be able to cause a fault that would cause apache to completely ignore the hit, no? Ie. some barf report should be generated somewhere.. ... I'm trying to figure out: A. Why the same data with sam

Re: [PHP] db transactions across multiple pages...

2004-07-31 Thread Curt Zirzow
* Thus wrote bruce: > yeah... > > i saw that write up. i've also inquired with bugs.mysql as to if/whether > this might be reinserted.. we'll see. You don't need persistant connections with the method you describe. The pool app simply manages multiple connections. Curt -- First, let me assur

Re: [PHP] Means of collecting HTTP response headers

2004-07-31 Thread Curt Zirzow
* Thus wrote Burhan Khalid: > Curt Zirzow wrote: > >* Thus wrote Gerard Samuel: > > > >>On Friday 30 July 2004 01:32 pm, Gerard Samuel wrote: > >> > >>>A means that is not specifically tied to Apache functions. > >>>Just looking for a way so that it works no matter the webserver. > >>> > >> > >>See

Re: [PHP] Means of collecting HTTP response headers

2004-07-31 Thread Burhan Khalid
Curt Zirzow wrote: * Thus wrote Gerard Samuel: On Friday 30 July 2004 01:32 pm, Gerard Samuel wrote: A means that is not specifically tied to Apache functions. Just looking for a way so that it works no matter the webserver. Seems like the function stream_get_meta_data() will fill the job.. hmm..

Re: [PHP] mail() function not working

2004-07-31 Thread raditha dissanayake
Robin Wilson wrote: Hi I am not a php programmer but have installed a php based blog. When the php script tries to use the mail() function it fails. what error message does it produce? Does the mail function rely on the sendmail server? no works with any mta. Is there a way to make the mail() fun

[PHP] mail() function not working

2004-07-31 Thread Robin Wilson
Hi I am not a php programmer but have installed a php based blog. When the php script tries to use the mail() function it fails. Does the mail function rely on the sendmail server? Is there a way to make the mail() function just send via an external smtp server? Thanks in advance Robin --- Out

Re: [PHP] db transactions across multiple pages...

2004-07-31 Thread Tularis
you could write such a thing, in php, yourself aswell... wouldn't be that hard :) - Tul Bruce wrote: yeah... i saw that write up. i've also inquired with bugs.mysql as to if/whether this might be reinserted.. we'll see. that said, it appears that there would need to be an approach similar to the

Re: [PHP] Page load based on logic

2004-07-31 Thread Michael Harding
Huh? I don't understand. Sorry... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php4.3.7 + phpBB 2.0.10 + Apache - zero sized replies with no hits/errors logged by apache

2004-07-31 Thread Jason Wong
On Saturday 31 July 2004 17:41, ADFH wrote: > My IHP, Netset, currently went into what I think is Chapter 7. > I was stuck without a host for my messageboard.. > Someone steps in and offers me a host.. cool.. I have a SQL dump.. > > I install phpBB, I import the data, I go to log in... > I get a ze

RE: [PHP] db transactions across multiple pages...

2004-07-31 Thread bruce
yeah... i saw that write up. i've also inquired with bugs.mysql as to if/whether this might be reinserted.. we'll see. that said, it appears that there would need to be an approach similar to the apache::dbi mod for perl, where you have an app that essentially does connection pooling. in this mod

[PHP] Re: PHP5 Manual in PDF and for Pocket PCs

2004-07-31 Thread Jason Barnett
As far as I know, no one has done that yet. Although all of the PHP manual pages are written in XML so if you were so inclined you could do it yourself. And I'm sure others would appreciate it if you shared it :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] Re: Sending E-mail From Mail

2004-07-31 Thread Jason Wong
On Saturday 31 July 2004 17:19, Ben Chivers wrote: Please trim your posts!! Posting your sendmail.cf TWICE does not help anyone (least of all you, because you'll be annoying the hell out of a lot people). > Here are the last few lines of my error log: What I mean is: have you looked at your ma

[PHP] php4.3.7 + phpBB 2.0.10 + Apache - zero sized replies with no hits/errors logged by apache

2004-07-31 Thread ADFH
My IHP, Netset, currently went into what I think is Chapter 7. I was stuck without a host for my messageboard.. Someone steps in and offers me a host.. cool.. I have a SQL dump.. I install phpBB, I import the data, I go to log in... I get a zero sized response from apache! Check the error logs.. n

[PHP] Re: Sending E-mail From Mail

2004-07-31 Thread Ben Chivers
Here are the last few lines of my error log: Jul 31 10:14:03 server196 sendmail[7274]: i6V9E2Yl007263: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32877, dsn=2.0.0, stat=Sent Jul 31 10:14:03 server196 sendmail[7263]: i6V9E2Yp007263: from=<>, size=3644, class=0, nrcpts=1, msgid=<[EM

Re: [PHP] Re: Sending E-mail From Mail

2004-07-31 Thread Jason Wong
On Saturday 31 July 2004 16:34, Ben Chivers wrote: > I am trying to send e-mail from using the mail function is PHP. My coding > definitely works because I have tried it on other servers. > > I think it is to do with configuration of sendmail. > > The e-mail isn't sent using sendmail. Does anyon

[PHP] Re: Sending E-mail From Mail

2004-07-31 Thread Ben Chivers
Hi, I am trying to send e-mail from using the mail function is PHP. My coding definitely works because I have tried it on other servers. I think it is to do with configuration of sendmail. The e-mail isn't sent using sendmail. Does anyone know how to get around this? I've got root access to m