Hi all!
Recently I am getting the following error on some of my PHP-enabled websites. I
think it started when I went from PHP4 - PHP5.
Here is an example (from http://wos.poboxes.info/) :
Fatal error: Call to undefined function preg_match() in
Evert wrote:
Hi all!
Recently I am getting the following error on some of my PHP-enabled websites. I
think it started when I went from PHP4 - PHP5.
Here is an example (from http://wos.poboxes.info/) :
Fatal error: Call to undefined function preg_match() in
Barry wrote:
Evert wrote:
Hi all!
Recently I am getting the following error on some of my PHP-enabled
websites. I think it started when I went from PHP4 - PHP5.
Here is an example (from http://wos.poboxes.info/) :
Fatal error: Call to undefined function preg_match() in
M. Sokolewicz wrote:
Since when can you unset functions from within php scripts?? (except
with specialized modules, which we'll just ignore for now).
Why ignore them for now?
Doesn't make sense for me ...
Recently I am getting the following error on some of my PHP-enabled
websites. I think it
M. Sokolewicz wrote:
Barry wrote:
Evert wrote:
Hi all!
Recently I am getting the following error on some of my PHP-enabled
websites. I think it started when I went from PHP4 - PHP5.
Here is an example (from http://wos.poboxes.info/) :
Fatal error: Call to undefined function
Barry wrote:
M. Sokolewicz wrote:
Since when can you unset functions from within php scripts?? (except
with specialized modules, which we'll just ignore for now).
Why ignore them for now?
Doesn't make sense for me ...
If the OP is capable of installing and using the runkit extension
them
Hi all,
I'm wanting to define a static method on a base class that then
instantiates and returns an object of the type the static method was
called on. I've searched the docs and Googled but everything I find says
it's not possible and I just wanna check to make sure before I admit defeat.
Stut wrote:
Hi all,
I'm wanting to define a static method on a base class that then
instantiates and returns an object of the type the static method was
called on. I've searched the docs and Googled but everything I find says
it's not possible and I just wanna check to make sure before I
I am having trouble porting some code originally written in Borland Delphi
to PHP. The Delphi code expects certain behavior on integer overflows that I
can only duplicate on some PHP systems. For example:
$BB = -2181087916;
$AA = (int)$BB;
$AA = intval($BB);
On some systems, $AA will be
Thx Miles and Jay
-Oorspronkelijk bericht-
Van: Miles Thompson [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 17 maart 2006 22:35
Aan: php-general@lists.php.net
Onderwerp: Re: [PHP] print page from php
At 09:57 AM 3/17/2006, Reinhart Viane wrote:
All,
I have a web page with the results
2006-03-20 23:19:13 wrote:
This is a kind business letter,if bothered you,pls send your email to us,we
will sure cancled your email address from our email list.
Nah ;)
This is kind of Spam Mail!
Gurantee your 100% absolutely safe ''Door to Door'' delivery!!
Front door or back door?
On Sun, Mar 19, 2006 at 06:41:54PM +, Richard Davey wrote:
On 19 Mar 2006, at 18:32, Leonard Burton wrote:
I am putting together an site and will accept payments via Paypal's
IPN. I have came across many classes for this so I am curious if
anyone has any recommendations?
Isn't there
Curt Zirzow wrote:
Isn't there a full proper PayPal API now? IPN hasn't changed in ages,
but I don't think it is their preferred way of accessing PayPal any
more, and certainly isn't the most streamlined.
You kidding? IPN support is ridiculously easy to develop. If you're
On 20 Mar 2006, at 16:26, Manuel Amador (Rudd-O) wrote:
Isn't there a full proper PayPal API now? IPN hasn't changed in
ages, but I don't think it is their preferred way of accessing
PayPal any more, and certainly isn't the most streamlined.
You kidding? IPN support is ridiculously easy
Jochem Maas wrote:
Stut wrote:
What do I put where the ???s are? I've tried __CLASS__ and
get_class() but both give me the base class name. Short of passing
the classname to the static function I'm at a loss as to how to do
this. However, Bar::Create('Bar') is a bit too sucky for me to be
On Mon, Mar 20, 2006 at 11:26:34AM -0500, Manuel Amador (Rudd-O) wrote:
Curt Zirzow wrote:
Isn't there a full proper PayPal API now? IPN hasn't changed in ages,
...
Yeah, they have their new Payment Pro system which has a gateway
API. I dont think they have any preference over the
On Mon, Mar 20, 2006 at 10:13:21AM -0500, Bruce wrote:
I am having trouble porting some code originally written in Borland Delphi
to PHP. The Delphi code expects certain behavior on integer overflows that I
can only duplicate on some PHP systems. For example:
$BB = -2181087916;
$AA =
I have a script that periodically sends an email that includes form
post to a script, which is meant to do something with the posted data.
My problem is that apparently some PHP security measure is not
permitting the externally posted data to be access via $_POST. I
assume this is due to
[snip]
I have a script that periodically sends an email that includes form
post to a script, which is meant to do something with the posted data.
My problem is that apparently some PHP security measure is not
permitting the externally posted data to be access via $_POST. I
assume this is
Hmm, perhaps I didn't explain clearly. To put it another:
1. A script sends an email to a user with sign-in details.
2. The user clicks a [submit] button in the email message called
Quick Sign In
3. A web browsers opens to http://www.website.com/signin.php (from
the form method=post
Hello,
on 03/20/2006 06:52 PM René Fournier said the following:
I have a script that periodically sends an email that includes form
post to a script, which is meant to do something with the posted data.
My problem is that apparently some PHP security measure is not
permitting the
[snip]
Hmm, perhaps I didn't explain clearly. To put it another:
1. A script sends an email to a user with sign-in details.
2. The user clicks a [submit] button in the email message called
Quick Sign In
3. A web browsers opens to http://www.website.com/signin.php (from
the form method=post
Manuel Lemos wrote:
Some people insist on making everything XHTML compliant just they assume
that otherwise it would not be Web standards compliant. That is a
silly claim that only leads to all sorts of problems.
That assertion is 100% untrue.
First of all, XHTML is an excellent idea.
Jay Blanchard wrote:
[snip]
Hmm, perhaps I didn't explain clearly. To put it another:
1. A script sends an email to a user with sign-in details.
2. The user clicks a [submit] button in the email message called
Quick Sign In
3. A web browsers opens to http://www.website.com/signin.php (from
#1. Show us the FORM.
#2. Show us the email itself
#3. Show us the code that processes the POST data.
Without that, we're just guessing in the dark.
Can you make the form work on your server, WITHOUT the email involved?
Check your httpd.conf carefully. There is no inherent reason why this
[snip]
Some people insist on making everything XHTML compliant just they
assume
that otherwise it would not be Web standards compliant. That is a
silly claim that only leads to all sorts of problems.
That assertion is 100% untrue.
First of all, XHTML is an excellent idea. Having been based
You probably want to use BC_MATH or that new-fangled thing like it if
you want to deal in INT larger than 32 bit.
Or you could buy 64-bit hardware.
On Mon, March 20, 2006 9:13 am, Bruce wrote:
I am having trouble porting some code originally written in Borland
Delphi
to PHP. The Delphi code
Jay Blanchard wrote:
All of these, XML, HTML, XHTML are subsets of SGML.
Your point being? Because my point is centered around the simple fact
that XML is easier to parse than generic SGML. XML and SGML aren't
fully compatible, if you really want to spot on the differences. XML is
[snip]
Okay, I'm sorry. Dude, you touched a soft spot. It's important, to me,
that people respect standards. The wealth of information and
communication possibilities that exist today is, in no small part,
fueled by the adoption of international standards.
[/snip]
That's cool. As far as web
Manuel Amador (Rudd-O) wrote:
snip
Okay, I'm sorry. Dude, you touched a soft spot. It's important, to me,
that people respect standards. The wealth of information and
communication possibilities that exist today is, in no small part,
fueled by the adoption of international standards.
Jay Blanchard wrote:
[snip]
Okay, I'm sorry. Dude, you touched a soft spot. It's important, to me,
that people respect standards. The wealth of information and
communication possibilities that exist today is, in no small part,
fueled by the adoption of international standards.
[/snip]
[snip]
Jay didn't touch your 'soft spot' (I never knew that about you Jay).
Jay was responding to your flame of another poster (Manuel).
[/snip]
True dat, but I have touched.um.er been in touch with my
feminine side. I am comfortable with who I am, or something like that.
--
PHP
Hello,
on 03/20/2006 07:16 PM Manuel Amador (Rudd-O) said the following:
Some people insist on making everything XHTML compliant just they assume
that otherwise it would not be Web standards compliant. That is a
silly claim that only leads to all sorts of problems.
That assertion is 100%
On Mon, March 20, 2006 4:58 am, Barry wrote:
M. Sokolewicz wrote:
Since when can you unset functions from within php scripts??
(except
with specialized modules, which we'll just ignore for now).
Why ignore them for now?
Doesn't make sense for me ...
Because the number of people who have
[snip]
Sometimes I wish we did have mandatory standards. Punishable by hanging
nonconforming implementations implementors' by their thumbs. :-) But
then I close Internet Explorer, and I suddenly feel well again.
[/snip]
It would make life for web developers a lot easier. BTW
[Amador]
XML and
Manuel Lemos wrote:
That is not what the W3C validator thinks. Try entering the following
HTML in the W3C markup validator page and see for yourself why people
are using post in lowercase because they think being XHTML compliant is
a good thing.
The validator said:
value of attribute
On Sun, March 19, 2006 4:46 pm, je killen wrote:
The following code does not produce the correct results (for my
purposes):
function code($str, $match, $formula)
{
for($i = 0; $i count($str); $i++)
{
$formula[$i] = array_search($str[$i], $str);// ==|| no bueno
//print
You're not showing enough code...
What does function zamiana look like?
And is the code you gave us porty_set.php line 70?
Or is that some other code we haven't seen?
Is 'pliki' a PHP software package you got somewhere else? They may
have a more focussed forum / mailing list / whatever that
On 20-Mar-06, at 3:05 PM, Jay Blanchard wrote:
[snip]
Hmm, perhaps I didn't explain clearly. To put it another:
1. A script sends an email to a user with sign-in details.
2. The user clicks a [submit] button in the email message called
Quick Sign In
3. A web browsers opens to
On Windows, you need SMTP set.
If you can't set it in php.ini, you might try .htaccess, but I suspect
that is locked down and you can't...
You could try things like:
Install Pegasus email client, and use it from http://php.net/exec to
send email.
Install some kind of class from
Not sure about PHP5, but for PHP4 I found this hack solution at:
http://passivedigressive.com/archives/2005-02/php-static-class-name-solution/
There are probably all sorts of issues with this approach, but it solved
the problem at the time...
HTH. Grant
--
PHP General Mailing List
On Mon, March 20, 2006 4:16 pm, Manuel Amador (Rudd-O) wrote:
The original poster's problem may be related to the fact that,
perhaps,
he's checking for the value of a button in the POST variable, when
it's
a very well known fact that the browser only sends the value of the
button if the user
On Mon, March 20, 2006 5:04 pm, René Fournier wrote:
form method=POST target=SI action=http://
www.website.cominput type=hidden name=signindetails
value=serialized and htmlentitized array values...input
What does this value actually look like?
How long is it?
Is mail wrapping it to 72
On Sat, March 18, 2006 9:16 pm, Jason Young wrote:
I have an image that uses partial transparency for borders and such.
At first, I tried using the whole image; creating a truecolor 'holder'
image, then imagecopymerge-ing it, but that resulted in the outside
transparent areas (the ones that
On Sat, March 18, 2006 12:36 pm, Rostislav Krasny wrote:
pHello World/p
/body
pHello World/p/body
Why there is no newline afer pHello World/p ?
Is it a PHP bug or the tutorial should be updated?
The tutorial is imprecise, and glosses over this detail.
For very good reasons, ?[newline]
On Sat, March 18, 2006 1:23 pm, Adrian wrote:
Is there a way to circumvent this?
My template engine compiles templates to PHP files and this feature
makes the output html code look awful sometimes.
You could:
1. Add \n after all the lines of output where it matters.
2. Use TWO newlines after
On Sat, March 18, 2006 3:32 pm, Rostislav Krasny wrote:
On Sat, 18 Mar 2006 19:37:48 +
[EMAIL PROTECTED] (James Benson) wrote:
I get the same results, I doubt it's a bug, the person who wrote the
article maybe never tried what it would output since they probably
know
how the echo
Put it all in a database, and write out the file whenever it changes?
Only half-joking.
Virtually all your problems mentioned go away if it's in a database,
and it's not that tricky to set things up so you can write out the
file from the db when you need to.
On Sat, March 18, 2006 4:01 am,
On 20-Mar-06, at 4:40 PM, Richard Lynch wrote:
On Mon, March 20, 2006 5:04 pm, René Fournier wrote:
form method=POST target=SI action=http://
www.website.cominput type=hidden name=signindetails
value=serialized and htmlentitized array values...input
What does this value actually look like?
Boban,
I do not know what noobie is but thanks for the reply. I know that the
effect I want can be achieved using CSS but the question was there is a
printing llibrary so some of the trouble would be solved by this library
and not myself
On 3/14/06, Bogdan Ribic [EMAIL PROTECTED] wrote:
This
Hi Burhan,
Thanks. I'll try that but even tough my clients now uses windows I generally
do not like to be too commited to a single platform.
-rm
On 3/15/06, Burhan [EMAIL PROTECTED] wrote:
robert mena wrote:
Hi Manuel,
I am trying to print from the client side. The client will be
It would be fantastic if PHP 6 was multi-threaded so you could spin threads
to do simultaneous tasks. Is there any plans for this?
It would also be great if you could exec() or system() a program to run
without blocking on a return. Sometimes I just want some other task to
happen independantly
Hi Steve,
This seems to be a good alternative. I've found pdflib($), ezPDF (dead?) e
this fpdf as different ways to generate pdf.
One drawback is that I'd have to construct all my documents 'by hand'. For
trully dynamic this is no problem but for those that only differs at the
name of the
Hi,
I am slowly converting my webapps to use the 'ajax' technology. I'd like to
know what 'best practices' should I use when it comes to authenticate,
identify the requests in a more restricted context.
So far I've migrated some 'open' areas where the user, without having to
identify himself
On Mon, 2006-03-20 at 20:24, robert mena wrote:
Hi,
I am slowly converting my webapps to use the 'ajax' technology. I'd like to
know what 'best practices' should I use when it comes to authenticate,
identify the requests in a more restricted context.
So far I've migrated some 'open'
I am slowly converting my webapps to use the 'ajax' technology. I'd like to
know what 'best practices' should I use when it comes to authenticate,
identify the requests in a more restricted context.
So far I've migrated some 'open' areas where the user, without having to
identify himself can
Hi,
Perl has a function named caller with the following signature and return
values:
($package, $filename, $line, $subroutine,
$hasargs, $wantarray, $evaltext, $is_require) = caller($i);
This function returns information pertaining to the calling routine,
such as the name of the
sgsweb wrote:
Hi,
Perl has a function named caller with the following signature and return
values:
($package, $filename, $line, $subroutine,
$hasargs, $wantarray, $evaltext, $is_require) = caller($i);
This function returns information pertaining to the calling routine,
such as the
Hi, I was wondering if anyone knew how to retrieve large amounts of
binary data from a MySQL database without having it loaded all at once
into a PHP data structure. I'd like to be able to iterate over the
result, pulling out 16kb or so of data at a time and feed it to the
browser. Any
Hello,
on 03/20/2006 07:52 PM Manuel Amador (Rudd-O) said the following:
That is not what the W3C validator thinks. Try entering the following
HTML in the W3C markup validator page and see for yourself why people
are using post in lowercase because they think being XHTML compliant is
a good
is there a guide for pda friendly web pages.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have been searching for directions of how to get PEAR::SOAP to work on my
Windows Machine, but without success. I have downloaded the package and
unzipped it to a subfolder to my main web folder.
This is my error message:
--
Warning: main(HTTP/Request.php): failed to
Peter Lauri said:
Hi,
I have been searching for directions of how to get PEAR::SOAP to work on
my
Windows Machine, but without success. I have downloaded the package and
unzipped it to a subfolder to my main web folder.
This is my error message:
--
Warning:
I'm working on a small webservice. When started this project i used the
NuSOAP library. And it does the job perfectly. But last weekend i was
playing around with the PEAR::SOAP package. This seems to be a lot more
stable. And for sure a llot faster.
Only in NuSOAP i could do the following to get
On 3/21/06, T.Lensselink [EMAIL PROTECTED] wrote:
I'm working on a small webservice. When started this project i used the
NuSOAP library. And it does the job perfectly. But last weekend i was
playing around with the PEAR::SOAP package. This seems to be a lot more
stable. And for sure a llot
chris smith said:
On 3/21/06, T.Lensselink [EMAIL PROTECTED] wrote:
I'm working on a small webservice. When started this project i used the
NuSOAP library. And it does the job perfectly. But last weekend i was
playing around with the PEAR::SOAP package. This seems to be a lot more
stable. And
66 matches
Mail list logo