Page 1 of 1

Open External PHP File from Nubuilder

PostPosted: Thu Apr 25, 2013 9:11 pm
by ruiascensao
Hi,

How can I open an external PHP file from a button ( edit screen) on a new window?

Thank you.

Re: Open External PHP File from Nubuilder

PostPosted: Fri Apr 26, 2013 2:39 am
by zazzium
Hi,
make a new procedure and in there include the php file.
u can call the protsedure with runIt("pCode")
(pCode - the procedure code)

zazzium

Re: Open External PHP File from Nubuilder

PostPosted: Mon Apr 29, 2013 1:59 pm
by shane
also, in any section where PHP can be included in nubuilder you can use require_once or other similar functions.

Re: Open External PHP File from Nubuilder

PostPosted: Sun May 05, 2013 3:45 am
by ruiascensao
Hi shane, zazzium,

Thank you.

I need to upload 2 csv files to the database. One to create records and one to update records.

Any suggestion please?

Thank you.

Re: Open External PHP File from Nubuilder

PostPosted: Fri May 10, 2013 5:58 am
by shane
is this a regular task or a once off?

Re: Open External PHP File from Nubuilder

PostPosted: Fri May 10, 2013 7:06 pm
by ruiascensao
Hi Shane,

This will be a regular task.

Thank you.

Re: Open External PHP File from Nubuilder

PostPosted: Thu May 16, 2013 5:07 pm
by ruiascensao
Hi Shane,

Any advice / suggestion?


Thank you.

Re: Open External PHP File from Nubuilder

PostPosted: Fri May 17, 2013 12:07 am
by massiws
Rui,
in Add Activities you have to create new PHP procedure with your logic: here some basic stuff http://www.homeandlearn.co.uk/php/php10p6.html

Have the CSV files always the same names? If no, you have to implement a form fo ask user the names of the files to process.