Jump to content

garygas

Members
  • Posts

    20
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

garygas's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. wildteen.....quality!! Just removed the lines and cleaned up the error. THANK YOU!!
  2. \htdocs\includes\mambo.php on line 1988 Could you post the code here? I was supposed to do that but lost myself for a second...I suppose thats what happens when you try to do a million things at once! 1970: /** 1971: * Utility function to return a value from a named array or a specified default 1972: */ 1973: define( "_MOS_NOTRIM", 0x0001 ); 1974: define( "_MOS_ALLOWHTML", 0x0002 ); 1975: define( "_MOS_ALLOWRAW", 0x0004 ); 1976: function mosGetParam( &$arr, $name, $def=null, $mask=0 ) { 1977: if (isset( $arr[$name] )) { 1978: if (is_array($arr[$name])) foreach ($arr[$name] as $key=>$element) mosGetParam ($arr[$name], $key, $def, $mask); 1979: else { 1980: if (!($mask&_MOS_NOTRIM)) $arr[$name] = trim( $arr[$name] ); 1981: if (!is_numeric( $arr[$name] )) { 1982: if (!($mask&_MOS_ALLOWHTML)) $arr[$name] = strip_tags( $arr[$name] ); 1983: if (!($mask&_MOS_ALLOWRAW)) { 1984: if (is_numeric($def)) $arr[$name] = intval($arr[$name]); 1985: } 1986: } 1987: if (!get_magic_quotes_gpc()) { 1988: $return = addslashes( $return ); 1989: } 1990: } 1991: return $arr[$name]; 1992: } else { 1993: return $def; 1994: } 1995: }
  3. I am managing a Mambo system for a friend and currently am getting a number of 'Notice: Undefined variable'. This has only happened since their host upgraded to PHP version 5. Has anyone had a similar issue? Thanks for any help! Gazza
  4. Hit the nail on the head there!! I have just tried that on a hunch and it only worked!! Fanks guys!! :)
  5. Thanks for the replies guys! Still no luck! Before I posted on here I had a little play around with the Content Type and DOCTYPE lines and after trying all sorts of combinations got no closer to solving it?!
  6. I seem to be getting this strange code at the top of my PHP pages on my site. Does anyone know what it could be? Source view of the top of the PHP page... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="expires" content="3600" /> <meta name="revisit-after" content="2 days" /> <meta name="robots" content="index,follow" /> <meta name="publisher" content="Published by Scooters Ltd" /> <meta name="copyright" content="..." /> <meta name="author" content="..." /> <meta name="distribution" content="global" /> <meta name="description" content="Your page description here ..." /> <meta name="keywords" content="Your keywords, keywords, keywords, here ..." /> <link rel="stylesheet" type="text/css" media="screen,projection,print" href="/resources/css/scooters_setup.css" /> <link rel="stylesheet" type="text/css" media="screen,projection,print" href="/resources/css/scooters_text.css" /> <link rel="stylesheet" type="text/css" media="screen,projection,print" href="/resources/slimbox/css/slimbox.css" /> <script type="text/javascript" src="/resources/slimbox/js/mootools.js"></script> <script type="text/javascript" src="/resources/slimbox/js/slimbox.js"></script> <link rel="icon" type="image/x-icon" href="/resources/img/favicon.ico" /> <title>...</title> </head> <body> However there is no '' in the original PHP page. Any help would be appreciated as I am completely baffled by this one!!
  7. I'm lost?? Bad?? Why?? >> Don't forget I am a beginner!! <<
  8. Just tried file_get_contents again... <?php $filestring = file_get_contents('http://www.mydomain.com/include1.php'); print $filestring; ?> Worked lovely!!
  9. include('file://include1.php'); doesn't work either! Windows...who knows why?? Been like that for 3-4 yrs! I wanted to turn register_globals on when I was installing osCommerce.
  10. I have that feeling as well...thats what I got told when I asked about turning 'register_globals' on! CURL...?? Looking at their support pages, isn't this just for Linux? BTW... I am on a Windows Server
  11. Well I have logged a support ticket, so we will wait and see what they say. In the mean time they sent this out a week or so ago, before they started the upgrade to PHP5. Not sure if it indicated which direction they are going...
  12. I have just logged a support ticket, however it is shared hosting so no doubt they will tell me where to go!
  13. Nope...returns this error...
×
×
  • 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.