1,136 Topics
| |
Hi Friends, I have a graph in text file (origin, destin, link_id) such as 1 2 1 1 3 2 1 5 3 2 1 4 2 3 5 2 4 6 2 5 7 3 1 8 3 2 9 3 4 10 4 2 11 4 3 12 … | |
I am trying to setup virtual wamp localhost. Localhost root folder: c:\wamp\www mysite.local root folder: c:\wamp\site2 Steps of every kind is already taken: removing # from file "httpd.conf" #Include conf/extra/httpd-vhosts.conf addition in httpd-vhosts.conf: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot "c:/wamp/www" ServerName localhost ErrorLog "logs/localhost-error.log" CustomLog "logs/localhost-access.log" common </VirtualHost> <VirtualHost *:80> DocumentRoot … | |
how to execute a php file after every half n hour without using schedular (cron jobs). i need to upload pdf files automatically from system to server after every half n hour.but without using cron jobs.Please help | |
Challenge: change the code so that only .py and .txt files of a given directory are listed. ''' filename_list_given_dir1.py use module glob to list all the filenames of .jpg files or any extension(s) you specify in a given directory ''' import glob import os # all files (split off file … | |
Hello! I have started experimenting with GUI programming using TkInter. Up to now, I have written this code: [CODE]import Tkinter, tkFileDialog, Tkconstants from Tkinter import * root = Tk() root.title('Watermark Image Processing 1.0b') #Options for buttons button_opt = {'fill': Tkconstants.BOTH, 'padx': 5, 'pady': 5} #Define asking directory button dirname = … | |
| i dont know why but somehow my files are being upload to the server folder but not stored within db <?php include_once("conninfo2.php"); error_reporting(E_ALL); $usid = 1; if(isset($_FILES['files'])){ $query = "INSERT into files(`filename`,`fsize`,`ftype`,`uploadtimest`, `usid`) VALUES(:filename,:fsize,:ftype,now(), :usid)"; $stmt = $db->prepare($query); $errors= array(); foreach($_FILES['files']['tmp_name'] as $key => $error ){ if ($error != UPLOAD_ERR_OK) … |
Hi guys, I need your help. I have .xml file in download directory on my server. whoever visit my site page (Myxmlfilename.xml) user should be able to download these files and other files should not. I am trying to achieve above but no luck... does anyone know how I can … | |
How to upload files from a system to server automatically after every 10 mins | |
Hello Community, I'm trying to use dynamic subdomains which works but I'm only wanting .htaccess to to send subdomains without letters, numbers and underscores (_) to the 404 page. Here is my code. Options +FollowSymLinks -MultiViews RewriteEngine On RewriteBase / #Remove www. RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1%{REQUEST_URI} [QSA,NC,L] … | |
i want to make tree view with all the system drives and folders and subfolder and files how we can do this in vb6.0 | |
I am trying to port some code running on a Linux machine to a Windows 8.1 machine running xampp. I am stumped as to why my cookies aren't getting stored and retrieved. Here's what I'm doing: #!\xampp\perl\bin\perl use CGI; use CGI::Session; my $cgi = new CGI; my $sid = $cgi->cookie("CGISESSID") … | |
Hi, I have linux based hosting. I need to upload and work the jsp/servlet pages. after i uploaded the files into the hosting, when i checked the files , it shows the code itslef. How to fix this. Please help me. Thanks in advance. | |
Hi Guys I have a Vs 2010 asp.net application, it has folder called "Reports"(this includes crystal reports) , when i publish the project to output directory, that particuler folder doesn't copy there all the other folders ar copied, any idea what is the reason ? thanks regards sumith | |
Hello,I wanna decrese the size of my windows application projesct.Actually i'm using many animated pictures in my projects so that might be the reason for larger size. Is there any other way to reduce the exe file..will it get reduced if load the pictures dynamically from outside folder??if it is … | |
Hi this is Sukhdev, I am new in php and wish to know how to import the data from excel sheet to mysql Table; 1. I have a table with the name of city in mysql with following fields; city_id,city_name,tier_id,tier_name,state_id,state_name 2. what would be the function for uploading above fields, … | |
it posible to save multiple file directory using listbox?how would i do it? | |
i have a dropdown box and i already upload the value from dropdown selection to database. after uploading i want to cange the dropdown value how should i do,please help me. thanks in advance | |
Alright here's one that's been stumping me way to long. You know when you right click a folder, and go to properties you get get items like the size, the type, ext. There's even options to change the icons. What I want to know is how is this information stores? … | |
please provide me a code for telephone directory in emu8086. its my project,and i am very tensed about it. just a simple program. please help this girl. | |
i know to upload normal type of multiple image.bt here my code is like to upload multiple images with rename image as date and time. but the problem is while uploading multiple image its added only one image.how can i add multiple image by using this code $num4 = count($_FILES['mainimage']['name']); … | |
It's an Acer Aspire 5610. Lovely machine. Until now, had it a few months no problems. Logged in today around 5pm, and it says "USB device malfunctioned".. the only usb device i had was my mouse, which i've been using since i bought it. So that struck me as odd. … | |
Hi there. I am making an application in VB.Net. In which i am scanning some system folders and on the execution time it gives me the error; E.g, access to the path "C:\any system file" is denied. Is there any code you people have that is edited in to the … | |
Hi there, I've started to create a site for me and my friends, and I want to be able to have each of us upload an image, and store it in a database, and then have it display as a display picture on a profile page. I've been looking around, … | |
Hi everyone, When i click on the ireport icon, it shows the splash screen but then nothing happens. I tried to override the default jdk path in ireport.conf file and changed it to the jdk path i am using but it didn't solve the problem. Then i uninstalled the software … | |
I'm trying to read a text file of a graph and print information about the graph including the order and size of the graph, rather it is a directed or undirected graph, if it is directed the in and out degree, and the and a list of all vertices for … | |
I am working from the sample project here: http://www.codeproject.com/Articles/8086/Extending-the-save-file-dialog-class-in-NET I have hidden the address/location bar at the top and made other modifications but I can't for the life of me manage to disable the button that lets you go up to the parent folder. Ist is in the ToolbarWindow32 class … | |
How to create a apache upload form. . | |
How to upload image to database and move into image folder this is my function for other rows: <?php function add_post($title, $contents, $category) { $title = mysql_real_escape_string($title); $contents = mysql_real_escape_string($contents); $category = (int) $category; //var_dump($category); mysql_query("INSERT INTO `posts` SET `cat_id` = '{$category}', `title` = '{$title}', `image` = '{$image}', `contents` = … | |
my hosting directory permissions is writeable but still i recieved in 0kb files came form my upload page. | |
Hi, I wanted to know if I could search for a file in the application's folder, just by checking with the `File.Exists` method. I am searching for a DLL file in the app's directory. Thanks in advance, Yuvjeeth |
The End.