User Profile

Collapse

Profile Sidebar

Collapse
shankari07
shankari07
Last Activity: Apr 16 '08, 12:09 PM
Joined: Sep 12 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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']);...
    See more | Go to post
    Last edited by ronverdonk; Apr 9 '08, 11:02 AM. Reason: last warning: use code tags!

    Leave a comment:


  • 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.1
    See more | Go to post

    Leave 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"]...
    See more | Go to post

  • 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.
    ...
    See more | Go to post

  • shankari07
    started a topic horizontal scroll bar in the drop down box

    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>...
    See more | Go to post

  • Thank you very much Markus it really worked out....
    See more | Go to post

    Leave a comment:


  • 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.
    ...
    See more | Go to post

  • shankari07
    started a topic back button not working
    in PHP

    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"...
    See more | Go to post
    Last edited by ronverdonk; Mar 24 '08, 10:39 AM. Reason: code tags

  • 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"]...
    See more | Go to post
    Last edited by ronverdonk; Mar 24 '08, 10:31 AM. Reason: code tags!!

  • shankari07
    started a topic horizontal bar in select box

    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>...
    See more | Go to post

  • shankari07
    started a topic Page numbers display
    in PHP

    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]
    See more | Go to post

  • shankari07
    started a topic horizontal bar in select box

    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>...
    See more | Go to post
    Last edited by ronverdonk; Mar 17 '08, 10:04 AM. Reason: code tags

  • shankari07
    started a topic HTTP Error 406 - Not acceptable
    in PHP

    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.
    ...
    See more | Go to post

  • shankari07
    started a topic filtering data with today's date

    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.
    See more | Go to post

  • shankari07
    started a topic Input to the list box at run-time

    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)
    See more | Go to post

  • shankari07
    started a topic date comparison

    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
    See more | Go to post
No activity results to display
Show More
Working...