CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 How to call external php program from CCS

Print topic Send  topic

Author Message
kengaun
Posted: 04/23/2003, 8:24 PM

Hi,
I would like my CCS able to call an external php program.
Do any one know how to do that ?
If Yes, I would like to know where to define in CCS and its properties ?
Where should I keep my php program ?

Thanks in advance for helping.
Kengaun.

Kevin
Posted: 04/29/2003, 1:59 PM

Add:
include(RelativePath . "/MyCustomCode.php");
to the Code page of a page
there is a dozen or so ways to call functions from MyCustomCode.php the
simpliest being to stick the functions call into a Default Value of a
textbox on the properties page.

The one I use often is button events: add action : print text, this
generates a seprate file from the page with my code and I add the
include(RelativePath . "/MyCustomCode.php"); to that page.
This also makes it easyer to deal with the CCS upgrades that require you
remove your code from any project before updating, with the _events.php
added to any project page you need to 'fix'.

"kengaun" <kengaun@fairchildsemi.com> wrote in message
news:b87ldg$ras$1@news.codecharge.com...
> Hi,
> I would like my CCS able to call an external php program.
> Do any one know how to do that ?
> If Yes, I would like to know where to define in CCS and its properties ?
> Where should I keep my php program ?
>
> Thanks in advance for helping.
> Kengaun.
>
>

kengaun
Posted: 04/29/2003, 6:54 PM

Hi Kevin,

Thanks for your reply.

I appreciate your can outline the detail steps in doing this as I am a new
comer to this area.

1) How to add this "include(RelativePath . "/MyCustomCode.php")" to my page
?

2) to stick the functions call into a Default Value of a textbox on the
properties page.
How to do this ?

"Kevin" <kangus@acats.com> wrote in message
news:b8mp3l$v7u$1@news.codecharge.com...
> Add:
> include(RelativePath . "/MyCustomCode.php");
> to the Code page of a page
> there is a dozen or so ways to call functions from MyCustomCode.php the
> simpliest being to stick the functions call into a Default Value of a
> textbox on the properties page.
>
> The one I use often is button events: add action : print text, this
> generates a seprate file from the page with my code and I add the
> include(RelativePath . "/MyCustomCode.php"); to that page.
> This also makes it easyer to deal with the CCS upgrades that require you
> remove your code from any project before updating, with the _events.php
> added to any project page you need to 'fix'.
>
> "kengaun" <kengaun@fairchildsemi.com> wrote in message
>news:b87ldg$ras$1@news.codecharge.com...
> > Hi,
> > I would like my CCS able to call an external php program.
> > Do any one know how to do that ?
> > If Yes, I would like to know where to define in CCS and its properties ?
> > Where should I keep my php program ?
> >
> > Thanks in advance for helping.
> > Kengaun.
> >
> >
>
>

Zye
Posted: 04/30/2003, 5:36 PM

Zye

I have tried many methods for over a month now, but my results keep going to
the top of the page above the header. PHP4/MySQL/CCS2

This post on the CC forum seems to be the closest .... Can't get it to work
though.
http://www.gotocode.com/disc_viewt.asp?mid=20228&

Heeeellllpp!


"kengaun" <kengaun@fairchildsemi.com> wrote in message
news:b87ldg$ras$1@news.codecharge.com...
> Hi,
> I would like my CCS able to call an external php program.
> Do any one know how to do that ?
> If Yes, I would like to know where to define in CCS and its properties ?
> Where should I keep my php program ?
>
> Thanks in advance for helping.
> Kengaun.
>
>


   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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