RE: [PHP] PHP access of FileMaker data

2007-11-14 Thread George Pitcher
Paul, > What I'm really looking for is a PHP class that will read FileMaker > files in their native format. I'm beginning to suspect that none > exists in the public arena. Someone please tell me there is! I've been a Filemaker user (and had some Lasso and Frontier driven sites once). I still u

[PHP] Emailing dilemma

2007-11-26 Thread George Pitcher
Hi, I have almost 30 websites that use PEAR::Mail to send emails on behalf of users at universities (one site for each) to lecturers at the same university. The problem I have is that if a lecturer sets an 'Out of Office' status, it gets bounced back to my server instead of to the user at the uni

RE: [PHP] Emailing dilemma

2007-11-27 Thread George Pitcher
ot;For example, this can be used to set the envelope sender address > when using > sendmail with the *-f* sendmail option." > > It is not well documented, don't know if this helps, but it may get you > started. > > Cheers - Miles > > On Nov 26, 2007 3:21 PM, Geo

RE: [PHP] Emailing dilemma

2007-11-27 Thread George Pitcher
Hi Rob, > > You could try the following headers (they might also cause trouble to the > antispam soft, but I'd give it a try) > > // Replies delivered to the user > Reply-To: <[EMAIL PROTECTED]> > // Bounces delivered to the user > Return-Path: <[EMAIL PROTECTED]> > // Errors delivered to the user

RE: [PHP] Can I create flash via php?

2007-11-28 Thread George Pitcher
Ronald, Add 'example' to the end of the search query. George > -Original Message- > From: Ronald Wiplinger [mailto:[EMAIL PROTECTED] > Sent: 28 November 2007 8:07 am > To: Jay Blanchard > Cc: PHP General list > Subject: Re: [PHP] Can I create flash via php? > > > Jay Blanchard wrote: >

RE: [PHP] ini_set('memory_limit', '16M')

2007-11-28 Thread George Pitcher
Hi, > On one script (pulling large amount of data from mysql) I'm getting error: > "Fatal error: Allowed memory size of 16777216 bytes exhausted..." > I put on the beginning of the page > ini_set('memory_limit', '64M'); > but I'm still getting the same error message?!? > ini_set() returns the old

RE: [PHP] Which file called the function?

2007-12-20 Thread George Pitcher
> On Thu, December 20, 2007 8:37 am, Christoph Boget wrote: > > Let's say I have the following 3 files > > > > global.php > > > function myFunc() { echo __FILE__; } > > ?> > > > > one.php > > > include( 'global.php' ); > > echo 'You are in file: '; > > myFunc(); > > ?> > > > > two.php > >

[PHP] Anyone else doing PHP on Symbian?

2008-02-05 Thread George Pitcher
Hi, I've recently installed PAMP (PHP, Apache, MySQL & Python) on my Nokia N95. I can do my development in Dreamweaver and move across to the phone and it all works. I have some questions, but won't bother asking if there's no-one else here doing it. Cheers George, in a very wet Edinburgh --

RE: [PHP] php book

2008-03-19 Thread George Pitcher
> On Wed, Mar 19, 2008 at 10:50 AM, alexus <[EMAIL PROTECTED]> wrote: > > what book would you guys suggest for someone who's new and > wants to learn php? > > This is just my opinion, of course, but I wouldn't recommend > starting with a book. I'd recommend the online manual at > http://php.ne

[PHP] Anyone using clsMsDocGenerator?

2008-03-20 Thread George Pitcher
Hi, If anyone is using clsMsDocGenerator to produce MSWord files without using COM, I have a just one question (I tried the PHPClasses forum, but couldn't get my forum post in). How do you remove borders from tables? I am preformatting a html string with att the data going into the document, inc

[PHP] OT Smarty problem

2008-05-28 Thread George Pitcher
Hi, Apologies for posting this here but coudn't find a decent Smarty list. I've been using Smarty for 4 years without much problem. I'm adding some extra functionality to a page used by 2 members of staff. My snippets of relevant code are: $smarty->assign('clearance', $clearbits['clearance_

RE: [PHP] OT Smarty problem

2008-05-28 Thread George Pitcher
Iv, Thanks, but its Firefox to blame. Apparently it holds previously stored values in form fields. These are released when the user holds shift while reloading. Cheers George >| -Original Message- >| From: Iv Ray [mailto:[EMAIL PROTECTED] >| Sent: 28 May 2008 4:55 pm >

RE: [PHP] List

2007-04-24 Thread George Pitcher
> Does anyone else have this problem with the list. It seems that > every time I > check my email there is one or more messages from the list that royally > screws up Outlook. I usually have to delete all list messages from the > actual server and reboot. It only happens with emails from > [EMAIL P

[PHP] Anyone scripted Crossover?

2007-06-06 Thread George Pitcher
Hi, Nothing found in the archive, so asking the question: has anyone done any scripting of Crossover to control MS Office applications on Linux? I would love to move to Linux, but have some apps that create MS Word docs and some doing Excel parsing. Cheers George in Edinburgh/Oxford

RE: [PHP] Anyone scripted Crossover?

2007-06-06 Thread George Pitcher
Tijnema, > > Nothing found in the archive, so asking the question: has > anyone done any > > scripting of Crossover to control MS Office applications on Linux? > > > > I would love to move to Linux, but have some apps that create > MS Word docs > > and some doing Excel parsing. > > > > Cheers > >

RE: [PHP] Re: how PHP is batter?

2007-07-03 Thread George Pitcher
Colin, > Either phrase can be a good or a bad thing, it all depends on tone - > Scottish is very like Japanese in that respect :p > Nips are good, but drams are better! George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Controlling a scanner with PHP

2006-06-27 Thread George Pitcher
Hi, I have been asked to look at extending one of my CMS systems to incorporate integration to a library management system, as well as LDAP and Active Directory. The requirement also asks for scanning and OCR of documents to be controlled by the CMS. Does anyone have any experience of implementin

RE: [PHP] Controlling a scanner with PHP

2006-06-28 Thread George Pitcher
Hi guys, Back onto the original topic. I spoke to my potential client this m orning and they were just looking for the scanning steps to be recordable in the CMS - which my CMA already does. Thanks for all the positive suggestions and nice to see me starting a useful conversation for once. Cheer

[PHP] Problem with wanting something NOT to round

2006-11-17 Thread George Pitcher
Hi, As part of a result from a web-service call, I get a price in dollars and cents as a decimal number eg.160.44 (the example I am working on. This price is for permission to re-use some published material and for each additional separate pagerange, $3 needs to be added afterwards. So I have th

RE: [PHP] Problem with wanting something NOT to round

2006-11-17 Thread George Pitcher
> George Pitcher wrote: > > As part of a result from a web-service call, I get a price in > dollars and > > cents as a decimal number eg.160.44 (the example I am working on. This > > price is for permission to re-use some published material and for each > > additiona

RE: [PHP] Problem with wanting something NOT to round

2006-11-17 Thread George Pitcher
> George Pitcher wrote: > >> Are you sure the web service is giving you 160.44? I get it > displayed as > >> expected... > >> > >> http://dev.stut.net/php/pitcher.php > >> > > Yes, I am echoing the 160.44 ok. I'm just not gettin

[PHP] Problem with mail() on Debian

2006-02-21 Thread George Pitcher
Hi, I am in the process of moving from Windows (NT/XP) to Linux. I'm starting with a new small application which I have working on my Windows XP laptop. On my Linux box, I have php.ini saying: sendmail_path /usr/sbin/sendmail That 'sendmail' is a symbolic link to exim4 in the same directory. I

RE: [PHP] Problem with mail() on Debian

2006-02-22 Thread George Pitcher
displayed (always shows sendmail_path = /usr/sbin/sendmail). Cheers George > -Original Message- > From: Jochem Maas [mailto:[EMAIL PROTECTED] > Sent: 22 February 2006 7:01 pm > To: George Pitcher; [php] PHP General List > Subject: Re: [PHP] Problem with mail() on Debian >

RE: [PHP] Problem with mail() on Debian

2006-02-22 Thread George Pitcher
Manuel, > > I have found that any changes I make to php.ini are ignored, even after > > restarting Apache. I have been editing httpd.conf via Webmin, > which for most > > configs works fine (and is displayed in phpinfo(), the sendmail > changes are > > never displayed (always shows sendmail_path =

RE: [PHP] Problem with mail() on Debian

2006-02-23 Thread George Pitcher
Jochem, > > personally I'd rather stick my head in a blender than use webmin to edit > such conf files. (no I wouldn't but you get the point hopefully) > > how are you restarting apache? possibly your being told that the restart > occured but really your being lied to ... try doing it 'manually':

[PHP][SOLVED] Problem with mail() on Debian

2006-02-24 Thread George Pitcher
8 pm > To: php-general@lists.php.net > Subject: Re: [PHP] Problem with mail() on Debian > > > Hello, > > on 02/23/2006 11:32 AM George Pitcher said the following: > > My apache error.log says: > > > > sh: line 1: /usr/sbin/sendmail -t: no such file or directo

RE: [PHP] making a tutorial

2006-03-17 Thread George Pitcher
> >>> Which of the following pets do have at home: > >>> dog > >>> cat > >>> snake > >>> snake > >>> none of > >>> these > >>> > > [snip] > >> I don't know if this works in PHP as well. > > It is a "checkbox" so it won't work without "[]" in PHP. > > > > It will work without []. It will just not b

RE: [PHP] extract text from pdf

2006-05-11 Thread George Pitcher
Have a look at the iText java class. I use it in conjuction with php for file splitting and concatenation, but it has a whole host of other features. It's accessible via sourceforge or from the author at www.lowagie.com/iText/. Hope it helps George > -Original Message- > From: cajbecu [m

RE: [PHP] Security Concerns with Uploaded Images:

2006-05-17 Thread George Pitcher
> On Mon, May 15, 2006 1:58 am, Jason Wong wrote: > > 2) the uploaded file is a "script" (perl/php/python/etc) > > > In the case of (2), if the script relies on its shebang line to > > execute > > Not necessarily -- What if I upload an "image" file named > "badscript.php" and then I surf to it, aft

[PHP] Slow query-building function

2006-05-25 Thread George Pitcher
Hi, Last year I switched from using FileMaker Pro to MySQL. One of FileMaker's quirks was that if, in a text field, you searched for say, 'free ass boo', it would find any records with those three substrings in that field (in this example, its 'Free Association Books'). I want to have this quirki

RE: [PHP] Including Functions; one file or many?

2006-05-26 Thread George Pitcher
Mark, I use one functions file per site, then I know that if I include it, and all of my functions are available. George > -Original Message- > From: Mark Kelly [mailto:[EMAIL PROTECTED] > Sent: 26 May 2006 9:02 am > To: php-general@lists.php.net > Subject: [PHP] Including Functions; one

[PHP] file_exists() behind firewall

2006-06-15 Thread George Pitcher
Hi, I have several websites that are using a common set of pages (to reduce maintenance, development and upgrading) and use configuration files to give the customer the feeling that it is their own unique site. The customers are all universities and use the sites to manage digitisation and copyrig

RE: [PHP] templating

2006-06-22 Thread George Pitcher
Ryan, I would still recommend Smarty. It can be as big as you like, but it can also be very simple to set up and maintain. It has the features should your friend decide to expand his usage in the future. If you opt now for something with limited features and later decide to step beyond them, you'

[PHP] Building multi-page Word docs with PHP?

2005-05-25 Thread George Pitcher
Hi, I currently create my multipage docs by saving my word templates as chunks of rtf and then calling them as required as a very long string then outputting them to an rtf file and renaming it as '*.doc'. It works great except for the filesize which comes out at 900k for a two-page document. Open

RE: [PHP] Building multi-page Word docs with PHP?

2005-05-26 Thread George Pitcher
. I do use it to parse an Excel file that we receive in a predefined format. Cheers George > -Original Message- > From: Rory Browne [mailto:[EMAIL PROTECTED] > Sent: 26 May 2005 2:47 am > To: Jochem Maas > Cc: George Pitcher; php-general@lists.php.net > Subject: Re: [P

RE: [PHP] Copy to network share

2005-06-01 Thread George Pitcher
I never managed to get this working with IIS. I could with Apache (win) though, after making sure that Apache was logged in as the administrator. George > -Original Message- > From: Mikey [mailto:[EMAIL PROTECTED] > Sent: 1 June 2005 7:54 pm > To: php > Subject: Re: [PHP] Copy to network

RE: [PHP] PHP vs. ColdFusion

2005-07-01 Thread George Pitcher
You need to define 'normal mailing list'. I'm on about 20 different lists and only one of them has a default of 'reply to all'. George > -Original Message- > From: Andrew Scott [mailto:[EMAIL PROTECTED] > Sent: 1 July 2005 3:22 pm > To: 'John Nichel'; php-general@lists.php.net > Subject:

[PHP] SOAP client for CCC?

2005-07-07 Thread George Pitcher
Before I get too deep in building something, has anyone done any devel;opment on a soap client for the USA Copyright Clearance Center's Gateway webservice? MTIA George in Oxford -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cURL - is it best for me?

2005-07-26 Thread George Pitcher
Hi, My main site allows authenticated users to insert bibliographic data into our database. We ask them to start by putting in an ISBN or ISSN. Some documentes don't have them, or the use is too lazy to look for them. Rather than them entering jibberish, we first check that if they have entered so

RE: [PHP] Restarting windows from php

2005-08-10 Thread George Pitcher
Just out of interest, how is the restart going to authenticate itself to get up and running? I used to do something like this between two servers - but the were Macs and I was using Frontier and it did work, but not without the odd mishap. If you just want to do it remotely (without recourse to P

RE: [PHP] 'God' has spoken... :-)

2005-08-15 Thread George Pitcher
> Not only that, but as time goes by, community support (this list for > instance) for 4 will likely diminish as others move on to later releases. > Not only will the die-hard PHP4 users find it harder to get > answers to their > questions, but their answers to others will become less relevant to >

[PHP] Advice sought on PHP site maintenance

2005-08-16 Thread George Pitcher
Hi, I manage several sites for my company. Some are running our own service to about 80 customers and others are running a service for some (5 and growing) of our customers. Its the latter one that I need advice on. I have an application where each customer has a website on our service. The funct

RE: [PHP] Advice sought on PHP site maintenance

2005-08-16 Thread George Pitcher
5 pm > To: php-general@lists.php.net > Subject: Re: [PHP] Advice sought on PHP site maintenance > > > George Pitcher wrote: > > Hi, > > > > I manage several sites for my company. Some are running our own > service to > > about 80 customers and others are

RE: [PHP] Advice sought on PHP site maintenance

2005-08-16 Thread George Pitcher
t on PHP site maintenance > > > ""George Pitcher"" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > John, > > > > Thanks for the input. I just knew I hadn't covered everything. My server > is > > currently set up a

RE: [PHP] how to clear cache content in IE using php

2005-08-18 Thread George Pitcher
and are we talking about metric doohickies or imperial ones? No point getting the wrong type. George > -Original Message- > From: John Nichel [mailto:[EMAIL PROTECTED] > Sent: 18 August 2005 2:33 pm > To: php > Subject: Re: [PHP] how to clear cache content in IE using php > > > Jay Blanch

[PHP] setting 'sendmail_from' on windows

2005-08-19 Thread George Pitcher
Hi, I am sending emails out from php using a variety of 'From addresses', depending on who is logged on. I would like bounced messages to go directly to the sender, but they are not. I suspect that this is because in php.ini, I have to set the 'sendmail_from' to a specific address. Can anyone sug

RE: [PHP] Re: setting 'sendmail_from' on windows

2005-08-19 Thread George Pitcher
Mark, Thanks, I'll have a look at that over the weekend. Cheers George > -Original Message- > From: Mark Rees [mailto:[EMAIL PROTECTED] > Sent: 19 August 2005 9:42 am > To: php-general@lists.php.net > Subject: [PHP] Re: setting 'sendmail_from' on wi

RE: [PHP] Re: setting 'sendmail_from' on windows

2005-08-19 Thread George Pitcher
Mark, Just to let you know that it did the trick. Cheers George > -Original Message- > From: Mark Rees [mailto:[EMAIL PROTECTED] > Sent: 19 August 2005 9:42 am > To: php-general@lists.php.net > Subject: [PHP] Re: setting 'sendmail_from' on windows > >

RE: [PHP] Printing \n and \r to the screen

2005-08-24 Thread George Pitcher
> [snip] > I seem to be having trouble with \n and \r in variables. I write my > code on a linux box, and the server is linux. So I should always have > \n\r, no? Is there a way the I could print $variable; and have it show > me the /n and /r 's ? I tried with a srt_replace() on /n and on /r, > but

RE: [PHP] changes in php.ini

2005-08-26 Thread George Pitcher
For IIS, where you have defined your index.html as a default page, you laso need to define index.php as well. To to this, open the 'Properties' for your website in the IIS Admin tool, click on the 'Documents' tab and its straightforward from there. You need to do this for each site. George >

[PHP] Problem with new extension

2005-09-02 Thread George Pitcher
Hi, I think that I may have messed up my php (v5.0.1). Earlier today, I downloaded the most recent extensions and replaced my php_pdf.dll (aug 2004)with the most recent (Mar 2005) - set the permissions to be the same as the other extensions - then restarted the machine. I'm now getting an error:

RE: [PHP] Getting current page name without path

2005-09-06 Thread George Pitcher
> I want to get the name of current page. I use $PHP_SELF or > SCRIPT_FILENAME, but it also provides the path name . I just want to > retrieve the file name with extension. How can I do that? > $_SERVER['SCRIPT_NAME'] and $_SERVER['ORIG_SCRIPT_NAME'] will give you the current filename without the

RE: [PHP] ASP (VBScript) to PHP Converters?

2005-09-09 Thread George Pitcher
Jay, > I have started searching around for VBScript to PHP converters and was > hoping that the group might have some recommendations. My new position > places me squarely into the middle of a Windows shop and one of > the reasons > that they wanted me here was to help them take the steps to the >

RE: [PHP] incrementing cookie

2005-09-14 Thread George Pitcher
Hi, > if (isset($add)) { > $pakora++; > setcookie("cookie[pakora]", "$pakora Pakora"); > } If I'm not mistaken, you also need to be sure that you are writing your script to html/display and not redirecting to another page after the cookie has been set - as redirecting will not write t

[PHP] php5.1RC/COM/Word

2005-10-11 Thread George Pitcher
Hi, My dev machine has PHP 5.1RC installed (no problems so far, apart from this), its on Win XP. My server is running PHP 5.0.4 on Win NT. I'm building some MS Word docs and it works fine except when I need to add something that uses more than one parameter - eg.: $word->Selection->ParagraphForm

[PHP] Problem reading SimpleXML array

2005-10-24 Thread George Pitcher
Hi, I'm having a problem reading an xml feed. This is my object: SimpleXMLElement Object ( [Header] => SimpleXMLElement Object ( [ID] => FX12GB [Test] => false [Name] => Foreign Exchange United Kingdom Pound Noon Rates [Prepa

RE: [PHP] Problem reading SimpleXML array NOT SOLVED but NO LONGER A PROBLEM

2005-10-25 Thread George Pitcher
7;wsdl'); $rate = $curr_client->call('getRate' ,$param); The ends justified the means, though I am still using SimpleXML to parse my Copyright Clearance Center processes. Cheers George > -Original Message- > From: Jochem Maas [mailto:[EMAIL PROTECTED] >

RE: [PHP] T_PAAMAYIM_NEKUDOTAYIM

2005-11-10 Thread George Pitcher
> > > > It means that you have two colons not being used correctly > > its a good thing this mailinglist is not about the practice > of medicine ;-) > If it was, I suppose you would recommend 'colonic irrigation' then? Twice, perhaps? George -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Validating Email addrs

2005-11-15 Thread George Pitcher
I grabbed the following from a web-published article (sorry, can't remember where): function validate_email($email) { if(preg_match("/^( [a-zA-Z0-9] )+( [a-zA-Z0-9\._-] )*@( [a-zA-Z0-9_-] )+( \.[a-zA-Z0-9_-] +)+$/" , $email)){ list($username,$domain)=split('@',$email);

RE: [PHP] What software do you use for writing PHP?

2005-12-06 Thread George Pitcher
I've used Dreamweaver MX, working with 9 remote sites, shared between IIS and Apache. George > -Original Message- > From: Jeff McKeon [mailto:[EMAIL PROTECTED] > Sent: 6 December 2005 2:15 pm > To: php > Subject: [PHP] What software do you use for writing PHP? > > > Hey all, > > Forever n

RE: [PHP] Re: asianwhiteskin beauty product

2005-12-20 Thread George Pitcher
Ah, Michelle, but think of the problems getting dressed (http://spysports.net/blueshirt.wmv). No offense! george > -Original Message- > From: Dan McCullough [mailto:[EMAIL PROTECTED] > Sent: 20 December 2005 2:39 pm > To: php-general@lists.php.net > Subject: Re: [PHP] Re: asianwhiteskin b

RE: [PHP] Case-Insensitive include on linux.

2006-01-11 Thread George Pitcher
Mathijs wrote: > Is there a way to have include() be case-insensitive? If you are know that all your file and directory names are lower case, but users may input mixed case responses that will be used to determine the include, you can set the case of the user input to lower case with strtolower()

[PHP] problem encountered with stristr-based function

2006-01-20 Thread George Pitcher
Hi, I'm having a problem with the following function: function terms($term,$field){ if(strlen($term)>0){ if(!stristr($term, $field) === FALSE) { $output = str_replace($term, "".$term."", $field); } elseif(!stristr(strtolower($term), $field) === FALSE) { $output = str_replace

RE: [PHP] problem encountered with stristr-based function

2006-01-20 Thread George Pitcher
nt: 20 January 2006 2:54 pm > Cc: php-general@lists.php.net > Subject: Re: [PHP] problem encountered with stristr-based function > > > George, > > George Pitcher wrote: > > For info, I am trying to highlight search terms in results. > > If you're searching

RE: [PHP] Limitation on PEAR : Spreadsheet_Excel_Writer

2006-02-10 Thread George Pitcher
Does your text get truncated or turned into hash '#' signs? I know that Excel has some limits regarding how many characters will go into a text column. There is also a 64k row limit as well, but most sane people wouldn't use a spreadsheet to handle such a dataset. George > -Original Message

[PHP] Problem with php.ini and include_path

2006-02-14 Thread George Pitcher
Hi, I have compiled php-5.1.2 with apache on Debian and have a problem with the include_path. My configure was './configure' '--with-mysql' '--with-pear' '--with-apxs' '--with-config-file-path=/usr/local/lib'. php.ini is in '/usr/local/lib' and phpinfo tells me that php.ini is in '/usr/local/lib

RE: [PHP] Problem with php.ini and include_path

2006-02-14 Thread George Pitcher
> George Pitcher wrote: > > Hi, > > > > I have compiled php-5.1.2 with apache on Debian and have a > problem with the > > include_path. > > > > My configure was './configure' '--with-mysql' '--with-pear' > '--with-a

RE: [PHP] Problem with php.ini and include_path

2006-02-15 Thread George Pitcher
uring pear. Cheers George > -Original Message- > From: Richard Lynch [mailto:[EMAIL PROTECTED] > Sent: 14 February 2006 11:56 pm > To: George Pitcher > Cc: php-general@lists.php.net > Subject: RE: [PHP] Problem with php.ini and include_path > > > http://p

<    1   2