On Thu, Jul 16, 2009 at 7:42 AM, David
Otton wrote:
>> If it's catchable, why isn't it caught in my example?
>
> It's not an exception, it's a "fatal error". Fatal errors are caught
> by error handling functions, not by catch blocks.
>
> Consequence of having (at least) two separate error handling
hrown,
caught by the catch block, and relayed.
Instead you don't ever see the words "exception caught" and you get
"Catchable fatal error: Object of class A could not be converted to
string."
If it's catchable, why isn't it caught in my example?
Thanks,
Weston
On Thu, May 21, 2009 at 12:10 PM, tedd wrote:
> Could you be certain that your algorithm would figure out which way it needs
> to present the text to a blind person?
My own experience browsing the web with Lynx (which for the most part,
tends to ignore table layout, giving you the content of tabl
ument given the invocation of loadHTML), and while I'm seeing
some markup make it through, I'm not in other cases. I haven't quite
figured out the difference.
I can come up with some runnable tests if it will help, but I'm hoping
someone's already familiar with the general is
On Thu, 2009-05-21 at 09:54 -0400, tedd wrote:
> My thoughts are -- my understanding the reason why tables have
> received such bad-press is that designers have abused tables in
> holding designs together with nested tables AND in doing so made it
> difficult for the visually disabled to pull conte
On Tue, Aug 19, 2008 at 9:43 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Is there a particular reason you are downgrading?
I'm pretty happy with some of the features in 5.3, but have been asked
to work with a codebase that turned out to have some issues under 5.3
that didn't show up under 5.2.x.
ort for this be under? It's a
build/install issue, but there's no particular category for these
beyond compile issues...
Thanks,
Weston
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rden
Hobbes?"
now gets transformed to:
<a href="http://metaphilm.com/philm.php?id=29_0_2_0">Is Tyler
Durden Hobbes</a>
No other changes in the PHP source -- just a change in the interpreter.
Any idea what could be causing this?
Thanks,
Weston
--
PHP General Mail
Just curious if anyone knows the rough timeline for PHP 5.3.
Also curious if anyone knows whether anon functions/closures or a
shorter JSON-ish array syntax are being considered for inclusion. I
know there were two patches announced in December/January:
http://marc.info/?l=php-internals&m=1198336
On Thu, May 29, 2008 at 7:11 PM, Chris <[EMAIL PROTECTED]> wrote:
> See http://www.php.net/dl (though a lot of hosts disable this
> functionality for security reasons).
Fortunately, I'll have full control of the hosting environment in the
context this matters. :)
dl is definitely interesting, bu
the topic are pretty noisy given
that php's installation as a shared module itself for Apache are a
fairly popular topic.
Thanks,
Weston
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
vantage to declaring them at the top of the
class definition?
Thanks,
Weston
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 4/19/07, Edward Vermillion <[EMAIL PROTECTED]> wrote:
Fedora, and I'm assuming RedHat and possibly others that use their
system layout, will put the loading line in /etc/httpd/conf.d/
php.conf so yes it can be in an external configuration file.
That's the exact location, and it's a shared o
On 4/19/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Thu, April 19, 2007 4:08 pm, Weston C wrote:
> What ways are there to tell if PHP is actually built into an Apache 2
> installation or if it's installed as a shared object?
>
> phpinfo() / Server API value .. just
What ways are there to tell if PHP is actually built into an Apache 2
installation or if it's installed as a shared object?
I've dropped a file containing phpinfo() on the server I'm looking at,
hoping the Server API value would give me a clue, but it just says
"Apache 2.0 Filter," and I don't kn
I'm trying to build a CLI/CGI binary of PHP5 with MySQLi under Mac OS
X. When I invoke configure, I get the following error message:
"checking whether to enable embedded MySQLi support... no
mysql_config not found
configure: error: Please reinstall the mysql distribution"
Now, mysql (4.1.22) is
p anything like that.
Thank you! It is apparently exactly as you say. :) Adding a -n makes it run
just fine.
> The syntax error you are getting is caused by not entering
> any input.
> Your line 23 becomes:
> $returnval = eval("return();");
> Return expects some v
A while back I wrote a little read-eval-print loop that essentially constituted
a very basic php shell:
http://weston.canncentral.org/misc/phpsh.txt
This has almost always run fine for me with the cgi versions of php 4, and
often proves to be a great help in quickly testing various snippets of
using.
Maybe I'd want to extend DB_common instead of DB_mysql, so that the methods
would
be inhereted by any object?
Thanks,
Weston
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Weston wrote:
> > $dte = DBToyExt::connect("mysql://weston_tssa:[EMAIL
> > PROTECTED]/weston_tssa");
> >
> > $dte->testext('testing');
> > $dte->testext($dte->moo);
> > $dte->testext($dte->bar);
On Fri, Mar 10, 2006 at
parently
using the "extends" keyword is enough to help the engine know that the class
DBToyExt is supposed to inherit the static function "connct", but it's not
enough to bless the return value of connect from the class DB to DBToyExt
How do I get around this and exten
he up and down arrow, and making each line left/right arrow editable.
But I'm not sure exactly how to read the input from the arrow characters.
Could someone tell me how or point me to a good resource on doing this
kind of thing?
Thanks,
Weston
--
PHP General Mailing List (http://w
;s when I throw in the php_value statement that things blow up
any ideas why?
-Weston
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Apache to generate an internal
server error.
-Weston
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ideas what the right best way to do this is? I'd prefer to
use the mssql functions if I can...
Thanks,
Weston
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
This is what is probably a newbie session problem.
I've been having some trouble with sessions on php 4.0.6, I'm developing
a website in which I don't have direct control over the server. Due to
some other problems I created a test counter script to try to narrow
down where the problem re
when you've got strict checking on, the above doesn't
work, because if the variable is unset you get caught on the fact
before the function call happens.
Is there something like this already? Is there a way to make this
work? Or should I just go back to the idea of nuking error_report
Any ideas on how to correct the problem with reinstalling server software?
Thanx
-Weston
"Weston" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Whenever I access a PHP script from the web that contains an error (such
as
> a parsing error, etc...) The serv
help?
My system information is listed below.
RedHat Linux 7.3
Apache 1.3.27
PHP 4.1.2
Thanx
Weston
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Curt Zirzow wrote:
> * Thus wrote Weston Cann ([EMAIL PROTECTED]):
> > A while back I wrote a small script that was designed to work as an
> > interactive interpreter for PHP code, a la Python. The script itself is
> > written in PHP, and is pretty basic:
> >
>
>
> >>And while we're at it, has anyone written a tool that will tell you
> >>what's different between server setups?
> >
> > I use diff on unix.
> >
>
> You may like tkdiff, with its additional GUI to diff
Hmmm. Diff on what? I suppose the INI files are prime candidates, as well as whatev
t working
so well -- but why not on this server if it works so whel on the other
systems? Is there a setup option I'm missing?
And while we're at it, has anyone written a tool that will tell you
what's different between server setups?
Thanks,
Weston
~ == ~
http://weston.canncentral.org/
Correct as usual, King Friday
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to write a script that pulls an image from a database and transforms
the size if passed a width via the url query string.
Thanks to the helpful hint about the function "imagecreatefromstring", I
think I'm now able to ready image data I've pulled for a database with
GD. However, I'm st
I'm already taking a bit of a performance hit by reading the image out
a database, that seems like the wrong thing to do). Can anyone elaborate?
Thanks,
Weston
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sunday, August 24, 2003, at 05:31 PM, Giz wrote:
Access is a pc database. It doesn't run on unix. Why people insist on
beating their heads against the wall in this manner I will never know.
Ignorance I suppose. The alternative is to have your friend use a
relational database and have a few s
file sitting on a UNIX box?
Thanks,
Weston
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I was testing a boring little FormMail script I've used on dozens of PHP
installations (Apache and IIS), when I got an error:
Fatal error: Call to undefined function: mail() in
/usr/local/apache/vweb/redfishinsurance/form2mail.php on line 65
What? How? I quote from the PHP manual entry for the "
Nope.
They've been looking to add it in the next version of the Zend Engine,
but to be honest, it isn't working out well for a language like PHP. As
of last week, the decision was actually to remove the somewhat dubious
namespace support that had already been added.
Cheers,
Wes
On Monday, June
What version of PHP are you using, and are you using both CLI and
Apache module at the same time?
I compiled it at work with no huge problems.
Wes
On Thursday, May 29, 2003, at 06:45 PM, Sapporo wrote:
Hi,
is anyone sucessfully using the oci8 Oracle extension on MacOSX?
Whenever I try to co
I would imagine that you have to add:
$random = gmp_strval($random);
In between the two lines to convert the resource to a string value.
Wes
On Thursday, May 29, 2003, at 04:24 PM, Marius wrote:
how to do that it echoes a random number and not a
Resource id #1,
--
Marius
[EMAIL PROTECTED]
iMagick offers all of the functionality of imageMagick, which is a
substantially different subset than GD. iMagick is primarily geared
toward modifying existing images. Resizing, converting formats, apply
effects to, etc. It also works with a far larger set of base image
formats.
Check out
You'll need to either use the gd functions, or my recommendation, get
the imagick module and use it. Both should do an excellent job. iMagick
is in PEAR.
Wes
On Saturday, March 8, 2003, at 03:15 PM, Vernon wrote:
I have users uploading images to a server and need to have those files
resized
For a bit more in depth answer, I would recommend using the Mail class
in Pear:
http://pear.php.net/manual/en/core.mail.mail.php
Should make it very easy.
Wes
On Sunday, February 2, 2003, at 01:10 PM, Jason Wong wrote:
On Monday 03 February 2003 00:32, Johan Köhne wrote:
Is it possible and
All,
I seem to be getting a silly error on Solaris when trying to do a PHP
4.3 make. I get an error that looks to me like the liner arguments are
just too long. to be honest, I'm a bit stupified as to why this is
happening or how to fix it. FWIW, I have compiled 4.23 just fine on
that box
I'm looking at building a system script for build management. I would
very much prefer to do this in PHP. Are there any integrated means of
using CVS with php, or am I limited to using system calls from cvs?
Thanks,
Wes
---
Ok, now I'm frustrated.
I'm trying to register an object in the session, and access that object
from 2 different pages.
I start off in the first file, and do:
include("nycmgMail.php");
session_start();
$myMailer = new nycmgMail();
$myMailer->buildRecipients();
$_SESSION['myMailer'] = $myMaile
Does anyone have any experience with or comments on blueshoes? I've not
investigated it much, as the license seems a bit odd, but I thought I'd
get some info on it if anyone had any, so far I haven't found anyone
who has tried it, which seems a tad weird to me.
http://www.blueshoes.org/
Cheer
This wouldn't really be done in PHP. This is a Javascript element, as
it requires work to be done on the client side. You could easily make a
combination of PHP and Javascript to do this with any set of images
though.
Wes
On Thursday, January 16, 2003, at 08:37 PM, Ezequiel Sapoznik wrote:
okey dokey, here goes:
this gets really complicated to explain without showing the code, which
I really can't do (damned NDA's) and ultimately it's a bit big to post
anyhow. But I'm going to try.
I let the user specify a number of rows to input 2 pieces of data. I
then replace a template conta
All,
In using str_replace, I glanced at the manual and found that it can
take arrays for it's arguments. Great! I thought that I could have a
single search string, an array of replacement vars, and no subject. It
would then replace each successive instance of the search string with
the next e
Sure... for the longwinded approach, just do this:
$row1 = array("col1", "col2", "col3", ...);
$row2 = array("col1", "col2", "col3", ...);
$row3 = array("col1", "col2", "col3", ...);
$row4 = array("col1", "col2", "col3", ...);
$row5 = array("col1", "col2", "col3", ...);
$main_array = array($row1
Sure... for the longwinded approach, just do this:
$row1 = array("col1", "col2", "col3", ...);
$row2 = array("col1", "col2", "col3", ...);
$row3 = array("col1", "col2", "col3", ...);
$row4 = array("col1", "col2", "col3", ...);
$row5 = array("col1", "col2", "col3", ...);
$main_array = array($row1
Hey all,
I've been meaning to write a simple debug tracking class for use in my
own projects. So this week I finally did. I have no clue if anyone else
would ever use it, or have any interest in looking at it, but I've set
it up for people to download it if you have any interest. Regardless, I
I found two main things that were hampering my install.
1. While I thought I had updated cURL, I believe I may have only
upgraded the executable itself the first time, while leaving the
libraries themselves at an older version.
2. OS X install cURL with a prefix of /usr, whereas the standard c
I'm working on getting the following install working under OS 10.2.2:
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--with-apxs=/usr/sbin/apxs \
--with-mysql \
--with-gd=/usr/local \
--with-png-dir=/usr/local \
--with-zlib-dir=/usr/local \
--with-
I had no idea anyone was actively working on something like this. Are
you looking for help? Do you plan on perhaps making this a Sourceforge
project, or something similar?
Cheers and great job,
Wes
On Thursday, November 21, 2002, at 05:56 PM, Michael Montero wrote:
Just released the next ve
Of course this had to come in after I sent my email.
Thanks again Rasmus, you seem to always be there with the answer.
Wes
> No, the _() function is the standard gettext() alias. See
> http://php.net/gettext
>
> -Rasmus
>
> On Tue, 28 May 2002, John Holmes wrote:
>
>>> What exactly does t
Oddly, I get the following error on the page when trying to view it though:
Fatal error: Call to undefined function: _() in
/Library/WebServer/Documents/admin/horde/config/prefs.php on line 5
Here's the exact offending code:
$prefGroups['language'] = array(
'column' => _("Your Information")
s one (but not fully
crazy). Now I have to try to convince Microsoft that they have a bug... ooh
fun.
Thanks for the reply here, it seems my mail from the apache list is not
coming through, so I hadn't seen the response there.
Cheers,
Wes
> Weston Houghton <[EMAIL PROTECTED]> wr
Hello...
I'm wondering if I have found an oddity in httpd. I'm currently writing a
PHP directory listing system. I am pretty sure that this is not a php issue,
but I have not been able to test it on a httpd install sans php, but it can
be seen when requesting an image file, which should not invo
Hello again all,
I'm using the Mac OS X binary of PHP 4.2.1 provided by Mark Liyanage
(http://www.entropy.ch/software/macosx/php/), and I am starting to notice
some oddities, I was wondering if anyone else had seen these errors in other
ports.
I'm getting some base php functions that seem to be
g called initially.
Thanks for the patience and help.
Wes
> http://www.php.net/manual/en/security.registerglobals.php
>
> On Wed, 15 May 2002, Weston Houghton wrote:
>
>>
>> Ok, makes sense based on previous threads I have gleaned over. Can you point
>> me to any
on register_globals in your php.ini file and things should start
> working again.
>
> On Tue, 14 May 2002, Weston Houghton wrote:
>
>>
>> All,
>>
>> I've recently upgraded from 4.1.2 to 4.2.0. And of course my script has
>> stopped working. I
All,
I've recently upgraded from 4.1.2 to 4.2.0. And of course my script has
stopped working. I know a lot with the globals has changed, but to be
honest, I am not sure how or why. Can anyone give me an initial lead as to
what I should look for first?
I know I use the following elements:
$_SER
Check out ChiliSoft:
http://www.chilisoft.com/
Wes
> Hi,
>
> I just got finish will a meeting from HELL, I need to ask can some one tell
> me is there an Apache Mailing List like this. I have to ask if I can do ASP
> page on Apache, I know I know please don't flame me, I kept trying to get
>
Let me isolate it out of the project tonight, and I'll try to post a simple
example for everyone.
Wes
> could you give us some samples im also searching for that. thanks.
>
> Regards,
> mike
>
>>
>> My cheap trick around this is to have an onClick event on the form submit
>> button that bri
My cheap trick around this is to have an onClick event on the form submit
button that brings up a small window with a progress note in it, and an
animated gif of a prgress bar.
As the page does not unLoad until the upload is finished, I use the unLoad
event of the body tag to close that progress
Hey all,
I am looking to build a bit of a weird templating system for a project I am
working on. Currently, I am looking at building these templates in separate
text files, and allowing certain elements to be replaced within those files.
I'm thinking then of reading these text files into php th
Are there rumblings of what to look for in the next major release of PHP
yet? Is there a different, better place to ask? I'm just curious...
Wes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it an array, or a single variable?
Wes
> Ok this is getting frustrating! I am serializing a variable and passing it
> through the url, in the url and when I echo it on the next page it shows
> s:608:, and when I unserialize it and echo it, it doesnt show anything! How
> can I pull that dat
Anybody interested in working on a PEAR module to interface PHP with
something like ImageMagick directly? I would love to see it. Maybe if I am
unemployed long enough soon I can work on it myself. Not that I really want
that to happen...
I think that might be the best solution for PHP's lack of
P.S. From my checking all php_dl functions are declared as returning
voids...
Wes
>
> Hey all,
>
> So I'm experimenting trying to get PHP 4.1 running under MacOS 10.1.1,
> running the following for configure:
>
> ./configure --with-apxs2=/Volumes/ego/apache2/bin/apxs --enable-calendar
> --e
Hey all,
So I'm experimenting trying to get PHP 4.1 running under MacOS 10.1.1,
running the following for configure:
./configure --with-apxs2=/Volumes/ego/apache2/bin/apxs --enable-calendar
--enable-ftp --with-gd --enable-mailparse --with-mysql --enable-trans-sid
Getting through configure ok,
Ok,
So I'm an admitted newbie to using CURL, and idea why this doesn't work?
curl -O http://www.php.net/do_download.php?download_file=php-4.1.0.tar.gz
curl: No match.
Thanks,
Wes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
Does no one have a clue on this one? I'm really in need of leads here.
Thanks,
Wes
>
> Hey all,
>
> Two related questions. If I remember correctly this has been beaten to death
> before on the list, but here I am having issues with it, and ending up at
> somewhat of a loss still.
>
> I've bu
Hey all,
Two related questions. If I remember correctly this has been beaten to death
before on the list, but here I am having issues with it, and ending up at
somewhat of a loss still.
I've built a media management system for a video company. It is built to
handle large data assets, such as ex
but only from the point of view of exec
>
> Do you mean building them into PHP functions?
>
> - Original Message -
> From: "Weston Houghton" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, July 22, 2001 11:05 PM
> Subject: [PHP]
Does anyone know if there are PHP specific bindings for ImageMagick out
there? If not, anyone want to work on them...
:)
Thanks,
Wes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the l
So...
I cannot for the life of me get browscap.ini to work.
Also the browserhawk version of the browscap.ini is sadly out of date.
Anyone have any leads for me on getting this to work? I consistently get an
empty array returned.
Thanks,
Wes
--
PHP General Mailing List (http://www.php.net/)
79 matches
Mail list logo