Hi
Does anyone know in what order Actinic processes(PHP) pages before uploading?
I have written a PHP code to calculate the shops content tree and products, it stores them in arrays (similar to Javascript, but more useable). But it only needs to be run once, not on every page as it is at the moment.
I could use if (isset($arr)==true){ run once; $arr=1;} to determine if arrays have been created, but that still doesn't stop Actinic pasting the code to every page, before Actinic runs the PHP.
So Ideally, I just need to add this code to the first page proccessed(PHP).
Any ideas.
cheers
Sean
Does anyone know in what order Actinic processes(PHP) pages before uploading?
I have written a PHP code to calculate the shops content tree and products, it stores them in arrays (similar to Javascript, but more useable). But it only needs to be run once, not on every page as it is at the moment.
I could use if (isset($arr)==true){ run once; $arr=1;} to determine if arrays have been created, but that still doesn't stop Actinic pasting the code to every page, before Actinic runs the PHP.
So Ideally, I just need to add this code to the first page proccessed(PHP).
Any ideas.
cheers
Sean
Comment