86 Topics
|
|
I want to make it create the upload folder by itself.right now it creates the thumbs and so but I want the script to create the folder automatically <?php function createThumbs($pathToImages, $pathToThumbs, $thumbWidth) { $dir = opendir($pathToImages); while(false !== ($fname = readdir($dir))) { $info = pathinfo($pathToImages . $fname); if( strtolower($info['extension']) … |
|
package display; import java.io.File; class display { int file=0, directory=0; void list(String path) { File root = new File(path); File[] f1 = root.listFiles(); for (File S : f1) //error { if(S.isDirectory()) { list(S.getAbsolutePath());//error directory++; } else if(S.isFile()) { file++; } } } } package display; public class displaymain { public … |
|
Hello Community, I was wondering if there is a way to delete a folder and everything in the folder in ftp. |
|
I'm trying to search on how to store the image in a local folder and save its path and filename in ms access using vb.net but a lot of topic makes it more confusing for me. I'm just a student and working on my baby thesis. I'm currently building an … |
|
I'm running Win XP (SP3) and I've noticed an irritating glitch in the last few months which I've finally solved, so I thought I would pass it on. It's pretty trivial, which is probably why I could find nothing for it. I've always set Explorer to open a folder in … |
|
Hello everyone, I'm new to C ++, and I want to know how to delete a whole folder. I've tried to do this, but it doesn't work. Can anyone help me? [CODE]#include <iostream> #include <stdio.h> using namespace std; int main() { remove ("c:\\users\\asus\\new"); return 0; }[/CODE] I'm running Vista, and … |
|
Hello Community, I was wondering if there is a way to restrict sub directories from accessing the parent directory (the main directory where all my website file are stored) and from having any interaction with the previous folders (so once there in the child folder they can't leave it eg. … |
|
Gone back to using old laptop with wireless mouse and keyboard and had to update numerous programs. Now the mouse or cursor has movement issues. In win explorer can only select last file in directory - ie 'zebra' and unable to scroll down web pages, pdf files etc. Tried system … |
|
I have a folder which consists of .doc and .xls files..i want to search a particular file from a folder and display the contents using php code.how to do it?i am new to php |
|
Imports System Imports System.Data Imports MySql.Data.MySqlClient Imports System.IO Imports System.Diagnostics Module Module1 Dim myConnection As MySqlConnection Dim MySQLConnectionString As String Dim CommandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String) = My.Application.CommandLineArgs Dim FILE_NAME As String = Nothing Dim dir As String = "C:\Mytest\" Dim strDate As String = Nothing Dim serv_type As String = … |
|
my images are stored on server in folder "Albums".To access images the path is "/Albums/". I have tried this code but its not working.boxes for images appear on page load but after that immediately disappear. <asp:ListView runat="server" ID="listView"> <ItemTemplate> <asp:Image ID="img" ImageUrl= '<%# "/" + Eval("PictureLink")%>' width ="44" height ="45" … |
|
Hey all, I have a folder called 'templates' in my root dir (../templates/). When a PHP form is submitted I want to copy a folder out of 'templates' called 'template1' (../templates/template1) and paste it into the root directory but with the new name of 'username123'. How can I copy, rename … |
|
hi!i need your help.Here are my question. i need to create a folder for that particular user and store the .pdf file inside, means different user for different folders.and inside the folder.i really need full coding.please help me!! :'( |
|
Hi, I'm a beginner in android and i want a simple activity/class that acts as a folder chooser, i found some on the web but they are really hard to implement with my current knowledge and want a simple startActivityForResult() kind of a class. Best regards |
|
I have used treeview to display a local folder. There are few pictures in the hierarchy of folders. I want them to display thumbnails and when I clicked on them it should display bigger view. How is it possible. I wish to use jQuery with Asp.Net and C# |
|
I'm after some advice really. I wish to create an application for myself and a friend using DropBox as a means to store and sync a CSV with data in. Is it possible to programatically search through a computers directory to locate folder called 'Dropbox' without hardcoding its location? If … |
|
Hello, I have a simple question. Say I have two files in a folder "Cpp Projects". One file is called "main.h", and the other is inside another folder, say, "Cpp Files", and it is called "main.cpp". Thus, their filenames would be: "...\Cpp Projects\main.h" "...\Cpp Projects\Cpp Files\\main.cpp" Is there a way … |
|
hello, i want the code in c#, working on a project. i have code in which i click on the button named OPEN FOLDER, next step is, it open window for browsing, then user select the folder containing images. after selecting folder, the upper half of same folder that was … |
|
Hey Guys, I'm struggeling with an idea of mine and hope there's someone here who can help me. **My idea:** A small gallery package, consisting of as few files as possible (html, css, javascript) that can read the /images folder in the same folder, and output those files to the … |
|
I want to include a .php file, containing a menu bar, in all my pages. Thing is, some of these pages are at different levels: for example, on might be in the root directory, another might be in root/news, another in root/news/2012, and so on. What can I do to … |
|
Hi, I am able to delete the data from database. My Problem is how to delete a file from the folder that is linked to the database using c#, asp.net. Below is my code snippet for your reference. I would greatly appreciate your help/suggestion. Thank you. protected void lnkdelete_Click(object sender, … |
|
Hi :). I use this code to create a file: #include <cstdlib> #include <fstream> using namespace std; int main () { ofstream file("main/articles/giraffe/article.txt", ios::out); file.close (); return 0; } How can I simplify **create path of folders** (on **unix system**) "main/articles/giraffe/" - if folder "main" doesn't exist? With using standard … |
|
The doubt which i currently have is regarding the functioning of defragmenting software. i.e. when you defragment a disk. does a defragmenter defragment only files or also folders. e.g. lets say i have a directory "folder\" in it are some 200 files. if i run the defragmenter then each of … |
|
I have a website which holds articles. So right now theres a page called viewarticle.php and i use GET to send the article id so that it will be retrieved by MySQL database (for eg. viewarticle.php?id=2 loads article no. 2) But instead of that is there a way of refering … |
|
idk much abt tech n all but i need help asap! my frn installed some software today (i really dont knw it was) n now m unable to open Computers or any of the files/folders and also unable to uninstall. wen i click on control panel only a blank window … |
|
Hello every one i think all is fine i want to open a folder with a file path Example: i have a file path c:\testfile.txt now we want to open folder of this file where save my testfile.txt file using a command botton i mean {open containing folder} please help … |
|
Hi all, I need to list all files in directory. How i can do this. Thank you |
|
We are delighted to unveil our all new Mac App "Appinator"..... App Store URL; [URL="http://itunes.apple.com/us/app/appinator/id492515875?mt=12"]http://itunes.apple.com/us/app/appinator/id492515875?mt=12[/URL] Appinator gives you the simplest, most intuitive way to change your icons, change your wallpaper and to create your own icons and wallpaper from your own great images in one click! To get you started … |
|
Hello DaniWeb, it has been a while since I have asked a question here so I thought now would be a great time to do so. I am creating an application that loops through the file names of a specific directory, in this case, the System32 folder. I want the … |
|
On my computer, I have Ubuntu 11.1 and Kubuntu 11.1 installed as dual-boot. When I started, I specified completely separate partitions for both of them, but I now realize I want them to share the same home folder, i.e. the same desktop (I keep everything on my desktop). Any way … |
The End.