Bluehost.com Web Hosting $6.95

Issue with Require()

This is a discussion on Issue with Require() within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hello, I'm running into trouble with require. I have a class that I need to include and I'm ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-30-2004
Someone out there...
 
Posts: n/a
Default Issue with Require()

Hello,

I'm running into trouble with require. I have a class that I need to include
and I'm using require to load the proper file. The code is included all
right but the content of the file is displayed and not executed. I must be
missing something real simple. Any pointers for a rusty php coder?

Regards,
P


Reply With Quote
  #2 (permalink)  
Old 01-30-2004
Tom Thackrey
 
Posts: n/a
Default Re: Issue with Require()


On 30-Jan-2004, "Someone out there..." <someone@outthere.com> wrote:

> I'm running into trouble with require. I have a class that I need to
> include
> and I'm using require to load the proper file. The code is included all
> right but the content of the file is displayed and not executed. I must be
> missing something real simple. Any pointers for a rusty php coder?


did you forget the <?php and ?> tags in the included file?

--
Tom Thackrey
www.creative-light.com
tom (at) creative (dash) light (dot) com
do NOT send email to jamesbutler@willglen.net (it's reserved for spammers)
Reply With Quote
  #3 (permalink)  
Old 02-02-2004
Someone out there...
 
Posts: n/a
Default Re: Issue with Require()

Hello,

"Tom Thackrey" <use.signature@nospam.com> wrote in message
news:TDySb.19709$_K3.17439@newssvr25.news.prodigy. com...
>


> > I'm running into trouble with require. I have a class that I need to
> > include
> > and I'm using require to load the proper file. The code is included all
> > right but the content of the file is displayed and not executed. I must

be
> > missing something real simple. Any pointers for a rusty php coder?

>
> did you forget the <?php and ?> tags in the included file?


Nope, tags are included in the file. :o(

P


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:17 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0