Search found 87 matches
- Mon Jul 10, 2017 3:33 pm
- Forum: PHP - Code
- Topic: mkdir() will not make the directory
- Replies: 11
- Views: 8806
Re: mkdir() will not make the directory
Well now the program will produce the new directory. Owned/Group by www-data. I don't know now whether to create a new THREAD but I think this is connected to the original topic. Please correct me if I should create a new THREAD. The next phase is copying the files from the Camera's SD Card. this is...
- Sun Jul 09, 2017 1:37 pm
- Forum: PHP - Code
- Topic: mkdir() will not make the directory
- Replies: 11
- Views: 8806
Re: mkdir() will not make the directory
Thanks a lot spammer. I now have the browser creating the TransFile Directory. I uncommented the code at the bottom of the script, and the program now works properly transferring all the photos from my Cameras SD card in /media... to the new TransFile Directory. GREAT first step. The rest of the pro...
- Sat Jul 08, 2017 4:45 pm
- Forum: PHP - Code
- Topic: mkdir() will not make the directory
- Replies: 11
- Views: 8806
Re: mkdir() will not make the directory
Something else I tried is: $transDir="/home/rick/Desktop/someNewDir";
This results in making the directory "someNewDir" in the Desktop with the owner and group belonging to www-data.
I totally don't understand this.
This results in making the directory "someNewDir" in the Desktop with the owner and group belonging to www-data.
I totally don't understand this.
- Sat Jul 08, 2017 3:24 pm
- Forum: PHP - Code
- Topic: mkdir() will not make the directory
- Replies: 11
- Views: 8806
Re: mkdir() will not make the directory
spammer, I tried that (home/rick/Desktop/photos/ ...) and it did not work either!!
R
R
- Sat Jul 08, 2017 3:02 pm
- Forum: PHP - Code
- Topic: mkdir() will not make the directory
- Replies: 11
- Views: 8806
Re: mkdir() will not make the directory
Hi, I have cleaned the code up so it is easier to understand. The attachments show output from Firefox and Terminal executions. There are some warnings shown in the Terminal output that make little sense to me as they refer to lines php code. What really bothers me is that I have another Terminal PH...
- Fri Jul 07, 2017 11:18 pm
- Forum: PHP - Code
- Topic: mkdir() will not make the directory
- Replies: 11
- Views: 8806
Re: mkdir() will not make the directory
Well now...thats weird.
It just made new directory from command line.
Didn't make the directory when initiated through the browser and AJAX though.
It just made new directory from command line.
Didn't make the directory when initiated through the browser and AJAX though.
- Fri Jul 07, 2017 9:19 pm
- Forum: PHP - Code
- Topic: mkdir() will not make the directory
- Replies: 11
- Views: 8806
mkdir() will not make the directory
Hi, I am running an .html program which uses AJAX to run the PHP code which has this problem. I can run the sample shown from the browser or from the command line with the same negative results. The following code will not make a new directory and change to it. When running this program I was in /ho...
- Mon Jun 26, 2017 1:27 pm
- Forum: PHP - Code
- Topic: fgets(STDIN) not working
- Replies: 5
- Views: 6426
Re: fgets(STDIN) not working
[SOLVED]
Thank you "Site Admin".
I have created a cmd line app which works just fine.
I just think that with an app on the browser it is more elegant and easier to access. Prettier too.
Thanks again, all
R
Thank you "Site Admin".
I have created a cmd line app which works just fine.
I just think that with an app on the browser it is more elegant and easier to access. Prettier too.
Thanks again, all
R
- Fri Jun 23, 2017 11:09 am
- Forum: PHP - Code
- Topic: fgets(STDIN) not working
- Replies: 5
- Views: 6426
Re: fgets(STDIN) not working
Yes, I am running it from the browser.
This statement doesn't work from the browser?
Guess I'll have to figure another way to do this.
Any hints on how to do this in the browser?
thanks, R
This statement doesn't work from the browser?
Guess I'll have to figure another way to do this.
Any hints on how to do this in the browser?
thanks, R
- Thu Jun 22, 2017 7:10 pm
- Forum: PHP - Code
- Topic: fgets(STDIN) not working
- Replies: 5
- Views: 6426
fgets(STDIN) not working
I have a function in which I type in a choice of one of a list of directories produced by scandir() for further processing. There are two problems; 1. The code "$photoFile = trim(fgets(STDIN));" is skipped over and not working. 2. In this echo statement echo "\nEnter a Directory Name ...
- Fri Jun 09, 2017 8:45 pm
- Forum: Installation and Configuration
- Topic: phpmyadmin shows only text
- Replies: 3
- Views: 21227
Re: phpmyadmin shows only text
[SOLVED]
Well, in spite of all the technical stuff in the above internet site here is what solved this for me.
sudo a2enmod php7.0
add: include /etc/phpmyadmin/apache.conf to apache2.conf
As you pointed out, It was an apache2 configuration problem.
Thank you for your help,
R
Well, in spite of all the technical stuff in the above internet site here is what solved this for me.
sudo a2enmod php7.0
add: include /etc/phpmyadmin/apache.conf to apache2.conf
As you pointed out, It was an apache2 configuration problem.
Thank you for your help,
R
- Thu Jun 08, 2017 10:02 pm
- Forum: Installation and Configuration
- Topic: phpmyadmin shows only text
- Replies: 3
- Views: 21227
Re: phpmyadmin shows only text
I tried some of the things pointed out by the site you pointed to. I haveen't a clue what they are talking about, however I have a MySql database which I access through HTML and PHP scripts. The PHP scripts are not working now. I can't get phpinfo() to show up on the screen either! I have never had ...
- Thu Jun 08, 2017 7:30 pm
- Forum: Installation and Configuration
- Topic: phpmyadmin shows only text
- Replies: 3
- Views: 21227
phpmyadmin shows only text
Setting up new installation of Ubuntu MATE 16.04 With PHP 7.0 Apache/2.4.18 and MySql 5.7.18. I'm trying to use Synaptic to setup phpmyadmin (4:4.6.6-1 +deb.cihar.com-xenial.2). I have Apache2, mysql 5.7 , and php7.0 installed. Apache2 index works in localhost, and mysql can be accessed. The trouble...
- Wed Mar 18, 2015 10:14 pm
- Forum: PHP - Code
- Topic: Array_push giving unexpected (by me) result.
- Replies: 2
- Views: 1731
Re: Array_push giving unexpected (by me) result.
SOLVED:
Thanks requinix,
Too simple!
R
Thanks requinix,
Too simple!
R
- Wed Mar 18, 2015 9:12 pm
- Forum: PHP - Code
- Topic: Array_push giving unexpected (by me) result.
- Replies: 2
- Views: 1731
Array_push giving unexpected (by me) result.
I'm trying to add contents of $db to array $rows. $db contains "bridge". The result of this is two additions; One: :bridge", two "45" (the new length of the array). I don't want "45" added to the array. Documentation suggests only " bridge" should have be...