|
by: GameDev |
last post by:
I have a section of my website where customers can login and download a few
select files.
The download links are to php scripts that decide which files to download.
Generally it works fine. However I have one browser compaibilty problem and
an annoyance with MS Internet Explorer
With IE if the user cancels the download (they are only small downloads so
this is unlikely) the browser will stop working corectly from then on: All
links on...
|
by: Steve |
last post by:
hello all
im looking to make a download script as i cannot use the .htaccess to
control directory access to files as im using a php login system using
mysql and sessions.
i have been playing about with fopen and fpassthru but having a few
problems making the file download. The files involved would mainly be
but not limited to .pdfs, .docs and .zips
|
by: Leslie Houk |
last post by:
I'm just learning PHP, and I'm having a problem using fpassthru(). I
want to download a file using the following code segment I found,
which I put into my testing file called portal.php:
$fileString = './' . $params;
// translate file name properly for Internet Explorer.
if ( strstr( $_SERVER, "MSIE" )) {
$params = preg_replace( '/\./', '%2e', $params,
substr_count($params, '.') - 1 );
}
|
by: stefan.machwirth |
last post by:
Hi!
I have a PHP page "transfer.php" and a MySQL db. The client should
download binary files by "http://.... /transfer.php?ID=xx", where the
ID is searched in the db and the real URI is read.
In the transfer.php the "Content-Encoding" and the
"Content-Disposition" header fields are set. Then I do a fpassthru() or
a readfile(), for example: readfile
("http://www.someserver.com/somefile.zip").
|
by: Fredrik Lindstrom |
last post by:
Hi folks!
When I browse the web about information regarding dequeue and enqueue
(b)lobs to an Advanced Queue in PRO/C I do not find a good example. About
RAW I can find a lot of info and because I am new to Oracle I just do not
know if it is any difference between LOB and RAW in this case (it surely
would, or?).
Does anyone know a good an well explained example about this so that I can
understand what I am doing? Right now I am...
|
|
by: Rom Marshall |
last post by:
Hi.
Once a LOB size goes beyond 32KB in size, I'm not able to use the LOAD
utility to unload the data off the tables for DB2 7.1 on OS/390.
Instead, the documentation refers to a sample C++ program --
DSN710.SDSNSAMP(DSN8DLPL) to use for this purpose.
I'm wondering if anyone out there has a COBOL equivalent to this as I do
not have a C++ compiler?
|
by: stoat2337 |
last post by:
I'm looking to purge rows from a DB2 table that contains both a CLOB
(1M) and BLOB (51K), but our DBA is not familiar with LOBs. I work on a
mainframe (z/OS), and we don't normally use LOBs in our shop. These
LOBs were set up by a vendor. Our DBA mentioned that a simple DELETE
would not work, but he thought that a COBOL program could be written to
do the job. Any ideas?
|
by: mjf |
last post by:
Hello,
I have a table that has a BLOB field, which is defined as follows:
create table raw_image(
image_id INTEGER NOT NULL,
image BLOB(2M))
I intend to use import utility to import bunch of pictures (images)
into the above table, but I cannot find an example on how to setup a
lobsinfile. I think the import statement will be:
------
|
by: andre rodier |
last post by:
Hello,
I need to display or propose a jpeg image on a web page.
When I need to display the image, I use this code :
header("Content-Length: $fileSize") ;
header("Content-Type: $type") ;
header("Content-disposition: inline") ;
header("Location: $imageURL");
And when I need to propose the image to save, I use this one :
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|