i did a mistake on line 5.even after correcting that error , am not getting the filetype
this is my code[php]if($_POST["upload"] == "Link")
{
//$upload1 = $_POST["uploaded_f ile"];
$_SESSION["uploaded_f ile"] = $_POST["uploaded_f ile"];
if($_POST["uploaded_f ile"] !="")
{
$filen = basename($_FILE S['uploaded_file']['name']);...
User Profile
Collapse
-
-
thanks for the reply,
if i try to print this statement($_FIL ES["uploaded_f ile"]["type"] ) then it is giving results in the version 4.4.4 and it is not giving the results in the version 4.4.8 and 4.3.1Leave a comment:
-
upload function is working in one version and not in other version
Dear frnds,
The following code works in 4.4.4 but not working in 4.4.8
[PHP]
$filen = basename($_FILE S['uploaded_file']['name']);
$filen = basename($_FILE S['uploaded_file']['name']);
$ext = substr($filen, strrpos($filen, '.') + 1);
echo "filetype=" .$_FILES["embeded_fi le"]["type"];
if (($_FILES["uploaded_f ile"]["type"]... -
I want the contents of a file to be put in a textbox without refreshing
hi guys,
I have a form in html which has the city drop down. when clicking the drop down a javascript is called and a file(test.txt) is created and the city is written into the file.
Through php i want to open the same file(test.txt), fetch the values and display it in a text box without refreshing or reloading the form. Is it possible.
After refreshing it works but i want without refreshing the form.
... -
horizontal scroll bar in the drop down box
dear frnds,
I have a select box in php which is filled with data.The data is too long so that the i couldn't see it in the drop down fully .
I need to scroll horizontallly for that.
can we have a horisontal scroll bar in the drop down
[HTML]Code: ( html )
sample code
<select style="width:10 0px">
<option>This is the sample drop down to be shown when the form loads</option>... -
-
I want the contents of a file to be put in a textbox without refreshing
hi guys,
I have a form in html which has the city drop down. when clicking the drop down a javascript is called and a file(test.txt) is created and the city is written into the file.
Through php i want to open the same file(test.txt), fetch the values and display it in a text box without refreshing or reloading the form. Is it possible.
After refreshing it works but i want without refreshing the form.
... -
back button not working
hi guys ,
i have developed a website which works fine in one server but not working in another server.
the problem is i have a back button which goes to another program
here is the code:
[php]
if ($back == "Back") {
header("Locatio n:a_user_outlin e.php");
}
<td align="center"> <input type="submit" name="back" value="back" size="40"... -
php code which works in one server doesn't work on another server
hi guys ,
i have developed a website which works fine in one server but not working in another server.
the problem is i have a button which clears up the session variables that is not working properly.
here is the code:
[php]
if(($clear == 'Clear'))
{
$_SESSION["data_info"] = "";
$_SESSION["oper_info"] = "";
$_SESSION["head_info"]... -
horizontal bar in select box
dear frnds,
I have a select box in php which is filled with data dynamically.
The data is too long so i couldn't see it .
I need to scroll horizontallly for that.
can we have a horisontal scroll bar in the drop down
Code: ( php )
sample code
<select style="width:10 0px">
<option>This is the sample drop down to be shown when the form loads</option>
<option>sample2 </option>... -
Page numbers display
I've splitted the query to show in multiple pages.The page numbers starts with 1 and ends in 20.
i just want to show only 5 page numbers(1 2 3 4 5 ) and show dots(...)
eg. 1 2 3 4 5.. [>>next] -
horizontal bar in select box
dear frnds,
I have a select box in php which is filled with data dynamically.
The data is too long so i couldn't see it .
I need to scroll horizontallly for that.
can we have a horisontal scroll bar in the drop down
[php]sample code
<select style="width:10 0px">
<option>This is the sample drop down to be shown when the form loads</option>
<option>sample2 </option>... -
HTTP Error 406 - Not acceptable
hi guys,
I'm trying to run an excel report using php.
It runs ok but if i give some conditions it says like this
The resource cannot be displayed
The resource you are looking for cannot be opened by your browser.
--------------------------------------------------------------------------------
Please try the following:
Click the Back button to try another link.... -
filtering data with today's date
hi guys,
i've a sql like this
select * from <table name> where <fieldname> > today's date;
in the place of today's date which function i can use. -
Input to the list box at run-time
Hi frnds,
I have two calendar fields(activeXc ontrols) with dates and a list box.
I have to fill the list box with the data between those dates in the field.
eg. date1 = 01-jun-2007 date2 = 28-jul-2007
list box shld contain records between the dates (01-jun-2007 and 28-jul-2007) -
date comparison
hi guys,
i have two dates in the format dd-mmm-yyyy i have to compare whether the first date is greater than than the second date
eg. date1 = 01-jul-2007 date2 = 28-jun-2007 compare date1 and date2
No activity results to display
Show More
Leave a comment: