[PHP] pdf question

2003-09-30 Thread Floyd Baker
Hello... I have created a routine which outputs a pdf file of 'data only'. It is to be printed onto a pdf form which I obtain elsewhere. At present we are printing the blank form. Then placing it into the paper tray in order to print the data file to it. I would like to cause the data and

Re: [PHP] pdf routine - good local / bad online

2003-06-26 Thread Floyd Baker
nor is the pdf file produced. I'm too lite on linux for the module question. I'll have the guru look into that... Thanks. -Original Message- From: Floyd Baker [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 June 2003 10:32 AM To: [EMAIL PROTECTED] Subject: [PHP] pdf routine - good local

[PHP] pdf routine - good local / bad online

2003-06-25 Thread Floyd Baker
Hi. I have a routine creating a pdf file. Here is the script that works on the win98 dev box. But when I upload it to the linux online, it does not work. It stops at 'create handle'. Can someone please tell me why? // GET COMPANY INFO while($row = mysql_fetch_array($mysql_result)){

Re: [PHP] Re: Long screen display cut short.

2003-06-02 Thread Floyd Baker
to avoid using an array solved the problem. Have not had the problem since upgrading php. Martin Floyd Baker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello... I have a routine that works fine on local win98 but when it runs on linux online, the screen output is cut short. I have

Re: [PHP] Re: Long screen display cut short.

2003-06-01 Thread Floyd Baker
2003 20:45:08 -0400 [EMAIL PROTECTED] (Floyd Baker) wrote: Hello... I have a routine that works fine on local win98 but when it runs on linux online, the screen output is cut short. I have lengthened the 30 second script time max to 45 but that made no difference at all. Depending

Re: [PHP] Re: Long screen display cut short.

2003-06-01 Thread Floyd Baker
PROTECTED] (Floyd Baker) wrote: [snip] I have a routine that works fine on local win98 but when it runs on linux online, the screen output is cut short. I have lengthened the 30 second script time max to 45 but that made no difference at all

[PHP] Long screen display cut short.

2003-05-31 Thread Floyd Baker
Hello... I have a routine that works fine on local win98 but when it runs on linux online, the screen output is cut short. I have lengthened the 30 second script time max to 45 but that made no difference at all. Depending on the particulars, the routine stops at a certain spot. If it is

Re: [PHP] dynamic arraynames

2002-12-02 Thread Floyd Baker
On Fri, 29 Nov 2002 11:47:56 -, you wrote: -Original Message- From: Floyd Baker [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002 17:09 OK, I think I'm finally beginning to understand what you're up to, and it seems to me everyine's been making rather heavy weather of it so far

Re: [PHP] dynamic arraynames

2002-11-28 Thread Floyd Baker
). Finally, if you're planning on storing the data in a database table, each table will need to be created on the fly--it can be done, but if you're struggling with this, it'll take you some time to get the back end working. Hope this helps, Hugh - Original Message - From: Floyd Baker

Re: [PHP] dynamic arraynames

2002-11-27 Thread Floyd Baker
Well I might be in the wrong place. I've also asked in the HTML list now too but I'm still stuck and need some help. This is pretty much as clear as I can make it. I'm up against a mental block and even if it's as clear as glass to others I'm dead in the water and would appreciate some

Re: [PHP] dynamic arraynames

2002-11-27 Thread Floyd Baker
Well I might be in the wrong place. I've also asked in the HTML list now too but I'm still stuck and need some help. This is pretty much as clear as I can make it. I'm up against a mental block and even if it's as clear as glass to others I'm dead in the water and would appreciate some

Re: [PHP] dynamic arraynames

2002-11-27 Thread Floyd Baker
Very sorry for the dupes... Kept thinking I had pressed reply instead of reply all. -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] dynamic arraynames

2002-11-24 Thread Floyd Baker
==) { $field=nbsp;; } print td align=centerh5.$field./h5/td; } print /tr; } print /table/td/tr/table; } ? /body /html - Original Message - From: Floyd Baker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, November 23, 2002 2:07 PM Subject

Re: [PHP] dynamic arraynames

2002-11-23 Thread Floyd Baker
On Sat, 23 Nov 2002 10:58:02 -0500, you wrote: I am trying to generate arrays to hold inputs to columns. Column titles are input to a table as needed. They are read by the program and placed across the page. Then an array goes under each column name to collect the inputs to the various

[PHP] dynamic arraynames

2002-11-22 Thread Floyd Baker
Please can someone offer an idea. I am trying to generate arrays to hold inputs to columns. Column titles are input to a table as needed. They are read by the program and placed across the page. Then an array goes under each column name to collect the inputs to the various rows. Everything

[PHP] which linux?

2002-03-09 Thread Floyd Baker
This is a bit ot but 'related', and I know you guys know... I'm about to buy a new machine and want to install linux instead of ms. I've never touched the stuff before but I hear Mandrake 8.1 is good for easy install, etc. Would anyone have suggestions on buying a new machine, chip

[PHP] numeric numbers to alpha strings.

2002-02-27 Thread Floyd Baker
Hello Are there any conversion routines around for changing numeric dollar amounts to spelled out strings for putting on checks? I wrote a quick basic routine a long time ago It took any number such as '12532' and created a string 'one hundred, twenty-five dollars and 32 cents' It works just

Re: [PHP] My php goes poof.

2002-02-12 Thread Floyd Baker
! ;-) - Original Message - From: Floyd Baker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 2:16 PM Subject: [PHP] My php goes poof. Hi phpeople. Can anyone tell me why my php just stops working periodically? I have a win32/apache/php4.1/mysql

[PHP] My php goes poof.

2002-02-11 Thread Floyd Baker
Hi phpeople. Can anyone tell me why my php just stops working periodically? I have a win32/apache/php4.1/mysql set up. I can do things here for about an hour or so and then all of a sudden I get nothing but html remains. I need to take down apache and restart it for the php parsing to

Re: [PHP] My php goes poof.

2002-02-11 Thread Floyd Baker
But I'm losing ms on my *next* machine. Just can't do it now. So I'll need a different fix. Tnx for the suggestion. :-) - Original Message - From: Floyd Baker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 2:16 PM Subject: [PHP] My php goes poof. Hi

[PHP] Manual input, to form, to array, to session register...

2002-02-06 Thread Floyd Baker
Before 4.1 we used an input form with default field values and manual override input to an array and then posted to an action page. All was good until global_register were turned off. Now I need to make this work using the session register. I have the all this working and passing defined

Re: [PHP] Manual input, to form, to array, to session register...

2002-02-06 Thread Floyd Baker
On Wed, 6 Feb 2002 16:23:25 -0500, you wrote: On Wednesday, February 6, 2002, at 04:08 PM, Floyd Baker wrote: Now I need to make this work using the session register. I have the all this working and passing defined variables ok. How is this done with a manual input? I have tried to use

Re: [PHP] Session updates ok first time only.

2002-01-29 Thread Floyd Baker
On Tue, 29 Jan 2002 12:11:02 +0800, you wrote: On Tuesday 29 January 2002 06:36, Floyd Baker wrote: Yes I have a c:\tmp directory and I see the session being created in it. And the page_view value of 1 after the first increment. The editor wants to reload each time I hit the submit button

Re: [PHP] Session updates ok first time only.

2002-01-29 Thread Floyd Baker
... On Tue, 29 Jan 2002 12:11:02 +0800, you wrote: On Tuesday 29 January 2002 06:36, Floyd Baker wrote: Yes I have a c:\tmp directory and I see the session being created in it. And the page_view value of 1 after the first increment. The editor wants to reload each time I hit the submit

Re: [PHP] Session updates ok first time only.

2002-01-29 Thread Floyd Baker
On Tue, 29 Jan 2002 12:11:02 +0800, you wrote: On Tuesday 29 January 2002 06:36, Floyd Baker wrote: Yes I have a c:\tmp directory and I see the session being created in it. And the page_view value of 1 after the first increment. The editor wants to reload each time I hit the submit button

Re: [PHP] Session updates ok first time only.

2002-01-28 Thread Floyd Baker
On Mon, 28 Jan 2002 15:20:05 +0800, you wrote: On Monday 28 January 2002 14:27, you wrote: Please keep discussion on the list! Sorry about that. I meant to.. //pull value from session file: $page_views = $_SESSION['page_views']; No need for this, in fact this is what is preventing it

Re: [PHP] Session updates ok first time only.

2002-01-28 Thread Floyd Baker
On Mon, 28 Jan 2002 21:10:02 +0800, you wrote: On Monday 28 January 2002 20:52, Floyd Baker wrote: On Mon, 28 Jan 2002 15:20:05 +0800, you wrote: On Monday 28 January 2002 14:27, you wrote: 2) session.save_path = c:/tmp, I don't use PHP on Windows, but looking at the other settings, paths

[PHP] Session updates ok first time only.

2002-01-27 Thread Floyd Baker
Can someone tell me why this is not working right? Two pages are basically the same, passing an accumulating value back and forth. There is no other session being created. The first time it increments and passes to the second page, and is picked up. It puts a 1 in the session file. After

[PHP] File open with 4.1

2002-01-26 Thread Floyd Baker
I'm now using $S_REQUEST to pass things on a win32 with apache and php4.1. In touching stuff up on the isp however, things are incompatible. I have gone to using $HTTP_POST_VAR, etc. instead, so when the isp goes to 4.1 we only need to replace them with $_REQUEST. Is that the way to go?

[PHP] One more time... Sessions questons?

2002-01-24 Thread Floyd Baker
Hi I have been reading but can't get sessions to even try working.. The set up is win32/php4.1/apache. Reading the list I have done what was suggested where it I could understand it. Just went nuts creating /tmp dirs everywhere I could think of to see if any of them worked... Nada!

Re: [PHP] Passing. Which method to use?

2002-01-22 Thread Floyd Baker
On Tue, 22 Jan 2002 14:21:56 +0530 (IST), you wrote: Hi, I'm using sessions extremely to do that. with regards Sukumar .S On Tue, 22 Jan 2002, Floyd Baker wrote: Date: Tue, 22 Jan 2002 01:17:18 -0500 From: Floyd Baker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] Passing

[PHP] Passing. Which method to use?

2002-01-21 Thread Floyd Baker
Hi once again. What's the consensus on the best way to pass arrays from page to page? By serializing? But I think it's not recommended? By writing then reading to a text file? Maybe? By inputting to and pulling from db records? Possibilities? Any other? Thanks in advance. Floyd

Re: [PHP] Passing vars w/refresh w/register globals off?

2002-01-18 Thread Floyd Baker
On Fri, 18 Jan 2002 18:13:50 +0800, you wrote: On Friday 18 January 2002 04:11, Floyd Baker wrote: Yes. I was using the url to pass variables without a form. It looks like the javascript idea would cover that now that you remind me. I've used it before to refresh two frames at once

Re: [PHP] Passing vars w/refresh w/register globals off?

2002-01-17 Thread Floyd Baker
with $_request on the other end but I've got a lot of this refresh kind of passing that doesn't work, and not sure how best to fix it. I don't want to rewrite the entire method to not include refresh. :- Floyd Floyd Baker wrote: Hi.. Got 4.1.1 going and think it's going to work fine. Except

Re: [PHP] Passing vars w/refresh w/register globals off?

2002-01-17 Thread Floyd Baker
On Fri, 18 Jan 2002 01:03:19 +0800, you wrote: On Friday 18 January 2002 00:41, Floyd Baker wrote: On Thu, 17 Jan 2002 07:06:50 +0200, you wrote: What do you mean by 'hidden'? If you're talking about a hidden form input, how can it not be post? Bogdan Just saying I've tried it. Figured

Re: [PHP] Passing vars w/refresh w/register globals off?

2002-01-17 Thread Floyd Baker
On Fri, 18 Jan 2002 03:39:21 +0800, you wrote: On Friday 18 January 2002 02:36, Floyd Baker wrote: The thing is, I *was* using GET in the refresh line and I guess I wasn't saying that. Moreover I want to pass passwords in the same transfer but obviously letting them show up in the url

Re: [PHP] Passing vars w/refresh w/register globals off?

2002-01-17 Thread Floyd Baker
On Thu, 17 Jan 2002 13:47:06 -0500, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 you could save the password to a database, associated with an ID number, then pass the ID number. DATABASE: - id| password 12345 | blah$$ URL: form.php?id=12345 I've done

[PHP] Passing vars w/refresh w/register globals off?

2002-01-16 Thread Floyd Baker
Hi.. Got 4.1.1 going and think it's going to work fine. Except for this. A form calls itself and then uses the menu selection to route through a switch to various refresh redirects... 'Hidden' isn't working and it's not post, get, cookie, etc. Can it be done? TIA Floyd -- -- PHP

Re: [PHP] NEWBIE IN DISTRESS: Install Instructions are not work for PHP 4.1.1!!!

2002-01-15 Thread Floyd Baker
I'm stuck here too. Don't know that much in the first place except that I did get it together once. Apache/php4/mysql on win32... Now to upgrade it's all new again. I'm sure php config files are ok to the point where apache picks it up. There is no 4.1.1 file as called for in the apache

Re: [PHP] Is this a typo or what?

2001-05-22 Thread Floyd Baker
On 22 May 2001 19:32:00 +0200, you wrote: Floyd Baker [EMAIL PROTECTED] wrote: I removed one of the two above the bottom 'return rettext'. There are sure something with that script, at least I found out there is a } too much, maybe you removed one too many, can i see the original

[PHP] wrapping text on a page display.

2001-05-21 Thread Floyd Baker
Hello.. Sorry, I know this is a constant problem.., at least for me. Now I am using 'text' to store big inputs. It does not wrap on the screen display... I have it working on my machine with wordwrap with php4. The isp does not have php4 yet, and it doesn't work with I upload. What is

Re: [PHP] wrapping text on a page display.

2001-05-21 Thread Floyd Baker
On Mon, 21 May 2001 12:57:13 -0400, you wrote: Hello.. Sorry, I know this is a constant problem.., at least for me. Now I am using 'text' to store big inputs. It does not wrap on the screen display... I have it working on my machine with wordwrap with php4. The isp does not have php4

[PHP] Is this a typo or what?

2001-05-21 Thread Floyd Baker
There's an extra '}' in the first example for a word wrap function, under string functions in the manual.. I think I removed the right one but I'm still having trouble with it. Can someone else take a crack at it too? Or give me a new one? Thanks.. Floyd -- -- PHP

Re: [PHP] Is this a typo or what?

2001-05-21 Thread Floyd Baker
On 21 May 2001 23:22:17 +0200, you wrote: Floyd Baker [EMAIL PROTECTED] wrote: There's an extra '}' in the first example for a word wrap function, under string functions in the manual.. I think I removed the right one but I'm still having trouble with it. Can someone else take

Re: [PHP] Is this a typo or what?

2001-05-21 Thread Floyd Baker
On 22 May 2001 00:19:41 +0200, you wrote: Floyd Baker [EMAIL PROTECTED] wrote: Henrik You are looking in the wrong area.. I'm working with php3. There's an extra '}' in the first example for a word wrap function, under string functions in the manual.. Here is what I

[PHP] linking to specific spot on map?

2001-03-02 Thread Floyd Baker
Hi.. We have a city map using co-ordinates to link to specific info on various buildings, etc. The links bring up an information page with data and photos for each building locations on the map. My question is, when this information page is accessed from another direction, say a menu, can

Re: [PHP] my bugaboo.

2001-02-11 Thread Floyd Baker
verting ' to #39 may eliminate the need for add/strip slashes? I have to try that. Many tnx to Anne and all. Floyd On Sat, 10 Feb 2001 18:36:36 -0600, you wrote: - Original Message - From: "Floyd Baker" [EMAIL PROTECTED] Hello and thanks to all for the help on the m

[PHP] open_basedir error message.

2001-02-11 Thread Floyd Baker
Hello. I need an explanation of this error message please. This is the entire result of my upload of a jpg to a blob and I get the open_basedir error on straight uploads also. Although they do get uploaded. On this one I started from scratch with some 5 star directions and still flunk out.

Re: [PHP] my bugaboo.

2001-02-10 Thread Floyd Baker
Hello and thanks to all for the help on the magic quotes, etc. It gives me a better handle on what I'm dealing with. Except for one more thing. When I bring back text from a field which contains a ', and try to apply it as the value of an input box, it still truncates in the box. When I

[PHP] my bugaboo.

2001-02-03 Thread Floyd Baker
Hi.. I have a routine where we input text to fields. When there is an apostrophe it handles it correctly. When the form is brought back for editing, the field values show up in the input fields, with all apostrophes intact, just as it should be. When I upload this script to my isp, it