Questions tagged as 'ubuntu'

2
answers

button upload image to folder and permissions 755 [closed]

my question is this: through a button any user who accesses the form on my website can upload an image to an image folder. This works perfectly if the permissions of the folder are at least 757. What I need for security is that they can uploa...
asked by 29.09.2017 / 09:44
1
answer

Show SQL Server fields in Telegram

I have the following code in python with connection to SQLServer database made in ubuntu (it is a bot for telegram): import pymssql from telegram.ext import Updater, CommandHandler, MessageHandler, Filters import logging logging.basicConfig(...
asked by 26.07.2017 / 02:14
1
answer

Php with MVC does not work in Ubuntu, how to make it work?

I did a project in php with MVC, in Windows everything runs normal; I installed ubuntu with all the tools, php, Apache 2, Mysql and it works normal with a php file that is in a single page, connects me with the database, but the project made wit...
asked by 23.06.2017 / 23:04
1
answer

$ CLASSPATH on ubuntu

export CLASSPATH = $ CLASSPATH: /usr/share/java/mysql.jar This establishes the class path for the terminal. If I close that terminal window and start a new terminal window, I currently have to fire command to establish classpath. I want to co...
asked by 28.05.2017 / 20:10
1
answer

Commands to give total permissions to a folder

Good morning. I need that please put the commands to me so that a folder that by default does not allow to create nor to eliminate anything in its interior, allows it. I have Ubuntu Mate, and I am practicing with PHP in my localhost, but when...
asked by 19.10.2017 / 01:00
2
answers

does not appear var / www in Lamp Ubuntu 16.04

In what way can I make this www folder appear in the var directory? I read some of the permissions, but because the folder is not found, I can not give it permission.     
asked by 12.03.2017 / 23:39
1
answer

Connect PHP linux to a database hosted on the windows (DB POSTGRESQL)?

I'm doing a project php in windows with a database engine POSTGRESQL , to test the correct operation I had to pass the project to linux (virutalbox~ubuntu) the problem is that I do not know how to connect to the databa...
asked by 22.02.2017 / 14:37
1
answer

How to generate a PYTHONPATH environment variable for django

I recently updated my Ubuntu operating system 14.04 to 16.04 and it turns out that I can no longer run a project on Django that is running on a virtualenv throws me this error. File "./manage.py", line 17, in <module> "Couldn't imp...
asked by 17.02.2017 / 04:23
1
answer

Error with SQLite with C # - MonoDevelop (Ubuntu) [closed]

I'm starting to program in C # and using SQLite. The problem I have is that when trying to access a table an error occurs: The connection to the database is made, but the table is not found (it really exists)     
asked by 17.02.2017 / 19:30
2
answers

Problems with LDAP_Account_Manager

I have a problem when entering the LAM server from the browser. What happens is that by accessing localhost / lam, the PHP code on the web is not executed, and it only shows me a lot of PHP code. I have executed the sudo apt-get install ld...
asked by 01.03.2017 / 13:47