hi everyone,
I have a php file trying to read and stream mp3 files. It works fine in IE but my problem is Firefox streams only 3 seconds of them.
$direction = $row['URL'];
$path='http://'.$direction;
ob_start();
header('Content-type: audio/mpeg');
header('Content-Length: '.filesize($path)); // provide file size
header("Content-Transfer-Encoding: binary");
header('X-Pad: avoid browser bug');
header("Expires: -1");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
readfile($path);
ob_end_flush();
Any workaround please????
Error Messaging not working
I changed the way my form tells the user of an error. But I can't seem to get it to work properly. Any help would be great. Thanks.Code: // IF NO errors process form if ($error == "")
Php WordPress help
I am writing the following code for making a plugin<?phpheader("Content-Type: text/css");/*Plugin Name: Name of the plugin.Plugin URI: The page having information related to
SAP Business Suite
Hi all:
Help adding strtolower( to my in_array
strtolower i need to add it to this to work, iuno how.Code: $moderators = array('Admin', 'banana', 'orange');if (in_array("{$_SESSION['user_name']}", $moderators)) print('Found it!');i
Different payment methods with different cross company requirements in F110
We are implementing SAP in a company in the shipping industry. They have the following requirement:
WELCOME SCREEN
first of all let me tell you what does my script do, it´s a very simple query to show a email from a database, (EX: Welcome: user@server.com). i get the email whit the id.
Deleting a record php
Attempting to setup delete a record page. The below code I put together doesn't seem to work. | <?$delid=$_GET['delid'];echo $delid;if(isset($_POST['submit'])){$delquery="DELETE FROM table
Stopped working!
So I had to change some stuff, none of it major. Stuff like the extension_dir and such. BEFORE I did much, I had that code working fine. Then I did some changed... well a lot of changes that I cant
Escaped characters
I have a script that allows you to post news to the home page of my site. Along with the news is the username of the person and a avatar type thing. When the script tries to send the avatar image to
Adding Outlook 2007 items via file upload
I am looking for a way to be able to attach an Outlook item (an email message) in an ASP.NET 3.5 application. Similar to when in Outlook and sending an attachment, you can select either a file, or an