RE: [PHP] problem with require_once

2007-08-15 Thread Sanjeev N
Hi, The problem is simple... Either the file myclass.php path is wrong (may be your calling file is in some folder and myclass.php is in another folder) or if path is correct and file may have some syntax errors or some function may not exist.. Please check the path if wrong and check the file fo

Re: [PHP] problem with require_once

2007-08-14 Thread Chris
Vanessa Vega wrote: Good day to all... I would like to ask for some help.. I have a form created in javascript codes. The page is a pop up window. I am passing the values of the form using the method "post". The PHP file that handles the form displays the values from that and had the following

Re: [PHP] problem with require_once

2007-08-14 Thread Tijnema
On 8/15/07, Vanessa Vega <[EMAIL PROTECTED]> wrote: > Good day to all... > > I would like to ask for some help.. > I have a form created in javascript codes. The page is a pop up window. > I am passing the values of the form using the method "post". The PHP file > that handles the form displays the

Re: [PHP] Problem with require_once

2006-04-07 Thread chris smith
On 4/8/06, Pablo L. de Miranda <[EMAIL PROTECTED]> wrote: > I has modified my code to this, notice wich all directories that I > refer is in the root of application: > > // File Controller.php in directory controller: > $file = '../util/ClassUtil.php'; > echo $file.''; > include $file; > $service =

Re: [PHP] Problem with require_once

2006-04-07 Thread chris smith
On 4/8/06, Pablo L. de Miranda <[EMAIL PROTECTED]> wrote: > Hey Guys, > I have the code below: > > $file = $_SERVER['HTTP_REFERER'].'util/ClassUtil.php'; > echo $file.''; > require_once($file); > > $service = ClassUtil::loadClass('service.FormularioService'); > > And the output in browser: > > http

Re: [PHP] Problem with require_once

2006-04-07 Thread Anthony Ettinger
can you do a dump of what $file is? Seems the path is incorrect. On 4/7/06, Pablo L. de Miranda <[EMAIL PROTECTED]> wrote: > > Hey Guys, > I have the code below: > > $file = $_SERVER['HTTP_REFERER'].'util/ClassUtil.php'; > echo $file.''; > require_once($file); > > $service = ClassUtil::loadClass(