actually i found out that it works with internet explorer but not with
firefox ! Anyone know how to manage to make it work on firefox
please ?

On 13 mar, 11:01, BoBKilla <[email protected]> wrote:
> I am using a file_field_tag and when I am getting the value on the
> controller, it only gives me the file name and not the file path. I
> really need the full file path, how can i do it ? I'll give you a part
> of my code.
>
> <form action= "/entrees/lireXML" >
> <label>Fichier:</label><%= file_field_tag "xml_file" %>
>     <%= submit_tag "Envoyer" %>
> </form>
>
>  def lireXML
>         load_file = params[:xml_file]
> remplieBD ( load_file )
>     redirect_to (entrees_url)
>   end
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to