[PHP-WIN] Stange 'page-loading' effect

2002-03-15 Thread George Pitcher
ransferred values. Any ideas as to where it going wrong? I'm using PHP-4.1.1, Apache (console) on Win 2000Pro. Regards George George Pitcher is Technical Manager for the HERON Project at Napier University, Edinburgh. -- PHP Windows Mailing List (http://www.php.net/) To unsubscri

Re: [PHP-WIN] Read ASP cookie

2002-03-26 Thread George Pitcher
Yes. Cookies don't belong to the application that created them, but to the server/domain name. I use Lasso and it can create cookies and I have PHP read them, do some cool stuff and then use cookies to pass data back. George - Original Message - From: "Svensson, B.A.T. (HKG)" <[EMAIL PROT

[PHP-WIN] mail() with attachments

2002-03-28 Thread George Pitcher
Hi guys, I'm doing a query/export/email routine and I can't find anything on attachments. The manual says that attachments can be handled but doesn't say how or give any examples. I'm sure that this must be in widespread use, so can anyone give me a pointer or two? George -- PHP Windows Mail

Re: [PHP-WIN] mail() with attachments

2002-04-08 Thread George Pitcher
Darvin Andrioli suggested, on 20020328: > http://www.zend.com/zend/spotlight/sendmimeemailpart1.php Sorry, I was none the wiser after reading this article, as to how to get php to send an attachment with an email message. The attachment in this case is being generated from db output and saved as

Re: [PHP-WIN] RE: stuck between operating systems & web servers ! ! ! !

2002-05-07 Thread George Pitcher
Having just gone through the process of moving a php site from Win 2K to Linux, the thing that caught me out was case sensitivity but it only took about 30 minutes to sort out (40 pages). George in Edinburgh - Original Message - From: "Brinkman, Theodore" <[EMAIL PROTECTED]> To: "php hlp

[PHP-WIN] Installation problem with PHP-4.06 on NT4/IIS4

2002-06-10 Thread George Pitcher
Hi all, I am setting up php on a remote server (400 miles away, using remote admin software) and just cannot get the phpinfo() stuff to work. I've followed all the instructions and all I get is an HTTP 500 error message (Internal server error). Other pages in that folder work fine. Any suggest

Re: [PHP-WIN] Parsing HTML Error

2002-07-02 Thread George Pitcher
Ivan, Not with PHP but when I deplayed a lasso-based website about 18 months ago, I found that some stuff just didn't work across OS/browsers. It was all down to the HTML coding. Check out what cannot be used with those browsers that are giving you problems and see if you are using any of it. HT

[PHP-WIN] File Upload - extension filtering

2002-11-26 Thread George Pitcher
is_uploaded_file($file_array['tmp_name'])){ move_uploaded_file($file_array['tmp_name'], "$file_dir/$nj".$u_ext) or die ("Sorry, unable to upload the file at this time - please try again later."); header("Location: $location"

RE: [PHP-WIN] Re: File Upload - extension filtering

2002-11-26 Thread George Pitcher
nsion filtering > > > use 'image/tiff' instead... > > "George Pitcher" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi all, > > > > I have file upload working on my NT/Lasso/PHP site

RE: [PHP-WIN] Re: File Upload - extension filtering

2002-11-26 Thread George Pitcher
e: [PHP-WIN] Re: File Upload - extension filtering > > > using the mime-type is safer ;) > > "George Pitcher" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Brian, > > > > Thanks. However, I have just

[PHP-WIN] mySQL GUI for windows

2001-07-17 Thread George Pitcher
Hi all, My first posting to php-anything. I have php, apache and mySQL set up on my NT box. Does anyone know of a GUI for MySQL for win which works and is free? Regards George Pitcher Technical Manager HERON Project Napier University Edinburgh EH10 5DT [EMAIL PROTECTED] [EMAIL PROTECTED

[PHP-WIN] mixing php and lasso

2001-09-06 Thread George Pitcher
re there any strong reasons for not doing this? (And don't say 'drop Lasso alltogether as the site works fine apart from the pdf part which wasn't part of the original spec.) Regards George Pitcher Technical Manager HERON Project Napier University Edinburgh EH10 5DT [EMAIL PR

[PHP-WIN] Installing on NT

2001-09-06 Thread George Pitcher
than a processed page. Help please. Regards George Pitcher Technical Manager HERON Project Napier University Edinburgh EH10 5DT [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.heron.ac.uk programmer - A device for

Re: [PHP-WIN] Installing on NT -- SOLVED

2001-09-06 Thread George Pitcher
Sorry, a bit premature - it's now running fine. Now wait for all my desperate calls for help in coding! Regards George - Original Message - From: George Pitcher <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 06, 2001 2:34 PM Subject: [PHP-WIN]

Re: [PHP-WIN] tutorials

2001-09-10 Thread George Pitcher
I would recommend DevShed (www.devshed.com) as it's pretty much all well written and fairly easy to follow and loads of exapmles. George - Original Message - From: "leo g. divinagracia iii" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, September 10, 2001 10:53 PM Subject: Re:

[PHP-WIN] re: xml parsing

2001-10-19 Thread George Pitcher
Jefferrs, having spend all day yesterday on a very basic non-php xml primer, I can't see any problem with your xml. But I noticed that you have a spelling error in your content and that's exactly where your text's is failing. Don't know why though. George "G Schneider" <[EMAIL PROTECTED]> wro

Re: [PHP-WIN]How to know how long a person stay

2001-11-20 Thread George Pitcher
I think that with a bit of imagination you could achieve this. Have a DB record created as you go into a page and update it when you go to the next page, you could use the URL and REFERRER page and Timestamp to populate the start and end times. Of course, as a complete PHP/MySQL newbie, I might

Re: [PHP-WIN] PHP & ASP mix. Any problem?

2001-11-21 Thread George Pitcher
Pablo, I am not running ASP (or MSSQL) but I do run Lasso (a cgi type application like ASP) and Filemaker as the db alongside PHP 4.0.6 on IIS4 (NT4). As long as the page called has the appropriate extension (.php or .lasso) there's no conflict. Obviously you will not be able to mix your code in

Re: [PHP-WIN] Re: Read Session in ASP in PHP

2001-11-19 Thread George Pitcher
> Sorry, I'm a PHP newbie. The only way I know you can pass values to a php > script is the normal way, through the URL, as in: a > href=yourscript.php?var1=value&var2=value... etc. Not strictly true. I am primarily a Lasso developer and I can pass values (and do) using Form, URL and Cookies.

Re: [PHP-WIN] IIS Lockdown Tool

2001-12-13 Thread George Pitcher
Warning: check that your non-'*.html' extension pages work after you've done this. We had to de-activate IIS locktool to get our sites to work at all. George - Original Message - From: "Robin Bolton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 13, 2001 7:13 AM Su

[PHP-WIN] Building a list of filenames (w2k)

2002-02-08 Thread George Pitcher
Hi all, I want to build a list of filenames from a particular directory. I can't find anything like this in the manual or on the list archive so any pointers would be appreciated. George -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] im so stupid

2002-02-12 Thread George Pitcher
Chris, If you are concerned that your variables aren't being read and then processed, chek them first and forget the db side for now. On your response page, just have the following: '; echo 'Etternavn: ' . $etternavn . ''; ?> If you get your variable data being displayed as you entered it then

Re: [PHP-WIN] im so stupid

2002-02-12 Thread George Pitcher
; > ?> > > So do I have a problem with my PHP configuration??? > > LOL this thing is gonna drive me crazy before i get it right > > -Chris > > > "George Pitcher" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROT

[PHP-WIN] mail() on windows - problem

2002-02-13 Thread George Pitcher
Hi all, Doing a little testing in advance of doing the scripting next week, I thought I'd try the mail() function. In php.ini, I have filled in the details of my SMTP server (University service) and the return address and I can't see anything else to configure. A simple script, called as a web

[PHP-WIN] Starnge parse problem

2002-12-10 Thread George Pitcher
t;.$x.""; } else { echo "".$x.""; } } } echo ""; echo ""; ?> I get this error: "Parse error: parse error, unexpected $ in c:\inetpub\wwwroot\Month2.php on line 48" Now c

[PHP-WIN] Oh crumbs - My cookies are broken!

2002-12-16 Thread George Pitcher
;next page' is a frameset. I know that cookies work on this NT server because I also use Lasso on that and the cookies are working fine with that. Any suggestions? George in Oxford === George Pitcher HERON Technical Manager Ingenta plc 23-38 Hythe Bridge Street, Oxford, OX1 2ET T +44 (0)1

[PHP-WIN] Am I creating my cookies properly?

2002-12-16 Thread George Pitcher
et them to work either. This is all set up using PHP4.0.6 on Win NT4. Any help appeciated - this is doing my head in. Cheers George === George Pitcher HERON Technical Manager Ingenta plc 23-38 Hythe Bridge Street, Oxford, OX1 2ET T +44 (0)1865 799137 direct T +44 (0)1865 799000 switchboard

[PHP-WIN] Cookies working on test but not my application

2002-12-17 Thread George Pitcher
won't work in my Calendar site. Thinking it might be a 'frames' issue, I have put a test into the Frameset holder to redirect if the cookie is not being read and sure enough it dumps me out of the frameset. Does anyone have any suggestions? Please! MTIA George === George Pit

RE: [PHP-WIN] Cookies working on test but not my application

2002-12-17 Thread George Pitcher
. > When calling set_cookie( ), it is generally best only to give the first 3 > arguments ( Variable Name, Variable Value, Expire time ). > > Good luck > > Stephen > > - Original Message - > From: "George Pitcher" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTE

[PHP-WIN] My cookie problem is solved - details

2002-12-18 Thread George Pitcher
. Everything now works tickety-boo. This might just help someone else facing the same problem. Cheers George === George Pitcher HERON Technical Manager Ingenta plc 23-38 Hythe Bridge Street, Oxford, OX1 2ET T +44 (0)1865 799137 direct T +44 (0)1865 799000 switchboard F +44 (0)1865 799134 E [EMAIL

[PHP-WIN] Problem with extensions on W2K

2003-01-13 Thread George Pitcher
Hi all, If I uncomment the php_gd.dll extension in php.ini (after making sure that the extesnion path points to where the extensions are), I get an error message saying that it has not been able to load the said extension. Any ideas as to what I should be looking for here? Cheers George -- P

RE: [PHP-WIN] Politely?

2003-01-27 Thread George Pitcher
Guys, I think that the point was missed here. I'm not the original poster but my reading of it was that considering what was being undertaken might prove problematic (writing a win web-server) that the recipient might find herself prone to utter the odd swear word or curse. Nothing more than that

[PHP-WIN] parsing tricky text file

2003-01-28 Thread George Pitcher
eventually but I'm using FileMaker right now). Any suggestions (that do not involve a pistol)? George in Oxford === George Pitcher HERON Technical Manager Ingenta plc 23-38 Hythe Bridge Street, Oxford, OX1 2ET T +44 (0)1865 799137 direct T +44 (0)1865 799000 sw

RE: [PHP-WIN] Re: parsing tricky text file

2003-01-28 Thread George Pitcher
found at least 5 fields that have 'duplicates'. I still don't see how it is going to be easy. George > > Jochem > > > George Pitcher wrote: > > Hi, > > > > I'm looking for some advice. > > > > One of my suppliers (big publisher) h

RE: [PHP-WIN] Re: parsing tricky text file

2003-01-28 Thread George Pitcher
anuary 2003 10:56 am > To: George Pitcher > Subject: Re: [PHP-WIN] Re: parsing tricky text file > > > In this record, that is true but having a look through a sample I have > found at least 5 fields that have 'duplicates'. > > > Are these duplicates in t

[PHP-WIN] reading lines from a file

2003-02-11 Thread George Pitcher
look frightening. And I would like to end up with an array with keys (fieldnames) and values. But I'm stuck at the first hurdle because I can't find out how to put a line into a string. Any pointers? George in Oxford === George Pitcher HERON Technical Manager Ingenta plc 23-38 Hyth

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread George Pitcher
Yes, eventually. I want to come up with a good method because this file is going to be supplied to me on a fairly regular basis. George > -Original Message- > From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] > Sent: 11 February 2003 10:56 am > To: George Pitcher; [EMA

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread George Pitcher
Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] > Sent: 11 February 2003 11:03 am > To: George Pitcher; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] reading lines from a file > > > Then you need to write a parser. What's the basic problem then? > > > -Original Me

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread George Pitcher
sounds like you don't really have a problem as such, you just want > someone to tell you what the code would be? > > chris kranz > fatcuban.com > > > -Original Message- > From: George Pitcher [mailto:[EMAIL PROTECTED]] > Sent: 11 February 2003 11:59 > To: Sv

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread George Pitcher
Anders, Thanks - I'll see if I can persuade one of the PERL people here to have a go. Ta. george > -Original Message- > From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] > Sent: 11 February 2003 12:24 pm > To: George Pitcher > Cc: [EMAIL PROTECTED] >

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread George Pitcher
Chris, et al, Nope, I never mentioned the command line at all, but it is probably how I would have done it if I hadn't passed it over to the PERL guys. It would have been useful to go through a parsing routine just to learn how its done (never know when it might be a useful trick). Even so, I st

RE: [PHP-WIN] Force a user to download a text file from a link

2003-02-19 Thread George Pitcher
Matt, You should NEVER force a download on anyone. How do they know it isn't carrying a virus. What you should do is to send the headers that prompt a dialog box for Save or Open (I'm sure you've seen this). I'm not sure which headers you use for csv or txt files but I do this with PDFs all the

RE: [PHP-WIN] Re: Variable problems

2003-03-10 Thread George Pitcher
Your buddy probably has register globals switched on. George > -Original Message- > From: Reggie P [mailto:[EMAIL PROTECTED] > Sent: 10 March 2003 12:40 pm > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Re: Variable problems > > > Thanks, but I found out something really interesting! I was

[PHP-WIN] OT - Dreamweaver MX help needed

2003-06-02 Thread George Pitcher
Hi all, Sorry to waste bandwidth with this request. In a moment of madness late last night, I modified my 'MMDocumenttypes.xml' file without taking a backup first. Since then, I get a 'fatal error' message whenever I start DW. I would just re-install from scratch but my CD set is back in Edinbu

[PHP-WIN] RE: OT - Dreamweaver MX help needed

2003-06-02 Thread George Pitcher
Thanks guys, Its working fine now. Fastest response I've ever seen on any list No need for any further copies! Cheers George > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of George Pitcher > Sent: 02 June 2003 7:26 am >

[PHP-WIN] TIP - Creating 'neat' Word documents with PHP

2003-06-15 Thread George Pitcher
Hi all, I had a requirement to produce neat Word documents to send as email attachments. I looked at the COM method but couldn't get it to work (didn't really try that hard though). Anyhow, I tried another method which procuces exactly what I need. Firstly, create the document shell in Word (this

[PHP-WIN] install for dummies?

2003-06-25 Thread George Pitcher
Hi, after using PHP for ages, my laptop died on me and I've been trying to get PHP active on a new W2K machine running IIS5. I've tried both the installer and the binary (both as CGI and ISAPI) with no success. I've copied the php4isapi.dll file along with php.ini to winnt\system32, tried just a

[PHP-WIN] Problem writing to a file

2003-09-09 Thread George Pitcher
So as you can see, I load a text file (actually its RTF saved as text), parse it then write it to an open txt file, then rename that as a Word doc. I'm running this on NT with PHP 4.3.2. The folder has write access for the

RE: [PHP-WIN] Problem writing to a file

2003-09-09 Thread George Pitcher
"Cannot write to file ($fp2)"; exit; } fclose($fp2); rename($cr.".txt",$cr.".doc"); It may be of use to someone else. Cheers George > -Original Message- > From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] > Sent: 9 September 2003

[PHP-WIN] Getting a pdf to open in Acrobat

2003-09-10 Thread George Pitcher
Hi, I use the following code to grab a pdf from a different disk and then pass it out to a web-user. = = = = = = = = = = = = = = = = = = = The problem is that it always asks me which application to use to open the file. What do I need to do so that 'open' will always launch Acrobat? Cheers Ge

RE: [PHP-WIN] Re: Getting a pdf to open in Acrobat

2003-09-10 Thread George Pitcher
Acrobat Reader is installed on the machine browsing? > Cheers > Simon > > "George Pitcher" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hi, > > > > I use the following code to grab a pdf from a different disk > and then pass

RE: [PHP-WIN] Date question?

2003-09-12 Thread George Pitcher
> >> If I have a date (2003-04-02) and want to select 9 months later, > >> how to do? > >> > > > >Try this: > > > >echo date("Y-m-d",strtotime("2003-04-02 +9 month")); > > [EMAIL PROTECTED] bats]$ echo date("Y-m-d",strtotime("2003-04-02 +9 > month")); > bash: syntax error near unexpected token `(

[PHP-WIN] SQL query problem

2003-09-29 Thread George Pitcher
Hi, I'm having a problem with the following query (ODBC on M$ Access): select Pack.*, Transacts.*, Extracts.* from Pack, Transacts, Extracts where ( Pack.End > date() and Pack.Term='Lent' and Transacts.Week=1 and Transacts.Pack_ID=Pack.Pack_ID and Extracts.ID=Transacts.Extract_ID) ORDER BY Pack.T

RE: [PHP-WIN] SQL query problem - SOLVED

2003-09-29 Thread George Pitcher
The date format in my query works fine with Access. I solved the problem by splitting the query into two separate queries and it now works fine. Cheers George > -Original Message- > From: Disko_kex [mailto:[EMAIL PROTECTED] > Sent: 29 September 2003 1:25 pm > To: &#x

[PHP-WIN] imagecreate () query

2003-09-29 Thread George Pitcher
table. I'm using Win2K/WinNT servers and most of my clients are on windows. 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.i

[PHP-WIN] nuSoap timings

2003-10-10 Thread George Pitcher
Hi, I'm playing with nuSoap and have set it up on NT/IIS4 but it takes too long to handle the simplest of requests. I keep getting the 30 secionds execution time message. Anyone have any suggestions? Cheers George in Oxford -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, vis

[PHP-WIN] Mail with Word attachment

2003-10-20 Thread George Pitcher
Hi all, I need to send MS Word attachments from PHP (they're built on the fly). I've tried PHPMailer but that doesn't like my NT box so I've gone back to php's mail() function. I'm using the following script but and the attachment is in the same webfolder as the script but when I check the email

[PHP-WIN] Speeding up PHP?

2003-10-28 Thread George Pitcher
Hi, I've started redesigning a website that is currently running using Filemaker/Lasso. The new site will by PHP/MySQL. I'm in the early stages but I've been doing some basic tests and I'm disappointed with the speed of PHP in building the web-page. I've set up a SQL query which takes 0.89 secs t

RE: [PHP-WIN] Re: Speeding up PHP?

2003-10-29 Thread George Pitcher
ERE conditions). > > --- > Andrei BEJENARU - Developer > InterAKT Online > http://www.interakt.ro/ > Tel: +4021 312.53.12 > Tel/Fax: +4021 312.51.91 > > > "George Pitcher" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hi, > &g

[PHP-WIN] querying more than one db from a php page?

2003-12-12 Thread George Pitcher
Hi, I am developing my main site to run on php/mysql (currently lasso/filemaker). I am also developing some individual sites to be hosted on the same server as my main one and I'd like to be able to update those smaller site databases when activity happens on the main site. I'm still a couple of

RE: [PHP-WIN] querying more than one db from a php page?

2003-12-15 Thread George Pitcher
ot 'global'. Thanks for the tips. George > -Original Message- > From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] > Sent: 13 December 2003 8:54 am > To: ''George Pitcher ' '; ''[EMAIL PROTECTED] ' ' > Subject: RE:

RE: [PHP-WIN] tutorial

2004-02-03 Thread George Pitcher
This reminds me of how a few years ago whilst working on a university library project I was introduced to programming. Being Mac-based, I decided to use Frontier, to the horror of everyone else who tried (unsuccessfully) to get me onto Perl. So I checked the library for a Perl book and the only one

RE: [PHP-WIN] building a string question

2004-02-03 Thread George Pitcher
Ron, What I do is this: Firstly, $howmany is passed as a final loopcounter from the form. for ($index = 1; $index < $howmany; $index++){ $varname = 'varname'.$index; $varname = $_POST[$varname]; //repeat process for $vars and do something } It works for me. George in O

RE: [PHP-WIN] SQL to select a set of records

2004-02-06 Thread George Pitcher
I have both access and MySQL DBs and I have to change my method for Access to 'select top 10 [fields] from table where x=x etc order by y' MS SQLServer may need the same. George in Oxford > -Original Message- > From: Nadim Attari [mailto:[EMAIL PROTECTED] > Sent: 6 February 2004 11:33 am

RE: [PHP-WIN] problems with variables

2004-02-14 Thread George Pitcher
Ciro, Tyr reading your variable as $_POST['first_name'] and see if that works. That's the default way of passing form and url variables in PHP. If you would rather do it the 'old' way (not recommended), open your php.ini file and check the 'register globals' to 'on'. George Oxford/Edinburgh >

RE: [PHP-WIN] OK, ahí voy...

2004-03-19 Thread George Pitcher
Surely we're still months away from a 'Holly War'. George > -Original Message- > From: Cesar Cordovez [mailto:[EMAIL PROTECTED] > Sent: 19 March 2004 2:23 pm > To: Felipe Eduardo Ortiz López > Cc: lPHP and Databases; lPHP Para Todos; lPHP For Windows; > [EMAIL PROTECTED]; LProgramación en

[PHP-WIN] Stripping returns

2004-03-29 Thread George Pitcher
Hi all, I'm using php to create java classes for database access. I have a file (a few in fact) containing a list of fieldnames, one per line. So I open the file and read it line by line and create the java code. Opening reading and closing is repeated for the several stages of definition and set

RE: [PHP-WIN] Stripping returns _SOLVED

2004-03-29 Thread George Pitcher
Sorry guys, its OK now. I was checking an earlier output (too many interruptions at work). Ta. George > -Original Message- > From: George Pitcher [mailto:[EMAIL PROTECTED] > Sent: 29 March 2004 11:31 am > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Stripping returns > &

[PHP-WIN] post TO sql routine

2004-05-12 Thread George Pitcher
Hi, Can anyone point me to a routine that will take the POST field and its value and parse it into a suitable sql query. For example: $_POST['title'] is the post var and the user has entered "*good boy +favour -witch". It should produce the following sql snippet ( to form part of the full SQL q

RE: [PHP-WIN] Is this possible

2004-05-10 Thread George Pitcher
SION variable. Essentially this ends up > saying "That data I just requested and looked at.. Change this field all > to the same thing I just entered". > > Am I missing something or is this what you were looking for? > > -TG > > > > George Pitcher said: > &

[PHP-WIN] Is this possible

2004-05-07 Thread George Pitcher
Hi, I think this is not possible, but hopefully, someone will prove me wrong. Imagine a webform with about 50 fields (I actually have several of these forms). Theuser will see a record from a recordset and be able to navigate through the recordset. I've sorted that part out using PEAR, Smarty and

RE: [PHP-WIN] Is this possible

2004-05-07 Thread George Pitcher
Trevor, Thanks for your well thought through response. Sorry I wasn't clear in my request. > One thing that's certain, almost EVERYTHING is possible, it just depends > on how much time and effort you're willing to put into it :) That's what I thought. > 1. You load in a recordset with roughly 5

[PHP-WIN] Disclaimers

2004-05-18 Thread George Pitcher
Whilst I agree with the sentiments of Tony and B.A.T., some of us must as a condition of using their employers' email facilities, add company disclaimers to their messages. As long as they don't start to appear at the top of messages, I will continue to ignore them. George in Oxford > -Origi

RE: [PHP-WIN] Disclaimers

2004-05-18 Thread George Pitcher
salary to the sender of this mail. > > > On Tue, 2004-05-18 at 15:49, George Pitcher wrote: > > Whilst I agree with the sentiments of Tony and B.A.T., some of > us must as a > > condition of using their employers' email facilities, add company > > disclaimers to their

[PHP-WIN] Passing +, =, - at post and get

2004-05-20 Thread George Pitcher
Hi, I want to be able to pass the '=', '+' and '-' characters both from a web form and as part of a url, to enable a better way of searching. However, these characters are choking my IIS webserver and not getting through to the script. Can anyone suggest a better way of achieving this? Cheers G

RE: [PHP-WIN] Passing +, =, - at post and get

2004-05-20 Thread George Pitcher
ubject: RE: [PHP-WIN] Passing +, =, - at post and get > > > I hope you are not allowing the client to send T-SQL through the query > string. Consider them sending something like > File.php?Query='; drop table XXX; -- > > Charles Killmer > > -Original Message-

RE: [PHP-WIN] Passing +, =, - at post and get

2004-05-20 Thread George Pitcher
t;='".rtrim(str_replace("=","",$temp))."'"; } elseif (substr($temp,0,1)!="+" && substr($temp,0,1)!="-"&&substr($temp,0,1)!="*" && substr($temp,0,1)!="="){

RE: [PHP-WIN] Passing +, =, - at post and get

2004-05-20 Thread George Pitcher
> $String = implode(explode($String, $OldChar), $NewChar); > > > > -Original Message- > From: George Pitcher > To: [EMAIL PROTECTED] > Sent: 20-5-2004 15:43 > Subject: RE: [PHP-WIN] Passing +, =, - at post and get > > And doing a bit more, I find that &#

[PHP-WIN] updating from xls -> [filter] -> mysql

2004-05-21 Thread George Pitcher
Hi, I'm thinking ahead to something I'll need to tackle in the future. My current system is Filemaker based and I can import straight from Excel spreadsheets - but with no checking available. Now that I'm re-writing into php/mysql(pear:dB)/smarty, If I can, I'd like the user to be able to select

RE: [PHP-WIN] Transfering database

2004-05-26 Thread George Pitcher
Sudeep, This is a php list, you are asking a MySQL question with no relevance to php. Check the MySQL manual for Load Infile commands. I have to admit I can never get them to work on my versions of MySQL and have tended to use other methods to load tables. As I said before, with MySQLFront, you

[PHP-WIN] executing a java app from a php script

2004-06-14 Thread George Pitcher
Hi, I'm trying to do a bit of java execution as part of a php routine and the following just doesn't work: Even adding tha path to 'java' doesn't help. This command works fine from the command line. It adds two pdf files together. If I can get this to work, I'll also add the encryption routine

RE: [PHP-WIN] executing a java app from a php script

2004-06-15 Thread George Pitcher
} the batch file but with the same negative result as before. Any suggestions? Cheers George > -Original Message- > From: Frank M. Kromann [mailto:[EMAIL PROTECTED] > Sent: 14 June 2004 6:00 pm > To: George Pitcher > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN]

[PHP-WIN] PDF tip

2004-06-21 Thread George Pitcher
Hi, I thought I'd share somthing I found: iText. I had a need to join some PDFs together using php. My local Java gurus pointed me towards iText (http://www.lowagie.com/iText/). I haven't been able to fully integrate it with PHP but so far, I can loop thru the the list files I want to join (usu

[PHP-WIN] Parsing pageranges

2004-06-29 Thread George Pitcher
Hi, I have several systems running which gather, store and process bibliographic data. I have treated pageranges on the basis of two fields per range - start and end, with supplemantary ranges available as well. I've never had to deal with more than 3 ranges in a reference: chapter, references an

RE: [PHP-WIN] Parsing pageranges [solved]

2004-06-29 Thread George Pitcher
Hi, Solved it but there may be a more elegant/efficient way? my code: == "; ?> George > -Original Message----- > From: George Pitcher [mailto:[EMAIL PROTECTED] > Sent: 29 June 2004 12:51 pm > To: [EMAIL PROTECTED] > Sub

[PHP-WIN] HTML_entities woe

2004-06-29 Thread George Pitcher
I'm using fx to extract data from a FileMaker database and am encountering some HTML entity issues. This data is going into a pdf page, so isn't being displayed on the web. The copyright symbol comes out like: © and I've noticed a couple of accented characters as well. The data was put on by a M

[PHP-WIN] PHP extension problem in new XP site

2004-07-06 Thread George Pitcher
Hi all, I've just moved form Win2k to XP (to get my wireless card to function!) and having re-installed everything, but using the most up-to-date downloads (but not v5 yet), I'm hgaving a problem with a script that builds a PDF page from Filemaker. This is the error I get: ==

RE: [PHP-WIN] Re: PHP extension problem in new XP site

2004-07-07 Thread George Pitcher
Jason, The revised 'path' did the trick. Ta. George > -Original Message- > From: Jason Barnett [mailto:[EMAIL PROTECTED] > Sent: 7 July 2004 8:25 am > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Re: PHP extension problem in new XP site > > > > And the relevant bit from the php.ini > >

[PHP-WIN] PHP-Java extension problem

2004-08-22 Thread George Pitcher
Hi, I need to be able to communicate with a Java application, so thought I'd start my installing the php-java extension. Having followed all the instructions - and checked PHPBuilder etc for this error I'm stumped. The error in question is: Unknown(): Unable to load dynamic library 'C:\PHP\exten

RE: [PHP-WIN] Re: PHP-Java extension problem

2004-08-23 Thread George Pitcher
> > Unknown(): Unable to load dynamic library > 'C:\PHP\extensions\php_java.dll' - > > Access is denied. > > Just another possibility: Several people have had luck moving the > library to > your system folder. Alas, not me. Still no joy. George -- PHP Windows Mailing List (http://www.php.ne

RE: [PHP-WIN] Re: PHP-Java extension problem

2004-08-23 Thread George Pitcher
> [snip] > > Unknown(): Unable to load dynamic library > 'C:\PHP\extensions\php_java.dll' - > > Access is denied. > [/snip] > > maybe the webserver has not enough rights to load the extension. try > just giving everyone full access to this file, and then restart the > webserver. if it still doesn't

[PHP-WIN] Slightly OT - checking if an app is running

2004-09-08 Thread George Pitcher
Hi, This is slightly off topic, but it may be that PHP can provide the solution. I am running Filemaker Pro v5 Unlimited on an NT4 Server box. I have a Filemaker plug-in that checks that the required databases are running every 5 minutes, and if not, launches them. That's fine as long as the File

[PHP-WIN] PHP5 install woes

2004-09-10 Thread George Pitcher
Hi, I've checked the archive and couldn'tfind a solution to my problem, which is: I renamed my php 4 folder, and ini file, went through the manual install of PHP 5.0.1 and stopped and started my IIS server. I then opened my usual instance of phpinfo.php and got the usual listing. As I use MySQL,

RE: [PHP-WIN] PHP5 install woes

2004-09-11 Thread George Pitcher
rs George > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: 10 September 2004 11:10 pm > To: George Pitcher; [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] PHP5 install woes > > > george, > > are you using multiple virtual hosts? i had t

[PHP-WIN] Problem with mapped drive on XP - PHP5

2004-09-13 Thread George Pitcher
Hi, Having sorted most of my upgrade issues, one remains (that worked previously with v4). My code: 01 By the way, the java stuff is a set of tools that allow me to put two PDFs together and then encrypt the final file. Tha batch file then deletes the temp files leaving me with the 'locked' fi

[PHP-WIN] eregi

2004-09-13 Thread George Pitcher
Hi, I'm trying to validate page range data. This can be entered as (example) i-ix,1,23-45. I am trying to ensure that, where the user is pasting data from a web page, for instance, that uses an 'n-dash' rather than a hyphen (but could use something else), that the user is alerted to re-type the da

[PHP-WIN] Reading mapped drive with PHP5

2004-09-14 Thread George Pitcher
Hi, No response received after my request yesterday, so I'll try again. I have a script that copies a file from a mapped drive on my local network and places it in a particular directory on my laptop. I then do somethjing with the file. While I ran PHP4.3 it worked like a dream, and since upgrad

RE: [PHP-WIN] Reading mapped drive with PHP5

2004-09-14 Thread George Pitcher
age- > From: Gryffyn, Trevor [mailto:[EMAIL PROTECTED] > Sent: 14 September 2004 2:43 pm > To: [EMAIL PROTECTED] > Cc: George Pitcher > Subject: RE: [PHP-WIN] Reading mapped drive with PHP5 > > > I found this page relating to mapped drives and PHP: > http://bugs.p

RE: [PHP-WIN] Hidden FORM tag in PHP

2004-09-29 Thread George Pitcher
susilo wrote: > How to input hidden type FORM tag in PHP, and the SELECT TAG form > variabel option > Not quite sure what yo mean here but if you want to have a form input type to be hidden thats HTML amd nothing to do with PHP. George -- PHP Windows Mailing List (http://www.php.net/) To unsub

[PHP-WIN] ereg_replace help wanted

2004-09-29 Thread George Pitcher
Hi, I don't want to spend a lot of time leaning how to use this function but I have a problem that I think it can solve. I have a web form that allows the user to (amongst other things) submit a pagerange to my database. Using '-' and ',' as separators, I am able to calculate the number of pages

  1   2   >