function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
eeshaeesha 

Is there any possibility to use the php code in apex classes or vf pages

Hi,

 

 

           Any one please help, Is there any possibilty to use the php code in apex classes or visual force pages. If it is possible please tell me how to use the php code.

 

 

 

Thanks,

eesha

RArunrajRArunraj

No it's not possible to use PHP code in Apex, But you can use httprequest to post value through get or post method and you can get the response.

 

But in VF page

1. You can use php page as iframe and then update some records.

2. Use the php page URL and pass some parameters through get method and get the response and display it.

 

Apart from that you cannot directly use the PHP CODE in APEX or VF page

 

Thanks,

Arunraj