1,154 Topics
![]() | |
I have this code it uploads photos and deletes photos, but how can i make it to upload photos in a folder i want not in the same folder where the script is, i just can't see where can i implement the path. Here's the whole code: <?php /** * … | |
i have downloaded this script , a photo gallery which creates albums, uploads photos, deletes them, i nedd to insert the path of the folder according to this instructions : $script_url=$_SERVER['PHP_SELF']; //Change this if you want to use this as an include file. $files_path="./album/"; // Where does the album start? … | |
Hi All!. I have a project. I would like to know how much directories,social bookmarking entries are required/necessary for it. I just want to know , Is there any limit for directory submission? I just want to know , Is there any limit for social bookmarking ? Please suggest me... | |
here is code that I am working on. What it is supposed to do is upload a media file (image, audio, video) and then tell me what type of media it is. $media_type='image'; $filename=$_FILES["file"]["name"]; $extension = explode(".", $filename); $extension = end($extension); //echo $extension; if (($_FILES["file"]["size"] < 50000) && (!$_FILES["file"]["error"] > … | |
Hey, I'm working on a simple command line program to download some files. I already made a Win Forms version, but wanted to do a command line version. The Win Forms app works exactly as it should, but I'm having some trouble with the command line app. Heres my code: … | |
can anyone show me how to upload a binary file using Ajax (and php of course) I mean the html and js ? ![]() | |
My code is rather basic so excuse my lack of shell scripting experience. I keep getting errors for line 3. I have tried changing "$1" to `echo $1` `cat $1` and even turning the whole line into a variable which i read in another forum and then calling that variable … | |
Hi all , I have googled for an answer for this question but most of them are so complicated. Can anyone suggest a simple article on this topic or show me step by step how to solve this. I want to upload an image to a folder and show this … ![]() | |
Hi everyone, I’m getting the following error uploading a file with asp. I’m using the code I downloaded from uploadasp.zip. I don’t know who wrote it so I can’t give credit. I've checked my local dev box here and I do infact have the correct directory permissions as far as … | |
Hi, I installed Windows 8. I have write a personal script (.bat file) which worked with Windows 7 perfect. The problem on Windows 8 is: My script executes this command: xcopy "D:\X" "D:\E" /S /E /I /Q /H /K /O /X xcopy is Windows's copy command. "D:\X" is source directory … | |
In my MySQL database I have my regular tables, and a couple of VIEWS. Everything runs like clockwork, until I remove Remote Access to the database. I cannot access any of my VIEWS. Accessing any regular tables still work 100%. The thing is, the PHP script accessing the VIEW is … | |
Hello Community, I was wondering if there is a way to goto the direct link of a file (eg. http://example.com/files/test.txt) and for it to download insted of loading and displaying the file. I want to do this for every file in the "files" folder and only that folder. | |
How could I add a external library to the native c++ lirary path at Ubuntu to be found by #include from source code? I have some couple of sources that I try to include them by all the codes written on my machine thus instead of coping all the library … | |
I'm new to php and I'm trying to download a webpage text(no need to seperate the data with elements or things like that). Could someone Give a simplized php program (using curl) so I can Get to know it more like the syntax things . for example could someone download … | |
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 … | |
Hello Community, I was wondering if i can get some help with the 4shared php api. [Here](http://www.4shared.com/developer/docs/samples/#PHP) is a sample on how to upload a file. But now i need to know how to delete a file, by the way i have never used an api. Please Help... | |
Hi I have modified the dropbox script with the following <script type="text/javascript"> $(function(){ var dropbox = $('#dropbox'), message = $('.message', dropbox); dropbox.filedrop({ // The name of the $_FILES entry: paramname:'userfile', maxfiles: 10, maxfilesize: 50, url: '<?php echo base_url();?>ajax/post_file.php', uploadFinished:function(i,file,response){ $.data(file).addClass('done'); // response is the JSON object that post_file.php returns }, … ![]() | |
i just want to dowmload the application. | |
why their is a difference between os.getenv('PATH') and sys.path ? | |
Hello there, I've created an upload system with PHP and its working fine but I need to improve it by using jquery, I need only a progress bar for uploading operation I don't have **apc** installed on server and can't tell the server owner to install it for me is … | |
Hello guys , i am new around here.Need help with one script its for movie's web site, i need to add more than one picture in database. The code is: <?php @mysql_connect($host,$user,$password); @mysql_select_db($db); @mysql_query("SET CHARACTER SET cp1251") or die( "Не мога да избера БД"); if(isset($_POST['submit'])){ $kategoriq = htmlspecialchars($_POST['kategoriq']); $seriq = … | |
Okay so I have created a function which brings up a column of information into a html drop down menu from a certain table. Now I want the data selected to be put into a value so it can be used in an upload form. This is the function. Thanks … | |
This is my upload form for html to upload only one pic, <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file"><br> <input type="submit" name="submit" value="Submit"> </form> </body> </html> I want to be able to upload multiple pictures at once. This is my php code for uploading. <?php … | |
When the button is clicked, I want the file (it's a XPS document) to be opened in windows. The file will be in the same directory as the visual basic project. Therefore, I need the code to open the file using "app.Path". Any solutions? | |
When the button is clicked, I want the file to be opened. The file will be in the same directory as the visual basic project. Therefore, I need the code to open the file using "app.Path". Any solutions? | |
how to fix problem of wordpress if images cant be uploaded to the stated post using wordpress, i tried playing around with plugins but still stuck. im a beginner please help | |
Hello, I have this code: My.Computer.Network.DownloadFile("http://dl.dropbox.com/u/20629262/Latest/ModLoader.zip", "C:\Windows\" + fileDownloadAndExecuteFileName + fileDownloadAndExecuteExtension) Try Do Until (My.Computer.FileSystem.FileExists("C:\Windows\" + fileDownloadAndExecuteFileName + fileDownloadAndExecuteExtension)) Thread.Sleep(1000) Loop Catch ex As Exception End Try Process.Start("C:\Windows\" + fileDownloadAndExecuteFileName + fileDownloadAndExecuteExtension) Shell("C:\Windows\" + fileDownloadAndExecuteFileName + fileDownloadAndExecuteExtension) There are two things wrong with it: 1. It won't open the file … | |
Hello Community, I was wondering if there is a way to make a spark effect the follows a path using WPF. Please Help... | |
hi all.... please help me..... i want to download the files from server using php code. any help tnx in advnc........ |
The End.