276 Topics

Member Avatar for
Member Avatar for eman neercs

I'm trying to run a python script from the cron but get the error "No module named requests" Traceback (most recent call last): File "testscript.py", line 2, in <module> import requests ImportError: No module named requests The script will run from the console but not through a cron job. I …

Member Avatar for eman neercs
0
5K
Member Avatar for shany0786

This may appear as child problem but i have confusion about this When we document Root what this means?? I am creating directory strucure for framework eg this is directory structure from code tutsplus `----public Document root where public files are accessed -css -images -content -js ------ Resources -library -template …

Member Avatar for shany0786
0
384
Member Avatar for gentlemedia

I'm trying to get the right path and so far I have this which kind of works, but not if the file is in a sub directory. These links I have in my navigation: <ul> <li><a href="<?php echo $_SERVER['DOCUMENT_URI'].'about/organisation.php'; ?>">Organisation</a></li> <li><a href="<?php echo $_SERVER['DOCUMENT_URI'].'about/team.php'; ?>">Team</a></li> </ul> This works from my …

Member Avatar for gentlemedia
0
584
Member Avatar for gentlemedia

Hi guys & dolls, I'm working on a website locally with MAMP and the directory tree is the same then that of the dev directory on my web server. `projects --> ecwc --> concept` But I've set the 'projects' directory on my webserver as a subdomain and this screws up …

Member Avatar for gentlemedia
0
370
Member Avatar for abhilashnair

I need to write a shell script that will filter out all files in a directory that are more than two months old and then remove those files. Example: Suppose I am running this script on May 1st 2007. It should list out all files which are created before Mar …

Member Avatar for jwebster91
0
2K
Member Avatar for Rizi004

Hi There! I have a e-commerce website that is live and now i want to upload that live store in sub-directory for the purpose of development. Live sote is like www.abc.com now i want to copy this store to www.abc.com/dev/v2/ I copy all the files in this new directory and …

Member Avatar for scotv
0
309
Member Avatar for cblock

I am in a situation where I have to take a bunch of Visual Studio projects which are scattered across the file system on a computer, and put them all in one self contained solution folder, under the same file in the file system. Are there any automated tools which …

Member Avatar for cblock
0
705
Member Avatar for PhilipsEl

Hi, We have recently launched a new website and hired one SEO company already. They are doing all SEO stuffs like Blog posting, Guest posting, blog comments, forum submission, directory listing, etc. to promote our website. I know little bit about SEO and love to read SEO articles at free …

Member Avatar for Sarah.Harper
0
1K
Member Avatar for lewashby

I just installed phpmyadmin with `sudo apt-get install phpmyadmin` but now I can't figure out how to get it started. The installation did place a phpmyadmin directory in /etc/ but I don't have anything in /var/www/html/ . I installed this several years ago and it placed a start icon in …

Member Avatar for Ashley_9
0
288
Member Avatar for framerw47

Hi all, I just joined the forum hoping to find an answer to this problem. When I try to open "My eBooks" folder in Win XP Pro, I get an error message that says "My eBooks is not accessable" "the file or directory is corrupted and unreadable". The first thing …

Member Avatar for AdamParola
0
643
Member Avatar for chaitu11

Hi please go through this issue and suggest me http://stackoverflow.com/questions/32294820/where-to-locate-facebook-sdk-v4-vendor-directory-in-codeigniter-3-0

Member Avatar for cereal
0
249
Member Avatar for Christopher_12

i would like to know if it is possible to translate my code according to a database(currently using microsoft sql server) the code i have it is encrypting and decryption on a file inside the microsoft visual studio project i want to connect it to the database this code is …

Member Avatar for Reverend Jim
0
484
Member Avatar for Cap'nKirk

Hi, having a bit of a head-scratcher time here. I have a FOR loop that searches through a Directory for images, collects the EXIF DateTimeOriginal information form each image and then is supposed to output this collected data inside an HTML TABLE. I know that the FOR loop does exactly …

Member Avatar for Cap'nKirk
0
319
Member Avatar for Cap'nKirk

Hi, I am attempting to iterate through all image files in a folder and it's subfolders to check for the EXIF property of DateTimeOriginal. For the life of me I cannot seem to work out how do this, I can work it fine by just entering a single Path in …

Member Avatar for AleMonteiro
0
218
Member Avatar for ananddvk

For loop is not working with expect in pgp encyption script. ========= -bash-4.1$ more TestScriptPGP.sh #!/bin/bash #!/usr/bin/expect -f for i in `ls *.txt` do spawn /opt/PGP/pgp -e +force $i "<abc@gmail.com>" expect "Are you sure you want to use" send "y\n" expect "$" done; -bash-4.1$ ./TestScriptPGP.sh ./TestScriptPGP.sh: line 5: spawn: command …

Member Avatar for Roger_4
0
643
Member Avatar for shanibb

HI, I am getting this error. I am very new in php. Kindly guides me. Warning: require_once(/home/ethnicera/public_html/system/startup.php): failed to open stream: No such file or directory in /homessd/ethnicera/public_html/index.php on line 17 regards, shanibb

Member Avatar for cereal
0
103
Member Avatar for lewashby

When I want to sync my music directory to my SDcard I use the command `rsync -a --delete /home/garrett/Music /media/garrett/6BF6-AC8A` and everything works just fine. I got tired of typing all that in every time so I placed that command in the script ~/bin/music-sync and this is what the file …

Member Avatar for rch1231
0
473
Member Avatar for grakovski

Hi there, I have strange situation. In google's serp i found indexed url's like this: **site.org/index.php/2015-06-27-18-17-32/2014-05-03-23-24-55/76-m40?page=3** how to remove this **/2015-06-27-18-17-32/2014-05-03-23-24-55/76-m40?page=3** if not exists ? Maybe with htaccess, but how ? I want to redirect to index.php all url's when directory not exists. I found some rules but not working …

0
199
Member Avatar for praba_web

How to unlink multiple files in codeigniter? I have to delete records from database. delete records works . what i want, after deleting records also files should get delete form directory(/uploads/deals/) My scripts is below: public function delete($merchant_deals_id) { $deal = $this->admin_deal_model->get_single_deal($merchant_deals_id); $path = './uploads/deals/'; $image1 = $path.$deal['deal_images1']; $image2 = …

Member Avatar for cereal
0
2K
Member Avatar for Niloofar24

Hi. I'm creating a web crawler, I want to send the output into a txt file, how can I do it? And I also want to give a path to the script to set the directory. How can I do it now?

Member Avatar for Gribouillis
0
368
Member Avatar for Radio2006

Hello all, The issue I am having involves a user that uses a CAC to log in to a network. When the account is created, a 10-digit number printed on the CAC is associated with the users account and replaces their User Logon Name in ADUC. This users number was …

Member Avatar for Radio2006
0
2K
Member Avatar for DocTech25

I was successfully able to move internal CSS code into an external .css file just fine. I realized that no matter what I tried, it just wouldn't work unless it was in the same directory as the file I wanted. This isn't really an issue in this case, but I …

Member Avatar for DocTech25
1
214
Member Avatar for Lindsey_2

I am using -PHP 5.3.3 (cgi-fcgi) -Apache Web Server 2.1.6 -5.1.73-community -MediaWiki (1.22.0) I need to implement auto login for the mediawiki users by using ldap authetication. However, php_ldap.dll is not found in the /ext file so I went to download and enter the extension=php_ldap.dll in the php.ini file. I …

Member Avatar for andrevanzuydam
0
442
Member Avatar for Tcll

been scouring google for nearly a month now trying to find something. now as the requirement grows, I need more help tryingto find something. Portable Python is what I'm currently using, but alot of my developers (including myself) don't like the Wine wrapper... Pyzo supports linux mac and win, but …

Member Avatar for Tcll
0
725
Member Avatar for Michael_43

I have been working on this String Split method and the special for loop that I am currently trying to get to properly work does not seem to be working no matter what I do. It keeps printing just the parent directory and not the lower directories. public boolean moveDown(String …

Member Avatar for stultuske
0
197
Member Avatar for flynismo

Im having problems getting this to work.. What I need to do is scan a directory, and search for all images that belong to the member. Here's the basic process: 1. A member uploads a photo 2. If accepted, the photo is automatically renamed by appending the member's name as …

Member Avatar for diafol
0
490
Member Avatar for hefaz

How to write Command to erase all files in the current directory, including all its sub-directories, using only one command?

Member Avatar for hefaz
0
356
Member Avatar for hrushi9

I'm Wordpress beginner. Trying to create plugin "Business Directory Plugin". Need Help to complete code. How to get information about business listing? How to get following information, 1. Business Name 2. Business Category 3. Business Description 4. Business Phone Number 5. Business Address 6. Business Email 7. Business Website, if …

0
118
Member Avatar for hrushi9

I downloaded Simple Directory https://wordpress.org/plugins/simple-directory/ & Recommended Plugins to run the Simple Directory plugin INSTALLING SIMPLE DIRECTORY http://lautman.ca/simple-directory/ But it is not working well. After Installing plugin, when you add Listings, it gives problem with `archive-listing.php` while displaying listings. How to set up pages to create directory???

Member Avatar for hrushi9
0
288
Member Avatar for ikeleher

We have three Windows Domain Controllers (2012 R2 and 2008 R2 mix), all DNS servers. Split-zone DNS scenario. DNS resolution is working for all internal subnets except over User VPN. All network connectivity appears to be uninhibited. Users connected to Cisco AnyConnect IOS SSL VPN are unable to resolve internet-facing …

Member Avatar for karimkagawa
0
925

The End.