kalabox Posted March 14, 2010 Report Share Posted March 14, 2010 Sveiki, taatad novilku gatavu social engine kodu, uzinstaleeju uz xampp pie instalaacijas paraadiija ka viss ok, peedeejaa solii izmeta taadus errorus Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\tests1\include\functions_general.php on line 138 Un luuk ir taa 138 rindinja while( !ereg("[a-zA-Z0-9]", $char) ) kur shaize?? Quote Link to comment Share on other sites More sharing options...
briedis Posted March 14, 2010 Report Share Posted March 14, 2010 izdomā kā aizstāt ereg ar preg_match... (skatīt manuāli) Bet vispār ciklā regulārā izteiksem? Kaut kā jocīgi, laikam tiek pārbaudīts pa katram burtam, vai atbilst regexpam :) Quote Link to comment Share on other sites More sharing options...
kalabox Posted March 14, 2010 Author Report Share Posted March 14, 2010 (edited) pag, pag.. biku nesapratu?? Mosh man php.ini vajag pamociit?? Edited March 14, 2010 by kalabox Quote Link to comment Share on other sites More sharing options...
Mr.Key Posted March 14, 2010 Report Share Posted March 14, 2010 (edited) Deprecated nozīmē, ka funkcija ir novecojusi, jaunajā php versijā tā nebūs un to vajag aizstāt ar citu, lasi, ko briedis raksta. Edited March 14, 2010 by Mr.Key Quote Link to comment Share on other sites More sharing options...
briedis Posted March 14, 2010 Report Share Posted March 14, 2010 Funkcija ereg ir deprecated, tas nozīmē, ka vēlākā versijā vispār viņa netiks atbalstīta... Labi, skaidrs, ka pats neko nesaporti un nevēlies iemācīties/saprast... !ereg("[a-zA-Z0-9]", $char) aizstāj ar !preg_match("/[a-zA-Z0-9]/", $char) Quote Link to comment Share on other sites More sharing options...
kalabox Posted March 14, 2010 Author Report Share Posted March 14, 2010 izburtoju jau php.net takaa maacos leenu garu :) bet paldies taapat :) Quote Link to comment Share on other sites More sharing options...
kalabox Posted March 14, 2010 Author Report Share Posted March 14, 2010 (edited) taatad tagat admin.php ir kljuda nomainiiju uz preg_match un tagat taads errors Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in C:\xampp\htdocs\tests1\include\functions_general.php on line 55 un reku 55 rinda if( preg_match("Microsoft", $_SERVER['SERVER_SOFTWARE']) ) Nomainiiju tagat to rindu uz if( preg_match('|(Microsoft-IIS/7)|', $_SERVER['SERVER_SOFTWARE']) ) paraadiijaaas taadi errori Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\tests1\include\xmlrpc\xmlrpc.inc on line 1410 Toties zem tiem erroriem ir jau admin kontrolpanelis.. kur kljuuda?? Edited March 14, 2010 by kalabox Quote Link to comment Share on other sites More sharing options...
2easy Posted March 14, 2010 Report Share Posted March 14, 2010 (edited) '/Microsoft/' tas nākamais errors jau ir par kko citu. kā tu domā, cik daudz errori vēl tur būs? ;) pagaidām izskatās, ka no kkurienes esi izracis kkādu dinozauru :D:D:D Edited March 14, 2010 by 2easy Quote Link to comment Share on other sites More sharing options...
kalabox Posted March 14, 2010 Author Report Share Posted March 14, 2010 daudz errori buus.. :D te shitas i taads liiks kods :D Quote Link to comment Share on other sites More sharing options...
kalabox Posted March 14, 2010 Author Report Share Posted March 14, 2010 jauna kljuuda pie regjistraacijas raada shaadu textu Please ensure your username is alphanumeric. Un nevar pieregjistreeties.. Username: kalabox database_query("SELECT user_username FROM se_users WHERE user_username='$username' LIMIT 1"); $existing_users = $database->database_num_rows($existing_users); echo check_username($existing_users,$username); function check_username($existing_users,$username){ $username=strtolower($username); if ($username == ""){ return 'Please Select a Username'; } if(ereg('[^A-Za-z0-9]', $username)){ return 'Please ensure your username is alphanumeric.'; } elseif ($existing_users > 0) { return 'Username is Unavailable'; } return 'Username is Available'; } ?> Quote Link to comment Share on other sites More sharing options...
daGrevis Posted March 14, 2010 Report Share Posted March 14, 2010 http://en.wikipedia.org/wiki/Alphanumeric Quote Link to comment Share on other sites More sharing options...
briedis Posted March 14, 2010 Report Share Posted March 14, 2010 Aizskaitīju līdz 199. rindiņai, apnika skaitīt, lai atrastu to 205 rindu... Varbūt labāk izmanto paste.php.lv? Quote Link to comment Share on other sites More sharing options...
kalabox Posted March 14, 2010 Author Report Share Posted March 14, 2010 veel viens gljuks.. taatad raada Parse error: syntax error, unexpected $end in C:\xampp\htdocs\tests1\includes\site_config.php on line 205 paste.php.lv Meegjinaaju php.ini short_tags uz ON nomainiit bet nekaada rezultaata.. Quote Link to comment Share on other sites More sharing options...
waplet Posted March 14, 2010 Report Share Posted March 14, 2010 kaut kur nav } vai { .. vai arī ) (.. īsti nezinu, skaties ar notepad++ vai notepad2 , kuras iekavas ir zilas. Quote Link to comment Share on other sites More sharing options...
2easy Posted March 14, 2010 Report Share Posted March 14, 2010 veel viens gljuks.. taatad raada ko tu vari pi*ties ar to skriptu. ir tač uzreiz redzams, ka tas ir faileris :D:D:D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.