Jump to content

GHW_Chronic

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

GHW_Chronic's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. again you missed the point. I ALWAYS want to include the first 4 functions in an included file. I only want the last 2 functions if they are used in a page. They are all in the same file. But I will just force myself to seperate the files into amxx_functions.php and amxx2_funcstions.php. [End Topic]
  2. The functions are for 2 things. 1: pawn highlighting (smaller function) 2: amxmod to amxmodx auto-converter (which unless you know what pawn, amx, and amxx are, you don't know what I'm talking about). And the length of these functions is minimal. And I'm just going to have to seperate these functions from the other functions in the include file. I didn't want to have to do this, but I guess I will if PHP is going to want to read these functions everytime the page loads.
  3. the functions are 1000 lines total together. So PHP will read none of these lines unless one of the functions is used?
  4. If I do this: [quote]function OMFG($id) {   return $id + 1; }[/quote] and I don't use the OMFG function, will the php script still load the function? See, I have 2 very large functions that I don't want to be loaded if the page is not using them because it would delay the page on load.
×
×
  • 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.