Re: Unable to lauch php-script to truncate database

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



On Tue, 13 Nov 2012, Johan Vermeulen wrote:

*snip*

> Hello All, Hello Keith,
>
> thanks a million for the responses, I'm already happy to understand
> where the EM are coming from.
>
> The config.php are in each database;
>
> /[root@caw-server2 db]# ls
> reg_begeleidingsteam  reg_jww_archief   reg_personeel     reg_straathoekwerk
> reg_bib               reg_jww_dossiers  reg_resident      reg_vrijwilligers
> reg_drughulp          reg_jww_dvd       reg_signaleren
> reg_jac_activiteit    reg_onthaal       reg_sollicitatie/
>
> so for instance reg_bib ( witch has a library ) has config.php :
>
> /[root@caw-server2 reg_bib]# ls
> background_logo.jpg    config.php  database.php  index.php
> background_stripe.png  cron.php    favicon.ico/
>
> Following your advise, I changed the include enty to :
>
>  include "/var/www/html/nubuilder/db/reg_bib/config.php";
>
> this seems to work without EM, I'm now checking if this indeed truncated
> the files.

That's another way to do it - because that should overide 
the setting in the php.ini file.

Keith

-----------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux