This topic is locked

Import Events Needed

3/19/2008 10:23:28 PM
PHPRunner General questions
A
acpan author

Hi,
4.2 Build 359 latest.
I have a subset of data to import to a table.
Table: Particulars

Fields: id, GroupID, Name, Tel
Is there a way to identify a logged in user and have a before import event,

to assign the $_SESSION["UserID"] to GroupID, before the file is imported.
This is important as we dont want the user to prepare a CSV file with his

user name and may prepare a wrong user name and insert unwanted records to other

users.
Thanks

Dex

J
Jane 3/21/2008

Dex,
unfortunately there are no events for import page.

You can add your code to the ..._import.php file directly.

C
christwigg74 6/16/2009

Hey dex just wondered how you got on with this problem ?
I also would like to know how this is acheived.
Regards
Chris