[PHP] file downloads using header problem

2004-02-09 Thread Joshua Minnie
I am trying to force a file download using headers. The problem is not forcing the download. That is working fine, but if the user wants to click on another download while the first one is still downloading it won't let the user do it. Here is the code that I'm using, adapted from phpbuilder.com

[PHP] Re: file download using header (SOLVED)

2004-01-23 Thread Joshua Minnie
I found the solution, I ended up instead of using readfile, use fopen and fpassthru. Here is the code that solved the problem > Okay, I found a solution to part one of my questions by changing my headers, > but for some reason I am still getting a fractional download of the file. > Most commonly

[PHP] Re: file download using header

2004-01-23 Thread Joshua Minnie
Okay, I found a solution to part one of my questions by changing my headers, but for some reason I am still getting a fractional download of the file. Most commonly it's about 16.6KB of a 4MB file. The kicker is it says that it completed successfully. Here is the modified code: > I am having som

[PHP] file download using header

2004-01-23 Thread Joshua Minnie
I am having some trouble making it possible to download a file using the header function. The problems are: (1) I get the dialog box to download the file, but for some reason the type of file isn't getting passed to the box, and (2) when I download a 4MB file it only seems to be getting 16.6KB. I

RE: [PHP] cache control with javascript

2003-10-21 Thread Joshua Minnie
ECTED] Sent: Tuesday, October 21, 2003 11:56 AM To: Joshua Minnie Cc: [EMAIL PROTECTED] Subject: Re: [PHP] cache control with javascript On 2003.10.21, at 22:28 Asia/Tokyo, Joshua Minnie wrote: > The "it" that you were asking about was the server. The javascript > file is >

Re: [PHP] cache control with javascript

2003-10-21 Thread Joshua Minnie
The "it" that you were asking about was the server. The javascript file is actually a PHP file that produces the JavaScript that I need. I only have one access to a database and a while loop to generate the code. Here is the code pieces: [code] // already connected to the db $sql = "SELECT * FR

[PHP] cache control with javascript

2003-10-20 Thread Joshua Minnie
protocols. I am continuing to look, but have not found a definite answer as to whether or not what I am trying to do is possible. -- Joshua Minnie Lead Web Application Developer Advantage Computer Services, LLC www.advantagecomputerservices.com [EMAIL PROTECTED] -- PHP General Mailing

[PHP] PHP hosting with remote MySQL access allowed

2003-07-10 Thread Joshua Minnie
I am in the process of developing a client side application that needs to speak to our remote databases. Does anybody know of a hosting solution that would allow me to have remote access to a MySQL database? I done some googling and found a quite a few hosting companies, but none of them that I h

Re: [PHP] SSL, PHP, & MySQL

2002-12-13 Thread Joshua Minnie
'stunnel'. I remember hearing some about it, but have not real experience with > it. do a search on some MYSQL mailing lists for some insight. Or ask on the > PHP-DB mailing list and you may be able to target a better qualified audience. > > -Brad > > Joshua Minnie w

Re: [PHP] SSL, PHP, & MySQL

2002-12-13 Thread Joshua Minnie
read: > http://www.php.net/manual/en/function.mysql-connect.php > > It appears that the SSL client flag for connecting to MYSQL is not available > until 4.3.0, but you can pick up the 4.3.0RC3 version now, and test it out! I > _think_ this is what you are looking for. > HTH > -Brad >

[PHP] SSL, PHP, & MySQL

2002-12-13 Thread Joshua Minnie
ble to store the customer information for retrieval later by the owners of the site. Joshua Minnie [EMAIL PROTECTED] Independent Web Consultant / Developer Wild Web Technology www.wildwebtech.com -- Server Information: + PHP v. 4.2.3 + Apach