[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] php variablen printer ikke



On Sat, 28 Aug 2010, Mikkel Meinike wrote:

Hej
Er der nogen som kan forklare mig hvorfor variablen som hedder "text1" ikke vil printe noget i selve filen her? og hvad jeg evt kan gøre ved problemet?

Og du får ingen fejlbesked?

Hvis ikke du får en fejlbesked, så start med dette statement:
ini_set("display_errors","on");

læs mere: http://dk2.php.net/manual/en/errorfunc.configuration.php#ini.display-errors

Din fejlbesked kan nok findes i /var/log/apache2/error.log eller sådan noget.

<?php
if (isset($_POST['submit'])) {
$filename = "test.txt"; // Where the "name" is name of file it will create if

Mit gæt er at du ikke har skrive adgang. Prøv:
$filename = "/tmp/test.txt";


/hans
--
Horsebakken 78, DK-2400 København NV


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2010-09-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *