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 li...@cmsws.com 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 some PHP

[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

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

2008-03-03 Thread Ben Edwards
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 from may be defunct) -- PHP General Mailing List (http

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-object in /var/www/vhosts/cultureshop.org/httpdocs

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

2005-02-11 Thread Ben Edwards
/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Bristol, UK, England WARNING:This email contained partisan views - dont ever

[PHP] Magic Quotes

2005-02-10 Thread Ben Edwards (lists)
? 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] 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. They are only needed if you

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 remove magic quotes from

[PHP] Magic Quotes Removal code - almost there

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

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

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

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:- return $radio_html; as the last line of the method. If I

[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

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

2005-02-08 Thread Ben Edwards (lists)
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 address this email is sent from may be defunct) signature.asc

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 +, Ben Edwards wrote: I have been implementing a system on a different ISP than I normally use and have got:- Fatal error: Call to undefined function: cal_days_in_month

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

2005-02-02 Thread Ben Edwards (lists)
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 - Poole, UK, England If you

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

2005-02-01 Thread Ben Edwards
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 - Poole, UK, England

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 background (oracle with a bit of whatcom sqlanywhare) I

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 only applies to GET/POST/COOKIE, htmlspecialchars

[PHP] mysql_pconnect / persistent database conections

2005-01-27 Thread Ben Edwards
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 email

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

2005-01-26 Thread Ben Edwards
it with htmlspecialchars or htmlentities you'd get: input type=text value=quot;gt; Hello World! / 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 input

[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 you have

Re: [PHP] Magic quotes question

2005-01-25 Thread Ben Edwards
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 the php manual it states ' Keep in mind that the setting magic_quotes_gpc will not work at runtime.' What douse this actualy mean

Re: [PHP] Magic quotes question

2005-01-25 Thread Ben Edwards
// to the user. if (magic_quotes_gpc()){ $result = stripslashes($text); } else{ $result = $text; } return htmlspecialchars( $result ); } -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using

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

2005-01-24 Thread Ben Edwards
' ); 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 -- Ben Edwards - Poole, UK, England

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

2005-01-24 Thread Ben Edwards
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 partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http

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

2005-01-24 Thread Ben Edwards
, 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] CC: PHP General List php-general@lists.php.net Subject: Re: [PHP

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, 24 Jan 2005 10:38:03 -0600, Jay Blanchard

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

2005-01-24 Thread Ben Edwards
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. Ben -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse

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 2005 12:58:52 -0500, [EMAIL PROTECTED

Re: [PHP] array search

2005-01-23 Thread Ben Edwards
); } } return(False); } ? pHi ?php echo (_array_search($viz_ip, $byte_ip)); ?/p J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Poole, UK, England WARNING:This email contained

[PHP] Loading all clases always

2005-01-22 Thread Ben Edwards (lists)
they 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

[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
, visit: http://www.php.net/unsub.php -- 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

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 in it. After the post print_r( $_POST ) shows

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 number of hidden values in it. After the post

Re: [PHP] Search engine

2005-01-20 Thread Ben Edwards
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 Edwards - Poole, UK, England WARNING:This email contained partisan views

Re: [PHP] Search engine

2005-01-20 Thread Ben Edwards
://www.php.net/unsub.php -- 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

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

2005-01-20 Thread Ben Edwards
? 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 General

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

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

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 there, I am pretty new to writing classes (and pretty new to PHP itself), but I was wondering

[PHP] Problem with hidden form input values

2005-01-19 Thread Ben Edwards (lists)
[mb_memberships][0] value=mb_e_id input type=hidden name=keyValue[mb_memberships][0] value=10 input type=hidden name=keyField[mb_memberships][1] value=mb_id input type=hidden name=keyValue[mb_memberships][1] value=1 Any idea why they wont post? Ben -- Ben Edwards - Poole, UK, England If you have

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

2005-01-18 Thread Ben Edwards
Zend Studio was a IDE with a debugger? Ben -- Lester Caine - L.S.Caine Electronic Services -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Poole, UK, England WARNING:This email

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

2005-01-18 Thread Ben Edwards
using Eclipse with the debugger on linux? -- Cheers! Marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer

[PHP] Problem with foreatch()

2005-01-16 Thread Ben Edwards (lists)
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 email use this link http://www.gurtlush.org.uk/profiles.php?uid

[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 ICQ 42000477

Re: [PHP] dynamic - static

2003-10-08 Thread Ben Edwards
-- * 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

[PHP] Verry strange GET behaviour

2003-10-07 Thread Ben Edwards
!$_section!; I get the following output !/adultdyslexia.org/quiz.php?_menu=TOPissue=1_section=QUIZgen=Y!! So why is $_section blank! Ben -- * Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 * * Homepage - nothing

Re: [PHP] Verry strange GET behaviour

2003-10-07 Thread Ben Edwards
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 * * Critical Site

Re: [PHP] Verry strange GET behaviour

2003-10-07 Thread Ben Edwards
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 -- * Ben Edwards Tel

[PHP] GET globals REQUEST the plot thickens

2003-10-07 Thread Ben Edwards
-- * 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

[PHP] Passing database resource to object (OO)

2003-08-14 Thread Ben Edwards
class Contacts{ var $SESSION = array(); var $db; function Contacts( $SESSION, $db ) { $SESSION = array(); $this-$db = $db; echo $this-db; } * Ben

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

Re: [PHP] array method attributes (OO)

2003-08-14 Thread Ben Edwards
* 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 collaborative web

[PHP] Zend Development Environment

2003-06-27 Thread Ben Edwards
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 Builder

[PHP] mysql_error problem

2003-06-23 Thread Ben Edwards
$SERVER_NAME; // Hard coded to minimize chance of this module erroring $to = [EMAIL PROTECTED]; $from = From: .$to; mail( $to, $subj, $msg, $from ); die(); } * Ben Edwards Tel +44 (0)1179 553 551 ICQ

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

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] Help me pervade Bristol City council to use PHP

2003-03-24 Thread Ben Edwards
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 Builderhttp

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] 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 £ sign, two

Re: [PHP] Problem with comma in mail form

2002-12-26 Thread Ben Edwards
input type=reset name=Submit2 value=Reset /form br/center ?php table_bottom(); html_footer(); close_db( $db ); ? At 11:47 25/12/2002 -0800, Chris Wesley wrote: On Wed, 25 Dec 2002, Ben Edwards wrote: I have a fairly simple mail form which gets email, subject and message and posts to itself

Re: [PHP] Problem with comma in mail form

2002-12-26 Thread Ben Edwards
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 Site Builderhttp

Re: [PHP] Problem with comma in mail form

2002-12-26 Thread Ben Edwards
using to view the message? ---John Holmes... -- 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

[PHP] Problem with comma in mail form

2002-12-24 Thread Ben Edwards
* Ben Edwards +44 (0)117 9400 636 * * Critical Site Builderhttp://www.criticaldistribution.com * * online collaborative web authoring content management system * * Get alt news/views films online http://www.cultureshop.org

[PHP] Problem with sessions.

2002-05-13 Thread Ben Edwards
this 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
Ewington. --- P.S. If there are any ColdFusion developers on this list, what is the PHP equivalent of a structure? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php * Ben Edwards

[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 of getting

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

2002-04-04 Thread Ben Edwards
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 not quite. Was wondering if PHP help the actual full url. Ben At 15:26 04/04/2002, y

Re: [PHP] Exit();

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

Re: [PHP] pdflib

2002-03-18 Thread Ben Edwards
* Ben Edwards +44 (0)117 9400 636 * * Critical Site Builderhttp://www.criticaldistribution.com * * online collaborative web authoring content management system * * i-Contact Progressive Video http://www.videonetwork.org * * Smashing

Re: [PHP] help with date formatting

2002-03-18 Thread Ben Edwards
* Ben Edwards +44 (0)117 9400 636 * * Critical Site Builderhttp://www.criticaldistribution.com * * online collaborative web authoring content management system * * i-Contact Progressive Video http://www.videonetwork.org * * Smashing the Corporate

RE: [PHP] Parse Error Suggestions?

2002-03-18 Thread Ben Edwards
://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

[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: %PDF-1.3 3 0 obj

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

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

[PHP] Windows 2000 Browse/upload problem

2001-12-29 Thread Ben Edwards
is 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

[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

[PHP] Windows/UNIX differences?

2001-11-02 Thread Ben Edwards
the whole thing looking at each character and replaces ' with '' has anybody got any ideas? Ben ** * Ben Edwards+352 091 429995 * * Homepagehttp://www.gifford.co.uk/~bedwards * * i-Contact

[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+352 091 429995 * * Homepage

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 define in any

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

[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

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

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

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 to

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, ifnull()

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

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)) { $diff

[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

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

[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=logreportid=10282302 I assume you mean PHP 4.06? -- Billy Cravens -Original Message- From: Ben Edwards [mailto:[EMAIL PROTECTED

[PHP] MySQL and PHP problem

2001-09-22 Thread Ben Edwards
and there network provider *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ * Ben Edwards [EMAIL PROTECTED] +352 091 429995 * * Homepagehttp://www.gifford.co.uk/~bedwards * * i-Contact Progressive Videohttp://www.videonetwork.org * * Smashing the Corporate

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

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