CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 include problems

Print topic Send  topic

Author Message
dynamiconcepts

Posts: 17
Posted: 02/04/2005, 8:14 AM

Yes i have a project i developed outside of ccs and i want to include it but when i include it it gives me and error

include_once RelativePath . "../dns/nic.php");

any suggestions
View profile  Send private message
mrachow


Posts: 509
Posted: 02/04/2005, 8:58 AM

Quote :
include_once RelativePath . "../dns/nic.php");
The opening bracket is missing plus is subdirectory dns on the same level as the file containing include_once ..?
_________________
Best regards,
Michael
View profile  Send private message
dynamiconcepts

Posts: 17
Posted: 02/04/2005, 9:08 AM

//Include Page implementation @2-F13DDAF3
include_once(RelativePath . "http://www.domain.com/whois/nic_results.php");
//End Include Page implementation


and all i get is errors
View profile  Send private message
peterr


Posts: 5971
Posted: 02/04/2005, 2:00 PM

Integration of multiple products is a science by itself and some companies specialize just in this area. Thus you may not be able to include just any project into CCS. You can only include some functions that you developed for CCS, or general functions that do not produce output. If your code is simple enough then you may want to review it and adapt to work with CCS.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
dynamiconcepts

Posts: 17
Posted: 02/05/2005, 1:22 AM

Never heard of a company that specializes in includes as far as it being a science never heard of that 1 either how ever i got it to work instead of using ccs for my project i went ahead and finished it freehand and it works perfectly ccs is good for a starter coder but its not very good for more complex development
View profile  Send private message
Don Safar
Posted: 02/05/2005, 9:11 AM

You never mentioned what type of errors you were receiving. Provide more
detail and I am sure that someone can provide a solution to your problem
(which might be that you have to integrate your code into the ccs
environment).

As for you comment about ccs not being suited for more complex development,
I think you should take a look at some of the sites that have been built
with this tool. If you enjoy coding everything by hand, have at it. I find
that ccs does 80% or more of what I need with the remaining 20% or less
being the event code that I write. In a 43,000 line site that I built, I had
to handcode less than 3,000 lines (so in this case ccs generated 93% and I
wrote the other 7%). More complex sites require more code, but that's true
whether you use a code generator or do it all by hand.

"dynamiconcepts" <dynamiconcepts@forum.codecharge> wrote in message
news:5420490487359d@news.codecharge.com...
> Never heard of a company that specializes in includes as far as it being a
> science never heard of that 1 either how ever i got it to work instead of
> using
> ccs for my project i went ahead and finished it freehand and it works
> perfectly
> ccs is good for a starter coder but its not very good for more complex
> development
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

peterr


Posts: 5971
Posted: 02/05/2005, 11:45 AM

Thanks Don.

dynamiconcepts,
Even if you buy the best, most expensive software tool or application of any type from Microsoft, Sun, or IBM, you cannot simply include another program and hope it will work. In almost all cases it won't. If your assumption is true then no software in the world is good for anything but what you yourself coded manually - that's a pretty strange statement as I gurantee that your application also cannot include just any other application and work correctly...

As for software integration companies, here are 7 million related links: http://www.google.com/search?hl=en&lr=&q=software+integration+consulting
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
dynamiconcepts

Posts: 17
Posted: 02/05/2005, 11:53 AM

Quote peterr:
Thanks Don.

dynamiconcepts,
Even if you buy the best, most expensive software tool or application of any type from microsoft, Sun, or IBM, you cannot simply include another program and hope it will work. In almost all cases it won't.


wow dont know how this topic went from code to programs however
if i have a cgi script and want to include a html header it works
if i have a html page and want to include a php header it can be done
if i want to use a asp page with an html header it can be done

You can include any header or footer of any script type.
View profile  Send private message
peterr


Posts: 5971
Posted: 02/05/2005, 12:15 PM

Sorry, you initially wrote "i have a project i developed outside of ccs" and since there was no meniton of headers I made a general statement which stands true for most projects/applications and even simpler code.
Including a header in php programs is less of a science, but if the main program is template based (whether created with CCS or not) then your included header or any other project/application/code needs to create output in compatible template format, or not create output at all.
Here are some examples of this approach:
http://forums.codecharge.com/posts.php?post_id=55482
http://forums.codecharge.com/posts.php?post_id=47514
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
peterr


Posts: 5971
Posted: 02/05/2005, 12:25 PM

BTW, if you still need help with specific error messages per "all i get is errors" then you may still want to list those error messages and we can try to help. Maybe I theorized too much...
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.