Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
B
BX PHP snippets
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Смирнов Олег
BX PHP snippets
Commits
31f6895a
Commit
31f6895a
authored
Oct 05, 2022
by
Смирнов Олег
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update users.php
parent
6721b59c
Pipeline
#90
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
users.php
users.php
+11
-0
No files found.
users.php
0 → 100644
View file @
31f6895a
<?
require_once
(
$_SERVER
[
"DOCUMENT_ROOT"
]
.
"/bitrix/modules/main/include/prolog_before.php"
);
// $fp = fopen('php://output', 'wb');
$fp
=
fopen
(
'users.csv'
,
'wb'
);
$res
=
Bitrix\Main\UserTable
::
getList
(
Array
(
"select"
=>
Array
(
"*"
),
));
while
(
$arRes
=
$res
->
fetch
())
{
fputcsv
(
$fp
,
$arRes
,
';'
);
}
fclose
(
$fp
);
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment