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????
Passing an array of values From VB6.0 to Oracle PL/SQL Function
Basically we are using VB6.0.
XML Grouping
I'm using xml_parse_into_struct to get all my elements, but now I need to group them. For example, here's the XML<categories> <category id="12345">
Problems with returning true or false in eval()'d code
Hi guys,Would appreciate some help with a problem when running eval() on a function that should return true or false. From php.net:Quoteeval() returns NULL unless return is called in the evaluated
Stopping page post back
I have few literal contriols in my page and a repeater too. But inspite of using update panel, postback is occuring in my page. Can you please suggest something that prevents my page from being
Pagination
Hi All,I think I'm finally getting somewhere with pagination!I can now submit a query and get the correct number of records back with the correct number of pages. My only problem is, when I press the
php multiple action on submit
I have a form which says:<form enctype='multipart/form-data' method='post' action='process.php' target='_blank'>I need to call process.php on submit or on clicking submit button. Now
Displaying image pathname instead of image
HelloIm trying to upload and then display images from a mysql database - Its only basic and i only need one pic per user on the database hence why using mysqlI really need osme help as ive been going
Check premium expire
Hi,I am making a simple file hosting site and want to check if users premium subscriptions have ended or not. In the database i have premium_start ( time() ) and premium_end ( time() ) that represents
for some reason mysql query not working, not inserting, please check it out
This code is not inserting anything into my db, don't know why, the $_SESSION variable does contain data.Please have a look.Code: function add_user_to_db() {
temporary objects
Until now i thought every temporary object in C++ is created as constant. I'm wondering why my compiler (gcc) is reporting an error on line k.f();, but not g().f(); and g() = k;. Does anyone