RE: [PHP] problem with require_once

2007-08-15 Thread Sanjeev N
] Sent: Wednesday, August 15, 2007 11:30 AM To: php-general@lists.php.net Subject: [PHP] problem with require_once 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 "

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

[PHP] problem with require_once

2007-08-14 Thread Vanessa Vega
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 code in the beginnin

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(

[PHP] Problem with require_once

2006-04-07 Thread Pablo L. de Miranda
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://localhost/egressos/util/ClassUtil.php Fatal error: Class 'ClassUtil' not f