73 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for akgreen

I have spent a lot of time on this question, namely, how to programatically use a PHP script to send a PDF document to the printer without launching the Adobe print dialog that results from using arcord32.exe (the adobe reader). PHP has some useful classes for creating PDF's, i.e., the …

Member Avatar for Yogesh_22
7
22K
Member Avatar for Saran_1

I have scoured Stack over flow and the Pandas documentation for a solution to this issue. I am attempting to recursively move through a directory and concatenate all of the headers and their respective row values. Below is what I have so far after much experimentation with other libraries: import …

Member Avatar for m_26
0
18K
Member Avatar for A_6

Online file hosting. I click "Upload File". I select correct file. I click "Open". File gets uploaded. I log out. What else does hosting get to know? (besides name, modification timestamp, creation timestamp, content, extension and length of upload file etc.) Assuming running Linux Ubuntu/Arch/Whatever, on Mozilla Firefox or any …

Member Avatar for Reverend Jim
0
340
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 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 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 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 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 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 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 Mike Askew

Think I am going mad here.. So I have a working website setup in IIS. This was all configured by a previous developer. We have a set of reports that you can browse to by going to localhost/Reports/ReportName, the underlying directory structure in IIS is actually Reports/Views/ReportName/index.cshtml. I have added …

Member Avatar for Mike Askew
0
194
Member Avatar for arup_1

javac Cannot find my Example.java file after saving it in c:\program..\java..\bin\!! i am using win 7 (64 bit). Following points are so confusing.. 1. **Even i cannot** see the file in that directory form window!! 2. If i want to copy it 2nd time, windows ask me to **"overwrit"**. (Means: …

Member Avatar for stultuske
0
249
Member Avatar for SpeakerKeyboard

Can anyone give me advice on how to attack this problem? I have files in a directory that are named in a convention dayMonthrandomstuff. I need to sort these files into folders based on month then date. So example, "15e23dr" would go into the "May" folder since "e" is the …

Member Avatar for SpeakerKeyboard
0
922
Member Avatar for tony75

Hi When I run root@kali# volatility procdump -p 356 -f /root/Desktop/mydumps/myDump1.img I get this error Volatility Foundation Volatility Framework 2.4 ERROR : volatility.plugins.procdump: Please specify a dump directory (--dump-dir) Any one know how can I solve it? Im using kali linux I appreciate your help

Member Avatar for tony75
0
2K
Member Avatar for Tcll

as the title states, on on linux (Wine32) it works perfectly: http://lh3.ggpht.com/-heB_VObWcwE/VUgfS4bkLkI/AAAAAAAAJAA/tHZzjq2RElw/s642/SIDE_firstPort.png but on windows (synced code) I get this: Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> ================================ RESTART ================================ >>> C:\Documents and Settings\Owner\My …

Member Avatar for Tcll
0
2K
Member Avatar for janicemurby

hya i have 2 user goups in my website one for couples and one for singles what im wanting to know is when a couple registers how can i direct them to a couples directory ive tried the following but its not doing it can anyone help with this if( …

Member Avatar for edbr
0
345
Member Avatar for ggeoff

Hi I am trying to provide access to a folder of photos. The website is Unix based so I can change permissions. I am using WISE-FTP 8 as my FTP program. I created a directory on the server and intend to upload about 40 photos to it. I uploaded one …

Member Avatar for Aeonix
0
275
Member Avatar for python1

How can we save a text file we make using python in another directory?The default directory is always the directory in which , the program is ? is there any way to change this?Can this be done when we are creating the file (FILE=open(filename,"w")) thanks in advance

Member Avatar for Parikshit_1
0
44K
Member Avatar for fireburner29

Hi, How to make visible directory using htaccess? am using this in my htaccess. am getting below error. Server error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. If you think …

Member Avatar for diafol
0
347
Member Avatar for Papa_Don

Hi Group, I attempting to save a file to a specific folder that is begins with the hotels property number. Currently I've manually listed the properties complete folder name in a text file. This is proving to be a management problem that needs to be fixed. The code I'm using …

Member Avatar for Papa_Don
0
285
Member Avatar for phoenix254

i am trying to create a site, when user create his account then make automatic his directory with his name. when he wants to upload his photos, these photos go automatic in his folder or directory. im my register page i have added these lines: $addtothedb="INSERT INTO login (firstname,lastname,useremail,password,Gender,Dateofbirth) VALUES …

Member Avatar for phoenix254
0
528
Member Avatar for Robert_30

I have a form on a page where users can save information, and a dropdown that pulls those saved files from the directory they saved them to. What I would like is when they go to that page, is that when they select the filename from the dropdown box, it …

Member Avatar for Robert_30
0
243
Member Avatar for jober

Hi Guys, I'am curious if AD can be implemented over the network instead of joining the pc manually. Response is much appreciated. Thanks,

Member Avatar for CimmerianX
0
204
Member Avatar for Tensigh

I'm trying to write code in VBA in Excel that opens a desginated directory, finds all xls and xlsx files and then converts them to csv. I found two sets of code that do one or the other perfectly, but I can't make it work. I'm sure I'm just missing …

Member Avatar for Stuugie
0
5K
Member Avatar for FakeTales

i am a bit stuck and dont know whats the quickest and easiest solution. We have one domain name lets say www.example.com , however we have many 3rd part sites that are in the directory /export/sites/htdocs/example/ at the moment all access logs and error logs for the 20+ sites we …

Member Avatar for FakeTales
0
806
Member Avatar for lewashby

Why am I getting the above error message when I run this program? I'm running this program with an mp3 file as an argument, the mp3 file is in the same directory as the python program. There are 30 space reserved for the Title at positoin 125 from the end …

Member Avatar for lewashby
0
4K

The End.