[PHP] header and writing problem

2003-02-26 Thread George Pitcher
not permitted before creating the header for the redirect. can anyone suggest a workaround. 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

RE: [PHP] header and writing problem

2003-02-26 Thread George Pitcher
Ernest, That worked a treat, many thanks. George > -Original Message- > From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED] > Sent: 26 February 2003 9:16 am > To: George Pitcher > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] header and writing problem > > >

RE: [PHP] coockies in windows xp

2003-03-05 Thread George Pitcher
Just in case - check the spelling of setcookie. There's no c before the k. George > -Original Message- > From: Chris Hayes [mailto:[EMAIL PROTECTED] > Sent: 05 March 2003 2:45 pm > To: [EMAIL PROTECTED] > Subject: Re: [PHP] coockies in windows xp > > > At 15:29 5-3-03, you wrote: > >havin

[PHP] Any Tiki users on the list

2003-03-07 Thread George Pitcher
Hi, I'm trying to evaluate Tiki 1.5 but just keep getting an error message on the setup.php page: "Warning: Invalid argument supplied for foreach() in C:\Inetpub\wwwroot\tiki\setup.php on line 11". I've followed the instructions in the Tiki manual. Any suggestions?

RE: [PHP] Any Tiki users on the list

2003-03-07 Thread George Pitcher
> Sent: 07 March 2003 9:49 am > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Any Tiki users on the list > > > On Friday 07 March 2003 16:09, George Pitcher wrote: > > > I'm trying to evaluate Tiki 1.5 but just keep getting an error > message on > > the setup.p

RE: [PHP] javascript

2003-03-07 Thread George Pitcher
Well, it saves having to handle the form - so that the user still has all their entered data in the fields without having to overcomplicate the response page. You can have optional fields which aren't mandatory and you can also do number, string and date validation too. George > -Original Mes

RE: [PHP] Opening a file in a new window

2003-03-10 Thread George Pitcher
Todd, if that script is the result of a link being follwed, add target="blank" to the end. George > -Original Message- > From: Todd Cary [mailto:[EMAIL PROTECTED] > Sent: 10 March 2003 5:28 pm > To: [EMAIL PROTECTED] > Subject: [PHP] Opening a file in a new window > > > Thanks to your

[PHP] Parsing my big file - I'm back

2003-03-11 Thread George Pitcher
some records by adding an index to each field label (nested loop). Finally, I need to gather these arrays into a bigger array set at record level. Can anyone see any flaws in this approach? I've not done this sort of stuff for about 5 years, and that was using Frontier on a Mac. All helpful sug

RE: [PHP] what the hell in this sql

2003-03-12 Thread George Pitcher
Firstly, This isn't a php question and should be directed at a sql list or to php-db Have you lokked at erro 1064 in the manual? What does it say? There are several things that you should do before coming to the list with a problem. Without checking I suspect that you need to specify a 'JOIN' i

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

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

[PHP] Removing columns from a text file

2003-03-27 Thread George Pitcher
ere. Advice on best route would be welcome. 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 PROTECTED] www.ingenta.com Ingenta:

[PHP] RE: Removing columns from a text file

2003-03-27 Thread George Pitcher
ROTECTED] > Sent: 27 March 2003 3:38 pm > To: George Pitcher > Subject: Re: Removing columns from a text file > > > If you have a unix/linux/bsd box around "man cut" would probably do it. > Otherwise you could read it in with php and use explode(). > > -philip &

[PHP] Coercing a date calc - problem - or am I just dumb tryin g it this way

2003-06-21 Thread George Pitcher
Hi all, I've just written this function: $term='Michaelmas'; function f_week($w,$t) { $P=7*($w-1); if( $t == 'Michaelmas'){ $D = 06; $M = 10; $Y = 2003; } else { $D = 12; $M = 01;

RE: [PHP] Re: Passing Variables

2003-06-21 Thread George Pitcher
Nabil, That is one way but it means that Jay would have to use a form and not a link. You could set a cookie. That would work, but it relies on the user allowing cookies. George > -Original Message- > From: nabil [mailto:[EMAIL PROTECTED] > Sent: 21 June 2003 2:58 pm > To: [EMAIL PROTEC

RE: [PHP] Coercing a date calc - problem - or am I just dumb tryin g it this way SOLVED

2003-06-21 Thread George Pitcher
Yeah - just dumb!. I'd put my date vars into mktime in the european order. Once I switched them it worked fine. Chers George > -Original Message- > From: George Pitcher [mailto:[EMAIL PROTECTED] > Sent: 21 June 2003 2:50 pm > To: [EMAIL PROTECTED] > Subject: [PHP]

RE: [PHP] Re: Passing Variables

2003-06-21 Thread George Pitcher
to the PHP conference in Frankfurt about 18 months ago and Rasmus was talking about 'clean' URLs (ithout the 'query' string. I never did find out how though? Cheers George > -Original Message- > From: Jay Fitzgerald [mailto:[EMAIL PROTECTED] > Sent: 21

[PHP] TIP parsing form row data into variables

2003-06-22 Thread George Pitcher
Hi all, This might be well known, so apologies if I'm going over old ground - I've not seen this explained this way. Last year I did a site using the variable variables method to parse row data. Now that I've moved to globals=off, I couldn't get that to work so I tried a few other options settli

RE: [PHP] TIP parsing form row data into variables

2003-06-22 Thread George Pitcher
eed to get it finished before Tuesday, including re-writing the code (and databases) to MS Access, rather than my development version using MySQL. Cheers George > -Original Message- > From: justin gruenberg [mailto:[EMAIL PROTECTED] > Sent: 22 June 2003 10:14 am > To: Georg

RE: [PHP] Fw: Front Page equivalent

2003-06-22 Thread George Pitcher
Graham, PHP editors is a frequent topic on this list. I would suggest that you have a look at the archives and see if the answer is there. BTW, I only use Dreamweaver and don't have any problems. George > -Original Message- > From: Graham Webb [mailto:[EMAIL PROTECTED] > Sent: 22 June 2

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

[PHP] Installation and/or configuration problems w 4.2.1 on NT

2002-06-11 Thread George Pitcher
Hi all, I have PHP running happily on three of my servers (NT/2000/Linux) and need to set it up on NT on a server 400 miles away. I have remote access to the server. I have followed the instructions for both the ISAPI version and the CGI version with no success. This is the error message I get

RE: [PHP] Installation and/or configuration problems w 4.2.1 on N T

2002-06-12 Thread George Pitcher
on't know the answer, but... It sounds almost like a server configuration issue. Almost as if the web server (Apache?) doesn't have the php extension configured correctly. -Original Message- From: George Pitcher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 3:48 AM To: [EMA

Re: [PHP] Installation and/or configuration problems w 4.2.1 on NT

2002-06-12 Thread George Pitcher
eorge - Original Message - From: "Lazor, Ed" <[EMAIL PROTECTED]> To: "'George Pitcher'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 12:33 AM Subject: RE: [PHP] Installation and/or configuration problems w 4.2.1 on NT

[PHP] Installing php_4.0.6 on Mandarke

2002-02-15 Thread George Pitcher
Hi all, I have just installed Mandrake 8.1 with MySQL, Apache and PHP and Apache and MySQL are working but when I do the phpinfo.php file I get a 404 error even though the file is there. It is as though it cannot see php files. Any suggestions? George -- PHP General Mailing List (http://ww

Re: [PHP] Getting the data for MySQL and then putting it back withPHP - at a loss!

2002-02-22 Thread george Pitcher
Michael, Been there recently! You want to use variable variables: $index=0; for (index=0; $index < $rowcount; $index++){ $formvar='formvar'.$index; $formvar=$$formvar; Do the last two lines for each piece of data you want to handle. Think about how you are isolating the formvars on the submit

[PHP] Can anyone improve on this?

2002-04-08 Thread George Pitcher
Hi all, I'm working on a small solution and want to do some configuration during the initialising process. The solution is aimed at non tecchies in universities and the idea is that the system does some of the environment stuff for them. This is the first time I've done any of this stuff so I m

[PHP] Delivering NAMED pdf files

2001-10-19 Thread George Pitcher
use in my site (so far). == = Regards George Pitcher, Edinburgh _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] Delivering NAMED pdf files

2001-10-19 Thread George Pitcher
Rasmus, Thanks for the suggestion but it didn't change anything. George - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "George Pitcher" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 10:54 AM Su

Re: [PHP] Delivering NAMED pdf files

2001-10-19 Thread George Pitcher
Arpi, Thanks for the suggestion but it didn't change anything. George - Original Message - From: "Arpad Tamas" <[EMAIL PROTECTED]> To: "George Pitcher" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 11:13 AM Subject:

Re: [PHP] Delivering NAMED pdf files

2001-10-19 Thread George Pitcher
Sebastian, Just tried it - it dosn't work for me. George - Original Message - From: "Sebastian" <[EMAIL PROTECTED]> To: "'George Pitcher'" <[EMAIL PROTECTED]>; "'Php-General" <[EMAIL PROTECTED]> Sent: Friday, October

Re: [PHP] Delivering NAMED pdf files

2001-10-19 Thread George Pitcher
Thanks for the [non] suggestion. I will not host these in a web-accessable directory. They are copyright materials. I've done this type of hosting previously using Frontier on a Mac and it worked fine. I thought that php was better than Frontier, though. George - Original Message - Fro

Re: [PHP] Delivering NAMED pdf files

2001-10-19 Thread George Pitcher
James, I can. The text in square brackets is a pdf filename referenced in full from a Filemaker database using Lasso. And the php page which is fileaccess.php: HTH George - Original Message - From: "James Cox" <[EMAIL PROTECTED]> To: "George Pitch

Re: [PHP] Delivering NAMED pdf files

2001-10-19 Thread George Pitcher
Yes, If I download the file as it is named, it is the file I expected, only not named the way I wanted. George "MrBaseball34" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > And the php page which is fileaccess.php: > > > > > $fp1 = "D:\\Pdf\\" . $fp;

Re: [PHP] Delivering NAMED pdf files

2001-10-29 Thread George Pitcher
kfurt next week - Original Message - From: "Bill Rausch" <[EMAIL PROTECTED]> To: "George Pitcher" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 8:22 PM Subject: RE: [PHP] Delivering NAMED pdf files > George, > >

Re: [PHP] Form's : making me sick!

2001-11-13 Thread George Pitcher
I don't think that you can nest forms. George - Original Message - From: "De Necker Henri" <[EMAIL PROTECTED]> To: "PHP-General (E-mail)" <[EMAIL PROTECTED]> Sent: Tuesday, November 13, 2001 1:09 PM Subject: [PHP] Form's : making me sick! > I just want to know how to make a inside a

Re: [PHP] Cannot add header information...

2001-11-22 Thread George Pitcher
Per, Its a hard rule but you cannot sent any HTML content before the header. Try reversing the order and see if that works. George (a newbie, trying to find time to learn more) - Original Message - From: "Per Waagen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 22

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

[PHP] 'Running' a file from PHP script

2001-12-04 Thread George Pitcher
Hi all, I'm a PHP newbie, my main scipring being done in Blueworld's Lasso. I have used php fro time to time with Lasso to do some file handling. My question is: 'Can I run a file from a PHP script?' The file in question would be a Filemaker database file. I want to be able to open the file in

[PHP] 'Running' a file from PHP script

2001-12-04 Thread George Pitcher
Hi all, I'm a PHP newbie, my main scipring being done in Blueworld's Lasso. I have used php fro time to time with Lasso to do some file handling. My question is: 'Can I run a file from a PHP script?' The file in question would be a Filemaker database file. I want to be able to open the file in

Re: [PHP] 'Running' a file from PHP script

2001-12-04 Thread George Pitcher
IS4 George - Original Message - From: "Steve Cayford" <[EMAIL PROTECTED]> To: "George Pitcher" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, December 04, 2001 3:39 PM Subject: Re: [PHP] 'Running' a file from PHP script > > On T

Re: [PHP] 'Running' a file from PHP script

2001-12-04 Thread George Pitcher
wn. I can do the detection bit, it's the getting the db file up and running bit I can't do. George - Original Message - From: "Jon Haworth" <[EMAIL PROTECTED]> To: "'George Pitcher'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent:

Re: [PHP] 'Running' a file from PHP script

2001-12-04 Thread George Pitcher
Jon, Of course not, I'm a newbie! George - Original Message - From: "Jon Haworth" <[EMAIL PROTECTED]> To: "'George Pitcher'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, December 04, 2001 5:03 PM Subject: RE: [PHP] &

Re: [PHP] headers

2001-12-05 Thread George Pitcher
I'm a newbie but how about: header(location: http://www.xxx.yyy/somepage.php?var1=$var1) and so on. And location: needs a space after it! George _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP

Re: [PHP] very urgent assistance

2001-12-05 Thread George Pitcher
Ben, Except that its been around for a couple of years now, in various guises. SPAM! George - Original Message - From: "Smith, Benjamin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 06, 2001 6:20 AM Subject: RE: [PHP] very urgent assistance This would have to

Re: [PHP] FOLLOW UP on "column names not liked by odbc/php/access"

2001-12-05 Thread George Pitcher
Just a thought. 'Label' might be a reserved name on win as it is/was used to describe the name of a volume (drive). But then again, maybe not. George - Original Message - From: "mweb" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, December 05, 2001 10:

Re: [PHP] Online editor that edits all pages

2001-12-13 Thread George Pitcher
I'm using EditPlus to edit files on my server, from my laptop, but that accesses the files via the NT network, which might not be what yopu are looking for. George - Original Message - From: "Andreas Landmark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 13, 2001 1

Re: [PHP] Printing file PDF and not seve

2001-12-14 Thread George Pitcher
Don't think so. The whole premise of PDFs is that they are downloaded to the client's machine for local viewing (even on-line). What you need to think about is what security you can build in which although not preventing storage, prevents any unwanted use such as passing on to others etc. We've d

Re: [PHP] ascii of euro

2001-07-27 Thread George Pitcher
According to my character map, its 0128 ... if its on the font. George, Edinburgh - Original Message - From: Alexander Wagner <[EMAIL PROTECTED]> To: Karl Phillipson <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 27, 2001 9:25 AM Subject: Re: [PHP] ascii of euro > Karl Phi

Re: [PHP] Newbie Help (CLASS WAR!)

2001-07-27 Thread George Pitcher
Have a look at: http://www.phpbuilder.com/columns/luis2420.php3 HTH George, still a newbie after a week on php - Original Message - From: CC Zona <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 27, 2001 11:25 AM Subject: Re: [PHP] Newbie Help (CLASS WAR!) > In artic

Re: [PHP] PHP Manual in PDF Format

2001-08-03 Thread George Pitcher
Er, that's a MySQL manual and it doesn't have much in terms of php coding i n it, IIRC. GP - Original Message - From: Augusto Cesar Castoldi <[EMAIL PROTECTED]> To: Andreas D. Landmark <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, August 03, 2001 3:51 PM Subject: Re: [PHP] PHP

[PHP] newbie installation help needed - LinuxPPC

2001-08-15 Thread George Pitcher
Hi all, I've been playing around a little with php/mysql/apache on my NT box but I have just set up one of my Macs as a LinuxPPC machine. I have downloaded PHP-4.0.6 but now I want to install it to work with the apache server software already installed. I'm a complete newbie as far as linux is c

[PHP] Delivering an authenticated pdf

2001-09-06 Thread George Pitcher
to do the writing out to the client. Has anyone done this sort of thing before? (Not the lasso/php stuff but pdf delivery.) The reasoning is that the user should not be able to get to the pdf unless they have been authenticated (in Lasso). Any suggestions? Regards George Pitcher Technical Man

Re: [PHP] ordering a query

2001-09-07 Thread George Pitcher
It is simply ordering them as type data rather than as type integer. Change your data type in the db. George, a newbie - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 07, 2001 9:16 AM Subject: [PHP] ordering a query Me again :) I have a qu

Re: [PHP] PHP Redirect in the middle of code?

2001-09-10 Thread George Pitcher
Andrew, I am in a similar position witha Lasso site, which I am considering php-ing. I need to do conditional redirects. George P, Edinburgh - Original Message - From: "Andrew Penniman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 10, 2001 3:37 PM Subject: [PHP] P

Re: [PHP] PHP and IIS4

2001-09-10 Thread George Pitcher
Yes, it will. But try not to mix and match. George - Original Message - From: "pong-TC" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 10, 2001 3:53 PM Subject: [PHP] PHP and IIS4 > Hello All > > I am using ASP on IIS4, and interested in PHP. I would like to know

Re: [PHP] NT?

2001-09-10 Thread George Pitcher
I've got PHP running under 3 environments (sort of). LinuxPPC(Mac) with Apache and MySQL NT with IIS4 and Lasso/Filemaker (not quite working yet) NT with Apache and MySQL. Installation was very easy. George P in Edinburgh - Original Message - From: "nayco" <[EMAIL PROTECTED]> To: <[EMAI

[PHP] Accessing pdf file thru php

2001-09-12 Thread George Pitcher
ut to the user, at the same time as presenting them with a confirmation form so that downloading can be confirmed. I have tried the following code without any good results: I get a parse error on the line that calls the header. Can anyone help me with this please? Regards George Pitcher Tech

Re: [PHP] Accessing pdf file thru php

2001-09-12 Thread George Pitcher
t;[EMAIL PROTECTED]> To: "George Pitcher" <[EMAIL PROTECTED]> Sent: Wednesday, September 12, 2001 2:52 PM Subject: Re: [PHP] Accessing pdf file thru php > > > You should call header() for each header line. And you should only send one > content type header. >

[PHP] sending PDF to the user (www)

2001-09-13 Thread George Pitcher
d like the filename to be the one the file lives with normally. Can this be done? Also, I would like it to be downloaded to the user's computer without opening in the browser. Any suggestions. My coding in php is: Any suggestions? George Pi

[PHP] another easy cookie question

2001-09-14 Thread George Pitcher
Hi all, This is what I have at the top of my php page (php-4.0.6-winNT). Untitled Document I get the following error. CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: ... and nothing else! Where am I goin

Re: [PHP] another easy cookie question

2001-09-14 Thread George Pitcher
Kelly, Thanks for the tip but having re-arranged my code I still get the same message. New coding = Untitled Document Any suggestions? George - Original Message - From: "Kelly Barrett" <[EMAIL PROTECTED]> To: "George Pitcher" <[EMAIL PROTECTE

Re: [PHP] another easy cookie question

2001-09-14 Thread George Pitcher
so > get rid of them. > > - Original Message - > From: "George Pitcher" <[EMAIL PROTECTED]> > To: "Kelly Barrett" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Friday, September 14, 2001 3:21 AM > Subject: Re: [PHP] another ea

Re: [PHP] another easy cookie question - SOLVED

2001-09-21 Thread George Pitcher
Hi all, I solved my Cookie problem by making it simple: On cookietest.php I have: and on cookietest.lasso I have Display Cookie: [Cookie:'Cookievalue'] and the cookie is displayed properly. This will allow me to integrate Lasso and PHP together and be able to pass data between them using c

Re: [PHP] WEB LOG

2001-09-24 Thread George Pitcher
Hi all, I'm new to php but I would look at the concept of setting a cookie on the log-in page and then testing for that cookie on the http://therealsite page and redirecting failues accordingly. In fact that could be set into every page to make sure that people have to go thru the log-in page. Yo

[PHP] Building Dynamic Value list using ohp

2001-09-26 Thread George Pitcher
Hi all, I'm having a problem with dynamically building a value list. My code: $row[0]"); } } ?> But this generates: "Parse error: parse error in c:\program files\apache group\apache\htdocs\bizflyers\login.php on line 22" Any suggestions? Regards George _

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread George Pitcher
Thanks Gottfried, but that doesn't change the response I get. Any more suggestions. George P in Edinburgh PS I am hoping to come over to Frankfurt for the conference in November (boss might pay) - Original Message - From: <[EMAIL PROTECTED]> To: "George Pitcher&qu

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread George Pitcher
Thanks for everyone's help but this is still failing to work. Revised code is: {$row[0]}"); } } mysql_close($link); ?> Any more suggestions (please)? George - Original Message - From: "Maxim Maletsky (PHPBeginner.com)" <[EMAIL PROTECTED]> T

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread George Pitcher
g off wall right now. George - Original Message - From: "Sheridan Saint-Michel" <[EMAIL PROTECTED]> To: "George Pitcher" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, September 26, 2001 4:00 PM Subject: Re: [PHP] Building Dynamic Value list u

Re: [PHP] Building Dynamic Value list using php [SOLVED]

2001-09-26 Thread George Pitcher
s the login page to a system which at present runs to 45 pages of Lasso?Filemaker coding which I'm hoping to convert to PHP/MySQL (or MS-SQL as we have that and DB2 too). Thanks again George - Original Message - From: "Derek Mailer" <[EMAIL PROTECTED]> To: "George

Re: [PHP] php and java problem

2001-10-01 Thread George Pitcher
Nikola, I'm not a javascript user and new to php too. Is it possible to form your javascript result into a 'hidden' form value. That could then be read by the next php page. HTH George - Original Message - From: "Nikola Veber" <[EMAIL PROTECTED]> To: "php forum" <[EMAIL PROTECTED]> Sen

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

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

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

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

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

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

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

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

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

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

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

  1   2   >