[PHP] PHP_AUTH_USER failing, please help me...

2002-11-25 Thread Larry Brown
I just built a new server and loaded with RH8. I copied my php files over to the new apache server and modified the links. I couldn't find any mention of php in the httpd.conf so I figured it must me compiled into httpd so I tested it. The PHP files load, however, the php_auth_user and php_auth_

[PHP] RE: PHP_AUTH_USER failing, please help me...

2002-11-25 Thread Larry Brown
Phil, You da man! It just doesn't get any sweeter. Register_globals is off. Thank you, Larry S. Brown Dimension Networks, Inc. -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 7:40 PM To: Larry Brown Cc: PHP List Su

[PHP] apache httpd-2.0.40-8 and scanning alternate extensions for php

2002-12-01 Thread Larry Brown
I just moved to a machine with RH8 that has their latest version of apache. On prior versions httpd.conf had a section that I could set to have the server scan .html extensions for php tags. There is no longer such a section even though the server does appropriately scan .php files. Does anyone k

RE: [PHP] apache httpd-2.0.40-8 and scanning alternate extensions for php

2002-12-01 Thread Larry Brown
al Message- From: Evan Nemerson [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 01, 2002 4:53 PM To: Larry Brown; [EMAIL PROTECTED] Subject: Re: [PHP] apache httpd-2.0.40-8 and scanning alternate extensions for php -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Find the line that looks lik

RE: [PHP] apache httpd-2.0.40-8 and scanning alternate extensions for php

2002-12-01 Thread Larry Brown
EMAIL PROTECTED]] Sent: Sunday, December 01, 2002 4:53 PM To: Larry Brown; [EMAIL PROTECTED] Subject: Re: [PHP] apache httpd-2.0.40-8 and scanning alternate extensions for php -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Find the line that looks like "AddType application/x-httpd-php .php"

[PHP] Disable refresh?

2002-12-01 Thread Larry Brown
Anyone know of a method of preventing a user from refreshing a page. I get multiple updates with the same information in my database... Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Disable refresh?

2002-12-01 Thread Larry Brown
If not, is there a variable that provides information that a refresh occurred to load the page? Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 01, 2002 8:23 PM To: PHP List Subject: [PHP

RE: [PHP] Disable refresh?

2002-12-01 Thread Larry Brown
Thanks guys this forum is going to get me in trouble. It is so convenient I keep asking questions too soon. After submitting the amendment to the original question I thought of the solution of setting a session variable and then clearing it before and after the submittal page. I'll work the gray

RE: [PHP] PDF Help Please

2002-12-02 Thread Larry Brown
I know this is probably a day late and a dollar short but I was curious myself whether this would be a good outlet to use for reports for a client and wondered if there was such a thing. After seeing your post I went to there site and it looks like you have to have the PDI side to be able to modif

[PHP] hiding php

2002-12-02 Thread Larry Brown
This should bump up my popularity here...can you run asp on apache? The reason I ask is that I understand you can use a php option to hide the fact that you are running php. This sounds like a good idea to keep people guessing, but I also want to use .asp extensions and have them parsed for the p

RE: [PHP] hiding php

2002-12-02 Thread Larry Brown
ssage- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 12:39 AM To: Larry Brown; PHP List Subject: Re: [PHP] hiding php Why not just make up an extension, like your initials (.lsb) or your business name (.dim or .dni), and set-up apache to pipe all those files throug

[PHP] paging through results of mysql query

2002-12-05 Thread Larry Brown
I know I'm trying to re-invent the wheel, but it is because I don't know how they do it. I set up a script to pull a ruleset from mysql and then loop through each row in the set. I then check each row as it loops until I get to the row number I want and start echoing rows. I create the row numbe

RE: [PHP] paging through results of mysql query

2002-12-05 Thread Larry Brown
Much Gratefulness on my part! Finally, my server and I can catch our breath. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 12:47 PM To: 'Larry Brown'; 'PHP Li

[PHP] window size and setting other properties

2002-12-11 Thread Larry Brown
Does PHP have any commands to set the size of the window to be loaded? For that matter are there any methods for hiding buttons etc. from PHP? Larry S. Brown MCSE Dimension Networks, Inc. (727) 723-8388 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

[PHP] running perl script via su

2002-12-20 Thread Larry Brown
I am getting a lot of information about running the web server as root and the associated problems and so on as I've been looking for a quick solution. I have a perl script that is run by cron that executes sequence of events via sftp. The sftp client has no option that I know of to denote a diffe

[PHP] running perl script via su

2002-12-21 Thread Larry Brown
I am getting a lot of information about running the web server as root and the associated problems and so on as I've been looking for a quick solution. I have a perl script that is run by cron that executes sequence of events via sftp. The sftp client has no option that I know of to denote a diffe

RE: [PHP] No tshowing url in title bar....

2002-12-21 Thread Larry Brown
Before the tag you have the tags. Place Title of the page and it will show up on the title bar instead of the url. If you want to get rid of the address bar of the browser window, let me know and I can post the javascript for creating that window. Larry S. Brown Dimension Networks, Inc. (727)

[PHP] Problem with the List?

2002-12-21 Thread Larry Brown
Are my posts getting through? They appear to come back on the list but I also get this response... Sorry. Your message could not be delivered to: php-list,emc (The name was not found at the remote site. Check that the name has been entered correctly.) Larry S. Brown Dimension Networks, Inc. (7

[PHP] printing documents on printer

2002-12-30 Thread Larry Brown
Does anyone know where I might find specific information on methods of sending documents to a printer from the web server to an attached printer. My PHP and Perl books don't even touch on the capability for some reason. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -- PHP General Mai

RE: [PHP] printing documents on printer

2002-12-30 Thread Larry Brown
My apologies, this is Linux RH8 to be exact. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 31, 2002 12:05 AM To: 'Larry Brown'; 'PHP List' Subject: RE: [PHP] printing

[PHP] web visitor viewing a script?

2003-01-04 Thread Larry Brown
This came up in another group and I just wanted to know from the experts whether this is possible. Being someone well versed in PHP can you visit a web site, hit a script in PHP and be able to view the script on the page rather than just the html it generates. Is it true that the only way to view

RE: [PHP] web visitor viewing a script?

2003-01-04 Thread Larry Brown
Thank you guys for the confirmation and ...yes I got it. :( Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Michael J. Pawlowsky [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 04, 2003 8:52 PM To: Larry Brown; [EMAIL PROTECTED] Subject: Re: [PHP] web

RE: [PHP] frustrating problem

2003-01-06 Thread Larry Brown
I'm not sure what syntax would work for you with one query. You might try the mysql list. I personally make two queries. One would be a query to the foo table to get the name and the second would be a loop to iterate through each contact info entry. For each iteration you will get the array wit

RE: [PHP] Forwarding POST info from a PHP script

2003-01-07 Thread Larry Brown
There is probably a better way but what I do is create hidden fields in the form of the first page and populate it with the variable I need to go on to the next one. Ie for variable a, b, c, d coming to the first page... [Do something with some or all of those variables here] echo ""; echo "";

[PHP] graph libs

2003-01-07 Thread Larry Brown
Can anyone give any suggestions on the best/most intuitive tools or libraries for generating graphs with PHP? Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] restrictions

2003-01-07 Thread Larry Brown
Just use the smtp server you use for mail. Oh you might not use smtp for corporate environment? Just use something like outlook express or some other smtp enabled client to send to these various smtp servers you are trying to use for the php scripts first. Then if it works with the mail client t

RE: [PHP] Re: Need a suggestion on developing a php-related system

2003-01-07 Thread Larry Brown
>From the remark about the arrival and departure time scenario, it sounds like you want to show whether the updates occurred and when they began/ended. If this is accurate, you should find out whether the scripts used to populate those databases record that information for the database it is updat

RE: [PHP] graph libs

2003-01-08 Thread Larry Brown
o:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 9:10 AM To: Larry Brown Cc: PHP List Subject: Re: [PHP] graph libs http://www.aditus.nu/jpgraph/ Larry Brown wrote: >Can anyone give any suggestions on the best/most intuitive tools or >libraries for generating graphs with PHP? > >Larry S.

RE: [PHP] graph libs

2003-01-08 Thread Larry Brown
My extreme apologies to jpgraphs. They are more in line with phplot. I might even end up using them instead. Vagarant is the more difficult package. Again, their graph examples are pretty smooth but required a lot of package/dependency updates to RH. >This is by no means an advertisement, just

RE: [PHP] Newbee observation

2003-01-09 Thread Larry Brown
Better yet a script should be run to have all the e-mails listed by the time they were received at the server instead of what time the e-mail was submitted. That should take care of it I would think. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Tom Ray

RE: [PHP] newbee

2003-01-09 Thread Larry Brown
Just a thought, set your form to use the get method so that you can see exactly what the php page is receiving. Then before any of your existing code put the first line to "echo $variable;" without the quotes and using one of the variables being sent and visible in the url. The page should then a

RE: [PHP] session_destroy problem

2003-01-10 Thread Larry Brown
Javascript has a function for performing actions on window close. You could have a submit action on the page that is sent when the window closes. I've not used it yet but it should work I would think. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Scott

RE: [PHP] checking status of a HTML checkbox

2003-01-10 Thread Larry Brown
Also look at empty(). I don't know if the $_POST array will send the key if it as no variable. I know on a regular post it does send the variable, but it has no value. I have used isset with just receiving post data and got strange results. On one I had an isset statement that ran a result that

RE: [PHP] session_destroy problem

2003-01-10 Thread Larry Brown
Question...Do you know if Mozilla runs a browser instance that might handle the process after one of the browser windows is closed? Right now the situation is that IE closes the session when the window that opened it closes. I have a site that is authenticated and then runs sessions on the authen

RE: [PHP] session_destroy problem

2003-01-10 Thread Larry Brown
o expire the session first, at the beginning of hte webpage before the login page showed up and before attempting to create a session. Maybe this will help a little bit. "Larry Brown" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Quest

RE: [PHP] checking status of a HTML checkbox

2003-01-10 Thread Larry Brown
" as these scripts 242 and 409 lines long respectively. I can assure you that the form is properly closed on the sending page though. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of - Ed

RE: [PHP] session_destroy problem

2003-01-10 Thread Larry Brown
help. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Tamás Árpád [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 8:03 PM To: Larry Brown; Scott Fletcher; PHP List Subject: Re: [PHP] session_destroy problem > Yes, the JavaScript code can run be

RE: [PHP] session_destroy problem

2003-01-14 Thread Larry Brown
For those who don't mind working with Javascript I have found a method of maintaining the sessions to a minimum length. According to the Javascript list there is no way to get the url of the site the user is going to next so there is no way to tell if the onunload is due to a site change or the mo

[PHP] emacs and php markup

2003-01-15 Thread Larry Brown
Does anyone out there use emacs and are proficient in customizing it? I love the highlighting it does while working on .php files. However, I usually use different extensions on my files than .php so is there a way to tell emacs to treat certain extensions as php? This would help out immensely!

RE: [PHP] PDF

2003-01-17 Thread Larry Brown
According to pdflib their commercial version gives you the ability to edit pdf files using the PDI library. Have you looked at this? Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Brian McGarvie [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 7:

RE: [PHP] PHP Encoders and GPL License

2003-01-19 Thread Larry Brown
I just want to clarify this for myself. My impression was that the affects of GPL requiring software developed from the original GPL to also be free was only applicable to modifications of the program itself. So if php was GPL and I modified the source and built my own customized version of php I

[PHP] dreading OOP

2003-01-21 Thread Larry Brown
I hope this is not too far OT, however, you are the best resource I have for PHP and if anyone would know, it would be you guys. I have been writing scripts off and on for the past year and have an application written in PHP for a business' internal use. I have used snippets of Object oriented co

RE: [PHP] dreading OOP

2003-01-21 Thread Larry Brown
The only reason I feel the need to expand my understanding is that I have to learn other concepts to produce my client's solutions. For instance I am now being asked to use SOAP to communicate with a vendor of his. Now I am reading about SOAP and frequently the descriptions rely on the reader's u

RE: [PHP] Re:[PHP] dreading OOP

2003-01-21 Thread Larry Brown
Thank you, I'll check this book out. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Sukrit [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 12:39 PM To: [EMAIL PROTECTED] Subject: [PHP] Re:[PHP] dreading OOP >>>>> "Larr

[PHP] mysql query manipulation vs php results manipulation

2003-02-19 Thread Larry Brown
How do you determine whether or not it is faster/more efficient to run a complicated query or to run multiple simple queries and join / manipulate the results with PHP? Larry S. Brown Dimension Networks, Inc. (727) 723-8388

RE: [PHP] mysql query manipulation vs php results manipulation

2003-02-19 Thread Larry Brown
My apologies for the prior html version, I forgot to change back to txt. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 On Wed, 19 Feb 2003, Larry Brown wrote: > How do you determine whether or not it is faster/more efficient to run a > complicated query or to run multiple

RE: [PHP] MAC address user recognition?

2003-02-21 Thread Larry Brown
One other thing you could do is simply set up SSL with your own certificate so that it will encrypt the connection and then run code via JAVA or some other client side applet that will get the MAC address from the client machine directly. You can then check the MAC against the addresses allowed. S

RE: [PHP] and

2003-02-23 Thread Larry Brown
The onClick should be onClick=window.location("newpage.php") and this has nothing to do with php. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 12:15 AM To: Sunfire Cc: [EMAIL PROTECT

RE: [PHP] Emacs?

2003-02-26 Thread Larry Brown
25 Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Sascha Braun [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 12:00 PM To: PHP General list Subject: [PHP] Emacs? How many Persons in this List are using Emacs as there default Editor? -- PHP Ge

RE: [PHP] Emacs?

2003-02-27 Thread Larry Brown
Oops...I stand corrected. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Matt Giddings [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 12:26 AM To: 'Larry Brown'; 'PHP List' Subject: RE: [PHP] Emacs? Don't you

[PHP] deciperhing oop

2003-03-03 Thread Larry Brown
Can someone who is used to using php oop help me figure out why this fails? I know there are probably a thousand classes already designed to do this and probably 100 times more efficient, but this is how I learn. From what I've read this should work but there is obviously something I'm missing. Q

RE: [PHP] deciperhing oop

2003-03-03 Thread Larry Brown
Networks, Inc. (727) 723-8388 -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 6:50 PM To: Larry Brown; PHP List Subject: Re: [PHP] deciperhing oop the second argument in the mysql_select_db call in not in scope. you should be using $this->db ins

[PHP] Version 5?

2003-03-06 Thread Larry Brown
Someone mentioned a facet of version 5 to be expected that I am really looking forward to. Does anyone know what the release target date is? I didn’t see any mention of it on php.net. Larry S. Brown Dimension Networks, Inc. (727) 723-8388

[PHP] table cell space under image in IE

2003-03-13 Thread Larry Brown
Has anyone had to address this problem before? I've created a table and placed an image inside. The image is around 12 pxl high and when the table is displayed in Mozilla the cell border is up against the image on all sides. On IE however, the top of the image is up against the cell border but t

RE: [PHP] table cell space under image in IE

2003-03-13 Thread Larry Brown
, 2003 12:07 PM To: Larry Brown; PHP List Subject: Re: [PHP] table cell space under image in IE > Has anyone had to address this problem before? I've created a table and > placed an image inside. The image is around 12 pxl high and when the table > is displayed in Mozilla the cell b

RE: [PHP] Re: table cell space under image in IE

2003-03-13 Thread Larry Brown
I just posted the code and have the tags on separate lines for clarity, but in the source they are on the same line with no space between the tags. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Roman Sanchez [mailto:[EMAIL PROTECTED] Sent: Thursday, March

RE: [PHP] table cell space under image in IE

2003-03-13 Thread Larry Brown
What kind of @%#$%#! is that? Why would they have take up visible space? Hmm, I guess I'll have to find a new angle or hide the closing form beyond the table. Thanks... Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Roman Sanchez [mailto:[EMAIL PROTECTE

[PHP] php mysql array question

2003-07-11 Thread Larry Brown
Is there any php function to pull a query into an array? I know there is a way to get the first row of the results in an array, but I'm having to loop through each row pushing the row onto an array to get the result I'm looking for and it seems like a lot of code for something that I would think i

[PHP] Client script opensource plea

2003-07-13 Thread Larry Brown
This, most certainly OT, is a plea for fellow developers oriented in OpenSource solutions to help resolve a problem in case you have dealt with it before. I have written a PHP app that uses function keys at times to help speed data processing for my client VIA javascript. This app works fine when

[PHP] console script html tags?

2003-07-14 Thread Larry Brown
How can I rid myself of the html tags around error messages when writing console scripts? (Besides avoiding errors) Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] else needed?

2003-07-19 Thread Larry Brown
On if statements, I periodically don't want anything to happen if the requisite is not met. In most cases just writing the statement in the format if (this) { do that; } and nothing more will work. However, I periodically get weird results with this and found the only fix was to do a... if (this)

[PHP] IE Pagelength issue

2003-06-07 Thread Larry Brown
I am running into a strange problem. I have a script that parses a database for results. It cycles through the data one record at a time looking for matches to the query. Up til now I haven't had any problems as the results have been limited in length. Now I have one that has a significant leng

RE: [PHP] IE Pagelength issue

2003-06-07 Thread Larry Brown
Just as an additional note: the page has one continuous table so another potential problem would be a limit to the length of a table? Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 1:55

[PHP] mysql field getting cut off

2003-05-30 Thread Larry Brown
If anyone can help I seem to be stuck on a problem getting a mysql field inserted correctly. For instance the first page would have a field such as... info that is placed into the field is "St. Petersburg, FL" (without the quotes) the php code for the statement... $query = "insert into table

RE: [PHP] mysql field getting cut off

2003-05-30 Thread Larry Brown
. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 9:44 PM To: 'Larry Brown'; 'PHP List' Subject: RE: [PHP] mysql field getting cut off > If anyone can help I seem to be stuck

RE: [PHP] IE Pagelength issue

2003-06-07 Thread Larry Brown
ion and a way to edit the band information in addition to removing any one of them. So there are various buttons throughout. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 6:08 PM To: &#x

RE: [PHP] IE Pagelength issue

2003-06-08 Thread Larry Brown
works, Inc. (727) 723-8388 -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 9:37 PM To: 'Larry Brown'; 'PHP List' Subject: RE: [PHP] IE Pagelength issue If you "view source" in IE, do you see the entire page? I

RE: [PHP] IE Pagelength issue

2003-06-09 Thread Larry Brown
: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 8:48 PM To: PHP List Subject: RE: [PHP] IE Pagelength issue Yes, the entire page is visible when selecting view source. And again, it does view ok in Mozilla. I will try breaking the table into smaller tables and see if that is it

[PHP] Pause for user input?

2002-11-20 Thread Larry Brown
Does anyone know of a method to pause during the processing of a script to prompt a user for information and then incorporate the user's response for the remainder of the script? Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -- PHP General Mailing List (http://www.php.net/) To unsubs

RE: [PHP] Pause for user input?

2002-11-20 Thread Larry Brown
ember ICCA (727) 723-8388 -Original Message- From: @ Edwin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 11:29 AM To: Larry Brown Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Pause for user input? Hello, "Larry Brown" <[EMAIL PROTECTED]> wrote: > Does an

RE: [PHP] Pause for user input?

2002-11-20 Thread Larry Brown
gurus. Thanks, Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: @ Edwin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 2:39 PM To: Larry Brown Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Pause for user input? "Larry Brown" <[EMAIL

RE: [PHP] How do I initialize a page to do something ONCE

2002-11-22 Thread Larry Brown
Your first post stated.. > The only problem is that it is not processing the second if block -- if($start_over == 1) -- unless I actually set start_over=1 in the get string. > Your second sounds like it is executing the second block... >The variable $initialize contains "int(1)", so it does set i

[PHP] php temp table question

2003-10-27 Thread Larry Brown
Does anyone know whether the use of persistent connections with php will allow a temp table created by a script to linger around and cause a problem with the next execution of the script when it tries to create the temp table again? Also if it does present a problem with the next script execution

[PHP] php temp table question (for mysql)

2003-10-27 Thread Larry Brown
Does anyone know whether the use of persistent connections with php will allow a temp table created by a script to linger around and cause a problem with the next execution of the script when it tries to create the temp table again? Also if it does present a problem with the next script execution

RE: [PHP] PHP with Frames (cont.)

2003-10-27 Thread Larry Brown
Are you trying to access variables between frames or just get a php script to run when it is one frame. I have php pages running in frames in a number of places. You could not access variables between the frames though. You would have to use a client side script to do that. You could have somet

[PHP] PDFlib not working with explorer based on PHP created file in memory

2003-10-29 Thread Larry Brown
If anyone can help, please... I have a page that points to a PHP page that dynamically creates a pdf file using PDFlib. The page uses a link such as site.com/page.php?variable=value. That in turn executes the script that uses the variable/value to pull info from the db and generate the page. Th

RE: [PHP] PDFlib not working with explorer based on PHP created file in memory

2003-10-29 Thread Larry Brown
My apologies for waisting anyone's time. I found the posting in the archives that had the correct code to use. -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 3:39 PM To: PHP List Subject: [PHP] PDFlib not working with explorer bas

RE: [PHP] php temp table question (for mysql)

2003-10-31 Thread Larry Brown
W. Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 4:43 PM To: Larry Brown; PHP List Subject: Re: [PHP] php temp table question (for mysql) From: "Larry Brown" <[EMAIL PROTECTED]> > Does anyone know whether the use of persistent connections with php will > allow

[PHP] nusoap

2003-11-11 Thread Larry Brown
Does anyone here have any solid experience with nusoap? Their list has low volume and I am finding it difficult to find any useable examples or descriptions of real life uses and how to configure the server/client. In particular I'm currently trying to figure out the correct syntax to produce wsd

RE: [PHP] File upload problem

2003-12-20 Thread Larry Brown
According to the documentation you have to have the maxfilesize tag before the input tag. -Original Message- From: Dino Costantini [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 6:34 PM To: [EMAIL PROTECTED] Subject: [PHP] File upload problem i'm trying to write a page whic

[PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
I have set up a script to recieve a pdf file and store it in a mysql db using "update db set field=load_file('fileIncludingFile') where id=$id". Afterwards I can see the file has been uploaded into the blob field successfully and without errors. Now I want to get the file back out. I set up a scr

RE: [PHP] sessions problem

2003-12-20 Thread Larry Brown
Make sure you have session_start(); at the beginning of each script you run from the time you start inserting variables to the time you want the session to end. -Original Message- From: Nitin [mailto:[EMAIL PROTECTED] Sent: Saturday, December 20, 2003 10:48 AM To: PHP-General Subject: [PHP

RE: [PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
2003 1:24 PM To: PHP List Subject: RE: [PHP] mysql load_file retreival LOAD_FILE() shouldn't be escaping the data. Are you actually calling : echo header()? the header function should not be echoed. header('Content-type: application/pdf'); echo result[0]; -Original Message---

RE: [PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
are apparently seeing gthe pdf data, check for whitespace outside php tags and any extraneous echo's or print's, that would very likely cause the pdf to not be able to be read properly. Chris -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Saturday, Dece

RE: [PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
: PHP List Subject: RE: [PHP] mysql load_file retreival Gald to hear it works now. Are you base64 encoding it for any particular reason? Seems to me that it would waste a lot of db space as base64 encoding adds quite a bit to the filesize. Chris -Original Message----- From: Larry Brown [mai

[PHP] using PDI to pull from data already read into a variable?

2003-12-22 Thread Larry Brown
I have written scripts to upload pdf files into mysql. I have the scripts created to access those files and produce them for the user on the fly. All well and good. Now I have a need to access one of those files and insert its contents into a new pdf report. I have purchased the PDFlib+PDI and

RE: [PHP] PROBLEMS WHEN EXTRACING DATA FROM MSSQL DATABASE WITH PHP

2003-12-22 Thread Larry Brown
Is your field too small? MySQL doesn't complain when you give it a string longer than it can accept based on the field's size. It just cuts off what doesn't fit :-) -Original Message- From: Dale Hersh [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 6:50 PM To: [EMAIL PROTECTED]

RE: [PHP] PROBLEMS WHEN EXTRACING DATA FROM MSSQL DATABASE WITH PHP

2003-12-22 Thread Larry Brown
My bad, didn't read far enough... -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 7:04 PM To: Larry Brown; Dale Hersh; PHP List Subject: RE: [PHP] PROBLEMS WHEN EXTRACING DATA FROM MSSQL DATABASE WITH PHP Larry Brown <mailt

RE: [PHP] Re: HTTP headers, IE and downloading

2003-12-22 Thread Larry Brown
In hopes that this may be of help to you...I had a hell of a time getting IE to download pdfs that I create on the fly and finally with the help of a couple people I got the magic code which was... $len = strlen($buf); //buf was holding the pdf doc. header("Pragma: public"); header("Expires: 0")

RE: [PHP] Can't upload file greater than 11kb

2003-12-23 Thread Larry Brown
The mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 8:55 PM To: [EMAIL PROTECTED] Subject: [PHP] Can't upload file greater than 11kb I've got a situation where I want to upload a file to a server then enter the data in that file into mysql. I have used this well documented upload form

RE: [PHP] Re: progress in PHP

2003-12-23 Thread Larry Brown
How does perl show progress of the upload if it is a server side scripting language and php can't do it because it is server side? -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 12:46 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: progress

RE: [PHP] programming the onclick() event in an anchor

2003-12-25 Thread Larry Brown
You can place tags around the anchors and use hidden tags and send via post so the variable is not obvious. A user reading the source would see this though... echo "https://this.site.com/somePage.php\"; method=\"post\">\n"; echo "SomeLinkText\n"; echo "\n"; echo "\n"; I'm not sure off the top o

RE: [PHP] HTML via echo or not

2003-12-29 Thread Larry Brown
I agree. I think embedding the tags is messy and harder to follow. I do however, treat echo like print. ie echo "The thought would \"have\" to be clear."; I've not use CR,. I'll have to look at that. Thanks -Original Message- From: Robin Kopetzky [mailto:[EMAIL PROTECTED] Sent: Monday

RE: [PHP] How do I protect downloadable files?

2003-12-30 Thread Larry Brown
You could have your authorization info in the mysql db including file locations that are stored along with the authorization level necessary to download them. If the person is authenticated to download the file, the php script uses the file location info from the db to open the file and generate t

RE: [PHP] How do I protect downloadable files?

2003-12-30 Thread Larry Brown
Time for them to upgrade to OSX... I've not tried to crack that nut. Is there anyone here who has successfully managed headers for Mac users? It's hard to believe it hasn't been done. -Original Message- From: Kim Steinhaug [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 8:04

[PHP] PHP New Year

2003-12-31 Thread Larry Brown
Happy New year all! Looking forward to bigger better things this year. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] urlencoding.

2004-01-01 Thread Larry Brown
How about this one? Add it to an include for the site and use it whenever you have an error check. function goBack($newSite,$errMsg) { $send = ""; foreach($_GET as $key=>$value) { $send = $send."&".$key."=".$value; } $goTo = urlencode($newSite."?errMsg=".$errMsg.$send);

RE: [PHP] Setting a 'life-time' clock to a displayed information

2004-01-01 Thread Larry Brown
The timer on the client browser would have to be done in some client-side language. On the server side you can place any order information that is out with a supplier in a db field along with the time it was pulled. When the next supplier submits a request, the db is parsed for pending jobs who

RE: [PHP] No cookie is being set?

2004-01-02 Thread Larry Brown
shouldn't $row[member_id] be $row['member_id']. In case anyone can profit from this, when I find a function doesn't work right and I am using variables in its execution I run an echo/die combination immediately before the function to verify the data being fed to it is as it should be. In this exa

RE: [PHP] Array into $_SESSION

2004-01-02 Thread Larry Brown
session_register("user"); session_register("authLevel"); session_register("sessionExpire"); $user=$userDataFromForm; $authLevel = $authLevelFromDB; $sessionExpire = time() + 3600; etc... -Original Message- From: Cesar Aracena [mailto:[EMAIL PROTECTED] Sent: Friday, January 02, 2004 2:11

  1   2   >