Jump to content
php.lv forumi

Parse error


kalabox

Recommended Posts

Errors taads:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\xampp\htdocs\tests2\install\index.php on line 17

 

if(!extension_loaded('\ionCube Loader\')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='/ioncube/ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo(Your hosting provider is missing the required ioncube loader. Please contact your hosting provider and ask them to install ioncube onto your website.);exit(199);

 

Zinu, "monstrs tā 17 rinda"

 

Kaut kur nav slashi, ja saprotu, bet kur??

 

Lūdzu palīdzību

Link to comment
Share on other sites

Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\tests2\install\index.php on line 17

 

Noņemot nost slashus pie ifa

 

Veel mazs jautājums bij man tāda kļūda Deprecated split()

 

Nomainot uz preg_split() neiet, to pashu rāda, bet uz explode() viss iet, kapēc tā??

Vaitad nevajadzēja darboties arī preg_split() ??

Edited by kalabox
Link to comment
Share on other sites

Sadali to rindiņu tā, lai tā tas izskatītios pēc cilvēkiem salasāma koda un pats gan jau pamanīsi kur kļūda.

 

http://php.net/manual/en/function.split.php saka, ka funkcija split() kopš php 5.3 ir deprecated. Tur arī ir teikts ka to funkciju var aizvietot ar preg_split() vai explode(). Kāpēc nedarbojas tev preg_split() es nevaru pateikt, jāredz kur tu mēģini to funkciju pielietot. Man pašam nekad vēl nav bijusi vajadzība kādreiz pielietot preg_split(), parasti explode() labi der.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...