[PHP] Problems with imap_open()

2006-02-14 Thread PJ
Hello everybody, I have problem with imap_open(). I've tried google - so I know, that many people have problem with this function - but I think that my problem is a little bit different or I haven't found any working answer :o( So I'm tring this forum... Please help me, if you can. My

RE: [PHP] Complications when sending HTML email

2006-02-14 Thread Weber Sites LTD
Did you put this in your headers? MIME-Version: 1.0\r\nContent-Type: text/html; charset=iso-8859-1\r\n ? mail([EMAIL PROTECTED],HTML TEST,HTMLBODYBTest/B/BODY/HTML,MIME-Version: 1.0\r\nContent-Type: text/html; charset=iso-8859-1\r\nFrom:[EMAIL PROTECTED]); ? Sincerely berber Visit the

RE: [PHP] Complications when sending HTML email

2006-02-14 Thread Peter Lauri
Does not work. http://www.zend.com/zend/spotlight/sendmimeemailpart1.php?article=sendmimeem ailpart1kind=slid=3148open=1anc=0view=1 tells me that I should put 'three newlines between the Content-Transfer-Encoding and the start of the section.' But still that does not work, hrm. Anyone with a

[PHP] Re: What's a Blog?

2006-02-14 Thread Brice
On 2/13/06, Sam Smith [EMAIL PROTECTED] wrote: I have a client who wants to blog or he wants a blog on his website. I don't know anything about these blogs except it's sort of a fad I think. Isn't a blog just a simple web form with a big textarea on the blogger's side writing to a database

Re: [PHP] Complications when sending HTML email

2006-02-14 Thread Jochem Maas
Peter Lauri wrote: Does not work. http://www.zend.com/zend/spotlight/sendmimeemailpart1.php?article=sendmimeem ailpart1kind=slid=3148open=1anc=0view=1 tells me that I should put 'three newlines between the Content-Transfer-Encoding and the start of the section.' But still that does not work,

RE: [PHP] Complications when sending HTML email

2006-02-14 Thread Weber Sites LTD
It works for me :) I tested it before mailing you the answer. I have no idea what could be causing the problem. berber -Original Message- From: Peter Lauri [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 11:51 AM To: 'Weber Sites LTD'; php-general@lists.php.net Subject:

[PHP] Hardened patch and Zend optimizer

2006-02-14 Thread Dan Rossi
hi there i was wondering if anyone has an update to if the zend optimizer will work with the hardened patch installed ? From my understanding closed source extensions arent possible, but maybe they fix this ? Let me know. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] memory leak when referencing associative arrays

2006-02-14 Thread Jochem Maas
Gonzalo MC wrote: Hi all, I'm having some pain with this process. I'll try to explain it well, my english is little bad... :-) ... Does the php garbage collector keep track of uncollectable objects / zvals as python gc does? It is some way to freed some memory I know it should be really

Re: [PHP] What's a Blog?

2006-02-14 Thread Duncan Hill
On Monday 13 February 2006 21:55, Sam Smith wrote: I have a client who wants to blog or he wants a blog on his website. I don't know anything about these blogs except it's sort of a fad I think. Isn't a blog just a simple web form with a big textarea on the blogger's side writing to a

Re: [PHP] Re: What's a Blog?

2006-02-14 Thread Paul
errr Firstly blogging is not a fad, there are over 100 million blogs on the net today secondly. wordpress is extremely popular www.wordpress.org and thirdly its free regards Paul Kain www.BlogMad.net On 2/14/06, Brice [EMAIL PROTECTED] wrote: On 2/13/06, Sam Smith [EMAIL PROTECTED]

Re: [PHP] Class/functions question

2006-02-14 Thread Jochem Maas
Paul Goepfert wrote: I was able to get part of my page to load when I created the Validation class and put a call to the validation class within my table. When I did that the page loaded up until the php code to call the method and then it does not load the rest of the page.Can anyone help

Re: [PHP] [HS] IDE PHP on Linux...

2006-02-14 Thread David BERCOT
Hi, Finally, I discovered that I need to have PHP and Apache on my computer in order than Eclipse may give me auto-complete... No you don't. Eclipse does code completion out-of-the-box w/out installing additional software. Check your Preferences. If I check 'Preferences', then 'PHP

[PHP] Blogger post failed?

2006-02-14 Thread Jay Blanchard
Is anyone else getting these messages? Very annoying. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] doubt in mail() in php

2006-02-14 Thread Angelo Zanetti
check your SMTP settings in yout PHP.ini file. Please dont post the same topic multiple times.. Jochem Maas wrote: suresh kumar wrote: this is my code if(@mail('[EMAIL PROTECTED]','subject','hai this is the test','[EMAIL PROTECTED]')): print mail sent succesfully;

[PHP] Problem with php.ini and include_path

2006-02-14 Thread George Pitcher
Hi, I have compiled php-5.1.2 with apache on Debian and have a problem with the include_path. My configure was './configure' '--with-mysql' '--with-pear' '--with-apxs' '--with-config-file-path=/usr/local/lib'. php.ini is in '/usr/local/lib' and phpinfo tells me that php.ini is in

[PHP] Re: Blogger post failed?

2006-02-14 Thread Barry
Jay Blanchard wrote: Is anyone else getting these messages? Very annoying. Sometimes. Proably the server is reaching its limits :P Barry -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Problem with php.ini and include_path

2006-02-14 Thread Jochem Maas
George Pitcher wrote: Hi, I have compiled php-5.1.2 with apache on Debian and have a problem with the include_path. My configure was './configure' '--with-mysql' '--with-pear' '--with-apxs' the '--with-apxs' suggest your probably running php as an apache module, if so then you'll need to

RE: [PHP] Problem with php.ini and include_path

2006-02-14 Thread George Pitcher
George Pitcher wrote: Hi, I have compiled php-5.1.2 with apache on Debian and have a problem with the include_path. My configure was './configure' '--with-mysql' '--with-pear' '--with-apxs' the '--with-apxs' suggest your probably running php as an apache module, if so then you'll

Re: [PHP] Blogger post failed?

2006-02-14 Thread Kevin Kinsey
Jay Blanchard wrote: Is anyone else getting these messages? Yes. Very annoying. Yes. Barry wrote: ] Sometimes. ] Proably the server is reaching its limits :P Seems doubtful; if I read the headers correctly, this list is managed by ezmlm, which means it's running on a qmail server,

Re: [PHP] Blogger post failed?

2006-02-14 Thread Dan McCullough
Got one yesterday, was very odd. On 2/14/06, Kevin Kinsey [EMAIL PROTECTED] wrote: Jay Blanchard wrote: Is anyone else getting these messages? Yes. Very annoying. Yes. Barry wrote: ] Sometimes. ] Proably the server is reaching its limits :P Seems doubtful; if I read the

Re: [PHP] What's a Blog?

2006-02-14 Thread Kim Christensen
On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote: WordPress is free, has a neat WYSIWYG editor in version 2, and has a good support community. 5 minutes to install vs an hour to code a basic interface - I'd take the 5 minutes :p That being said, get lost from the PHP user list! :-) -- Kim

Re: [PHP] What's a Blog?

2006-02-14 Thread Duncan Hill
On Tuesday 14 February 2006 16:18, Kim Christensen wrote: On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote: WordPress is free, has a neat WYSIWYG editor in version 2, and has a good support community. 5 minutes to install vs an hour to code a basic interface - I'd take the 5 minutes :p

Re: [PHP] Problem with php.ini and include_path

2006-02-14 Thread Jochem Maas
George Pitcher wrote: George Pitcher wrote: Hi, I have compiled php-5.1.2 with apache on Debian and have a problem with the include_path. My configure was './configure' '--with-mysql' '--with-pear' '--with-apxs' the '--with-apxs' suggest your probably running php as an apache module,

Re: [PHP] What's a Blog?

2006-02-14 Thread Dan McCullough
Or code and give back to the project On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote: On Tuesday 14 February 2006 16:18, Kim Christensen wrote: On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote: WordPress is free, has a neat WYSIWYG editor in version 2, and has a good support community. 5

Re: [PHP] phpinfo returns a permission error

2006-02-14 Thread Dave M G
So, what does this say: $umask It says: 0022 and this: $ ls -l /home/dave/web_sites/phpinfo.php It says: -rw--- 1 dave dave 20 2006-02-13 22:45 /home/dave/web_sites/phpinfo.php and are you using the browser to view the file via a server (e.g., the browser address bar says

Re: [PHP] memory leak when referencing associative arrays

2006-02-14 Thread Gonzalo MC
Hi Jochem, Thank you very much for your reply! Your reply lend me this morning to had a look again at the code, and I have solved more than half of the trouble caused by a leak on a PhpGtk function! :-) Sorry for the more long reply than it should be, but I hope you'll have the time to

Re: [PHP] memory leak when referencing associative arrays

2006-02-14 Thread Gonzalo MC
Hi Jochem, Thank you very much for your reply! Your reply lend me this morning to had a look again at the code, and I have solved more than half of the trouble caused by a leak on a PhpGtk function! :-) Sorry for the more long reply than it should be, but I hope you'll have the time to

[PHP] web database template

2006-02-14 Thread reiner
Hello friend I am new in PHP and Mysql a have a good background in sql server I need to create a mysql database but I am new in web application so can you help me to find a database template in mysql? I do not have to much time. Kind regards Reiner -- PHP General Mailing List

RE: [PHP] web database template

2006-02-14 Thread Jay Blanchard
[snip] I am new in PHP and Mysql a have a good background in sql server I need to create a mysql database but I am new in web application so can you help me to find a database template in mysql? I do not have to much time. [/snip] Your question is much too broad, can you narrow it down? --

[PHP] Strange response to MySQL query

2006-02-14 Thread tedd
Hi gang: I'm trying to dump a BLOB into a file for subsequent processing. To do this I'm using the query statements: $dbQuery = SELECT image ; $dbQuery .= FROM flowers ; $dbQuery .= WHERE image_Id=$pic_id ; $dbQuery .= INTO DUMPFILE '/tmp/test.jpg' ; But, it generates an Access denied..

Re: [PHP] memory leak when referencing associative arrays

2006-02-14 Thread Jochem Maas
Gonzalo MC wrote: Hi Jochem, Thank you very much for your reply! no problem :-) Your reply lend me this morning to had a look again at the code, and I have solved more than half of the trouble caused by a leak on a PhpGtk function! :-) Sorry for the more long reply than it should be,

Re: [PHP] web database template

2006-02-14 Thread mattias
Quoting reiner [EMAIL PROTECTED]: Hello friend I am new in PHP and Mysql a have a good background in sql server I need to create a mysql database but I am new in web application so can you help me to find a database template in mysql? I think you're asking how you can get the table

Re: [PHP] web database template

2006-02-14 Thread Jochem Maas
reiner wrote: Hello friend I am new in PHP and Mysql a have a good background in sql server I wouldn't have guessed you could put 'good' and 'sql server' in the same sentence without sarcasm - shows what I know. ;-) I need to create a mysql database but I am new in web application so can you

[PHP] [JOB] PHP Developer, Seattle, WA | 50-80k | Relocation OK

2006-02-14 Thread Beau Gould
PHP Developer, Seattle, WA | 50-80k | Relocation OK Paid relocation (to 5k) MUST BE US CITIZEN OR GC HOLDER (NO H1, NO OFFSHORE PLEASE) My client is one of the fastest growing providers of online registration and event management software. They create innovative web products that help event

Re: [PHP] memory leak when referencing associative arrays

2006-02-14 Thread Gonzalo MC
Jochem Maas escribió: Gonzalo MC wrote: Hi Jochem, Thank you very much for your reply! no problem :-) Your reply lend me this morning to had a look again at the code, and I have solved more than half of the trouble caused by a leak on a PhpGtk function! :-) Sorry for the more long

Re: [PHP] memory leak when referencing associative arrays

2006-02-14 Thread Gonzalo MC
Gonzalo MC escribió: Jochem Maas escribió: Gonzalo MC wrote: Hi Jochem, Thank you very much for your reply! no problem :-) Your reply lend me this morning to had a look again at the code, and I have solved more than half of the trouble caused by a leak on a PhpGtk function! :-)

[PHP] Finding out DPI using GD

2006-02-14 Thread Karuna
Hi. Is it possible to find out the dpi of an image (preferably jpeg) in php? I can't seem to find any function to do this. Cheers, Karuna. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Routing downloads through PHP

2006-02-14 Thread J_K9
Hi, I'm currently learning PHP, and I'd like to put it into practice to help me learn. I want to make a download script so that if the value of a certain variable is '1', the first download is selected, if it's '2', the second is selected, and so on... But, all the time, the download

Re: [PHP] Routing downloads through PHP

2006-02-14 Thread J_K9
Hi, Thanks for replying. Here's the code I put into download.php: - ? $fileid = $_GET['file_id']; $filearray = array( a0=data/download1.zip, a1=data/download2.zip); $location = $filearray['a'.$fileid]; if($location!='') { header(LOCATION: $location); } ?

[PHP] Regular expression

2006-02-14 Thread Patrick
Hi, I am trying to validate a password, but havent figured out the pattern for it yet. The password must contain atleast 6 characters a-zA-Z0-9_ must start with a a-zA-Z and must have atleast one of the following characters !#%$£ correct passwords would be: a#aAb08 Plkpod! t09_#8T U_p#q#Pq i

Re: [PHP] phpinfo returns a permission error

2006-02-14 Thread Kevin Kinsey
Dave M G wrote: and this: $ ls -l /home/dave/web_sites/phpinfo.php It says: -rw--- 1 dave dave 20 2006-02-13 22:45 /home/dave/web_sites/phpinfo.php Well, I'd sure suspect this. PHP/Apache are probably running as nobody, daemon, www, or somesuch, and the permissions on the file

[PHP] Re: Finding out DPI using GD

2006-02-14 Thread M. Sokolewicz
Karuna wrote: Hi. Is it possible to find out the dpi of an image (preferably jpeg) in php? I can't seem to find any function to do this. Cheers, Karuna. you can't find the dpi of an image because that depends on the medium used to display it. If your printer prints it with a dpi of 1000,

RE: [PHP] Routing downloads through PHP

2006-02-14 Thread Shaunak Kashyap
Try putting an ob_start(); at the top of the script. This will start output buffering and buffer all output until the end of the script. You can read more about ob_start() and output control in general at http://us3.php.net/manual/en/function.ob-start.php. Shaunak Kashyap Senior Web Developer

Re: [PHP] Strange response to MySQL query

2006-02-14 Thread Chris
To do this I'm using the query statements: $dbQuery = SELECT image ; $dbQuery .= FROM flowers ; $dbQuery .= WHERE image_Id=$pic_id ; $dbQuery .= INTO DUMPFILE '/tmp/test.jpg' ; But, it generates an Access denied.. error. However, if I comment-out the last line, namely INTO DUMPFILE

Re: [PHP] Regular expression

2006-02-14 Thread Dennis Lahay
Patrick, http://regexlib.com/ is a really good site to find examples of regular expressions. http://regexlib.com/Search.aspx?k=password should get you a bunch of results. Also anything else besides letters and numbers is considered bad password form. D On Feb 14, 2006, at 3:53 PM,

Re: [PHP] Routing downloads through PHP

2006-02-14 Thread Richard Lynch
On Tue, February 14, 2006 3:41 pm, J_K9 wrote: ? $fileid = $_GET['file_id']; $filearray = array( a0=data/download1.zip, a1=data/download2.zip); $location = $filearray['a'.$fileid]; if($location!='') { header(LOCATION: $location); } ? But when I send

Re: [PHP] Finding out DPI using GD

2006-02-14 Thread Richard Lynch
On Tue, February 14, 2006 2:15 pm, Karuna wrote: Hi. Is it possible to find out the dpi of an image (preferably jpeg) in php? I can't seem to find any function to do this. http://php.net/getimagesize However, I have found that: 1. EXIF data in the JPEG will make it puke. 2. It doesn't seem

Re: [PHP] Strange response to MySQL query

2006-02-14 Thread Richard Lynch
On Tue, February 14, 2006 11:50 am, tedd wrote: Hi gang: I'm trying to dump a BLOB into a file for subsequent processing. To do this I'm using the query statements: $dbQuery = SELECT image ; $dbQuery .= FROM flowers ; $dbQuery .= WHERE image_Id=$pic_id ; $dbQuery .= INTO DUMPFILE

RE: [PHP] Problem with php.ini and include_path

2006-02-14 Thread Richard Lynch
http://php.net/set_include_path .htaccess php_value include_path .:/whatever/you/want/here Also, you are comparing the output of php CLI which may or may not be the same as --with-apxs compilation, especially if you have an *OLD* CLI php sitting around... From the command line, compare: which

Re: [PHP] Routing downloads through PHP

2006-02-14 Thread J_K9
(Reply beneath quotes) Richard Lynch wrote: On Tue, February 14, 2006 3:41 pm, J_K9 wrote: ? $fileid = $_GET['file_id']; $filearray = array( a0=data/download1.zip, a1=data/download2.zip); $location = $filearray['a'.$fileid]; if($location!='') { header(LOCATION: $location);

Re: [PHP] Finding out DPI using GD

2006-02-14 Thread Karuna
Thanks. I might give the new versions a try :) IIRC, I think the unix exif function returns dpi as well but I'm working on a windows machine without cygwin, so can't be certain. Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tue, February 14, 2006 2:15 pm, Karuna

Re: [PHP] Problems with imap_open()

2006-02-14 Thread Richard Lynch
On Tue, February 14, 2006 2:13 am, PJ wrote: Hello everybody, I have problem with imap_open(). I've tried google - so I know, that many people have problem with this function - but I think that my problem is a little bit different or I haven't found any working answer :o( So I'm tring this

Re: [PHP] Strange response to MySQL query

2006-02-14 Thread tedd
Chris and Richard: I think you both hit the nail on the head. After a few more hours of looking, reading, coding, and getting the same Access denied.. error, I think I see what's happening (besides having a headache). It appears that my code has the permission to do what it wants, but I

Re: [PHP] Routing downloads through PHP

2006-02-14 Thread Curt Zirzow
On Tue, Feb 14, 2006 at 09:02:50PM +, J_K9 wrote: Hi, I'm currently learning PHP, and I'd like to put it into practice to help me learn. I want to make a download script so that if the value of a certain variable is '1', the first download is selected, if it's '2', the second is

Re: [PHP] Downloading very large files

2006-02-14 Thread Curt Zirzow
On Mon, Feb 13, 2006 at 03:27:32PM -0700, Jonathan Duncan wrote: I have an application that delivers files to the client browser. These files a very large video files. 250mb+ each. I have two options: 1) I could have PHP deliver the file with fread, or 2) I could have PHP present a link

Re: [PHP] Regular expression

2006-02-14 Thread Curt Zirzow
On Tue, Feb 14, 2006 at 10:53:17PM +0100, Patrick wrote: Hi, I am trying to validate a password, but havent figured out the pattern for it yet. The password must contain atleast 6 characters a-zA-Z0-9_ must start with a a-zA-Z and must have atleast one of the following characters !#%$�

Re: [PHP] web database template

2006-02-14 Thread Curt Zirzow
On Tue, Feb 14, 2006 at 06:55:57PM +0100, Jochem Maas wrote: reiner wrote: I need to create a mysql database but I am new in web application so can you help me to find a database template in mysql? what is a database template? I think he is looking for the MS ACCESS pubs db. Curt. --

Re: [PHP] Class/functions question

2006-02-14 Thread Paul Goepfert
Does anyone know where I can find the error log? I am using php on a webserver and the only log I found was a connection log in the logs dir on my webserver. Paul On 2/14/06, Jochem Maas [EMAIL PROTECTED] wrote: Paul Goepfert wrote: I was able to get part of my page to load when I created

[PHP] make test failures

2006-02-14 Thread Chris
Hi all, I'm recompiling php 5.1.2 on an up-to-date fedora core 4 system and pretty much every test is failing when I run 'make test'. I figure it's a server issue but I have no idea where to start looking. Any ideas? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] make test failures

2006-02-14 Thread Kevin Waterson
This one time, at band camp, Chris [EMAIL PROTECTED] wrote: Hi all, I'm recompiling php 5.1.2 on an up-to-date fedora core 4 system and pretty much every test is failing when I run 'make test'. I figure it's a server issue but I have no idea where to start looking. make test asks you do

Re: [PHP] make test failures

2006-02-14 Thread Chris
I'm recompiling php 5.1.2 on an up-to-date fedora core 4 system and pretty much every test is failing when I run 'make test'. I figure it's a server issue but I have no idea where to start looking. make test asks you do you want to send a mail, answer yes I thought someone might've seen

Re: [PHP] Problems with imap_open()

2006-02-14 Thread PJ
Richard Lynch napsal(a): On Tue, February 14, 2006 2:13 am, PJ wrote: Hello everybody, I have problem with imap_open(). I've tried google - so I know, that many people have problem with this function - but I think that my problem is a little bit different or I haven't found any working answer

Re: [PHP] Finding out DPI using GD

2006-02-14 Thread Kim Christensen
On 2/15/06, Karuna [EMAIL PROTECTED] wrote: Thanks. I might give the new versions a try :) IIRC, I think the unix exif function returns dpi as well but I'm working on a windows machine without cygwin, so can't be certain. You might want to check this package: