6,015 Topics

Member Avatar for
Member Avatar for pixelsoul

So, not too long ago there was a flood of really bad posts asking questions on the PHP forum, and I remembering having some negative thoughts about them. I was in a bad mood that day so it probably wasn't a good idea for me to try and answer others …

Member Avatar for diafol
4
311
Member Avatar for tgreiner

I want to read data into an array from a data file. Because I do not know, ahead of time, how much data is contained within the file I need to declare the array at run time using new. My current strategy is the read through the data file to …

Member Avatar for David W
0
485
Member Avatar for coder91

Hi, I am wanting to create a website where I can upload daily posts etc. Not sure how I go about doing this, when I google creating a blog it only gives tutorials for the feedback/comment sections on a site, which isn't what I am looking for. I'm assuming i'll …

Member Avatar for BTLSP
0
330
Member Avatar for Latrell_vie

Hi folks ! Since last year i started building website. Up til now i always used html css and javascript/jquery. Now i want to get into adobe photoshop. My question : Can i upload my existing html file into adobe photoshop for editing or is there any other way to …

Member Avatar for almostbob
0
414
Member Avatar for Tcll

been scouring google for nearly a month now trying to find something. now as the requirement grows, I need more help tryingto find something. Portable Python is what I'm currently using, but alot of my developers (including myself) don't like the Wine wrapper... Pyzo supports linux mac and win, but …

Member Avatar for Tcll
0
786
Member Avatar for wudie47

Trying to create function called parseExtension that takes a file name as a string parameter and returns the file extension. Going to ask users to input a filename ie. Python.exe then print the file extension. I tried to split the text and a number of issues for me so far. …

Member Avatar for wudie47
0
7K
Member Avatar for Slavi

Hey guys, I've got an AES encrypted file that my task is to decrypt knowing that it used gcc PRNG to generate the key and I know in which week it happened ... So I made a script and it works great except for that fact that .. well there's …

Member Avatar for Gribouillis
0
195
Member Avatar for Mr.M

Hi Dw. I'm not a pro in web design and I've used CorelDraw to draw a website background which is a web page centered image which the web contents will be ontop of it. The problem I'm having is that it will loose the alignments if I you view it …

Member Avatar for MidiMagic
0
383
Member Avatar for Mr.M

Hi Dw. How can I tell if a file contains any file within it? I mean suppose I have a picture and I want to check if its a pure picture or there is a file hidden inside, this question comes after I read this post but it was number …

Member Avatar for Minimalist
0
268
Member Avatar for Saidivya

Hi, I want to edit the file in the following way My Sample File: 101 273970116 2719674681506161941D094101METABANK WAVECREST 5220Taxi Charger Micro Deposit - Cr A271967468WEBP2P 150616 1273970110000001 6220110000156534057672 0000000007GreenGrP2C386daTest User S 0273970110000001 6220110000156534057672 0000000005ClarkGrP2C386dcTest User S 0273970110000002 82200000020002200002000000000000000000000012A271967468 273970110000001 9000001000001000000020002200002000000000000000000000012 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 In the above file, wherever if …

Member Avatar for JamesCherrill
0
176
Member Avatar for adamf07

My problem is this: I am trying to automate the download, parsing, and insertion of an excel file into a database. I have the parser and inserter done, but I can't seem to find a way to download the files automatically. The core of the issue is that the website …

Member Avatar for juhi_devloper
0
859
Member Avatar for Justin_14

Here's dish. When I submit a form, it straight up crashes my site on my network. Here are the details. 1. The form submits to itself. The form is on site.php (fictional name for reference on this post) and the action= "site.php". 2. When it crashes, it crashes for every …

Member Avatar for Justin_14
0
450
Member Avatar for Michael_43

I have been working on this String Split method and the special for loop that I am currently trying to get to properly work does not seem to be working no matter what I do. It keeps printing just the parent directory and not the lower directories. public boolean moveDown(String …

Member Avatar for stultuske
0
203
Member Avatar for Mike Askew

Me again... So now I am confused... I have a form: <form action="addanimal_submit.php" method="post" enctype="multipart/form-data" style="padding-left:10px"> <p>Name: <input type="text" name="name"></p> <p>Date of Birth: <input type="text" name="dateofbirth"></p> <p>Description: <input type="text" name="description"></p> <p>Available For Adoption? <select type="text" name="available"> <option value="1" selected>Yes</option> <option value="0">No</option> </select> </p> <p>Image Of Animal:</p> <p><input type="file" name="fileToUpload"></p> <input …

Member Avatar for Mike Askew
0
308
Member Avatar for Justin_14

I need to process a CSV file and create a new CSV file. In order to get a proof of concept, I placed the CSV on the server and was able to process it fine. Then I setup a form in order to allow the client to upload the file. …

Member Avatar for Gideon_1
0
292
Member Avatar for Manel_2

Hi i made a jquery mobile website, but when i upload it to Phoegap and test, i can't connect to the database. I'm using the Dreamweaver login form in php, and loading from a database. Code to load from database: <?php // *** Validate request to login to this site. …

Member Avatar for peter_budo
0
209
Member Avatar for hrushi9

I'm beginner to wordpress I'm writing Business Directory Plugin for test from scratch. I have category page with database. how to add image support for categories? I got error while uploading images. *"File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled …

0
130
Member Avatar for wooshman

Hi All I am new to trying to create my own mod_rewrite rules but do know from the outset my server host supports it. I have one pre-built script which uses them without issue which means it is me :-( So, my goal is to make: http://www.kentroadplanings.co.uk/index.php?show_pages=4&p=Screened-Road-Planings into: http://www.kentroadplanings.co.uk/Screened-Road-Planings.html So, …

Member Avatar for wooshman
0
150
Member Avatar for #1 zamy
Member Avatar for anand01
0
85
Member Avatar for flynismo

Im having problems getting this to work.. What I need to do is scan a directory, and search for all images that belong to the member. Here's the basic process: 1. A member uploads a photo 2. If accepted, the photo is automatically renamed by appending the member's name as …

Member Avatar for diafol
0
500
Member Avatar for hefaz

How to write Command to erase all files in the current directory, including all its sub-directories, using only one command?

Member Avatar for hefaz
0
365
Member Avatar for hrushi9

I'm Wordpress beginner. Trying to create plugin "Business Directory Plugin". Need Help to complete code. How to get information about business listing? How to get following information, 1. Business Name 2. Business Category 3. Business Description 4. Business Phone Number 5. Business Address 6. Business Email 7. Business Website, if …

0
126
Member Avatar for scorpionz

Hi this is scorpionz I am uploading an excel sheet file using PHP Now the file code is working fine for gif files but not working if i provive xls extension Here is the php main code [code] <?php // include 'config.php' include 'uploadcode.php'; if(isset($_POST['upload_file'])) { $user_file = $_FILES["car_info_file"]["name"]; upload_files($_FILES["car_info_file"]["name"]); …

Member Avatar for SuperGOAT
0
13K
Member Avatar for hrushi9

I downloaded Simple Directory https://wordpress.org/plugins/simple-directory/ & Recommended Plugins to run the Simple Directory plugin INSTALLING SIMPLE DIRECTORY http://lautman.ca/simple-directory/ But it is not working well. After Installing plugin, when you add Listings, it gives problem with `archive-listing.php` while displaying listings. How to set up pages to create directory???

Member Avatar for hrushi9
0
296
Member Avatar for ikeleher

We have three Windows Domain Controllers (2012 R2 and 2008 R2 mix), all DNS servers. Split-zone DNS scenario. DNS resolution is working for all internal subnets except over User VPN. All network connectivity appears to be uninhibited. Users connected to Cisco AnyConnect IOS SSL VPN are unable to resolve internet-facing …

Member Avatar for karimkagawa
0
962
Member Avatar for PyTis

This is kinda a poll. Please reply, and answer the 2 questions shortly, so I can get a grasp of your feedback. I want to know if there is a desire for this, or if it already exists. Years ago I started to work on a python program called "spellcheck-dir" …

Member Avatar for jwenting
0
299
Member Avatar for iamahar

/// This is my code and my file already open in window i want to close it first and then delete pls help var directory = new DirectoryInfo(path); { if (!IsFileLocked(file1, file) & file1.Name == file + ".xlsx") File.Delete(path + file + ".xlsx"); // DELETE THE FILE BEFORE CREATING A …

Member Avatar for ddanbe
0
164
Member Avatar for Mike Askew

Think I am going mad here.. So I have a working website setup in IIS. This was all configured by a previous developer. We have a set of reports that you can browse to by going to localhost/Reports/ReportName, the underlying directory structure in IIS is actually Reports/Views/ReportName/index.cshtml. I have added …

Member Avatar for Mike Askew
0
203
Member Avatar for sludgecornell

I have made a program that reads a file and its main function does some geographic computations to the contents inside. It works now, but instead I want the program to write it instead to a file instead of printing it. I don't understand how to write it because this …

Member Avatar for Gribouillis
0
174
Member Avatar for nimz143

i want to make an application, where user can upload their images and display it in Image control without physically saving it in a folder on disk. after done build the cone, an error show on this line. Dim base64String As String = Convert.ToBase64String(bytes, 0, bytes.Length) Error show on the …

Member Avatar for nimz143
0
350
Member Avatar for davBro

I am having trouble getting my file upload to work. Up to now it has been working good, I recently had to upload a backup version of my website to the online server, but now the upload script does not work and, I suspect it may be a file upload …

Member Avatar for davBro
0
370
Member Avatar for calebclark

Before upgrading to EXCEL 2010, I am able to open dbf files created in Visual Foxpro 7 or 9 in Excel 2003. I am not sure why after installing EXCEL 2010 I am no longer able to open the file. I get the error message when I tried opening the …

Member Avatar for caelholden
0
2K
Member Avatar for TekknoDraykko

Greetings again! I'm learning how to write to and read from databases using JDBC, (using Netbeans) and I've run into a snag. I'm trying to save data to a database, but when I try the following exception message is thrown: Column 'COURSEID' is either not in any table in the …

Member Avatar for TekknoDraykko
0
365
Member Avatar for TnTinMN

I have just seen a resurrected thread about issues with loading images to a PictureBox and the inability to delete the file while the program is running. There was no clear explaination of the problem, only suggested hacks and apparent frustration. So I thought I would offer this explanation from …

Member Avatar for J.C. SolvoTerra
0
7K
Member Avatar for Mayukh_1

Hello guys can anyone please help me in a problem relating to file. The problem is that I want to use `fgets` on a c file from another c file and increment a the counter every time to get the number of lines and I also want to put the …

Member Avatar for David W
0
201
Member Avatar for Surajit_1

I am trying to experiment with the whole idea of creating two text files then write to one of them, rename the second file with the first file and then deleting the first file. I have a school project where i need to apply this concept. So, before i actually …

Member Avatar for rubberman
0
297
Member Avatar for arup_1

javac Cannot find my Example.java file after saving it in c:\program..\java..\bin\!! i am using win 7 (64 bit). Following points are so confusing.. 1. **Even i cannot** see the file in that directory form window!! 2. If i want to copy it 2nd time, windows ask me to **"overwrit"**. (Means: …

Member Avatar for stultuske
0
252
Member Avatar for pc20912

I created project, If It Run from Vb.Net program its works fine, Then Create "Setup" Files and Installed it, When Run "Exe" file, there is error like this, From my Project I want to read this file, (Text File) If I Install this Out of "Program Files" folder, then its …

Member Avatar for mridul.ahuja
0
328
Member Avatar for chozotheqhai

Hello, I'm getting problem file or directory not found when I try to load the file from another directory. Kindly help me fix this problem. Thanks you. Website -classes -core.php -inc -autoload.php -config.php -index.php **Index.php** <?php require_once('inc/autoload.php'); $core = new Core(); $core->run(); **autoload.php** <?php require_once('config.php'); function __autoload($class_name) { $class = …

Member Avatar for diafol
0
585
Member Avatar for SpeakerKeyboard

Can anyone give me advice on how to attack this problem? I have files in a directory that are named in a convention dayMonthrandomstuff. I need to sort these files into folders based on month then date. So example, "15e23dr" would go into the "May" folder since "e" is the …

Member Avatar for SpeakerKeyboard
0
978
Member Avatar for tentrabyte

write a file: #include<iostream> using namespace std; int main() { FILE *fp; fp=fopen("e:\\myfiles\\sample.txt","w"); //Check permission if you can write a file if(!fp) { cout << "cannot open file.\n"; system("pause"); exit(1); } //prints the character ASCII from 65 to 90 (A-Z) to a file for(int i=65; i<91; i++) fputc(i,fp); fclose(fp); return …

Member Avatar for mridul.ahuja
0
212
Member Avatar for jovillanuev

Hi Guys, I am using the following codes to connect to MS Access database using vb.net code. I am providing the file path name and directory. This codes work fine in my computer. How can I make this codes as dynamics connection that can run to another computer that no …

Member Avatar for jovillanueva
0
985
Member Avatar for Baalla

i'm having a problem in reading a file i tried my code in code blocks/eclipse c++/netbeans c++ and even visual studio c++ 2010 each time it exits with (-1) while i'm puting the file in the right place for reading i don't know where is the mistake can you please …

Member Avatar for Baalla
0
259
Member Avatar for Elize87

I did publish to a local file on my computer. When I tried to upload the files Compiled to my hosting using FileZilla, the project uploaded successfully but i get an error on the first page as below: Parser Error Description: An error occurred during the parsing of a resource …

Member Avatar for pritaeas
0
307
Member Avatar for annya

Iam just stuck on this code I want to add an water mark on in between this process but I don't know how to give it. If the user select upload on the first image the image will uploaded and it will show in the right side. I want to …

Member Avatar for Vivek_13
0
995
Member Avatar for batoolhussain
Member Avatar for batoolhussain
0
229
Member Avatar for paulo.guedes1992

Hi, I'm trying to upload an image but ir gives me error on 'move_upload_file'. > Warning: move_uploaded_file(http://localhost/administrador/images/projects/54031d9e94d63a24dba816ddacbf315e.jpg): failed to open stream: HTTP wrapper does not support writeable connections in C:\wamp\www\administrador\includes\uploadImage.php on line 38 > Warning: move_uploaded_file(): Unable to move 'C:\wamp\tmp\php5E59.tmp' to 'http://localhost/administrador/images/projects/54031d9e94d63a24dba816ddacbf315e.jpg' in C:\wamp\www\administrador\includes\uploadImage.php on line 38 This is my …

Member Avatar for pritaeas
0
864
Member Avatar for Braeley

So I've tried desperately to download JRE to end up with nothing. Originally I thought I deleted something so I cleared my computer of all JRE files plus all java related files, deleted them and completely removed them. I even downloaded JavaRa and removed all files from there. I then …

Member Avatar for Braeley
0
322
Member Avatar for alladin2010

i want to do the following :- transfer file from client to server using sockets in a windows based application. I am stuck at the server side code. Server side : ------------- my problem : how to receive file from multiple clients and save file on server c:\folder following is …

Member Avatar for modyalaskalany
0
5K
Member Avatar for basit_3
Member Avatar for basit_3
0
285

The End.