url encode

Author Message

Ted Striker

Wednesday 20 October 2004 2:56:43 am

Is there anyway to urlencode an url (using %20 to replace empty espace between words)?
Somthing like "str_replace" in PHP?

TIA

Can you feel it Mr. Anderson? Closing in on you? Oh I can, I really should thank you after all. It was, after all, it was your life that taught me the purpose of all life. Purpose of life is to end.

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 19:37:57
Script start
Timing: Jan 18 2025 19:37:57
Module start 'layout'
Timing: Jan 18 2025 19:37:57
Module start 'content'
Timing: Jan 18 2025 19:37:57
Module end 'content'
Timing: Jan 18 2025 19:37:57
Script end

Main resources:

Total runtime0.5585 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 587.7891152.6094
Module start 'layout' 0.00550.0044 740.398439.3984
Module start 'content' 0.00990.5470 779.7969460.1484
Module end 'content' 0.55690.0016 1,239.94538.2031
Script end 0.5585  1,248.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.7272160.0003
Check MTime0.00160.2784160.0001
Mysql Total
Database connection0.00080.143610.0008
Mysqli_queries0.518892.8957460.0113
Looping result0.00040.0727440.0000
Template Total0.525494.120.2627
Template load0.00220.388320.0011
Template processing0.523293.687220.2616
Template load and register function0.00010.018610.0001
states
state_id_array0.00110.193310.0011
state_identifier_array0.00090.166720.0005
Override
Cache load0.00180.313570.0003
Sytem overhead
Fetch class attribute can translate value0.00080.148010.0008
Fetch class attribute name0.00100.172420.0005
XML
Image XML parsing0.00060.101510.0006
class_abstraction
Instantiating content class attribute0.00000.001120.0000
General
dbfile0.00080.1381160.0000
String conversion0.00000.002140.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs