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
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
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
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
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
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
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
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
>
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
{
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
{
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
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
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
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:
>
> >
> >
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
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
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
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
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
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
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
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
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
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
> >
> > >
> > >
> >
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");
> >>
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
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'];
>
>
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
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
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,
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
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
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
"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
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
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
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
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
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
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
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
"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
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
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
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
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
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
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
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
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
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
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
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
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
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
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?
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?
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
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
--
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
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
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
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
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
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
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
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
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:
>
>>
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
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..
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
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
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
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,
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
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
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
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
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
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
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
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
82 matches
Mail list logo