thanks for the tips...
i have the same problem to.....
^_^
User Profile
Collapse
-
okay..^_^
i'll remember it...Thanks for the tip...
i do learn a lot from this forum.......Leave a comment:
-
-
erm....
it's ok guys...
i solved it again.....
i use the common delete coding to delte the file from my database..
this is the code i use ^_^
[PHP]<?
include("connec tdb.php");
$id=$_GET['id'];
mysql_query("de lete from filestorage where FileId='$id'");
mysql_close();
header("locatio n:list_filesZ.p hp");
?>[/PHP]Leave a comment:
-
unlink/delete file from mysql database
hi there....
i need some guidance here with
this code?
Code: ( text )
1.
$myFile = "testFile.t xt";
2.
$fh = fopen($myFile, 'w') or die("can't open file");
3.
fclose($fh);
and this one too
Code: ( text )
1.
$myFile = "testFile.t xt";
2.... -
hehe
simple...
there a html code above my php coding,,,
i just switch the php coding above the html coding...
then it's done....
i guess i m not alert with the coding
thats y i have a hard time to detect my coding mistakesLeave a comment:
-
hi atli..it's me again...
this time i want to ask if there is a simple way to remove files that have been uploaded from database?
now i m using ur coding to upload my files ^_^
thank u so much for the coding and adviceLeave a comment:
-
hi ....
thank u very much for the advice....
my coding's problem is solved....
thank u so much....
all of u...
i love u guys so much
^_^
won't be able to solve my prob without u guys.....
thank u.....
next time when i got problem with coding...can i ask u guys again?
^_^ thank u.....Leave a comment:
-
hi it's me again..
i try to use your coding...
all of it...
i've got problem with the coding on phase 4...
whenever i want to download,,,
it will give me a warning...simil ar to the previous warning..
Code:Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\second\get_file.php:13) in C:\Program Files\xampp\htdocs\second\get_file.php
Leave a comment:
-
jessica87 started a topic Problem using the header function. Warning: Cannot modify header informationin PHPProblem using the header function. Warning: Cannot modify header information
hi there, i m using this coding to retrieve the file from database so that my user can download the file...
[code=php]
<?php
if (!isset($_GET['id'])) die('Invalid Parameter');
include 'connectdb.php' ;
$id = $_GET['id'];
$result= "SELECT content FROM upload WHERE id = '$id'";
$data = mysql_query($re sult)...
No activity results to display
Show More
Leave a comment: