Jump to content

luisrosety

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About luisrosety

  • Rank
    Newbie
  1. Have a look at this discussion
  2. What happens when to access directly the php document with your browser? Let's say your path to the php document is http://localhost/test.php What happens if you access this document like this instead of launching it with the form?
  3. Thanks for the reply. I have used a wrong description. I was talking of responsive grid when you arrange cells as a typical table layout. The responsive grid works well stacking groups of columns when viewing with a small screen. But what I would like to do is arranging the last cell column as a row under the first bigger cell. Is it possible with responsive grid? Thanks.
  4. I have tried the following: 1.The php that directly writes the file on the same directory (/home/pi/www/test). 2. Navigate with the browser to the directory http://myserver/test and the file is not created and php gives the error: Warning: fopen(file.txt): failed to open stream: Permission denied in /home/pi/www/html/test/index.php on line 6 Unable to open file! 3. Then I give "rwx" permission to others: chmod o+wx /home/pi/www/test 4. Then going to the same directory http://myserver/test the file gets created The php file (index.php) <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); $myfile = fopen("file.txt", "w") or die("Unable to open file!"); $txt = "writing test\n"; fwrite($myfile, $txt); fclose($myfile); ?> I have done the tests with lighttpd. Launching the creation of the file directly with the script gives more information. You must have permission issues.
  5. Try adding these lines at the beginning of your PHP script: ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL);
  6. Have you enabled lighttpd log? It can provide very useful information.
  7. Have you checked permissions for Apache user? (Usually www-data user) What happens if you try creating the file with PHP file command? <?php $handle = fopen("yourPathToTheFile", "w"); ?> Also check if you are running PHP in safe mode.
  8. Hi all, I have started using W3.CSS and it is really impressing. I would like to arrange the last column of a table as a row at the end of that table but I can't find the way. Any help? Thanks
×
×
  • Create New...