×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2004
    Posts
    1

    Problem Content download "Requested Page can not be displayed

    Hi All,

    I have build up a wml-page and in the page i have a link to
    a php-file. in the php i send a header with:

    header("Content-type: audio/x-wav");
    header("Content-Disposition: inline; filename=\"". $file."\"");
    header("Content-Length: ".$filelen);
    header("Pragma: no-cache");
    header("Expires: 0");
    echo readfile($filename);

    In the wap browser on a 7650 is the following:
    The Requested Page can not be displayed!

    with my other phone 6630 it runs perfect !

    Can anybody help me - this makes me crazy !

  2. #2
    Registered User
    Join Date
    Nov 2005
    Posts
    13

    Re: Problem Content download "Requested Page can not be displayed

    Hi Schwirz,

    the php-function readfile() returns the number of bytes or False in case of an error. If you write echo readfile(...) than this returnvalue will be outputted too. You should leave out the echo before the readfile() and put an @-sign before it (@readfile(...)) to suppress a possible error message.

    Please tell me, if it works; otherwise I must try it myself (I'm currently not working with php, but did so in the past).

    Best regards

    Jovinus
    Last edited by jovinus; 2005-12-19 at 09:59.

Similar Threads

  1. wap thank you page after download
    By bahriesz in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2004-05-05, 10:10
  2. cONTENT DOWNLOAD WITH DRM
    By SECC_KID in forum Digital Rights Management & Content Downloading
    Replies: 0
    Last Post: 2004-03-01, 17:03
  3. Series 60 SDK 1.2 download problem
    By sci0x in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2003-12-01, 07:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×