cancel
Showing results for 
Search instead for 
Did you mean: 

Contact Form Development.

Former Member
0 Kudos

Hello,

We are migrating our website onto WPC site. The Contact forms are written in HTML with PHP. I want to create Portal Components that would emulate PHP functionality(sending email) and reuse the existing HTML pages.

Is this a good design/feasible. Or is there a better a way to do this.

Thanks

Tony.

Edited by: Tony on Mar 6, 2009 6:17 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks

sanyev
Active Participant
0 Kudos

Hi Tony,

If you are using WPC you can reuse your existing html. PHP support is not directly available in Enterprise portal but there are lot documents in SDN which explains how to run your php applicaitons in portal.

[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6983] [original link is broken] [original link is broken] [original link is broken];

If you have enough time you can create a Webdynpro application for your requirement which can then be used in WPC.

Regards,

Sanyev

Former Member
0 Kudos

Hi Sanyev,

This is a external website created using WPC. A DC would be too heavy for just 2 contact forms with only one main functionality (sending email).

We do not want to go with PHP. Same reason, for only 2 contact forms we have to configure PHP/Java bridge in all environments.

So can you please advise on how to go about using existing HTMLs and implementing mail functionality in the portal component.

Thanks a lot for your helpful inputs.

sanyev
Active Participant
0 Kudos

Hi Tony,

If you are are not using a mail server then you can use [mailto|http://www.ianr.unl.edu/internet/mailto.html] syntax with in html to sent emails. Mail will be sent using client side mail client. If this not an option then you can use javamail api's to sent email which uses a seperate mail server.

DC's are not heavy weight components. It is just a form of packaging. If you are using Enterprise Portal then its a smart choice to use Webdynpro to develop your screen as the Webdynpro runtime is already initialized in the portal.

If you don't want to use Webdynpro you can use JSP to implement your contact forms.

Regards,

Sanyev