<?php session_start(); if(empty($_SESSION['fonksiyon'])){ //myfunc($arg); echo 'hello'; $_SESSION['fonksiyon'] = true; } ?>