How to create new user in php?

Author Message

Douglas Hammond

Monday 16 June 2003 9:19:13 am

I'm making a script to import my user base from another CMS and need to know how to create a new user.

Thanks

Karsten Jennissen

Monday 16 June 2003 9:24:59 am

Have a look at importuser.php in this package:
http://ez.no/developer/ez_publish_3/contributions/import_script_for_data_import_from_22_to_31

Maybe this'll help you.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 14:55:02
Script start
Timing: Jan 18 2025 14:55:02
Module start 'layout'
Timing: Jan 18 2025 14:55:02
Module start 'content'
Timing: Jan 18 2025 14:55:03
Module end 'content'
Timing: Jan 18 2025 14:55:03
Script end

Main resources:

Total runtime1.3863 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.0547152.6250
Module start 'layout' 0.00580.0040 740.679739.4453
Module start 'content' 0.00981.3750 780.1250451.3984
Module end 'content' 1.38480.0015 1,231.52348.1641
Script end 1.3863  1,239.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2467160.0002
Check MTime0.00140.1024160.0001
Mysql Total
Database connection0.00090.064610.0009
Mysqli_queries1.339596.6265540.0248
Looping result0.00100.0710520.0000
Template Total1.337096.420.6685
Template load0.00220.155820.0011
Template processing1.334896.288320.6674
Template load and register function0.00030.018510.0003
states
state_id_array0.00230.166610.0023
state_identifier_array0.00130.091920.0006
Override
Cache load0.00170.124890.0002
Sytem overhead
Fetch class attribute can translate value0.00130.091520.0006
Fetch class attribute name0.00110.079320.0005
XML
Image XML parsing0.00020.016020.0001
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00060.0465100.0001
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs