Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
strtolower
- Page 1
utf-8 encoding issues with strtolower
Programming
Web Development
14 Years Ago
by diafol
…gt; </head> <body> <?php echo
strtolower
("TWIUBCÜ"); echo "TWIUBCÜ"; ?> </…horrible diamond encrusted question mark. Now having researched, I know
strtolower
can't cope with UTF-8 very well, so it…the acursed diamond is messing up my ajax script - the
strtolower
() returns a NULL (via js) if it contains an …
Re: utf-8 encoding issues with strtolower
Programming
Web Development
14 Years Ago
by mschroeder
Well both
strtolower
and strtoupper are not UTF-8 compatible but I…ônàlizætiøn'; echo strtoupper($string).PHP_EOL; echo
strtolower
($string).PHP_EOL; echo mb_strtoupper($string).PHP_EOL; echo mb_strtolower($string).…ASCII characters capitalized and the utf-8 characters untouched. However
strtolower
seems to corrupt the string. [CODE] IñTëRN…
Re: utf-8 encoding issues with strtolower
Programming
Web Development
14 Years Ago
by diafol
Hey thanks MS. Sorry I took so long to respond - my laptop died! Probably due to key thumping born of incredulity of the way
strtolower
works! Anyhow thanks for the link.
Re: utf-8 encoding issues with strtolower
Programming
Web Development
14 Years Ago
by diafol
… can't believe that I've never run into the
strtolower
issue before - although I should have read the blurb in…
Re: utf-8 encoding issues with strtolower
Programming
Web Development
14 Years Ago
by mschroeder
So I've been messing with this problem a little bit more this evening. UTF-8 has always intrigued me but I've never had an application I had to worry about it on. I've been using the chart from [url]http://www.utf8-chartable.de/unicode-utf8-table.pl[/url] to get UTF-8 characters to test. [CODE] $string = 'Թ'; echo 'Uppercase: '.…
Having a bit of trouble figuring out my image upload script
Programming
Web Development
17 Years Ago
by davethedope
…;> <?php if ((
strtolower
(
strtolower
($ext))=="bmp" ||
strtolower
(
strtolower
($ext))=="jpg" ||
strtolower
(
strtolower
($ext))=="jpeg" ||
strtolower
(
strtolower
($ext))=="png"…
Re: Having a bit of trouble figuring out my image upload script
Programming
Web Development
17 Years Ago
by davethedope
…;); }} ?><?php if (
strtolower
(
strtolower
($ext))=="bmp" ||
strtolower
(
strtolower
($ext))=="jpg" ||
strtolower
(
strtolower
($ext))=="jpeg" ||
strtolower
(
strtolower
($ext))=="png"…
Piping email problem
Programming
Web Development
14 Years Ago
by pingvin
…;_parseHeaderValue($headers[$key]['value']); break; } } if (isset($content_type)) { switch (trim(
strtolower
($content_type['value']))) { case 'text/plain': $encoding = isset($content_transfer_encoding) ? $content_transfer_encoding['value…
Moved my PHPBB forum from shared to VPS - now I have serious issue
Programming
Web Development
11 Years Ago
by techman41973
… { header('Content-Disposition: attachment; ' . header_filename($file)); if (strpos(
strtolower
($browser), 'msie 6.0') !== false) { header('Expires: -1');…if (empty($user->browser) || (!$is_ie8 && (strpos(
strtolower
($user->browser), 'msie') !== false))) { header('Content-Disposition: …
Change single image upload to multiple
Programming
Web Development
12 Years Ago
by nerdynewf
… = mysql_result($result,$i,"aname"); IF (
strtolower
($aname) ==
strtolower
($album) &&
strtolower
($aname) != $oldName){ $flag = 1; }…{ $username = mysql_result($result,$i,"username"); IF (
strtolower
($username) ==
strtolower
($user)){ $flag = 1; } } return $flag; …
Upload Image
Programming
Web Development
10 Years Ago
by davy_yg
… = substr($stu_fname, 0, 1).$stu_lname; //$username =
strtolower
($username); // default password for new student $encrypteddefaultpassword = MD5… = substr($stu_fname, 0, 1).$stu_lname; //$username =
strtolower
($username); // default password for new student $encrypteddefaultpassword = …
[Revised] vBulletin Mod_rewrite Tutorial
Programming
Web Development
20 Years Ago
by KeithMcL
…add: [php]// ################ MOD_REWRITE HACK ###################### $thread['url'] =
strtolower
(str_replace(" ", "-", $thread['threadtitle'])); … MOD_REWRITE HACK ################# function mod_rewrite_title($title) { $rewritten =
strtolower
(str_replace(" ", "-",str_replace("/",…
Re: [Revised] vBulletin Mod_rewrite Tutorial
Programming
Web Development
20 Years Ago
by agiacosa
… ADD ]------------------------------------ # // ################ MOD_REWRITE HACK ###################### $thread =
strtolower
(str_replace(" ", "-", $thread)); $thread… ################# function mod_rewrite_title($title) { $rewritten =
strtolower
(str_replace(" ", "-",str_replace(&…
problem with php code line
Programming
Web Development
14 Years Ago
by premier213
…($description) { global $LANG,$CFG; $currentPage =
strtolower
($CFG['html']['current_script_name']); if(isset($LANG['header_meta_'.$currentPage.'_description…($title) { global $LANG,$CFG; $currentPage =
strtolower
($CFG['html']['current_script_name']); if(isset($LANG['header_meta_'.$currentPage.'_title…
Double Linked Lists and Functions required
Programming
Software Development
21 Years Ago
by InvalidDLL
…Sheet *&); void rename(); void display(Sheet *&); void
strToLower
(char s[]); void main() { Sheet *Head = NULL,… sheet: "; cin>>NewName;
strToLower
(NewName); insert(NewName, Head, Tail); cout&…"; cin>>NewName[MAX_NAME_LEN + 1];
strToLower
(NewName); rename(); break; case 'E': break; default…
Open In New Window Php
Programming
Web Development
20 Years Ago
by gremlinuk
…thumbFile); die(); } } } $contentType = ""; $extension =
strtolower
(substr(strrchr($file, "."), 1)); switch ($extension) { case &…if ( !file_exists($filename) OR fileIsHidden($filename) OR (substr(
strtolower
($filename), -4)==".php" AND !$allowPHPDownloads)) { …
Uploading media files trouble...
Programming
Web Development
15 Years Ago
by sassenach
…error'] != 4) && ereg($media_types,
strtolower
($_FILES[$filename_audio]['type']))) { $intaudio = array_change_key_case($…intaudio = TRUE;} $intaudio_name =
strtolower
($intaudio['name']); $intaudio_type =
strtolower
($intaudio['type']); $intaudio_size =
strtolower
($intaudio['size']); [/code] Note: …
Parse error: syntax error, unexpected $end in
Programming
Web Development
17 Years Ago
by mcx76
…language", $LANGUAGE ); } else{ $LANGUAGE=
strtolower
($lArray["language"]); $LANGUAGE2=
strtolower
($lArray["language"]); } if(!isset($LANGUAGE)||…&action=exit" >[<?php echo
strtolower
($M_LOGOUT);?>]</a> …
parse error
Programming
Web Development
17 Years Ago
by shariana
…$strJobCategories = ""; if(file_exists('../include/categories_'.
strtolower
($LANGUAGE2).'.php')) { $lines = file('../include/categories_'.
strtolower
($LANGUAGE2).'.php'); } else { $lines = file('../include…exit&action=exit" >[<?php echo
strtolower
($M_LOGOUT);?>]</a> …
Would someone like to disect this class with me?
Programming
Web Development
16 Years Ago
by Rayhan Muktader
…gt;$sender->personal, 'toOth'=>
strtolower
($sender_replyto->mailbox).'@'.$sender_replyto->host, …, 'subject'=>$mail_header->subject, 'to'=>
strtolower
($mail_header->toaddress) ); } return $mail_details; }…
How to stop the looping?
Programming
Software Development
15 Years Ago
by BLKelsey
…CLOCKS_PER_SEC; while (clock() < endwait) {} } string
strtolower
(string str); //Converts all letters to lowercase if user …lt;endl; } } return 0; } //FUNCTIONS // ############################################# string
strtolower
(string str) { string retval = str; for(size_t i = …
(Help Me) Illegal string offset error
Programming
Web Development
12 Years Ago
by waqar60655
…( $this->settings['query_string_real'] ) ) { $useSkinID = $data['map_skin_set_id']; break; } if (
strtolower
( $data['map_url'] ) ==
strtolower
( $this->settings['this_url'] ) ) { $useSkinID = $data['map_skin_set_id']; break; } } else…
store data in different table
Programming
Databases
11 Years Ago
by malatamil
…($_POST['place'])); $city = trim(ucwords(
strtolower
(mysql_real_escape_string($_POST['city'])))); $companyname =ucwords(
strtolower
(mysql_real_escape_string($_POST['companyname']))); $conatctperson =ucwords(
strtolower
(mysql_real_escape_string($_POST['conactperson']))); CREATE TABLE…
PAGINATION A - mysqli_stmtm_store_result() Question
Programming
Web Development
2 Years Ago
by borobhaisab
…'); //Extract $_GETs. $tbl = !EMPTY($_POST['tbl'])?
strtolower
($_POST['tbl']):(!EMPTY($_GET['tbl'])?
strtolower
($_GET['tbl']):'listed_links'); $input_1 = !EMPTY($_GET['input_1'])?$_GET… !EMPTY($_GET['input_2'])?$_GET['input_2']:null; $col_1 = !EMPTY($_GET['col_1'])?
strtolower
($_GET['col_1']):die('Input MySql Column to search!'); $col_2 = !EMPTY…
Re: [Revised] vBulletin Mod_rewrite Tutorial
Programming
Web Development
20 Years Ago
by BigBlueBall
… { $forumTitle = $forumcache["$forumID"]['title']; $forumURL =
strtolower
(str_replace(" ", "-",str_replace("/", "-&…both sections [PHP]// ################ MOD_REWRITE HACK ###################### $forum['url'] =
strtolower
(str_replace(" ", "-",str_replace("/", &…
Re: [Revised] vBulletin Mod_rewrite Tutorial
Programming
Web Development
20 Years Ago
by KeithMcL
…] and and above it add [php]// ################ MOD_REWRITE HACK ###################### $forum['url'] =
strtolower
(str_replace(" ", "-",str_replace("/", "-"…
Re: [Revised] vBulletin Mod_rewrite Tutorial
Programming
Web Development
20 Years Ago
by schford
… this code in there Quote: // added by keith $thread['url'] =
strtolower
(str_replace(" ", "-", $thread['threadtitle'])); $thread['url'] = ereg_replace…
Re: [Revised] vBulletin Mod_rewrite Tutorial
Programming
Web Development
20 Years Ago
by accyroy
…, '', $vba_options['portal_threads_showicon']); [/code] Below Add: [code] // ################ MOD_REWRITE HACK ###################### $thread['url'] =
strtolower
(str_replace(" ", "-", $thread['title'])); $thread['url'] = ereg_replace…
Creating an event or an action to a button.
Programming
Web Development
18 Years Ago
by dudegio
…6), " count(*) ", $sSQL); $iTmpI = strpos(
strtolower
($sCountSQL), "order by"); if($iTmpI > 1) $…db; global $tpl; global $sHeadingErr; global $filename; switch(
strtolower
($sAction)) { case "save": //------------------------------- // Form1 Login …
Need Help Processing This Dynamic Form
Programming
Web Development
16 Years Ago
by antwan1986
…global version. global $errorArray; if (empty($value)) { if (
strtolower
(substr($key, 0, 1)) == "r") { …reference field empty. Please fill it in."; } if (
strtolower
(substr($key, 0, 1)) == "q") … field empty. Please fill it in."; } if (
strtolower
(substr($key, 0, 1)) == "d") …
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC