Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CSV Importing Advice
Post: RE: CSV Importing Advice

marksman Wrote: (04-25-2017, 04:57 PM) -- I use PHPOffice's PHPExcel and now it is called PHPSpreadsheet PHPExcel: https://github.com/PHPOffice/PHPExcel PHPSpreadsheet: https://github.com/PHPOffi...
8,984 Views
8 Replies
04-26-2017, 03:06 AM
keithmclaughlin
    Thread: CSV Importing Advice
Post: RE: CSV Importing Advice

kilishan Wrote: (04-25-2017, 12:46 PM) -- The problem looks like you're doing several db interactions at each point during this loop. You're checking to see if the company exists, potentially inserti...
8,984 Views
8 Replies
04-26-2017, 03:06 AM
keithmclaughlin
    Thread: CSV Importing Advice
Post: RE: CSV Importing Advice

skunkbad Wrote: (04-25-2017, 11:25 AM) -- I use parseCSV. https://github.com/parsecsv/parsecsv-for-php Super easy, and I've used it for large files. In fact, I'm using this week on files with 6...
8,984 Views
8 Replies
04-25-2017, 11:33 AM
keithmclaughlin
    Thread: How to Get Banned
Post: RE: How to Get Banned

Great to see someone actively watching out for spammers :) Appreciated too!
39,895 Views
21 Replies
04-25-2017, 11:08 AM
keithmclaughlin
    Thread: Create custom link url for users
Post: RE: Create custom link url for users

I agree with JayAdra. It shouldn't be that hard to accomplish. In your users table add 2 fields; referral_code & referral_count. When adding users to the table create a random string using the s...
4,302 Views
5 Replies
04-25-2017, 10:47 AM
keithmclaughlin
    Thread: CSV Importing Advice
Post: CSV Importing Advice

Hi, I'm looking for advice on the best way to import a CSV file. The file has the following fields: Code: -- FirstName, LastName, EmailAddress, Department, Role -- Everything is working exce...
8,984 Views
8 Replies
04-25-2017, 09:26 AM
keithmclaughlin
    Thread: Deleting folders and their content.
Post: RE: Deleting folders and their content.

Rufnex Wrote: (04-23-2017, 10:39 AM) -- Try to remove the folder and content with nativ php .. if there is the same behavior you must have a config, logic or error. For e.g. like that: Code: -- ...
10,685 Views
9 Replies
04-24-2017, 07:07 AM
keithmclaughlin
    Thread: Deleting folders and their content.
Post: RE: Deleting folders and their content.

Rufnex Wrote: (04-21-2017, 01:55 PM) -- Try to add a / to the end of your path: C:\wamp64\www\foresight\public\uploads\731e315adc887be41cc84be0f5c73f76\ -- I did already and it made no differenc...
10,685 Views
9 Replies
04-22-2017, 05:39 AM
keithmclaughlin
    Thread: Deleting folders and their content.
Post: RE: Deleting folders and their content.

The $company_folder does have the path to the correct folder to delete. As I said I'm using WAMP so this is the path I get when testing it: C:\wamp64\www\foresight\public\uploads\731e315adc887be41c...
10,685 Views
9 Replies
04-21-2017, 03:55 AM
keithmclaughlin
    Thread: Deleting folders and their content.
Post: Deleting folders and their content.

Hi, I'm having problems when it comes to deleting specific folders. All folders get deleted inside an "uploads" folder when I only want a single folder deleted. My application allows new compani...
10,685 Views
9 Replies
04-20-2017, 09:08 AM
keithmclaughlin

Theme © iAndrew 2016 - Forum software by © MyBB