[PHP] SOAP problem

2012-09-25 Thread George Pitcher
Hi, My first post for several years. Using PHP 5.2.6 on Debian. I'm trying to connect to an external SOAP server where no WSDL file exists. I've been unsuccessful in getting a response which I've put down to the message being sent. My code is: $params = array(

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 >

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

[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

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

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

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

RE: [PHP] Creating PDF files with more than one font?

2007-11-09 Thread George Pitcher
I've only used .afm. I seem to recall that there was a conversion utility available. George > -Original Message- > From: Shelley Shyan [mailto:[EMAIL PROTECTED] > Sent: 9 November 2007 8:16 am > To: George Pitcher; php-general@lists.php.net > Subject: RE: [PHP] Cre

RE: [PHP] Creating PDF files with more than one font?

2007-11-09 Thread George Pitcher
> I want to create a pdf file with several fonts. Which tool is > better, pdflib, ezpdf, ? > Any suggestions? I can't say which is better, but I use ezpdf and have been able to do multi-font stuff so that I can match corporate styles. George in Edinburgh -- PHP General Mailing List (http:/

RE: [PHP] PHP ide?

2007-11-08 Thread George Pitcher
> Apart from that Eclipse is excellent and is improving. I used Eclipse a few years ago when I was pretending to be a java developer. Since then I've mainly been using Dreamweaver, which works well with Smarty, and the 30-odd sites I manage. How easy would it be for me to move my existing PHP

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

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

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

RE: [PHP] problem generating a file link

2007-03-05 Thread George Pitcher
> Jochem, > > > >>> This is what > >>> the browser (guessed wrong - I'm using Firefox) shows in the > status bar. > >> ok, right - so what does the html source actually contain? > >> > > PDF > > so what happens when you make it like so: > > PDF > > ? No change. George -- PHP General Maili

RE: [PHP] problem generating a file link

2007-03-05 Thread George Pitcher
Jochem, > > This is what > > the browser (guessed wrong - I'm using Firefox) shows in the status bar. > > ok, right - so what does the html source actually contain? > PDF > I'm assuming that the way firefox is interpreting the link makes > it not work? > does the link work in IE? > I get exactly

[PHP] problem generating a file link

2007-03-05 Thread George Pitcher
Hi, I have a web page that only I see, and I want to link to a PDF file on a mapped drive so that it will open in Acrobat. I have tried variations on the following: $storelink = "PDF"; and the link keeps coming out as: file:///G:/575991.pdf So I have 3 x '/' and a '/' where I want a '\'. Can

RE: [PHP] problem generating a file link

2007-03-05 Thread George Pitcher
Jochem, > > I have tried variations on the following: > > > > $storelink = " > target=\"_blank\">PDF"; > > > > and the link keeps coming out as: > > > > file:///G:/575991.pdf > > is that what the browser (let me guess: IE) is interpreting > the link as or is that what is literally in the html sour

RE: [PHP] WinSCP and PHP

2007-02-08 Thread George Pitcher
Edward, Thanks. This has pointed me towards ssh2_sftp, new negotiations with customer ahead. Cheers George > -Original Message- > From: Edward Kay [mailto:[EMAIL PROTECTED] > Sent: 8 February 2007 11:45 am > To: George Pitcher; PHP General List > Subject: RE: [PHP]

[PHP] WinSCP and PHP

2007-02-08 Thread George Pitcher
Hi, I run specialised websites on my NT server on behalf of some universities. These sites offer processes to librarians (mainly) enabling them to order services from my company as well as doing some processes themselves. The processes involve handling PDF files, and I've done all the PDF-building

RE: [PHP] running exec() on client

2007-01-16 Thread George Pitcher
> I'm guessing a bit but it sounds like inserting a stack of RAM will make > the problem go away for the foreseable future. > I will ask. > >> isn't it cheaper to install a dedicated server for your app? > >> (rather than making you jump thru hoops, I mean AFAICT this is > >> a core business act

RE: [PHP] running exec() on client

2007-01-16 Thread George Pitcher
Roman, > -Original Message- > From: Roman Neuhauser [mailto:[EMAIL PROTECTED] > Sent: 16 January 2007 4:53 pm > To: George Pitcher > Cc: php-general@lists.php.net > Subject: Re: [PHP] running exec() on client > > > # [EMAIL PROTECTED] / 2007-01-16 15:18:50 -

RE: [PHP] running exec() on client

2007-01-16 Thread George Pitcher
Jochem, > -Original Message- > From: Jochem Maas [mailto:[EMAIL PROTECTED] > Sent: 16 January 2007 3:31 pm > To: George Pitcher > Cc: php-general@lists.php.net > Subject: Re: [PHP] running exec() on client > > > George Pitcher wrote: > > Hi, > > >

RE: [PHP] running exec() on client

2007-01-16 Thread George Pitcher
Miguel, > > You do not need to have apache installed to run PHP you just need > PHP-CLI (Command Line Interface) > Yes, I do know that, but what I want is for my colleague to follow a link on her web page that will trigger the php command, passing any required parameters. Cheers George -- PHP G

[PHP] running exec() on client

2007-01-16 Thread George Pitcher
Hi, I am looking for a solution to a server problem. I am part of a 2-person team - I look after document scanning, OCR (by outside agencies) as well as all development. My colleague is responsible for obtaining copyright permission from publishers (for what I do). Part of her process is sending

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

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

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

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

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

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

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

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

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

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

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

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

[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

[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

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

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

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

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

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

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

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

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

[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

[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

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:

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

[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] mysql with php

2005-05-20 Thread George Pitcher
Noticed that there was still something missing in this: $sql = "select User_name, User_pass from user where User_name = '$_POST['user_id']' and User_pass = '$_POST['user_pass']'"; Quotes around the POST Args. George > -Original Message- > From: eoghan [mailto:[EMAIL PROTECTED] > Sent:

[PHP] pointing to localhost from remote server

2005-05-11 Thread George Pitcher
Hi, I have a system running on my main server containg separate user and staff interfaces to the same MySQL databases. Part of my process involves spawning off pdf front covers to a local directory, grabbing files from an archive on a networked pc and adding them together to ftp back to the serve

RE: [PHP] I'm having a blond moment with a while loop???

2005-05-08 Thread George Pitcher
nt with a while loop??? > > > On Sunday 08 May 2005 12:55, George Pitcher wrote: > > Hi guys, > > > > I'm doing something dumb but I can't see it. > > > Actually you are doing many dumb things ;-) > > Please post your real code instead of pseudo. The

[PHP] I'm having a blond moment with a while loop???

2005-05-08 Thread George Pitcher
Hi guys, I'm doing something dumb but I can't see it. The basic premise is: sql search of orders sorted by customer set g_customer_id to '' loop through resultset if customer_id not same as last record's customer_id (g_customer_id) get customer email details set up message header if th

RE: [PHP] Strange problem with DB queries - MORE

2005-05-02 Thread George Pitcher
access is!). Cheers > -Original Message- > From: George Pitcher [mailto:[EMAIL PROTECTED] > Sent: 2 May 2005 12:07 pm > To: php-general@lists.php.net > Subject: [PHP] Strange problem with DB queries > > > Hi, > > I am encountering a strange problem with a po

[PHP] Strange problem with DB queries

2005-05-02 Thread George Pitcher
Hi, I am encountering a strange problem with a pop-up window. On my site, users (very specialised, closed site with small numbers) have to click a link on page x which pops up page y. Page x and y both contain pricing information based on a functions.php include file. On page x, the data is being

RE: [PHP] zipfile problems - SOLVED

2005-04-07 Thread George Pitcher
Hi all, I found the cause of the problem. 01 $zipfile = new zipfile(); 02 $zipfile -> add_dir("dir/"); 03 $inputpath = "C:\\Program Files\\Apache 04 Group\\Apache2\\htdocs\\egretgui\\includes\\invoices\\"; 05 $outputpath = "C:\\"; 06 $outfile = $outputpath."inv_".date("Y_m").".zip"; 07 if ($handl

RE: [PHP] zipfile problems

2005-04-07 Thread George Pitcher
ndle, filesize($inputpath.$file)); $zipfile -> add_file($filedata, "dir/".$file); } } } $fd = fopen ($outfile, "wb"); $out = fwrite ($fd, $zipfile -> file()); fclose ($fd); ======== G

[PHP] zipfile problems

2005-04-07 Thread George Pitcher
r info, my server is NT4 and I'm using PHP 5.0.2. George === George Pitcher HERON Technical Manager Ingenta plc 23-38 Hythe Bridge Street, Oxford, OX1 2ET T +44 (0)1865 799051 direct T +44 (0)1865 799000 switchboard F +44 (0)1865 799134 E [EMAIL PROTECTED] www.ingenta.com Ingenta: Tech

RE: [PHP] arguments against moving site from Linux/Apache/PHP server to Windows/IIS/PHP needed

2003-07-23 Thread George Pitcher
> I know that PHP under windows is intended to be used only as test > platform, but this is not enough to convince him. > Errr ... says who? I'm out of a job here if this is true as I'm doing quite a bit of PHP development on NT/IIS with both MySQL and MS Access (not my choice, but a clients). I'

RE: [PHP] XX outputting X signs

2003-07-22 Thread George Pitcher
Would it not make sese to store the number as a decimal and have the '£' added at output? George, in Oxford, where £££=pints > -Original Message- > From: David Nicholson [mailto:[EMAIL PROTECTED] > Sent: 22 July 2003 3:51 pm > To: David Goodchild > Cc: [EMAIL PROTECTED] > Subject: Re: [PH

RE: [PHP] retrieving form checkbox values

2003-07-17 Thread George Pitcher
Here's my register globals off version: Make sure that your form send a post with the highest index value [howmany]. $howmany=$_POST['howmany']; for ($index = 1; $index < $howmany; $index++){ $checkbox = 'checkbox'.$index; $checkbox= $_POST[$checkbox]; ... Repeat for your

RE: [PHP] Frustrating problem with log-in script - DOHHH - Solved

2003-07-07 Thread George Pitcher
Sorry guys, I wasted your time if you looked at this. The local.php as copied from my local machine and had 'localhost' as the base url rather than the proper web address. Meet Dumbererer! George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/uns

[PHP] Frustrating problem with log-in script

2003-07-07 Thread George Pitcher
Hi, I' running a self-registration script. On the login page are 2 fields: 'username' and 'paswd'. The contents are checked against a db. New users must enter 'new' and 'user' into these fields and that will skip the db check and dump them into a registration page. On testing (after it worked f

RE: [PHP] Setting Cookie Going Nuts

2003-07-04 Thread George Pitcher
Mike, Just a thought - are you outputting any HTML on the page where you are declaring your cookie? If not, then it won't work. I got stuck a few months back with a filter script where someone logs in and depending on who they were were redirected to various pages. I was decalring their cookies

[PHP] OT a lttle bit of Javascript needed

2003-07-03 Thread George Pitcher
Hi, I'm developing a mini-website for a customer and want to build a link so that there is the option to see what I have in a database on my site. It will feature in a form and when they fill in the ISBN field, their input is added to a URL link on that page. The user can click on the link and s

RE: [PHP] Re: generate word docs

2003-06-25 Thread George Pitcher
RTF is the way to go. If you know what you want your word doc to look like, set it up in Word, or whatever will save a formatted rtf file (Sorry, I'm Windows/Mac based, but I presume that Open Office etc will do this on Linux). I insert placeholders into the document where I want to put dynamic

  1   2   >