Re: Re: move_uploaded_file() problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/2/7 Dušan Novaković <ndusan@xxxxxxxxx>

> Hi,
>
> I'm having problem with function move_uploaded_file() under Linux
> (Slackware 12.2). It  simply won't execute only that function in php
> file. So maybe I should add something to http.config file or .... ? I
> tried to execute that php file under Windows and it's working just
> fine (I've copied whole project to xampp's htdocs folder and run it
> normally).
>
Can you show some code?

>
>
> And also I have question, does anyone knows how to configure apache
> (also under same Linux) so that in future I woul
>
dn't have to write
> <?php but only <? every time I start php code?
>
You need to change the enable_short_tags  directive. It is probably more
simple to do it in the php.ini configuration file and not in the apache
configuration file, but you should know that short tags are off by default
because they conflict with xml.

>
> Thnx, Dusan
>
> On Sat, Feb 7, 2009 at 11:53 AM, Dušan Novaković <ndusan@xxxxxxxxx> wrote:
> > Hi,
> >
> > I'm having problem with function move_uploaded_file() under Linux
> > (Slackware 12.2). It  simply want execute only that function in php
> > file. So maybe I should add something to http.config file or .... ? I
> > tried to execute that php file under Windows and it's working just
> > fine (I've copied whole project to xampp's htdocs folder and run it
> > normally).
> >
> > And also I have question, does anyone knows how to configure apache
> > (also under same Linux) so that in future I wouldn't have to write
> > <?php but only <? every time I start php code?
> >
> > Thnx, Dusan
> >
> > --
> > made by Dusan
> >
>
>
>
> --
> made by Dusan
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Alpar Torok

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux