Re: [PHP] Confirmation email caught by spam filter

2009-05-28 Thread Per Jessen
Ashley Sheridan wrote: > On Thu, 2009-05-28 at 07:45 +0200, Per Jessen wrote: >> Ashley Sheridan wrote: >> >> > I've also seen this happen where the address that the mail was sent >> > from is different from the MX record for the domain the email says >> > it is sent from. The only way round this

[PHP] cURL loop?

2009-05-28 Thread espontaneo
Hello! I am currently working on a script that will scrape data from a property advertising web page. The web page has multiple pages. What I'm getting is only the first page. What I wanted to do is to use curl to scrape all the data from that page. I just learned php so I don't know how I can do

[PHP] mail body not decoded by base64_decode

2009-05-28 Thread vuthecuong
Hi all I'm using below function to send Japanese mail, mail clients such as outlook etc displayed Japanese text withou problems but if I viewed JP mail via web-based mail such as Gmail, the JP subject is normally displayed, however the JP body still base64 encoded strings, it still was not decoded

Re: [PHP] Re: class problem :(

2009-05-28 Thread Luke
2009/5/29 Shawn McKenzie > Luke wrote: > > Right I've read the manual on this and all that so hopefully you find > people > > can help. > > I have an abstract class with three children. The abstract is ForumObject > > and the three children are Thread, Category and Post and each have their > own

Re: [PHP] IE can't download, FF can: SSL ? Need special headers?

2009-05-28 Thread Michael A. Peters
Dee Ayy wrote: Andrea and Ashley, Thanks ladies. Originally, IE claimed that the server wasn't even there (with that wacky IE error). I was lacking headers (which was fine for 6 years prior). The code below is consistent across the 3 browsers I tried (Safari, FF, IE). However, it converts spa

[PHP] Re: class problem :(

2009-05-28 Thread Shawn McKenzie
Luke wrote: > Right I've read the manual on this and all that so hopefully you find people > can help. > I have an abstract class with three children. The abstract is ForumObject > and the three children are Thread, Category and Post and each have their own > table so I wrote the following: > abstr

Re: [PHP] class problem :(

2009-05-28 Thread Nathan Nobbe
On Thu, May 28, 2009 at 4:28 PM, Luke wrote: > Any ideas? Perhaps there is a different way I could implement the classes - > I would rather not have getObjectIds repeated three times! just make the classes instance-based, thats your easiest bet. (sorry for the extra noise) abstract class Forum

Re: [PHP] class problem :(

2009-05-28 Thread Nathan Nobbe
On Thu, May 28, 2009 at 4:28 PM, Luke wrote: > Right I've read the manual on this and all that so hopefully you find > people > can help. > I have an abstract class with three children. The abstract is ForumObject > and the three children are Thread, Category and Post and each have their > own >

[PHP] class problem

2009-05-28 Thread Luke
Right I've read the manual on this and all that so hopefully you fine people can help. I have an abstract class with three children. The abstract is ForumObject and the three children are Thread, Category and Post and each have their own table so I wrote the following: abstract class ForumObject {

[PHP] class problem :(

2009-05-28 Thread Luke
Right I've read the manual on this and all that so hopefully you find people can help. I have an abstract class with three children. The abstract is ForumObject and the three children are Thread, Category and Post and each have their own table so I wrote the following: abstract class ForumObject {

Re: [PHP] Hebrew Directory Names

2009-05-28 Thread Tom Worster
On 5/28/09 3:21 PM, "Nitsan Bin-Nun" wrote: > That's the thing, I do NOT know the encoding of the GET parameters. in which case that preg_replace is _extremely_ risky. > They are not submitting any form, the request is made through a link ( > tag). if you have control over the pages that incl

Re: [PHP] IE can't download, FF can: SSL ? Need special headers?

2009-05-28 Thread Dee Ayy
Andrea and Ashley, Thanks ladies. Originally, IE claimed that the server wasn't even there (with that wacky IE error). I was lacking headers (which was fine for 6 years prior). The code below is consistent across the 3 browsers I tried (Safari, FF, IE). However, it converts spaces to underscore

Re: Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Nathan Nobbe
On Thu, May 28, 2009 at 2:42 PM, Eddie Drapkin wrote: > autoloading doesn't do anything but follow a set of logic rules to decide > what file to require, so it doesn't mess with opcode caches at all. umm.., right, but what do you think happens at the center of that logic ? require / include ca

Re: Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Eddie Drapkin
autoloading doesn't do anything but follow a set of logic rules to decide what file to require, so it doesn't mess with opcode caches at all. On Thu, May 28, 2009 at 4:02 PM, Nathan Nobbe wrote: > On Thu, May 28, 2009 at 9:25 AM, Tony Marston < > t...@marston-home.demon.co.uk > > wrote: > > > > >

Re: [PHP] Re: Displaying images

2009-05-28 Thread Shawn McKenzie
Miller, Terion wrote: > > > Well I have tried Numerous scripts and ways and still can't get the image to > display. > > I have echoed the file and have been able to get the gibberish image code to > display but not a real image, here is my full code if anyone wants to have a > look, I am goin

Re: [PHP] Re: Displaying images

2009-05-28 Thread Miller, Terion
On 5/28/09 2:09 PM, "Bastien Koert" wrote: On Thu, May 28, 2009 at 3:06 PM, Miller, Terion wrote: Well I have tried Numerous scripts and ways and still can't get the image to display. I have echoed the file and have been able to get the gibberish image code to display but not a real

Re: [PHP] PHP, OOP and AJAX

2009-05-28 Thread Nathan Nobbe
On Thu, May 28, 2009 at 5:31 AM, Julian Muscat Doublesin < opensourc...@gmail.com> wrote: > Hi Everyone, > > This is the first time that I am posting in the PHP forum, so hope that I > am > osting in the right place. > > I would like to say that before submitting to this forum I have done some > r

Re: Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Nathan Nobbe
On Thu, May 28, 2009 at 9:25 AM, Tony Marston wrote: > > "Eddie Drapkin" wrote in message > news:68de37340905280801m6964d355l2d6d8ef773f3b...@mail.gmail.com... > > There's a huge difference between laziness and opting in to use an > > incredibly useful (and easy to properly deploy) feature to sa

Re: [PHP] PHP vs ASP.NET

2009-05-28 Thread Nathan Nobbe
On Thu, May 28, 2009 at 1:05 PM, Ashley Sheridan wrote: > .Net does run on Linux servers, through a project called Mono. I've yet > to see it offered by a hosting company yet though. im sure its come a long way since the beginning days, or w/e. but about 3 or 4 years back when i was teaching at

Re: [PHP] Hebrew Directory Names

2009-05-28 Thread Nitsan Bin-Nun
On Thu, May 28, 2009 at 8:37 PM, Tom Worster wrote: > On 5/28/09 2:06 PM, "Nitsan Bin-Nun" wrote: > > > i have tried this: > > > > >> > >> $default_locale = setlocale(LC_ALL, 'en_US.UTF-8'); > >> ini_set('default_charset', 'UTF-8' ); > >> > >> > >> $_GET['folder'] = > >> > preg_replace("/([\xE0

Re: [PHP] Re: Displaying images

2009-05-28 Thread Bastien Koert
On Thu, May 28, 2009 at 3:06 PM, Miller, Terion < tmil...@springfi.gannett.com> wrote: > > > > Well I have tried Numerous scripts and ways and still can't get the image > to display. > > I have echoed the file and have been able to get the gibberish image code > to display but not a real image, he

Re: [PHP] Re: Displaying images

2009-05-28 Thread Miller, Terion
Well I have tried Numerous scripts and ways and still can't get the image to display. I have echoed the file and have been able to get the gibberish image code to display but not a real image, here is my full code if anyone wants to have a look, I am going crossed eyed here. These are j

Re: [PHP] PHP vs ASP.NET

2009-05-28 Thread Ashley Sheridan
On Thu, 2009-05-28 at 14:29 +0100, Lester Caine wrote: > Olexandr Heneralov wrote: > > Hi! > > Guys, you of course, know that ASP.NET becomes more and more popular in the > > world. > > I have a question for everyone: > > Can it happen so that PHP will be replaced with ASP.NET? > > Perhaps when i

Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Ashley Sheridan
On Thu, 2009-05-28 at 16:17 +0300, Olexandr Heneralov wrote: > Hi! > Do not use low-level AJAX. > There are many frameworks for ajax (JQUERY). > Try to use PHP frameworks like symfony, zend framework. They simplify your > work. > > > 2009/5/28 Lenin > > > 2009/5/28 kranthi > > > > > > > > > >

Re: [PHP] PHP ping and exec() hangs apache

2009-05-28 Thread Ashley Sheridan
On Thu, 2009-05-28 at 10:33 +0200, Kamil Walas wrote: > Ashley Sheridan pisze: > > On Wed, 2009-05-27 at 10:25 +0200, Kamil Walas wrote: > >> Hi, > >> > >> I stuck with strange error. I have following code: > >> >> echo 'BEFORE'; > >> echo exec("ping -c1 -w1 1.1.25.38"); > >>

Re: [PHP] Hebrew Directory Names

2009-05-28 Thread Tom Worster
On 5/28/09 2:06 PM, "Nitsan Bin-Nun" wrote: > i have tried this: > > > >> $default_locale = setlocale(LC_ALL, 'en_US.UTF-8'); >> ini_set('default_charset', 'UTF-8' ); >> >> >> $_GET['folder'] = >> preg_replace("/([\xE0-\xFA])/e","chr(215).chr(ord(\${1})-80)",$_GET['folder'] >> ); >> >> $dirn

Re: [PHP] Hebrew Directory Names

2009-05-28 Thread Nitsan Bin-Nun
i have tried this: > $default_locale = setlocale(LC_ALL, 'en_US.UTF-8'); > ini_set('default_charset', 'UTF-8' ); > > > $_GET['folder'] = > preg_replace("/([\xE0-\xFA])/e","chr(215).chr(ord(\${1})-80)",$_GET['folder']); > > $dirname = $config['walls_dir'].$_GET['folder']."/".$_GET['filename']; > >

Re: [PHP] Hebrew Directory Names

2009-05-28 Thread Tom Worster
On 5/28/09 1:19 PM, "Tom Worster" wrote: > i suspect there will be serious dependency on os and file system. i was unable to do anything with hebrew file or dir names on freebsd 7.1 with ufs. i even tried scping and tarring over the directory that worked on os x. -- PHP General Mailing List

Re: [PHP] PHP vs ASP.NET

2009-05-28 Thread Tom Worster
On 5/28/09 9:20 AM, "Olexandr Heneralov" wrote: > I have a question for everyone: > Can it happen so that PHP will be replaced with ASP.NET? why you pry it out of my cold dead hand ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP, OOP and AJAX

2009-05-28 Thread Tom Worster
On 5/28/09 7:31 AM, "Julian Muscat Doublesin" wrote: > I had been programming in ASP.NET for years using Object Oriented > Princeliness but decided to walk away from that. I am now researching and > specialising in the open source world. yay! > I have started to develop a project using MySQL,

Re: [PHP] Hebrew Directory Names

2009-05-28 Thread Tom Worster
On 5/28/09 10:15 AM, "Nitsan Bin-Nun" wrote: > I have wrote a files-based php system which not requires any kind of > database to work, it is based upon files and directories. > > I'm using scandir() to fetch the file names of a directory, when the files > and the directories are in English ever

Re: [PHP] Re: mysql create table with date or timestamp

2009-05-28 Thread Andrew Ballard
On Thu, May 28, 2009 at 11:20 AM, Daniel Brown wrote: > On Thu, May 28, 2009 at 11:15, Andrew Ballard wrote: >> >> Make that a 'comma', not the 'coma' that I seem to be in.  :-) > >    Eh, it's your birthday.  You're allowed.  ;-P > >    Happy birthday, by the way. > Thanks! It's a weak e

Re: [PHP] Re: mysql create table with date or timestamp

2009-05-28 Thread Andrew Ballard
On Thu, May 28, 2009 at 11:15 AM, Andrew Ballard wrote: > 2009/5/28 Grega Leskovsek : >> I GOT THIS ERROR when  I tried first sample with when timestamp; >> >> >> ERROR 1064 (42000): You have an error in your SQL syntax; check the >> manual thatcorresponds to your MySQL server version for the righ

Re: Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Tony Marston
"Eddie Drapkin" wrote in message news:68de37340905280801m6964d355l2d6d8ef773f3b...@mail.gmail.com... > There's a huge difference between laziness and opting in to use an > incredibly useful (and easy to properly deploy) feature to save myself > time > so that I can spend more time writing that

Re: [PHP] Create multipart email

2009-05-28 Thread Eric Butera
On Thu, May 28, 2009 at 4:47 AM, Guus Ellenkamp wrote: > I'm trying to attach an uploaded file to an e-mail which I receive in > Outlook. Neither the first part, nor the second part displays properly. The > header looks ok when displayed on the screen. What am I missing? If you value your time th

Re: [PHP] Re: mysql create table with date or timestamp

2009-05-28 Thread Daniel Brown
On Thu, May 28, 2009 at 11:15, Andrew Ballard wrote: > > Make that a 'comma', not the 'coma' that I seem to be in.  :-) Eh, it's your birthday. You're allowed. ;-P Happy birthday, by the way. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pi

Re: [PHP] Re: mysql create table with date or timestamp

2009-05-28 Thread Grega Leskovsek
The problem was I didn't type a comma before unique id(iddary). Thanks to everybody for helping me on the seminar. Love, Grega 2009/5/28 LinuxManMikeC : > Actually, AUTO_INCREMENT is the correct syntax for MySQL.  I think the > problem is NOT NULL should come first: iddiary INT NOT NULL > AUTO_I

Re: [PHP] Re: mysql create table with date or timestamp

2009-05-28 Thread Andrew Ballard
2009/5/28 Grega Leskovsek : > I GOT THIS ERROR when  I tried first sample with when timestamp; > > > ERROR 1064 (42000): You have an error in your SQL syntax; check the > manual thatcorresponds to your MySQL server version for the right > syntax to use near 'id(iddiary) )' at line 1 > > > 2009/5/2

Re: [PHP] Re: mysql create table with date or timestamp

2009-05-28 Thread LinuxManMikeC
Actually, AUTO_INCREMENT is the correct syntax for MySQL. I think the problem is NOT NULL should come first: iddiary INT NOT NULL AUTO_INCREMENT. 2009/5/28 João Cândido de Souza Neto : > It´s not auto_increment, it´s auto increment. > > -- > João Cândido de Souza Neto > SIENS SOLUÇÕES EM

Re: Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Eddie Drapkin
There's a huge difference between laziness and opting in to use an incredibly useful (and easy to properly deploy) feature to save myself time so that I can spend more time writing that structured and efficient code of which you speak. And the problem with what you're saying is that you still have

Re: [PHP] Re: mysql create table with date or timestamp

2009-05-28 Thread Jo�o C�ndido de Souza Neto
It´s not auto_increment, it´s auto increment. -- João Cândido de Souza Neto SIENS SOLUÇÕES EM GESTÃO DE NEGÓCIOS Fone: (0XX41) 3033-3636 - JS www.siens.com.br "Grega Leskovsek" escreveu na mensagem news:1df2d4810905280748uec4f425kaf14b6410caa...@mail.gmail.com... I GOT THIS ERROR when

Re: Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Tony Marston
"Eddie Drapkin" wrote in message news:68de37340905280737t3e1ad844y188ab8fa08f17...@mail.gmail.com... > Your code might not, but you sure do! Spending all that time writing > require statements = :( If you are too lazy to write "require" statements then you are probably too lazy to write readab

Re: [PHP] Re: mysql create table with date or timestamp

2009-05-28 Thread Grega Leskovsek
I GOT THIS ERROR when I tried first sample with when timestamp; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual thatcorresponds to your MySQL server version for the right syntax to use near 'id(iddiary) )' at line 1 2009/5/28 João Cândido de Souza Neto : > If you n

[PHP] Hebrew Directory Names

2009-05-28 Thread Nitsan Bin-Nun
Hi I have wrote a files-based php system which not requires any kind of database to work, it is based upon files and directories. I'm using scandir() to fetch the file names of a directory, when the files and the directories are in English everything works like a charm, the problems starting when

Re: Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Eddie Drapkin
Your code might not, but you sure do! Spending all that time writing require statements = :( On Thu, May 28, 2009 at 9:49 AM, Tony Marston wrote: > > wrote in message > news:000e0cd6ad1a9f7d3d046af89...@google.com... > > Two things: > > > > 1. Try using the fully qualified path (ie /var/www/fo

Re: [PHP] PHP vs ASP.NET

2009-05-28 Thread Daniel Brown
On Thu, May 28, 2009 at 09:39, Robert Cummings wrote: > > It's not really a stupid question. Some people aren't sufficiently aware > of other technologies to know the answer. It may seem simplistic to many > of us, but not to those new to the culture. Well, even though I forgot to tack-on my

[PHP] Re: mysql create table with date or timestamp

2009-05-28 Thread Jo�o C�ndido de Souza Neto
If you need date and hour the best way is: CREATE TABLE diary ( iddiary int auto_increment not null, imepriimek varchar(50), when timestamp, action varchar(30), onfile varchar(100) unique id(iddiary) ); if you need only date you can use: CREATE TABLE diary ( iddiary int auto_increment not

Re: Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Tony Marston
wrote in message news:000e0cd6ad1a9f7d3d046af89...@google.com... > Two things: > > 1. Try using the fully qualified path (ie /var/www/foo/bar.php instead of > foo/bar.php) > 2. Look at setting up autoloading so you don't need to manually include > anyway. If you're going OOP, autoloading is a mu

[PHP] mysql create table with date or timestamp

2009-05-28 Thread Grega Leskovsek
CREATE TABLE diary(iddiary int auto_increment not null, imepriimek varchar(50), when date("%T%W%e%c%y"), action varchar(30), onfile varchar(100) unique id(iddiary)); I tried the above and it didn't work. What must I do to create a table with full time and date. If I should use timestamp how do I c

Re: [PHP] PHP vs ASP.NET

2009-05-28 Thread Robert Cummings
On Thu, 2009-05-28 at 09:29 -0400, Daniel Brown wrote: > On Thu, May 28, 2009 at 09:20, Olexandr Heneralov > wrote: > > Hi! > > Guys, you of course, know that ASP.NET becomes more and more popular in the > > world. > > I have a question for everyone: > > Can it happen so that PHP will be replace

Re: [PHP] PHP vs ASP.NET

2009-05-28 Thread Daniel Brown
On Thu, May 28, 2009 at 09:20, Olexandr Heneralov wrote: > Hi! > Guys, you of course, know that  ASP.NET becomes more and more popular in the > world. > I have a question for everyone: > Can it happen so that PHP will be replaced with ASP.NET? The myth-in-phrase "there is no such thing as a s

Re: [PHP] PHP vs ASP.NET

2009-05-28 Thread Lester Caine
Olexandr Heneralov wrote: Hi! Guys, you of course, know that ASP.NET becomes more and more popular in the world. I have a question for everyone: Can it happen so that PHP will be replaced with ASP.NET? Perhaps when it runs on Linux servers? Personally I'm moving more stuff OFF Windows servers

Re: [PHP] PHP vs ASP.NET

2009-05-28 Thread Robert Cummings
On Thu, 2009-05-28 at 16:20 +0300, Olexandr Heneralov wrote: > Hi! > Guys, you of course, know that ASP.NET becomes more and more popular in the > world. > I have a question for everyone: > Can it happen so that PHP will be replaced with ASP.NET? It is unlikely. Open source continues to grow, and

Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Luke
2009/5/28 Olexandr Heneralov > Hi! > Do not use low-level AJAX. > There are many frameworks for ajax (JQUERY). > Try to use PHP frameworks like symfony, zend framework. They simplify your > work. > > > 2009/5/28 Lenin > > > 2009/5/28 kranthi > > > > > > > > > > > i recommend you firebug firefox

RE: [PHP] PHP vs ASP.NET

2009-05-28 Thread Bob McConnell
No. Bob McConnell -Original Message- From: Olexandr Heneralov [mailto:ohenera...@gmail.com] Sent: Thursday, May 28, 2009 9:21 AM To: php-general@lists.php.net Subject: [PHP] PHP vs ASP.NET Hi! Guys, you of course, know that ASP.NET becomes more and more popular in the world. I have a q

[PHP] PHP vs ASP.NET

2009-05-28 Thread Olexandr Heneralov
Hi! Guys, you of course, know that ASP.NET becomes more and more popular in the world. I have a question for everyone: Can it happen so that PHP will be replaced with ASP.NET?

[PHP] PHP vs ASP.NET

2009-05-28 Thread Olexandr Heneralov
Hi! Guys, you of course, know that ASP.NET becomes more and more popular in the world. I have a question for everyone: Can it happen so that PHP will be replaced with ASP.NET?

Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Olexandr Heneralov
Hi! Do not use low-level AJAX. There are many frameworks for ajax (JQUERY). Try to use PHP frameworks like symfony, zend framework. They simplify your work. 2009/5/28 Lenin > 2009/5/28 kranthi > > > > > > > i recommend you firebug firefox adddon (just go to the net tab and you > > can see all

Re: [PHP] Create multipart email

2009-05-28 Thread Per Jessen
Guus Ellenkamp wrote: > I'm trying to attach an uploaded file to an e-mail which I receive in > Outlook. Neither the first part, nor the second part displays > properly. The header looks ok when displayed on the screen. What am I > missing? Show us the entire email that doesn't work. /Per --

Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Lenin
2009/5/28 kranthi > > > i recommend you firebug firefox adddon (just go to the net tab and you > can see all the details of the communication between client and > server) > and i find it helpful to use a standard javascript(jQuery in my case) > library instead of highly limited plain javascript

Re: Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread oorza2k5
Two things: 1. Try using the fully qualified path (ie /var/www/foo/bar.php instead of foo/bar.php) 2. Look at setting up autoloading so you don't need to manually include anyway. If you're going OOP, autoloading is a must! On May 28, 2009 8:49am, kranthi wrote: i never faced such a proble

Re: [PHP] Confirmation email caught by spam filter

2009-05-28 Thread Tom Worster
On 5/28/09 3:20 AM, "Ashley Sheridan" wrote: > Would setting up a backup MX record solve this do you think? this is what the spf record is for. http://en.wikipedia.org/wiki/Sender_Policy_Framework -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

Re: [PHP] Create multipart email

2009-05-28 Thread Tom Worster
guus, take a look at: http://pear.php.net/manual/en/package.mail.mail-mime.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Create multipart email

2009-05-28 Thread kranthi
ohh.. what i meant is most of my web hosts hav it pre-installed (copy of that file in their include dir) so that i'll not hav to upload it again and thereby save some web space -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] spawning a process that uses pipes - doesn't terminate when webpage download is canceled

2009-05-28 Thread bruce
Hi Flint. Not sure if you have a solution to this yet, or if I fully understand! But if your issue is basically that you have a situation where you might have orphaned processes that never finish and that are consuming real resources you could have the app get/monitor the process ID for each proce

Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread kranthi
i never faced such a problem and i can assure you that it will never happen. try... main.php second.php test call main.php via AJAX and see the responseText. many things can go wrong in your coding. dont come to the conclusion that this particular thing is not working. i recommend you firebug

Re: [PHP] Create multipart email

2009-05-28 Thread Richard Heyes
Hi, > i have been using PEAR Mail. major reason being nearly all of my web > hosts have this supported (pre-installed) It doesn't need to be installed for you to use it. If you want/need to you can get the sauce off of the PEAR website: http://cvs.php.net/viewvc.cgi/pear/Mail/ Click on the vers

Re: [PHP] Create multipart email

2009-05-28 Thread kranthi
i have been using PEAR Mail. major reason being nearly all of my web hosts have this supported (pre-installed) Kranthi. On Thu, May 28, 2009 at 17:29, Phpster wrote: > > Use phpmailer, makes it simple > > Bastien > > Sent from my iPod > > On May 28, 2009, at 4:47, "Guus Ellenkamp" wrote: > >>

Re: [PHP] Create multipart email

2009-05-28 Thread Phpster
Use phpmailer, makes it simple Bastien Sent from my iPod On May 28, 2009, at 4:47, "Guus Ellenkamp" wrote: I'm trying to attach an uploaded file to an e-mail which I receive in Outlook. Neither the first part, nor the second part displays properly. The header looks ok when displayed on

[PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Jo�o C�ndido de Souza Neto
Julian, could you please show us an example of this problem? -- João Cândido de Souza Neto SIENS SOLUÇÕES EM GESTÃO DE NEGÓCIOS Fone: (0XX41) 3033-3636 - JS www.siens.com.br "Julian Muscat Doublesin" escreveu na mensagem news:5e0039ed0905280431o2e9d8036u217b0449eccd...@mail.gmail.com..

[PHP] PHP, OOP and AJAX

2009-05-28 Thread Julian Muscat Doublesin
Hi Everyone, This is the first time that I am posting in the PHP forum, so hope that I am osting in the right place. I would like to say that before submitting to this forum I have done some research looking for a solution without success. I had been programming in ASP.NET for years using Object

Re: [PHP] Re: Displaying images

2009-05-28 Thread O. Lavell
Miller, Terion wrote: [..] > header("Content-type: img/jpeg"); [..] > This page isn't working and if I try to browse this page it wants to > open it with an editor, it won't view in the browser. > > What am I doing wrong? Is it the code or the data? "Content-type: img/jpeg" is undefined, the

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-28 Thread Nathan Nobbe
On Thu, May 28, 2009 at 2:40 AM, HELP! wrote: > I have done that. > > o host port > or > telnet host port > thats pretty odd.. a quick test on my box, looks like it works fine, phdelnnobbe:~ nnobbe$ telnet host 22 Trying xx.xx.xx.xx... Connected to host. Escape character is '^]'. SSH-2.0-OpenSS

[PHP] Create multipart email

2009-05-28 Thread Guus Ellenkamp
I'm trying to attach an uploaded file to an e-mail which I receive in Outlook. Neither the first part, nor the second part displays properly. The header looks ok when displayed on the screen. What am I missing? See code below. function xmail($mailto, $from_mail, $from_name, $replyto, $subject,

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-28 Thread HELP!
I have done that. o host port or telnet host port On Thu, May 28, 2009 at 9:39 AM, Nathan Nobbe wrote: > On Thu, May 28, 2009 at 2:31 AM, HELP! wrote: > >> now I have been able to telnet to the server IP but it defaulting to port >> 23 >> instead of the port I specified ( telnet ip port). How d

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-28 Thread Nathan Nobbe
On Thu, May 28, 2009 at 2:31 AM, HELP! wrote: > now I have been able to telnet to the server IP but it defaulting to port > 23 > instead of the port I specified ( telnet ip port). How do u correct this > problem rtfm telnet translates to man telnet which says telnet host port so put the po

Re: [PHP] PHP ping and exec() hangs apache

2009-05-28 Thread Kamil Walas
Ashley Sheridan pisze: > On Wed, 2009-05-27 at 10:25 +0200, Kamil Walas wrote: >> Hi, >> >> I stuck with strange error. I have following code: >> > echo 'BEFORE'; >> echo exec("ping -c1 -w1 1.1.25.38"); >> echo 'AFTER'; >> ?> >> >> Address doesn't exist. When execute script from com

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-28 Thread HELP!
now I have been able to telnet to the server IP but it defaulting to port 23 instead of the port I specified ( telnet ip port). How do u correct this problem On Wed, May 27, 2009 at 2:40 PM, Daniel Brown wrote: > On Wed, May 27, 2009 at 09:08, Stuart wrote: > > > > There's like 37 different thi

Re: [PHP] Re: Displaying images

2009-05-28 Thread kranthi
I suggest you use firebug https://addons.mozilla.org/en-US/firefox/addon/1843 coming back to your case.. 1. use the inspect function of firebug to check if the is displaying correctly. 2 then use the net tab of firebug to see if the image is actually downloaded from the server. 3. open the link

Re: [PHP] Confirmation email caught by spam filter

2009-05-28 Thread Ashley Sheridan
On Thu, 2009-05-28 at 07:45 +0200, Per Jessen wrote: > Ashley Sheridan wrote: > > > I've also seen this happen where the address that the mail was sent > > from is different from the MX record for the domain the email says it > > is sent from. The only way round this is to have the MX and A record

Re: [PHP] Confirmation email caught by spam filter

2009-05-28 Thread Ashley Sheridan
On Wed, 2009-05-27 at 16:54 -0400, Stephen wrote: > Ashley Sheridan wrote: > > I've also seen this happen where the address that the mail was sent > > from > > is different from the MX record for the domain the email says it is sent > > from. The only way round this is to have the MX and A records

Re: [PHP] Why does PHP have such a pain in the a$$ configuration file?

2009-05-28 Thread kranthi
phpinfo() will help you to find the differences in the configuration... i do this every time i move to a new host(before uploading any other files to the server, of course i delete it afterward) and change my pages accordingly. most of the configuration settings in php.ini can be overridden by ini