Re: [PHP] functions classes

2006-08-25 Thread Larry Garfield
On Friday 25 August 2006 04:39, Bigmark wrote: > Can anyone tell me if it is relatively an easy process for an experienced > coder (not me) to convert a php script to mainly functions/classes. > I have my own script that i would like to make more streamlined as it is > becoming very difficult to wo

Re: [PHP] function does not exist

2006-08-25 Thread Steve Edberg
At 11:43 AM -0400 8/25/06, Chris Boget wrote: I'm getting the following error all throughout my PHP log: [warning] [Unknown][0]: Unknown(): Unable to call () - function does not exist I'm not sure it's going to survive the mailing but it appears to be a tab character after the 'call' and be

[PHP] The iptcembed() function

2006-08-25 Thread Dotan Cohen
Has anybody a working example of iptcembed()? I can't get it to work, and it's not documented. Thanks in advance. Dotan Cohen http://ie-only.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] function does not exist

2006-08-25 Thread Robert Cummings
On Fri, 2006-08-25 at 11:43 -0400, Chris Boget wrote: > I'm getting the following error all throughout my PHP log: > > [warning] [Unknown][0]: Unknown(): Unable to call () - function does not > exist > > I'm not sure it's going to survive the mailing but it appears to be a tab > character afte

[PHP] function does not exist

2006-08-25 Thread Chris Boget
I'm getting the following error all throughout my PHP log: [warning] [Unknown][0]: Unknown(): Unable to call () - function does not exist I'm not sure it's going to survive the mailing but it appears to be a tab character after the 'call' and before the '()'. I've spent days (not consecuti

[PHP] Re: php-general mailing list active?

2006-08-25 Thread Michelle Konzack
Am 2006-08-22 23:05:27, schrieb Colin Guthrie: > [EMAIL PROTECTED] wrote: > >I don't have a clue why my gmail account hasn't started to get traffic. But > >it's funny how we get accustomed to the exchange of ideas and cyber-contact > >with others. I guess I 'm having some withdrawal. ;-) > > Why n

Re: [PHP] E_ALL | E_STRICT

2006-08-25 Thread Paul Scott
--=neXtPaRt_1156518520 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fri, 2006-08-25 at 10:43 -0400, tedd wrote: > or should I lose the E_STRICT, or should it be something else? > E_ALL in php4 will pick up everything, notices, warnings, the lot. > I want to turn as much erro

Re: [PHP] E_ALL | E_STRICT

2006-08-25 Thread Andries Seutens
tedd schreef: Jochem: So, what's the verdict, is this Okay: ini_set('error_reporting', E_ALL | E_STRICT); or should I lose the E_STRICT, or should it be something else? I want to turn as much error checking as I can. I'm not using php 5, just yet. Thanks. tedd Hi Tedd, E_STRICT isn

Re: [PHP] E_ALL | E_STRICT

2006-08-25 Thread tedd
At 4:20 PM +0200 8/25/06, Jochem Maas wrote: > It isn't redundant :) - E_STRICT isn't covered under E_ALL in PHP5 IIRC. correct. E_STRICT is supposed to be used *only* to flag not recommended code (i.e. a pedantic mode) unfortunately use of E_STRICT has been 'abused' in cases where E_DEPREC

Re: [PHP] E_ALL | E_STRICT

2006-08-25 Thread Jochem Maas
Ligaya Turmelle wrote: > tedd wrote: - tul P.S. isn't error_reporting( FATAL | ERROR | WARNING ); supposed to be error_reporting( E_FATAL | E_ERROR | E_WARNING ); ?? >> >> >> >> Good catch. >> >> I'm not sure where I got that -- probably a message from some flounder >> (Bul

Re: [PHP] upload image

2006-08-25 Thread Sonja
Hi, Thanks for help, I find the error, here is the code of functions.php $imagePath, 'thumbnail' => $thumbnailPath); } /* Create a thumbnail of $srcFile and save it to $destFile. The thumbnail will be $width pixels. */ function createThumbnail($srcFile, $destFile, $width, $quality = 75) {

Re: [PHP] Re: Why small > big?

2006-08-25 Thread Ivo F.A.C. Fokkema
> [SNIP] > Considering in this thread where I left the quality at 100% and > reduced the image to less 40 percent of the original, and the end > result was that I actually made a larger file. So, I belive that at > least this example shows that 100% is not a good quality value > setting for red

[PHP] Re: How to deal with errors in forms

2006-08-25 Thread Ivo F.A.C. Fokkema
On Thu, 24 Aug 2006 11:40:17 +0200, Merlin wrote: > Hi there, > > I do have a form where there is also a field with max 2000 characters > the user can put in. > > Now before processing the data with php, I do a checkin the script for > certain criterias if something lookes wrong I do redirect

Re: [PHP] Re: Why small > big?

2006-08-25 Thread Ivo F.A.C. Fokkema
> [SNIP] > As for PNG: As far as I know, the only issue with any realistic browser > (other than very old ones like IE2 or something) is that the alpha > channel is not supported. As there is no alpha channel in JPEG, so > there is no difference. Though I do not profess to be absolutely sure

[PHP] Re: functions classes

2006-08-25 Thread Alex Turner
Bigmark, I have been involved in the evolution of the development process and architecture called functional normalization. I do intend to post some detail on this at funkifunctions.blogspot.com very soon. Anyhow, using this method might help you some what. The trick being to look through

[PHP] Re: functions classes

2006-08-25 Thread Mourad Boulahboub
Hi Bigmark, Bigmark schrieb am 25.08.2006 11:39: > Can anyone tell me if it is relatively an easy process for an experienced > coder (not me) to convert a php script to mainly functions/classes. > I have my own script that i would like to make more streamlined as it is > becoming very difficult to

Re: [PHP] functions classes

2006-08-25 Thread Dave Goodchild
On 25/08/06, Peter Lauri <[EMAIL PROTECTED]> wrote: It should not be to big of a problem if you can set your mind into thinking about functions and objects instead of a step by step script. Then just cut it in pieces and your are done :) Agreed. If it puts you on the good foot, send an extrac

[PHP] Re: ssl.

2006-08-25 Thread Mourad Boulahboub
Hi alex Alex Turner schrieb am 25.08.2006 11:19: > You're right, but I am impatient ;-) :-) i am too. but it can't be helped. we have to wait *gg* > > Best wishes - AJ regards Mourad -- > > Mourad Boulahboub wrote: >> Hi alex, >> >> Alex Turner schrieb am 25.08.2006 10:36: >>> My understan

RE: [PHP] functions classes

2006-08-25 Thread Peter Lauri
It should not be to big of a problem if you can set your mind into thinking about functions and objects instead of a step by step script. Then just cut it in pieces and your are done :) -Original Message- From: Bigmark [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 4:40 PM To: ph

[PHP] Re: ssl.

2006-08-25 Thread Alex Turner
You're right, but I am impatient ;-) :-) Best wishes - AJ Mourad Boulahboub wrote: Hi alex, Alex Turner schrieb am 25.08.2006 10:36: My understanding is that the message said that the page had a mix of ssl and non ssl and that the root remained https. This root did not remain https before t

[PHP] functions classes

2006-08-25 Thread Bigmark
Can anyone tell me if it is relatively an easy process for an experienced coder (not me) to convert a php script to mainly functions/classes. I have my own script that i would like to make more streamlined as it is becoming very difficult to work with. -- PHP General Mailing List (http://www.php.

[PHP] Re: ssl.

2006-08-25 Thread Mourad Boulahboub
Hi alex, Alex Turner schrieb am 25.08.2006 10:36: > My understanding is that the message said that the page had a mix of ssl > and non ssl and that the root remained https. This root did not remain > https before the key change. maybe João will throw light on this ;) we should wait for an ans

[PHP] Re: ssl.

2006-08-25 Thread Alex Turner
My understanding is that the message said that the page had a mix of ssl and non ssl and that the root remained https. This root did not remain https before the key change. Mourad Boulahboub wrote: Hi Alex, Alex Turner schrieb am 25.08.2006 09:55: Mourad, I think that you might have misrea

[PHP] Re: ssl.

2006-08-25 Thread Mourad Boulahboub
Hi Alex, Alex Turner schrieb am 25.08.2006 09:55: > Mourad, > > I think that you might have misread the original post. The snag appears > not to be the leaving of a secure site. The snag is that root document > is secure but some of the embedded urls (images, frames, iframes etc) > are unsec

[PHP] Re: ssl.

2006-08-25 Thread Alex Turner
Mourad, I think that you might have misread the original post. The snag appears not to be the leaving of a secure site. The snag is that root document is secure but some of the embedded urls (images, frames, iframes etc) are unsecured. Whilst this again is a standard warning, it is one that

[PHP] Re: [EMAIL PROTECTED]

2006-08-25 Thread Mourad Boulahboub
sorry for that :( Mourad Boulahboub schrieb am 24.08.2006 17:12: > news.gmane.org > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: ssl.

2006-08-25 Thread Mourad Boulahboub
Hi João, this is the standard alert message from internet explorer. Because you go from https to http it get show up. This is no bug in your script or either in the certificate. Try it by surfing to a secure website (not yours) with https and then leave it by typining a non secured website into th