RE: [PHP] Some Question

2005-04-26 Thread Mark Rees
Hello I have some questions: 1.How I can make a optional argument in function that if I dont mention it in my code does not make problem? Start here http://www.php.net/manual/en/functions.arguments.php#functions.variable- arg-list 2.How I can see apache or IIS headers? Thanks

Re: [PHP] Some Question

2005-04-26 Thread Khorosh Irani
Hello 1.I dont have this mean I want this: for example I write this function :myfunction ($para1, $para2, $para3=123) .And I want to make $para1 optional that If I didnt write it (for example:myfunction(1,123) ) It does not make problem 2.I want to see all of header not HTTP_USER_AGENT? Thanks On