User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 397,596 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,878 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting

How can i confirm a fucntion is exec once

Join Date: Jun 2007
Posts: 51
Reputation: naju is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
naju's Avatar
naju naju is offline Offline
Junior Poster in Training

Re: How can i confirm a fucntion is exec once

  #5  
Mar 19th, 2008


ok let me little clearly state my problem much in detail

there are 50 file that each contains display() function at-least at 10 diff places.


display function is in display.php (included by all 50 files)

now i need single execution of certain contains of display()..... i cant make conditions while calling the function .... i need to do some thing in common inside that function ...


Thanks for follow up ...
i know ... this could be done
through static var or globals or include_once
but i dont know y all of these are not working with me this time ....

i m little bg ... i will specify the code ...
i know somewhere i got mistake ... but i m not getting for identifying it ...
thank you once again
Hunters Never Hurt
Reply With Quote  
All times are GMT -4. The time now is 6:22 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC