[PHP] Problem with comma in mail form

2002-12-24 Thread Ben Edwards
ail, $subject, $message, "From: $email" ); Problem is the message gets truncated if there is a comma in the message after the comma. Has anyone had this problem, got a solution to it. Regards, Ben ********

Re: [PHP] Problem with comma in mail form

2002-12-26 Thread Ben Edwards
; CultureShop.org, PO Box 29683, London E2 6XH To send us an email fill in this form and press submit Your Email Address: Subject: Message: if(isset($message)) { echo $message; } ?> table_bottom(); html_footer(); close_db( $db ); ?> A

Re: [PHP] Problem with comma in mail form

2002-12-26 Thread Ben Edwards
line character. So when I run $mgs through the function, do echo $msg, and look in the source of the HTML $msg is still on a number of different lines, Ben ************ * Ben Edwards +44 (0)117 9400 636 * * Critical

Re: [PHP] Problem with comma in mail form

2002-12-26 Thread Ben Edwards
\n instead of just \n. Windows uses \r\n, *nix uses \n and I think MAC uses \r. What are you using to view the message? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php *

[PHP] Money format

2003-01-30 Thread Ben Edwards
* Ben Edwards +44 (0)117 968 2602 * * Critical Site Builderhttp://www.criticaldistribution.com * * online collaborative web authoring content management system * * Get alt news/views films online http://www.cultureshop.org * * i-Contact

Re: [PHP] Money format

2003-01-30 Thread Ben Edwards
As I said it is almost what I want but not quite. If it can be done a code snipit would be good. Ben At 19:44 30/01/2003 -0700, V Dub wrote: http://php.net search in functions for number_format Cheers! Quoting Ben Edwards <[EMAIL PROTECTED]>: ### I wish to format money with a £ sig

[PHP] Passing database resource to object (OO)

2003-08-14 Thread Ben Edwards
echo $this->db; } ************ * Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 * * Homepage - nothing of interest here http://gurtlush.org.uk * * Webhosting for the masses http://www.serverone.co.uk * * Critical Site Builderhttp://www.criticaldistribution.com * * online collab

[PHP] array method attributes (OO)

2003-08-14 Thread Ben Edwards
; function Contacts( $SESSION, $db ) { $this->$SESSION = $SESSION; $this->$db = $db; } .. **** * Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 * * Ho

Re: [PHP] array method attributes (OO)

2003-08-14 Thread Ben Edwards
t (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php **** * Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 * * Homepage - nothing of interest here http://gurtlush.org.uk * * Webhosting for the masses http://www.serverone.co.uk

[PHP] Help me pervade Bristol City council to use PHP

2003-03-24 Thread Ben Edwards
P that the people at Bristol city Council would of heard of (i.e. high profile sites). Also I think this type of thing should be on php.net. Ben ******** * Ben Edwards +44 (0)117 968 2602 * * Critical Site Build

Re: [PHP] Viewing PHP pages

2003-03-24 Thread Ben Edwards
* Ben Edwards +44 (0)117 968 2602 * * Critical Site Builderhttp://www.criticaldistribution.com * * online collaborative web authoring content management system * * Get alt news/views films online http://www.cultureshop.org * * i-Contact

[PHP] SAFE MODE Restriction in effect

2003-06-09 Thread Ben Edwards
by uid 0 in /home/virtual/site4/fst/var/www/html/test/lib/misc.inc on line 219 * Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 * * Webhosting for the masses http://serverone.co.uk * * Critical Site Builder

RE: [PHP] SAFE MODE Restriction in effect

2003-06-09 Thread Ben Edwards
s the line 219 in misc.inc ?! ******** * Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 * * Webhosting for the masses http://serverone.co.uk * * Critical Site Builderhttp://www.criticaldistribution.com

RE: [PHP] SAFE MODE Restriction in effect

2003-06-09 Thread Ben Edwards
dont know why, but they do ;) * Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 * * Webhosting for the masses http://serverone.co.uk * * Critical Site Builderhttp://www.criticaldistribution.com * * online

[PHP] mysql_error problem

2003-06-23 Thread Ben Edwards
"generated by '$SERVER_NAME$SCRIPT_NAME'"; $subj = "Database error from $SERVER_NAME"; // Hard coded to minimize chance of this module erroring $to = "[EMAIL PROTECTED]"; $from = "From: ".$to; mail( $to, $subj, $msg, $from );

[PHP] Zend Development Environment

2003-06-27 Thread Ben Edwards
eople had? Ben **** * Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 * * Homepage - nothing of interest here http://gurtlush.org.uk * * Webhosting for the masses http://www.serverone.co.uk * * Critical Site Bu

[PHP] Verry strange GET behaviour

2003-10-07 Thread Ben Edwards
Been having a problem accessing a variable that is passed on a URL. I've been developing PHP for years and this makes no seance. The variable I am trying to access in the script is $_section. I put the following code at the beginning (before anything else apart from http://gurtlush.org.uk * * We

Re: [PHP] Verry strange GET behaviour

2003-10-07 Thread Ben Edwards
ably start using $_GET in future. Ben -- ************ * Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 * * Homepage - nothing of interest here http://gurtlush.org.uk * * Webhosting for the masses http://www.serverone.co.uk *

Re: [PHP] Verry strange GET behaviour

2003-10-07 Thread Ben Edwards
an use $_REQUEST if you want access to both GET and POST. Thanks for this, are there any issues in using it? what I don't understand is if $_GET is being used people can just change the URL anyway so why is it an issue? Ben -- **********

[PHP] GET globals REQUEST the plot thickens

2003-10-07 Thread Ben Edwards
change the request to GET it works fine! Ben -- ************ * Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 * * Homepage - nothing of interest here http://gurtlush.org.uk * * Webhosting for the masses http://www.serv

Re: [PHP] dynamic -> static

2003-10-08 Thread Ben Edwards
isit this issue. Ben -- ************ * Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 * * Homepage - nothing of interest here http://gurtlush.org.uk * * Webhosting for the masses http://www.serverone.co.uk * * Critical

[PHP] Temp File missing Win2k

2001-12-28 Thread Ben Edwards
I am ruining PHP with IIS on Win2k. I am using a PHP app which was working fine but when the app douse a file/upload/submit in the page posted to the temporary file seems not to exist. This was working fine on my Win98 setup. Any idea what is wrong? Ben -- PHP General Mailing List (http:

[PHP] Windows 2000 Browse/upload problem

2001-12-29 Thread Ben Edwards
where the session data is held). Any idea what is wrong. Regards, Ben ** * Ben Edwards+44 (0)7970 269 522 * * Homepagehttp://www.gifford.co.uk/~bedwards * * i-Contact Progressive Videohttp

Re: [PHP] protecting your php code from other peeping toms?

2001-12-29 Thread Ben Edwards
On this front douse anyone know of any companies who will compile an app as I cant afford the compiler but will need to do this in the future. Is it a stand alone and is it easy to install? Ben At 14:10 15/10/2001, ~~~i LeoNid ~~ wrote: >On Sat, 13 Oct 2001 16:14:39 -0400 impersonator of [EMA

[PHP] Math librarys

2002-02-07 Thread Ben Edwards
Getting error 'Call to undefined function: bcmod() ' cos ISP I am using douse not have maths support enabled. Has anyone got a PHP function that will do mod function so I can use this instead. Ben ******** * B

[PHP] $PHP_SELF empty when using Xitami Web Server

2002-04-20 Thread Ben Edwards
The variable $PHP_SELF seems to be blank, I am using PHP 4.1.2 and Xitami 2.4d9 which are both the latest version. Has anyone else had this problem and do they know how to fix it? Ben * Ben Edwards

[PHP] Problem with sessions.

2002-05-13 Thread Ben Edwards
could be would be much appreciated. I guess if you have cookies turned of it wont work but what else may cause a problem. Regards, Ben * Ben Edwards +44 (0)117 9400 636 * * Critical Site Builderhttp

[PHP] pdflib

2002-03-17 Thread Ben Edwards
all I can to is specify X/Y coordinates and print text. Don't know how many pages the report will be for a start. Ben **** * Ben Edwards +44 (0)117 9400 636 * * Critical Site Builder

Re: [PHP] pdflib

2002-03-18 Thread Ben Edwards
e closed door that we do not see the one which has opened >for us. - Alexander Graham Bell > > > From: Ben Edwards <[EMAIL PROTECTED]> > > Date: Sun, 17 Mar 2002 20:03:55 + > > To: [EMAIL PROTECTED] > > Subject: [PHP] pdflib > > > > I have a html rep

Re: [PHP] help with date formatting

2002-03-18 Thread Ben Edwards
gt; >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php * Ben Edwards +44 (0)117 9400 636 * * Critical Site Builderhttp://www.criticaldistri

RE: [PHP] Parse Error Suggestions?

2002-03-18 Thread Ben Edwards
rror? i.e. - shouldn't a >print or echo before any script runs produce something? Mine isn't! > >-Mike > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php ***

[PHP] FPDF (was Re: [PHP] pdflib)

2002-03-18 Thread Ben Edwards
sorry, should of made it clear I amusing FPDF (http://fpdf.org/) library which looks like it douse the headers for you. Ben At 18:05 18/03/2002, [EMAIL PROTECTED] wrote: >On Mon, 18 Mar 2002, Ben Edwards wrote: > > This looks good, however when I try the examples I get: > > &

[PHP] Current URL, Last URL, error handeling

2002-04-04 Thread Ben Edwards
. Regards, Ben * Ben Edwards +44 (0)117 9400 636 * * Critical Site Builderhttp://www.criticaldistribution.com * * online collaborative web authoring content management system * * i-Contact Progressive Video

Re: [PHP] Current URL, Last URL, error handling

2002-04-04 Thread Ben Edwards
Kind of but not quite. Was wondering if PHP help the actual full url. Ben At 15:26 04/04/2002, you wrote: >On Thursday 04 April 2002 21:56, Ben Edwards wrote: > > Is there a way I can get the whole URL of the current page for error > > handling/reporting. Also is there a way

Re: [PHP] Current URL, Last URL, error handling

2002-04-04 Thread Ben Edwards
orge.net/projects/toca > >Ajudei? Salvei? Que tal um presentinho? >http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 > > >"Ben Edwards" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Kind of but

Re: [PHP] Exit();

2002-04-04 Thread Ben Edwards
ricio Cuenca > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php * Ben Edwards +44 (0)117 9400 636 * * Critical Site Builderhttp://

Re: [PHP] mysql_fetch_array()

2002-04-05 Thread Ben Edwards
General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php * Ben Edwards +44 (0)117 9400 636 * * Critical Site Builderhttp://www.criticaldistribution.com * * online collaborative web authoring content management

[PHP] What is filerpos, filelen and subfile

2001-10-21 Thread Ben Edwards
($file) { $i = filerpos($file,"."); if (!$i) { return ""; } $l = filelen($file) - $i; $ext = subfile($file,$i+1,$l); return filetolower( $ext ); } ********** * Ben Edwards

Re: [PHP] What is filerpos, filelen and subfile

2001-10-21 Thread Ben Edwards
Forget this one, i'me being stupid. At 04:26 P 21/10/01, Ben Edwards wrote: >This is really strange, found this function someware (cant remember where) >and it works. What I cant find is any reference to filerpos, filelen or >subfile on the php website! They are not functions I

[PHP] Windows/UNIX differences?

2001-11-02 Thread Ben Edwards
th \'' not ''. Before I write a function that loops thought the whole thing looking at each character and replaces ' with '' has anybody got any ideas? Ben ** * Ben Edwards

[PHP] Problem starting session

2001-06-20 Thread Ben Edwards
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ * Ben Edwards [EMAIL PROTECTED]+44 (0)7970 269 522 * * Campaign Against proper English, Dyslexia division * * Homepagehttp://www.gifford.co.uk/~bedwards * * i-Contact Progressive Videohttp://www.videonetwork.org

[PHP] Problem starting session

2001-06-20 Thread Ben Edwards
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ * Ben Edwards [EMAIL PROTECTED]+44 (0)7970 269 522 * * Campaign Against proper English, Dyslexia division * * Homepagehttp://www.gifford.co.uk/~bedwards * * i-Contact Progressive Videohttp://www.videonetwork.org

[PHP] Problem starting session

2001-06-20 Thread Ben Edwards
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ * Ben Edwards [EMAIL PROTECTED]+44 (0)7970 269 522 * * Campaign Against proper English, Dyslexia division * * Homepagehttp://www.gifford.co.uk/~bedwards * * i-Contact Progressive Videohttp://www.videonetwork.org

[PHP] Problem starting session

2001-06-20 Thread Ben Edwards
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ * Ben Edwards [EMAIL PROTECTED]+44 (0)7970 269 522 * * Campaign Against proper English, Dyslexia division * * Homepagehttp://www.gifford.co.uk/~bedwards * * i-Contact Progressive Videohttp://www.videonetwork.org

[PHP] 2nd Pass of array empty

2001-08-30 Thread Ben . Edwards
I have some code which loops through a n array using a for loop. This works fine but if I try to loop through the array again in the same script the array seems to be empty (i,e, the loop douse not do any interations). Do I need to reset the array pointer at the begining? Is there something else

[PHP] PHP loosing session object, possible PHP bug

2001-09-13 Thread Ben . Edwards
I am having a bit of a problem with PHP loosing a session object. $SESSIOM ["cart"] is instansiated as a cart object and is a session varable. In 'PHP 4.0.6' which is installed under windows the cart object works flawlesley. But on the production enviroment which is running 'PHP 4.0.3pl1' as a

Re: [PHP] URL security...?

2001-09-13 Thread Ben . Edwards
If the page they type on the URL is available it will be displayed. Security is the remit of the web server not (realy) PHP. However what i do is have a is_logged_in function which uses session varable. Something like if ( is_logged_in() ) { ... do stuff } esle { display_error( 's

Re: [PHP] URL security...? (correction ignore my last post)

2001-09-13 Thread Ben . Edwards
Sorry, finder troble. The message should read:- If the page they type on the URL is available it will be displayed. Security is the remit of the web server not (realy) PHP. However what i do is have a is_logged_in function which uses session varable. Something like if ( is_logged_in() ) {

Re: [PHP] equivelant of ASP's #include file?

2001-09-13 Thread Ben . Edwards
include ( "file" ); However this simply includes the file ( so it would be displayed as if it was html). You can also make the include a .php ( dont forget ). Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Re: [PHP] PHP Security

2001-09-13 Thread Ben . Edwards
This is a rehash of a post earlier today! I implement security with user hierarchies which I will describe here (and also a more flexible method, user groups, which I will outline later ). I use a procedure called ensure_logged_in ( $level ). It is wrapped around all .PHP where security is req

Re: [PHP] select in PHP + Sql Server

2001-09-13 Thread Ben . Edwards
You're doing something wrong! Indexes are only for performance and possibly they may be used for helping in ensuring uniquenes. sorry cant be any more help without code. "Marcos Mathias" <[EMAIL PROTECTED]> on 13/09/2001 20:40:40 Please respond to <[EMAIL PROTECTED]> To: <[EMAIL PROTE

[PHP] Login in https, site in http problem

2001-09-15 Thread Ben Edwards
in https (username and ip address) are not available in http. Has anybody got any word rounds/solutions for this? Regards, Ben *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ * Ben Edwards [EMAIL PROTECTED] +352 091 429995 * * This Email account is protected by http

Re: [PHP] PHP versus ZOPE

2001-09-17 Thread Ben . Edwards
Zope is very good but badly documented. The other things to consider is hosting, which is relatively expensive as there are not that many people who do it. Also the fact that you will have to learn python (which is not a major issue but is probably a much higher learning code than PHP) is someth

[PHP] MySQL and PHP problem

2001-09-22 Thread Ben Edwards
mcop.net ALL spam is reported to ISP and there network provider *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ * Ben Edwards [EMAIL PROTECTED] +352 091 429995 * * Homepagehttp://www.gifford.co.uk/~bedwards * * i-Contact Progressive Videohttp://www.vid

[PHP] RE: MySQL and PHP problem

2001-09-23 Thread Ben Edwards
4.0.6, yes, douse this mean you have a possible solution -:) At 06:54 A 23/09/01 , you wrote: >SpamCop - Report spam: >http://members.spamcop.net/mcgi?action=logreport&id=10282302 > >I assume you mean PHP 4.06? > >-- >Billy Cravens > >-----Original Message- &g

Re: [PHP] Receiving mySQL result from remote server?

2001-09-24 Thread Ben . Edwards
Yes, in fact it is normal. Having dedicated MySQL box is a good idea. A lot of the MySQL security is based around this. To find out how look in the MySQL manual (download .pdf from www.mysql.com) or go on the mysal mailing list (same domain) or if you have a decent isp get primer from there su

Re: [PHP] PHP and GD

2001-09-24 Thread Ben . Edwards
That directory is VERY close to root. Is that what you intended? "J. Anderson Scarbrough" <[EMAIL PROTECTED]> on 24/09/2001 15:59:04 To: [EMAIL PROTECTED] cc: Subject: [PHP] PHP and GD I am trying to create PNG images on the fly using the following code. if(file_exists($key)) { $di

[PHP] Getting my head around nulls.

2001-09-24 Thread Ben . Edwards
First recap (been doing RDBMS stuff for over 10 years so reckon this is correct). Nulls and blank are NOT the same in RDBMS (in fact there are actually several types of nulls). MySQL implements this correctly (Unlike Oracle which treats null and blank the same). Up to now I am OK but when it co

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Ben Edwards
Dont use sessions, they are a little flaky anyway. Use a mixture of holding data in database and passing sid/userid/hash around on the URL. You wont regret it. >I have written here several times on this subject and in the end those who >have gratiously helped me have ended up just telling me t

RE: [PHP] Getting my head around nulls.

2001-09-25 Thread Ben . Edwards
>I wish the rest of the world saw it that way! But not so... That's what capitalism does for you -;) >You may want to look at MySQL's IS_NULL function for retrieving data. Other >than that, I don't have any good advice. It seems that if you retrieve a >NULL from the database and try to assign it

RE: [PHP] Getting my head around nulls.

2001-09-25 Thread Ben . Edwards
Just realised, you meant 'is null' not is_null. Sorry, couldn't see the wood for the trees. This in ANSI SQL and I use it every day. Had a look at zootweb.com. And I thought ASP meant 'Active Server Pages' not 'Application Service Provider'. And not a zoot suit in sight -;) Regards, Neb

RE: [PHP] Getting my head around nulls

2001-09-25 Thread Ben . Edwards
>Thanks for correcting my misspelling, Andrey, "IS NULL" not "IS_NULL". >Another thing to look at, Ben, is IFNULL(). I would give you an example, but >I never got it to work like I thought it should ;) I think it is supposed to >return an alternate value for NULLs. Just had a look at manual, ifnu

Re: [PHP] Getting my head around nulls

2001-09-26 Thread Ben . Edwards
Steve Cayford <[EMAIL PROTECTED]> on 25/09/2001 17:28:57 To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP] Getting my head around nulls On Tuesday, September 25, 2001, at 10:30 AM, [EMAIL PROTECTED] wrote: >> >> Just had a look at manual, ifnull()

[PHP] PHP is a Bloated Kludge, discuss!

2001-10-04 Thread Ben . Edwards
(From behind filing cabinet where I am ducking preparing for flames). Is it just me or is there anyone else that thinks PHP suffers from not being modular. Let me explain myself. If you write a module for a lot of procedural languages it sits on the filling system and is called up when it is ne

Re: [PHP] PHP is a Bloated Kludge, discuss!

2001-10-04 Thread Ben . Edwards
Exelent, as I said I was playing devels advicate, I like PHP a lot, I am trying to get someone else to use it to and they came up with this stuff. > if(condition) include 'file'; Is exactly what I was looking for. As 'if () {}' loaded, or at least parsed things I did'nt think another form of i

[PHP] PHP is NOTa Bloated Kludge, end of discusion?

2001-10-05 Thread Ben . Edwards
"Maxim Maletsky \(PHPBeginner.com\)" <[EMAIL PROTECTED]> on 05/10/2001 01:43:57 To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> cc: Subject: RE: [PHP] PHP is a Bloated Kludge, discuss! Firstly let me say that you lot have been great. Lots of useful stuff and no flame, big Respect! Sorry

[PHP] Fwd: PHP Enterprise Bananas

2012-11-06 Thread Ben Edwards
. Ben -- *Ben Edwards - Freelance Filmmaker, Bristol, UK *http://www.funkytwig.com - View my show-reel and production services http://www.icontactvideo.org - iContact Video Network - Community Video Group http://bristol.mirocommunity.org/ - Bristol Community Channel http://bristol.mirocommunity.org

Re: [PHP] Fwd: PHP Enterprise Bananas

2012-11-07 Thread Ben Edwards
Thanks everybody, looks like I was going down a blind alley, we can just run stuff from cron. Ben On 6 November 2012 17:50, Jim Lucas wrote: > On 11/06/2012 05:03 AM, Ben Edwards wrote: > >> Not sure if this was some type of joke but came across it a while ago. We >> have s

Re: [PHP] Problem using return from a class.

2005-02-09 Thread Ben Edwards
On Wed, 9 Feb 2005 16:12:58 +0800, Jason Wong <[EMAIL PROTECTED]> wrote: > On Wednesday 09 February 2005 01:33, Ben Edwards (lists) wrote: > > > > Maybe you should post a bit of code to illustrate your problem ;) > > > > I'me just doing:- > > > >

Re: [PHP] Creating a varable with a name held in a string

2005-02-11 Thread Ben Edwards
at exactly is a simble table? Ben > > -- > > ---John Holmes... > > Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ > > php|architect: The Magazine for PHP Professionals â www.phparch.com > > -- > PHP General Mailing List (http://www.php.net/) > To

[PHP] Fatal error: Call to a member function web_order_change() on a non-object

2008-03-03 Thread Ben Edwards
change in OO handling, any idea what is going on and how to fix it? Regards, Ben -- Ben Edwards - Bristol, UK http://www.flickr.com/photos/funkytwig - have a look at my pics If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent fro

Re: [PHP] Fatal error: Call to a member function web_order_change() on a non-object

2008-03-03 Thread Ben Edwards
On 03/03/2008, Chris <[EMAIL PROTECTED]> wrote: > Ben Edwards wrote: > > Our server has just been upgraded to PHP 5.2.5 and suddenly I am > > getting the following error: > > > > Fatal error: Call to a member function web_order_change() on a > > non-ob

Re: [PHP] Re: PHPED PHP IDE (wasRe: [PHP] php editor)

2005-01-18 Thread Ben Edwards
y, and is used by PhpED amongst others - there > is no IDE with the debugger. I thought Zend Studio was a IDE with a debugger? Ben > > -- > Lester Caine > - > L.S.Caine Electronic Services > > -- > PHP General Mailing List (http://www.php.net/)

Re: [PHP] Re: PHPED PHP IDE (wasRe: [PHP] php editor)

2005-01-18 Thread Ben Edwards
d debugger in > php3 (http://www.zend.com/manual/debugger.php). > > Are you using one of DBG APD or Xdebug? Are you using Eclipse with the > debugger on linux? > > -- > Cheers! > Marco > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, vi

Re: [PHP] Problem with hidden form input values

2005-01-20 Thread Ben Edwards
On Wed, 19 Jan 2005 15:22:55 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]> wrote: > Ben Edwards (lists) wrote: > > I know this is not strictly speaking a PHP question but it is to do with > > a PHP app. > > > > I have a form with a number of hidden values i

Re: [PHP] Problem with hidden form input values

2005-01-20 Thread Ben Edwards
On Thu, 20 Jan 2005 07:33:01 +0800, Jason Wong <[EMAIL PROTECTED]> wrote: > On Thursday 20 January 2005 07:07, Ben Edwards (lists) wrote: > > I know this is not strictly speaking a PHP question but it is to do with > > a PHP app. > > > > I have a form with a numb

Re: [PHP] Search engine

2005-01-20 Thread Ben Edwards
; wrote: > > Hi, > Can someone recommend me a search engine script in PHP for inside one site? > > Thanks in advance! > Rosen > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Ben Edwar

Re: [PHP] Search engine

2005-01-20 Thread Ben Edwards
generating from PHP > scripts. > > "Ben Edwards" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > This kind of depends on what database you are using (I am asuming you > > mean you have a data driven site you want to search so strictly > >

[PHP] quoting values in HTML - is there a diference between ' and "

2005-01-20 Thread Ben Edwards
HTML? Ben -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- PHP Ge

[PHP] phppatterns.com, Nice idea, shame about the site (was Re: [PHP] Re: class structure.)

2005-01-20 Thread Ben Edwards
FM | http://www.php.net/manual/en/index.php > STFW | http://www.google.com/search?q=php > LAZY | > http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.

Re: [PHP] Re: phppatterns.com, Nice idea, shame about the site (was Re: [PHP] Re: class structure.)

2005-01-20 Thread Ben Edwards
On Thu, 20 Jan 2005 11:55:37 -0500, Jason Barnett <[EMAIL PROTECTED]> wrote: > Ben Edwards wrote: > > On Thu, 20 Jan 2005 09:37:37 -0500, Jason Barnett > > <[EMAIL PROTECTED]> wrote: > > > >>Dustin Krysak wrote: > >> > >>>Hi t

[PHP] if then else short form

2005-01-21 Thread Ben Edwards
I seem to remember seing someone use a abreaviated form of a if/them/else of the type that can be used in java. It was something like if ( a=b ) ? a=1 ; a=2; Anybody know what the correct syntax is? Ben -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont

[PHP] oo arcitecture (Re: [PHP] Extending a Class)

2005-01-21 Thread Ben Edwards
t; $this->row++; > return mysql_fetch_assoc($this->results); > } > > Can I just write something like within PageResultSet > function fetchAssocPRS extends fetchAssoc () { > if ($this->row >= $this->pageSize) return FALSE; > } > > Thanks for the help. > &g

Re: [PHP] array search

2005-01-23 Thread Ben Edwards
86"=>"John", > ); > > function _array_search ($viz_ip, $byte_ip) { > > foreach($byte_ip as $key => $val) { > > if ($viz_ip === $key) { > return($val); > } > > } > > return(False); > } &

[PHP] String to Date and Date to String Functions?

2005-01-24 Thread Ben Edwards
#x27;DD/MM/' ); Date to String Function return str dateToString( date Date, str Format ) e.g. $todayStr = dateToString ( $todayDt,'DD/MM/' ); Anyone know of any functions that do this or have pointers as to how it can be done. Ben -- Be

Re: [PHP] String to Date and Date to String Functions?

2005-01-24 Thread Ben Edwards
the PHP data/time functions are a mess. Generaly when you find a function to do something to a data item there is an obvious way of reversing this (i.e. it has a simeler name). This douse not seem to be the case with PHP;( Ben -- Ben Edwards - Poole, UK, England WARNING:This email contained parti

Re: Re: [PHP] String to Date and Date to String Functions?

2005-01-24 Thread Ben Edwards
, display it on a form, validate it, and then convert it back to a timestamp. I cant beleve the PHP date/time functions suck this bad;( Ben > > From: Ben Edwards <[EMAIL PROTECTED]> > > Date: 2005/01/24 Mon PM 12:03:34 EST > > To: Jay Blanchard <[EMAIL PROTECTED]> >

Re: [PHP] String to Date and Date to String Functions?

2005-01-24 Thread Ben Edwards
On Mon, 24 Jan 2005 19:22:40 -, Ford, Mike <[EMAIL PROTECTED]> wrote: > To view the terms under which this email is distributed, please go to > http://disclaimer.leedsmet.ac.uk/email.htm > > > On 24 January 2005 17:04, Ben Edwards wrote: > > > On Mon, 2

Re: Re: [PHP] String to Date and Date to String Functions?

2005-01-24 Thread Ben Edwards
> Well, you could always write some extensions to PHP to cover it, as soon > as you learn to spell does :) > That is awfull grammer. Ime dyslexic, whats your excuse. Was wondering if someone else has writern the function, dont have time at the mo and thought someone else may of. Be

Re: Re: [PHP] String to Date and Date to String Functions?

2005-01-24 Thread Ben Edwards
On Mon, 24 Jan 2005 20:15:15 -, Ford, Mike <[EMAIL PROTECTED]> wrote: > To view the terms under which this email is distributed, please go to > http://disclaimer.leedsmet.ac.uk/email.htm > > On 24 January 2005 19:01, Ben Edwards wrote: > > > On Mon, 24 Jan

[PHP] Magic quotes question

2005-01-25 Thread Ben Edwards
In the php manual it states ' Keep in mind that the setting magic_quotes_gpc will not work at runtime.' What douse this actualy mean? Ben -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If

Re: [PHP] Magic quotes question

2005-01-25 Thread Ben Edwards
ting inside a script with ini_set. > > Since the earliest opportunity to set it in a script would be after it > would have already done it's job, it won't work. > > You must set it before the script runs. > > Chris > > Ben Edwards wrote: > > >In th

Re: [PHP] Magic quotes question

2005-01-25 Thread Ben Edwards
PS. How does htmlspecialchars fit into this. The unprep function is to prepare date coming from the database to be used in http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Magic quotes question (still driving me mad)

2005-01-26 Thread Ben Edwards
with htmlspecialchars or htmlentities you'd get: > > > > And the box would contain the proper data > > > Ben Edwards wrote: > > >PS. How does htmlspecialchars fit into this. The unprep function is > >to prepare date coming from the database to be used in

Re: [PHP] Magic quotes question (still driving me mad)

2005-01-27 Thread Ben Edwards
On Wed, 26 Jan 2005 13:07:34 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]> wrote: > Ben Edwards wrote: > > On Tue, 25 Jan 2005 17:02:21 -0800, Chris <[EMAIL PROTECTED]> > > wrote: > >> You should probably use get_magic_quotes_runtime() , as _gpc

[PHP] mysql_pconnect / persistent database conections

2005-01-27 Thread Ben Edwards
other question is what happens if lots of people connect using the same user/password. I tend to do my own user management so everybody douse. Is doing my own user management really dodge, if we were talking about oracle I would probably say it is. Ben -- Ben Edwards - Poole, UK, England WARNING:This

Re: [PHP] mysql_pconnect / persistent database conections

2005-01-28 Thread Ben Edwards
On Thu, 27 Jan 2005 22:14:52 -0800, Steve Slater <[EMAIL PROTECTED]> wrote: > At 10:43 AM 1/27/2005, Richard Lynch wrote: > >Ben Edwards wrote: > > > Been meaning to investigate persistent database connections for a > > > while. Coming from a rdbms backgro

[PHP] cal_days_in_month() missing, how can I tell if it exists

2005-02-01 Thread Ben Edwards
exists in PHP. That way I can have the relevant validation skipped if the function is missing (I will tell the client if they get decent hosting it will start working). So something like function_exists( cal_days_in_month() ) Anyone know what the function is called. Ben -- Ben Edwards

Re: [PHP] cal_days_in_month() missing, how can I tell if it exists

2005-02-02 Thread Ben Edwards
On Tue, 1 Feb 2005 18:57:12 -0600, James Kaufman <[EMAIL PROTECTED]> wrote: > On Tue, Feb 01, 2005 at 08:47:29PM +0000, Ben Edwards wrote: > > I have been implementing a system on a different ISP than I normally use > > and have got:- > > > > Fatal

[PHP] Problem using return from a class.

2005-02-08 Thread Ben Edwards (lists)
I am having a really odd problem. I have a class and if I do a return nothing is returned. If I do an echo of the variable that is being returned I can see it so there is something to return. Is there some strange bug in PHP? Ben -- Ben Edwards - Poole, UK, England If you have a problem

  1   2   >