Page 1 of 1
Open External PHP File from Nubuilder
Posted: Thu Apr 25, 2013 1:41 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
Posted: Thu Apr 25, 2013 7:09 pm
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
Posted: Mon Apr 29, 2013 6:29 am
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
Posted: Sat May 04, 2013 8:15 pm
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
Posted: Thu May 09, 2013 10:28 pm
by shane
is this a regular task or a once off?
Re: Open External PHP File from Nubuilder
Posted: Fri May 10, 2013 11:36 am
by ruiascensao
Hi Shane,
This will be a regular task.
Thank you.
Re: Open External PHP File from Nubuilder
Posted: Thu May 16, 2013 9:37 am
by ruiascensao
Hi Shane,
Any advice / suggestion?
Thank you.
Re: Open External PHP File from Nubuilder
Posted: Thu May 16, 2013 4:37 pm
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.