Tom!!! You saved my life!!! I've been hard working in this for a week.
I was too lost to see the light and with your "die" i've discovered
the trouble.
The value is changed at the file when i load the JQuery javascript
library in the layout from google.

I changed it to a local version of javascript and then it works
correctly!!!!

What the fuck???

On 10 Juny, 10:44, Albert Johé <albert.j...@gmail.com> wrote:
> If i do a die at the end of the function... the value in the file is
> correct.
>
> Then... how is possible that the value in that file change after the
> function?
>
> Thanks!!!
>
> On 10 Juny, 10:37, Albert Johé <albert.j...@gmail.com> wrote:
>
>
>
> > Thank's so much for your attention.
>
> > The URL i'm typing is 
> > :http://localhost/intranet/intranet_dev.php/web/gProva/P/4
> > -> where the parameter it's P and the value a number.
>
> > When i write the var_dump of getParameter at the beginning of the
> > function it shows to me: string(1) "4"
>
> > Thank's a lot!!!!
>
> > On 10 Juny, 10:15, Tom Ptacnik <to...@tomor.cz> wrote:
>
> > > Show the URL you are typing.
> > > look what echo $request->getParameter('P'); die; shows
>
> > > On 9 čvn, 13:40, Albert Johé <albert.j...@gmail.com> wrote:
>
> > > > I have this easy function:
>
> > > > public function executeGProva(sfWebRequest $request)
> > > >   {
> > > >         file_put_contents('C:\test.txt',$request->getParameter('P'));
> > > >         echo 'File:'.file_get_contents('C:\test.txt');
> > > >   }
>
> > > > Then when i call the url with a P parameter the echo return me the
> > > > correct value but inside test file there is the string "images". I
> > > > have discovered this because if i pass the parameter to de sfUser,
> > > > when i save de session the value is "images" too.
>
> > > > What's happening?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to