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

[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] 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

[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] 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] Creating a varable with a name held in a string

2005-02-10 Thread Ben Edwards (lists)
e foreach( $row as $index => value ) { create_var( $index, $value ); } So the question is is there a function like create_var which takes a string and a value and creates a variable? Ben -- Ben Edwards - Poole, UK, England If you have a problem sending me email use this link http://www.gurtl

[PHP] Magic Quotes Removal code - almost there

2005-02-10 Thread Ben Edwards (lists)
quotes_runtime is false even if magic codes are on, any ideas? Ben -- Ben Edwards - Poole, UK, England If you have a problem sending me email use this link http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) signature.asc Description: This is a

Re: [PHP] Magic Quotes

2005-02-10 Thread Ben Edwards (lists)
On Thu, 2005-02-10 at 13:45 +0100, Jochem Maas wrote: > Ben Edwards (lists) wrote: > > PS phpsc.net seems to be down, or is the domain wrong? > > er yes, oops. as Jeffery pointed out it should have been > phpsec.org. had a brainfreeze sorry. OK, trying to do a function to r

Re: [PHP] Magic Quotes

2005-02-10 Thread Ben Edwards (lists)
On Thu, 2005-02-10 at 13:28 +0100, Jochem Maas wrote: > Ben Edwards (lists) wrote: > > Am I correct in thinking Magic Quotes automatically adds quotes to all > > posted variables, therefore if you are displaying post variables on a > > form you have to remove the quotes. Th

[PHP] Magic Quotes

2005-02-10 Thread Ben Edwards (lists)
do not actually have to do anything to data fetched from the database. If magic quoted are not on you have to add slashes before you add to the database. There is also another function you need pass stuff through if you are going to use it in an , what is that function? Ben -- Ben Edwards - Poole

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] Problem using return from a class.

2005-02-08 Thread Ben Edwards (lists)
the method. If I do echo $radio_html; The condense of the variable gets outputted. I could post the method here but its a bit long. Ben -- Ben Edwards - Poole, UK, England If you have a problem sending me email use this link http://www.gurtlush.org.uk/profiles.php?uid=4 (email addre

[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

[PHP] Is there a function to c if a php function exists

2005-02-02 Thread Ben Edwards (lists)
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 - P

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] 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] 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] 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] 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

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

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

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

[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: 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

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: [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
, 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
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

[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] 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] Loading all clases always

2005-01-22 Thread Ben Edwards (lists)
will all probably be needed by one of the visitors. Ben -- Ben Edwards - Poole, UK, England If you have a problem sending me email use this link http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- Ben Edwards - Poole, UK, England If you have a

[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

[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

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] 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.

[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

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 > >

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] 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] 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

[PHP] Problem with hidden form input values

2005-01-19 Thread Ben Edwards (lists)
post? Ben -- Ben Edwards - Poole, UK, England If you have a problem sending me email use this link http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) signature.asc Description: This is a digitally signed message part

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] 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/)

[PHP] Problem with foreatch()

2005-01-16 Thread Ben Edwards (lists)
However if I replace it with: print_r( $_POST["mtype"] ); I get: Array ( [1] => RESTAURANT [2] => BEVERAGEWINE [3] => MAIN ) so the array is populated, what am I doing Wrong? Regards, Ben -- Ben Edwards - Poole, UK, England If you have a problem sending me emai

[PHP] Finding position of New line in string

2004-02-25 Thread Ben Edwards (lists)
I am trying to find the position of the first occurrence on new line in a string that comes from a database. I tried $pos = strpos( $list_text, "/n" ); But it never returns anything. Any help would be much appreciated. Ben -- Ben EdwardsTel +44 (0)1179 553 551 IC

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] 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] 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 -- **********

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 *

[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] 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] 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

[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] 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] 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 );

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

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

[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] 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] 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] 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] 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] 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 *

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
; 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

[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 ********

[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] $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

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

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] 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] 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

[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

[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: > > &

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 ***

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] 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

[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

[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

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] 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

[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/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

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] 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

[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

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 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] 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()

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-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
>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] 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

[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] 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

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

[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

[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

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] 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

  1   2   >