1,154 Topics

Member Avatar for
Member Avatar for theighost

Hello there, I am trying to make a CMS using wamp. I made an uploading photos section, and when I try to delete the folder of the photos I get: Warning: rmdir(C:/wamp/www/site/images/4b4731fda156e) [function.rmdir]: Directory not empty in C:\wamp\www\site\admin\process\delete.php on line 23 Although the directory is empty and I have checked …

Member Avatar for vaultdweller123
0
182
Member Avatar for gianrocks

hey all, i have a project that is like a server and a terminal interface. the server is the one that can only make changes in the database and the terminal is more of storing what is in the database. here is the problem, i have stored a PDF file …

Member Avatar for Ranx
0
378
Member Avatar for diafol

Hi folks, I know this ain't php, but seemed the best place to put it for now. Am trying to mod_rewrite the following: http://www.nu.wetwork.org.uk/index.php?adran=first&tud=second to http://www.nu.wetwork.org.uk/first/second/ I'm a complete idiot when it comes to regex/apache, so any advice would be welcome. I have already managed to place 2 rules which: …

Member Avatar for diafol
0
341
Member Avatar for chiko987

Hello, i have a function that starts searching for all files that match the given file name and Recursively traverses itself into sub directories and does the same thing and when a file is found i should output its path starting from the first directory that was given to the …

Member Avatar for death_oclock
0
138
Member Avatar for MDGM

Hi all, I have a very large amount of files I need to update, so I thought the easiest way would be to do it with php. [B]Below is the current directory structure[/B] [CODE]www.domain.com/branch_finder/country/county/town/[/CODE] I need to replace the existing index page in every "county" level directory inside the branch_finder …

Member Avatar for MDGM
0
362
Member Avatar for nccsbim071

Hi i want to compress the file on the file during FTP file download. Is it possible to do that. I have an application that downloads the files from remote FTP server as windows forms application using VB.net Please help Thanks

Member Avatar for sknake
0
893
Member Avatar for plastic

hi hi, i have a .hex file and i have to read it and convert and sasve it in decimal format. any ideas plzzz

Member Avatar for ddanbe
0
2K
Member Avatar for prashant0784

Hi, Can anyone explain me, what is file system in solaris all about? Regards, Prashant

Member Avatar for Ancient Dragon
0
232
Member Avatar for wowaha

Hi, everyone! I'm new to DaniWeb and also to PHP and MySQL. I have a script, previewfile.php, that extracts files of various file types (currently .doc, .docx, .xls, .xlsx, and .pdf) from a MySQL database and is supposed to display them to the user. I'm encountering difficulties in displaying the …

Member Avatar for kireol
0
180
Member Avatar for eissen_eiram

i have this program and i'm already done with the data entry, search, display and exit menu.. my only problem is my search and delete and the search and edit...please help me. i've attached my unfinished program here: Programming Assignment: Write a program to simulate a telephone directory. The user …

Member Avatar for jephthah
0
157
Member Avatar for cambraydesign

Hi, I need help with this. I basically want users to enter their name email address with validation and also have a tick box for them to say yes or no to receiving future updates. This information will be sent to an email address not a database on clicking the …

Member Avatar for almostbob
0
206
Member Avatar for Gribouillis

This snippet defines a function [b]chmod[/b] which uses symbolic strings to represent the mode (eg [b]u+rwx[/b]) like the shell command 'chmod'.

0
508
Member Avatar for gispe

Hi!! im doin a proyect that have to create a library, n create, delete an modificate books to the library. im using a listview to show all the books that r created, n should delete books that i deleted n if a modify one, should delete it n then upload …

0
110
Member Avatar for plastic
Member Avatar for ddanbe
0
212
Member Avatar for eman neercs

Running php/mysql site where the db is constantly being changed with new products added, categories and prices changed all through php scipts. Just before it publishes the results to a static html file, there is a (my)sql file with product data that has been held "off table" so it cannot …

Member Avatar for chrishea
0
112
Member Avatar for catfleamassacre

I am fairly new to image uploaders (worked in animation for a long time). I have an image upload form that works fine. The image uploads and redirects to another PHP page (imageupload_file.php) that confirms the image uploaded and gives you the name of the image and size on the …

Member Avatar for muralibobby2015
0
152
Member Avatar for dpatz

Hi, I am reading in a bunch of files to upload but they are in an array: [CODE]<input id="tab1file0" class="tab1Files files" type="file" name="tab1file[]" /> <input id="tab1file1" class="tab1Files files" type="file" name="tab1file[]" />[/CODE] To upload the files I call a function uploadFile() which looks like this: [CODE]function uploadFile($thefile) { $base_path = "files/"; …

Member Avatar for network18
0
165
Member Avatar for brianzet

Hello all. I've got this upload script, working just fine. [CODE] <?php error_reporting(0); $change=""; $abc=""; define ("MAX_SIZE","400"); function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) - $i; $ext = substr($str,$i+1,$l); return $ext; } $errors=0; if($_SERVER["REQUEST_METHOD"] == "POST") { $image =$_FILES["file"]["name"]; $uploadedfile = $_FILES['file']['tmp_name']; …

Member Avatar for Atli
0
177
Member Avatar for bdesc100

I am trying to add a path to sys.path fix an error importing numpy. If I do: [CODE]import sys sys.path.append('/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages') print sys.path[/CODE] then path that I just added shows up and import numpy works. However, if I restart IDLE and try to import numpy again, I get an error. How …

Member Avatar for vegaseat
0
4K
Member Avatar for Alex_

Hello everybody. I'm trying to get the current directory, save it, changing the current dir, then coming back to the previous one. My code so far [code=asm] TITLE ep1_7 .MODEL SMALL .STACK 10h .DATA msg DB 'Current directory:',0h msg_l equ $-msg buff db 64 dup('$') ;f_handle dw 1 dup(?) .CODE …

Member Avatar for NotNull
0
250
Member Avatar for arunajasmine

i am trying to use the File upload feature in my application .. i am having a Form with many fields of type Text,textarea and including File upload FIeld. I have kept a Submit button at the end of the Form which on click will submit the actual value of …

0
106
Member Avatar for fudgealtoid

I wish to limit uploading to the video files swf pps bmp pps png gif mpg mp3 and wav - i'm sure I have the file / type incorrect. can someone please give logical solution... here's my code: [code=php]<?php if ((($_FILES["file"]["type"] == "video/swf") || ($_FILES["file"]["type"] == "video/pps") || ($_FILES["file"]["type"] == …

Member Avatar for crohole
0
512
Member Avatar for catcoffee

Hi all! Сonditions of a problem: 1) in one form post info and upload file 2) validation only php without js 3) associated fields: if the value is not the same, we don't need to validate field 4) associated fields: if the value is the same, we need echo new …

Member Avatar for jomanlk
0
216
Member Avatar for ayesha789

Hi Please tell me how we can search PDF File , which is stored in folder like C:\Folder and then show in show.php page as dynamic link. also Upload new PDF File to Folder Please tell me how?

Member Avatar for kvprajapati
0
863
Member Avatar for kaizen_duck

i want to create a program that can upload my new picture automatically. plez help..

Member Avatar for saphar
0
97
Member Avatar for Graphix

How do you acces a folder beneath the current folder? The upload script is at: htdocs/mysite/management/upload.php and i want the files to be uploaded at: htdocs/mysite/images/ What should the directory be?

Member Avatar for Graphix
0
115
Member Avatar for drabsch

I Need a script that will change the name of a file when it is getting downloaded. for example: the file getting downloaded has a name "File.mp4" and when the user downloads it i need it to be "Title.mp4"

-1
131
Member Avatar for vextorspace

when using the data_files option in my setup.py #!/usr/bin/env python import ctypes from OpenGL.platform import win32 from distutils.core import setup import py2exe import sys sys.path.append("dist") setup(options = {"py2exe": {"compressed": 1, "optimize": 2, "includes": ["ctypes","Tkinter","Numeric"], "excludes": ["OpenGL"] }}, zipfile = None, data_files=['msvcr71.dll', glut32.dll'], windows=['myprogram.py'] ) I get an error saying msvcr71.dll …

Member Avatar for vextorspace
0
278
Member Avatar for mrman208

Hello, I am making a program to make a directory in a users Library folder then create a file in it. Whenever I try to make the directory I get an error and if I continue with the program i get a segmentation fault error Here is the source Code …

Member Avatar for codeguru_2009
-1
173
Member Avatar for Tommy_101

Hi, I've been trying to create a program that gets wikipedia pages, and lists all the links found in the page source. I've used the urllib.urlopen() method to do this, and unfortunately I've run into a little problem. Instead of getting the actual page like say the main page, or …

Member Avatar for Tommy_101
0
207

The End.