Jump to content

M477HEW

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by M477HEW

  1. I'm really new to PHP and am currently using the framework of an existing site to help me learn the ropes. I have the following line of code and I'm kind of stuck. I'm OK up to the ['long_descr'] but after that I am lost. Can anyone help me out and explain this line of code to me please? I'm particularly confused by the last half - ,0,20 etc. What do these numbers represent? $index=strpos(substr($data[0]['long_descr'],0,20),'same_as'); Thanks in advance for any help Matt
  2. I have been given what seems like an impossible task by my boss. I am trying to duplicate the configuration of an old server that we used to use in our office. I have a print out of phpinfo.php pages to help me achieve this. However I am not at all familiar with PHP and would really appreciate some help please. in PHP Variables section I have a these lines that appear: PHP_SELF /phpinfo.php _REQUEST["tiger_lang"] en _REQUEST["ss"] f6f40....... _REQUEST["currency"] 1 _COOKIE["tiger_lang"] en _COOKIE["ss"] f6f40....... _COOKIE["currency"] 1 The stuff inside the brackets relates to our CMS language (tiger_lang), our Site Seal (ss) and the default currency. On my machine these lines don't appear in the PHP Variables section. Please can someone advise where I need to look to declare these and get my phpinfo page looking the same? Thanks in advance for any advice given. Its greatly appreciated. Sorry for my vagueness. I am totally bewildered as you may have guessed.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.