6,015 Topics

Member Avatar for
Member Avatar for Joseph026
Member Avatar for almostbob
0
217
Member Avatar for PyGuy123456789

Given Problem: A professor at Hardtack University has an unusual method of grading. The students may or may not all take the same number of tests. The individual tests are weighted, and these weights are used to compute the student's average. Important: the weights for all of the tests for …

Member Avatar for Gribouillis
0
419
Member Avatar for Sherwin Paul

Hi Expert, would it be possible to list all the current active Domain equivalent Active Directory in a network? Hoping to here from you. Thanks.

Member Avatar for Sherwin Paul
0
187
Member Avatar for Jonah_1

I am creating a text editor on a Mac and am having trouble with file saving. I can open, save as and save files but the save function stops working after I call `self.close`. I get this error: Exception in Tkinter callback Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line …

Member Avatar for Gribouillis
0
2K
Member Avatar for jwausi

Hi, Am developing my website using codeigniter and got stuck when i tried to make the backend. Am using CMS backend that comes with its own folder with everything (.htaccess, its own MVC etc) so I put all my frontend folders into one folder called frontend withinn the application folder …

Member Avatar for diafol
0
4K
Member Avatar for ddanbe

Some time ago, I needed to know the pathname of my running application, in order to create a temporary file. As it seems ther are alot more options than I thought. So I applied all I could find in this little snippet. I also used the full names to make …

Member Avatar for Teme64
1
2K
Member Avatar for Anne_3

Hi guys, ** Im an IT Intern Student here in the Philippines. they gave me a project which is File transferring, copy and delete. I started my OJT/Internship 3 weeks ago. and that entire week, all I have done is the design :( My professors in our university did not …

Member Avatar for Taywin
0
409
Member Avatar for tgreiner

I've created a program that reads lines from the text file. Each line is parsed to find a command and parameters that are executed. So, the essential code goes something like this: while (getline(script, scriptline)) Parse Scriptline Execture Scriptline Function This works very well for most functions. Until I get …

Member Avatar for David W
0
233
Member Avatar for choeychoco

Good day everyone. i have a vb6 program that attaches files in my database having an attachment field named ATTACHFILE. Saving files works fine but i cant upload/save file to a selected directory. I have the following code below . I was able to save it to my spcefied directory …

0
180
Member Avatar for OMER AHMED

Hi i am making an application in vb.net and i need help. The user will send me his issues or information through attachment. but i want a restriction on filesize that he can not attach file more then 20MB i did some coding but its not working. it will show …

Member Avatar for Minimalist
0
433
Member Avatar for iamthwee

Hi, I can successfully use the upload form in codeigniter without jquery/ajax, trouble is I need it for a rich text editor. Any ideas how to go abou this. Ta.

Member Avatar for Freddy_2
0
4K
Member Avatar for jeffersonalomia

Hi guys. I have problems with my php scrpt for downloading the file that i uploaded on my wampp server. Specifically, it turns out that when i finished downloding the file, its original size decrease like for example i upload a 24kb file on my wampp server. Then if i …

Member Avatar for cereal
0
153
Member Avatar for Long_5

Hi all!! I want to play multiple audio file from a folder, but I only play the first file This is my code : List<string> wavlist = new List<string>(); wavlist.Add(Application.StartupPath + "\\mp3\\1.mp3"); wavlist.Add(Application.StartupPath + "\\mp3\\2.mp3"); wavlist.Add(Application.StartupPath + "\\mp3\\3.mp3"); wavlist.Add(Application.StartupPath + "\\mp3\\4.mp3"); foreach (string file in wavlist) { WMPLib.WindowsMediaPlayer wplayer = …

Member Avatar for ddanbe
0
228
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 jeffersonalomia

I have a problem when downloading the file i've uploaded on my local server. The file is successfully downloaded, however there is a problem on opening the file that i've download. For example i download a word file(.docx). The error is : The office open XML file 'filename' cannot be …

Member Avatar for jeffersonalomia
0
463
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
395
Member Avatar for davidbourque

Hi, My environment looks like this... Windows 2003 server x64 Citrix 4.5 Users are logged onto a Citrix published desktop and use Outlook 2003 for email. A strange problem occurs when a user tries to open a project 2003 mpp file in an email using content redirection because MS project …

Member Avatar for aileenwitts
0
910
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
596
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
376
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 lithium112

I've been reading up on best practices for securely storing clientids and clientsecrets: http://www.asp.net/identity/overview/features-api/best-practices-for-deploying-passwords-and-other-sensitive-data-to-aspnet-and-azure I have created a secret.config file and stored my secrets in there and have put a reference to the file in <appSettings file="..\..\secrets.config"> I am using app.UseGoogleAuthentication(new GoogleOAuth2AuthenticationOptions() { ClientId = "", ClientSecret = "" }); …

0
112
Member Avatar for Cory_1

I am trying to work on a code for extra credit in my Programming class. The question asks for the user to input a text file, and display all the words in that file(including duplicates) in ascending order. After writing the code several different times over the course of four …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Liang_1

Dear all, I have created a website where I would like my users to register and upload profile images to my server and then store it under folder in my server known as "images" and then save the dataurl of the images into MySQL database. Then, I would display their …

Member Avatar for almostbob
0
381
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
314
Member Avatar for anmol.raghuvanshi1

This is opinion based question. I am working in Codeigniter framework I have multi-step user registration form What i am doing is collecting all data in session array validating it and inserting in database.Till now all things are working fine but now i have added image upload form along with …

Member Avatar for diafol
0
4K
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
714
Member Avatar for Sophia_1

Hi everyone, i wanted to upload an excel file in a form and then display/edit the file from the form. Currently, the file can be uploaded at localhost but when i try to upload in server it was not successful. I would also want to view/edit the file and save …

Member Avatar for Taywin
0
561
Member Avatar for daisyy

protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter pw = response.getWriter(); InputStream inputStream = null; // input stream of the upload file // obtains the upload file part in this multipart request Part filePart = request.getPart("audio"); if (filePart != null) { // prints out some information …

Member Avatar for jwenting
0
2K
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
292
Member Avatar for d1stbee

hello, I am trying to make moodle communicate with an external system, I am running moodle 2.9, I know there are enrolment and authentication plugins from external database, but I would like to use the flat file upload for users Maybe the external connection/bridge failed for some reason), what I …

Member Avatar for diafol
0
450
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
702
Member Avatar for COKEDUDE

I have seen both ways for reading file error messages. Is one better than the other? Is exit(0) better than return 1 or vice versa? FILE *fp; fp = fopen(argv[1], "r"); //Open file for read. if(!fp) { printf("Error opening file %s!",argv[1]); //Program prints error message and closes if file is …

Member Avatar for Moschops
0
229
Member Avatar for hwoarang69

I have a file with ints like this. 1 2 3 4 5 6 How to read first int from file? How to read second int from file? How to skip first line and but rest in 2d array? This is what I have so far. I am not sure …

Member Avatar for Stefce
0
222
Member Avatar for NuGG

Ok so I have the following code for a table with CSS rules designed to "collapse the table horizontally" on smaller screens... <table> <thead class="thead"> <tr> <th>a</th> <th>b</th> <th>c</th> <th>d</th> <th>e</th> <th>f</th> <th>g</th> </tr> </thead> <tbody> <tr> <td data-label="a">1</td> <td data-label="b">2</td> <td data-label="c">3</td> <td data-label="d">4</td> <td data-label="e">5</td> <td data-label="f">6</td> <td …

Member Avatar for NuGG
0
540
Member Avatar for javed_4

I am trying to add a functionality of uploading image while adding new data but I am not able to achieve it. I will provide my code to you. Could you please help me to achieve it? Following is my code, I have three files namely index.php, script.js, func_events.php index.php …

0
212
Member Avatar for zelrick

Hello C++ Programmers; I would like to ask about running multiple text file; this text file don't have specific name; This one folder (Text Folder) have only text file (no specific counts); if there is other file like .xlsx or .jpeg or .bat or .etc. will be ignored; once I …

Member Avatar for richieking
0
296
Member Avatar for arcybarrios

I've had my external HD for a while now (Rock mobile disk). Last time I tried to access the data in it was a few months ago without issues. I tried using it yesterday and started to have issues. I have 600GB of data that needless to, is very valuable. …

Member Avatar for mindmergepk
0
1K
Member Avatar for toneranger

Hi, I'm wondering what could cause this type of runtime error: My program basically reads data from different kinds of data files, either a minute data file or a 5 minute data file and then does some analysis. When I run the program on the 1 min data, no problem. …

Member Avatar for David W
0
307
Member Avatar for zelrick

Hi everyone; I got no idea how to start this and if it is possible; I have a text file (.txt) that have lot of lines and I want it to transfer it in Excel (.xlsx / CSV) But not all will be transfer in excel, only a specific number …

Member Avatar for zelrick
0
2K
Member Avatar for MaryTate

I have a corrupt OUTLOOK PST file that is rather large and needs fixing. I ran "scanpst.exe" and it fails. I have looked for a tool to fix, and every tool fix's the file then wants either money or a key (money) to fix the file. Does anyone know of …

Member Avatar for AbnerJohnson
-1
177
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
253
Member Avatar for babir

Please help me.... I want to upload up to 5 photos and save in database. I want by selecting photo it will upload automatically and then the selected photo will appear in the page. It will occure with one by one photo, up to 5 photos and the photos can …

Member Avatar for gabrielcastillo
0
547
Member Avatar for babir

my code cannot send all image data. it sends odd or even no of data.please help <?php session_start(); include("dbcon.php"); if (isset($_POST['submit'])) { $j = 0; //Variable for indexing uploaded image $a=0; $target_path = "uploads/"; //Declaring Path for uploaded images if (count($_FILES['file']['name'])<6) { $k=count($_FILES['file']['name']); } else { $k=6; } for ($i …

Member Avatar for Dilovan
0
178
Member Avatar for gahhon

String contentType = request.getContentType(); if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0)) { DataInputStream in = new DataInputStream(request.getInputStream()); int formDataLength = request.getContentLength(); byte dataBytes[] = new byte[formDataLength]; int byteRead = 0; int totalBytesRead = 0; while (totalBytesRead < formDataLength) { byteRead = in.read(dataBytes, totalBytesRead, formDataLength); totalBytesRead += byteRead; } String …

Member Avatar for gahhon
0
502
Member Avatar for babir

Please help me.... I want to upload up to 5 photos and save in database. I want by selecting photo it will upload automatically and then the selected photo will appear in the page. It will occure with one by one photo, up to 5 photos and the photos can …

Member Avatar for Reverend Jim
0
201
Member Avatar for Nguyá»…n_6

Hi all, I have website links: $link = animeid.moe/stream/QXQt3tPjEPskXRE4MxGmU8/1439976893.mp4 Now I want to download video from this link. I searched and used different ways but no result. Help me. Tks all.

Member Avatar for Nguyá»…n_6
0
135
Member Avatar for babir
Member Avatar for Taywin
0
236
Member Avatar for de_boer

Hi - I have a corrupted Excel file which I can't repair. Cannot attach the file writes that "The file type you are attempting to upload is not allowed." When I open the file writes that "cannot open the file because the file format or the file extension is invalid. …

Member Avatar for de_boer
0
202
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
495

The End.