Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » How to set up PHP development tools tutorial
How to set up PHP development tools tutorial [message #1740188] Wed, 10 August 2016 09:04 Go to next message
katie swift is currently offline katie swiftFriend
Messages: 5
Registered: July 2016
Junior Member
I am sure that some of you know this but I want share for newbie. How to setup PHp development tool:
Php Development Tools (PDT) delivers a PHP Intergrated Development Environment Framework for the Eclipse Platform. You might already know about all of these features:
Syntax Highlighting
Content Assist
Code Formatter
Quick Outline
Code Templates
Code Navigation
Power of Eclipse Ecosystem
PHP Debugging
Syntax Validation
Now, read carefully these steps to do it yourself frequently:
1, Help=> Install New Software....
2, Add=> add Repsotory
3. Select Checkbox=> next=> Accept Terms and conditions=> finish
4. Restart Eclipse and open same .php file again. You should see all above mentioned benefits.
This is basic tutorials, You can find more at: http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.php.help%2Fhtml%2Fgetting_started%2Fbasic_tutorial%2Findlex.htm
Re: How to set up PHP development tools tutorial [message #1740983 is a reply to message #1740188] Mon, 22 August 2016 07:10 Go to previous messageGo to next message
Dmitriy Agapin is currently offline Dmitriy AgapinFriend
Messages: 2
Registered: August 2016
Junior Member
Thanks, it was useful!
Re: How to set up PHP development tools tutorial [message #1745300 is a reply to message #1740983] Fri, 07 October 2016 11:36 Go to previous messageGo to next message
Teena Biswas is currently offline Teena BiswasFriend
Messages: 1
Registered: October 2016
Junior Member
This is nice tutorial Thanks for sharing I am also using PHP Script for send SMS to my client
sending SMS using PHP with below code
<?php
/*Send SMS using PHP*/

//Your authentication key
$authKey = "YourAuthKey";

//Multiple mobiles numbers separated by comma
$mobileNumber = "9999999";

//Sender ID,While using route4 sender id should be 6 characters long.
$senderId = "102234";

//Your message to send, Add URL encoding here.
$message = urlencode("Test message");

//Define route
$route = "default";
//Prepare you post parameters
$postData = array(
'authkey' => $authKey,
'mobiles' => $mobileNumber,
'message' => $message,
'sender' => $senderId,
'route' => $route
);

//API URL
$url="MSG91/api/sendhttp.php";

// init the resource
$ch = curl_init();
curl_setopt_array($ch, array(
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $postData
//,CURLOPT_FOLLOWLOCATION => true
));


//Ignore SSL certificate verification
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);


//get response
$output = curl_exec($ch);

//Print error if any
if(curl_errno($ch))
{
echo 'error:' . curl_error($ch);
}

curl_close($ch);

echo $output;
?>
for more detail you see website of MSG91

Re: How to set up PHP development tools tutorial [message #1767268 is a reply to message #1745300] Tue, 04 July 2017 11:46 Go to previous message
Zona  Nichols is currently offline Zona NicholsFriend
Messages: 1
Registered: July 2017
Junior Member
You could develop plugin OR edit PHP file in any text editor, but why not to use Eclipse plugin called PDT for better user interface. PDT should be a must have extension for any Eclipse Environment. That's the first thing I do after downloading Eclipse. PHP Development Tools (PDT) delivers a PHP Integrated Development Environment framework for the Eclipse platform. It leverages the existing Web Tools Project in providing developers with PHP capabilities.
Previous Topic:Change content of "Show Tooltip Description"
Next Topic:Formatter split my lines of code :(
Goto Forum:
  


Current Time: Fri Apr 26 22:05:06 GMT 2024

Powered by FUDForum. Page generated in 0.03214 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top