If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Need help with module php coding please. Short and Sweet

Need help with module php coding please. Short and Sweet

Started by vbe_1 on 1 Oct 2012, 5:15 AM · Views: 896

Results 1 to 3 of 3
1 Oct 2012, 5:15 AM
#1
vbe_1 avatar

vbe_1

New Zenner

Join Date:
Sep 2012
Posts:
48
Plugin Contributions:
0

Post #1 by vbe_1

Hello I am trying to add some code to a php file. It is a very short line of code but I am having trouble figuring out where exactly to put it plus the correct punctuation. Can someone help me please. Thanks

The line of code at the top is what needs to be added into the php file somewhere

http://paste.org/54823

1 Oct 2012, 7:00 AM
#2
vbe_1 avatar

vbe_1

New Zenner

Join Date:
Sep 2012
Posts:
48
Plugin Contributions:
0

Post #2 by vbe_1

Can anyone help?

2 Oct 2012, 12:29 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #3 by drbyte

Doesn't make any sense without a lot more context. Where did you get that code snippet from?

Perhaps it would be far more efficient to back way up to the very beginning ... what business problem are you trying to solve here? Why do you feel this line of code is necessary at all? Who told you to add it? What's it supposed to accomplish for you? Why does it need changing at all? If it doesn't get added, what problem will remain? What payment gateway are you trying to use?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.