Archive

Posts Tagged ‘pear’

Install This Pear Script Another Freelancer Did For Me

January 21st, 2012 Comments off

I just finished a project and the freelancer was great! Although he put this “PEAR” mail mime or whatever on the script and I cannot get it to work on the server I get this error message. http://scriptingfire.com/joinus/test.php

You can see the original forum at http://scriptingfire.com/joinus/form.php

The test.php is the action of form.php

I will not pay more then 10 dollars for this! I need it done now! I will provide my cpanel details to the winning bidder… I will also escrow or pa…

Install Phpunit V.3.5.14 On My Windows 7 Laptop

June 11th, 2011 Comments off

On my windows 7 laptop, I need you to:

1. Install pear
2. use pear to install phpUnit v.3.5.14.

I will give you remote access.

Please only bid if you have installed pear and phpunit before, and know how to fix windows 7 issues that may come up during the installation (security, directory permissions, etc).

Pear Geonames Expert

May 11th, 2011 Comments off

I am trying to use the Pear Services GeoNames module, and need someone familiar with it to set up some inquiries for me.

I need:
All states and provinces in North America.

All cities in a particular State or Province.

All cities within X miles of a postal or zip code.

Do not apply unless you have previous experience with this Pear module.

Php Pear Mail

February 26th, 2010 Comments off

I need help installing PEAR Mail and its dependent files on my dedicated server (I have root access). PEAR is installed on the server but my installation of Mail doesn’t work correctly and I’m stuck. I need someone with PHP, Mail, and Unix experience who can install the Mail package, the Mail_Mime package, provide step-by-step instructions on how you installed the packages, and provide working example scripts showing how to send PHP mail with SMTP authentication with and without an attachment (PDF or other file).

I would like this set up by Sunday afternoon 2/28/10 if possible.

Thank you.

Install Status.net

October 30th, 2009 Comments off

I am looking for someone to install the micro blogging script status.net formally Laconica for me on my hosting server.I am looking to have it fully installed. I will want everything setup.

I am thinking a whole new fresh install would be best.

I am using Eapps.com cpanel on a linux server.

I want someone how has worked with Laconica before and knows it inside and out.

This is what is needed on the server to work.

Install StatusNet

Laconica comes bundled with a number of libraries required for the application to work. However, it is best that you use PEAR or you distribution to manage libraries instead, as they tend to provide security updates faster, and may offer improved performance.

On Debian based distributions, such as Ubuntu, use a package manager (such as “aptitude”, “apt-get”, and “synaptic”) to install the package listed.

On RPM based distributions, such as Red Hat, Fedora, CentOS, Scientific Linux, Yellow Dog Linux and Oracle Enterprise Linux, use a package manager (such as “yum”, “apt-rpm”, and “up2date”) to install the package listed.

On servers without a package manager (such as Windows), or if the library is not packaged for your distribution, you can use PHP’s PEAR to install the library. Simply run “pear install <name>”.
Absent Libraries

* DB
o deb: php-db
o pear: DB
* DB_DataObject
o pear: DB_DataObject
* Facebook API
* htmLawed
* HTTP_Request
o deb: php-http-request
o pear: HTTP_Request
* Mail
o deb: php-mail
o pear: Mail
* Mail_mimeDecode
o deb: php-mail-mimedecode
o pear: Mail_mimeDecode
* Mime_Type
o pear: Mime_Type
* Net_URL_Mapper
o pear: Net_URL_Mapper
* Net_Socket
o deb: php-net-socket
o pear: Net_Socket
* Net_SMTP
o deb: php-net-smtp
o pear: Net_SMTP
* Net_URL
o deb: php-net-url
o pear: Net_URL
* Net_URL2
o pear: Net_URL2
* Services_oEmbed
o pear: Services_oEmbed
* Stomp
* System_Command
o pear: System_Command
* XMPPHP
* PHP Markdown
* OAuth
* Validate
o pear: Validate

Installed Libraries

* gettext
* PEAR
* Console_Getopt

Thanks

I would like this done fast and as soon as possible.

Categories: PHP Tags: , , , , , ,

Install Status.net

September 7th, 2009 Comments off

I am looking for someone to install the micro blogging script status.net formally Laconica for me on my server.I am looking to have it fully installed .I will want everything setup.

I have uploaded files to the server and made a database.The script is not quite working properly. I get this error when I try to register on the site.

The database for Twiddel isn’t responding correctly, so the site won’t work properly. The site admins probably know about the problem, but you can contact them at webmaster-twiddel.com to make sure. Otherwise, wait a few minutes and try again.

So I am thinking a whole new fresh install would be best.

I am using cpanel/whm on a linux server.

I want someone how has worked with Laconica before and knows it inside and out.

Look at this to see what is missing on the server.

Install StatusNet

Laconica comes bundled with a number of libraries required for the application to work. However, it is best that you use PEAR or you distribution to manage libraries instead, as they tend to provide security updates faster, and may offer improved performance.

On Debian based distributions, such as Ubuntu, use a package manager (such as “aptitude”, “apt-get”, and “synaptic”) to install the package listed.

On RPM based distributions, such as Red Hat, Fedora, CentOS, Scientific Linux, Yellow Dog Linux and Oracle Enterprise Linux, use a package manager (such as “yum”, “apt-rpm”, and “up2date”) to install the package listed.

On servers without a package manager (such as Windows), or if the library is not packaged for your distribution, you can use PHP’s PEAR to install the library. Simply run “pear install <name>”.
Absent Libraries

* DB
o deb: php-db
o pear: DB
* DB_DataObject
o pear: DB_DataObject
* Facebook API
* htmLawed
* HTTP_Request
o deb: php-http-request
o pear: HTTP_Request
* Mail
o deb: php-mail
o pear: Mail
* Mail_mimeDecode
o deb: php-mail-mimedecode
o pear: Mail_mimeDecode
* Mime_Type
o pear: Mime_Type
* Net_URL_Mapper
o pear: Net_URL_Mapper
* Net_Socket
o deb: php-net-socket
o pear: Net_Socket
* Net_SMTP
o deb: php-net-smtp
o pear: Net_SMTP
* Net_URL
o deb: php-net-url
o pear: Net_URL
* Net_URL2
o pear: Net_URL2
* Services_oEmbed
o pear: Services_oEmbed
* Stomp
* System_Command
o pear: System_Command
* XMPPHP
* PHP Markdown
* OAuth
* Validate
o pear: Validate

Installed Libraries

* gettext
* PEAR
* Console_Getopt

Thanks
Agreater

Categories: MySQL, PHP, Script Installation Tags: , , , , , ,

Dedicated Server Upgrades

August 2nd, 2009 Comments off

We have a dedicated server with server01.com and we need to go from this:

* Apache 2.2.3
* PHP + MySQL 5.1.6

To this:

* Apache >= 2.2.8 (server01 has 2.2.3)
* PHP + MySQL >= 5.2.3 (server01 has 5.1.6)
* The following extensions for PHP:
– apc > 3.0.19 (not present in server01)
– gd >= 2.0.34 with freetype (ok)
– memcache >= 2.2.3 (not present in server01)
– pdo_mysql (ok)
* The following must be set in the configure line:
– –enable-cli (not present in server01)
– –with-pear (not present in server01)
* The following PEAR libaries: (server01 has no working PEAR)
– Mail_Queue (not present in server01)
– gdb2 (not present in server01)

Let me know if you need additional information. We need to know prices, timing and procedure.

Thanks.

Fix Php Script For E-mailing

June 5th, 2009 Comments off

On www.ppl.ie when you do submit vacancy, an input form is displayed. It allows the user to attach a file (usually Word doc) and submit to the website owners.

The form is submitted via SMTP using Pear::Mail (code is below). The body of the mail is not being displayed. I can send previous code (non-SMTP) where the body of the mail was being displayed but the attachment was not working

here’s the code:
&lt;?php
if($_POST['submit_vacancy'])
{
if(!$_POST['company'])
$error[] = ‘Input company’;
if(!$_POST['contact'])
$error[] = ‘Input contact name’;
if(!$_POST['mail'] &amp;&amp; !$_POST['phone'])
$error[] = ‘Input your e-mail or contact number’;
elseif($_POST['mail'] &amp;&amp; !eregi(‘^[a-z0-9._-]+at blanked out[a-z0-9._-]+.[a-z]{2,4}$’, $_POST['mail']))
$error[] = ‘Input correct e-mail’;

if(count($error)==0)
{
include(RelativePath . “/inc/pear/Mail.php”);
include(RelativePath . “/inc/pear/Mail/mime.php”);
$html = “Hello! rnA New vacancy has been submitted. rnCompany: $_POST[company] rnName: $_POST[contact] rnContact Number: $_POST[phone] rnE-mail: $_POST[mail] rnWebsite: $_POST[website] rnJob Title: $_POST[jobtitle] rnSalary: $_POST[salary] rnComments: $_POST[comments] rn”;

$crlf = “rn”;
$hdrs = array(
‘From’ =&gt; ‘mail address blanked out’,
‘Subject’ =&gt; ‘VACANCY SUBMISSION FROM PPL SITE – “‘.$_POST[company].’”‘,
‘CC’ =&gt; ‘mail address blanked out’,
‘Reply-To’ =&gt; ‘mail address blanked out’
);
$to = ‘mail address blanked out, mail address blanked out’;
$to = $to.”, “.$hdrs['CC'];

$mime = new Mail_mime($crlf);

$mime-&gt;setTXTBody($html);
//$mime-&gt;setHTMLBody($html);

if($_FILES['attach_spec']['tmp_name'])
$mime-&gt;addAttachment($_FILES['attach_spec']['tmp_name'], $_FILES['attach_spec']['type'], $_FILES['attach_spec']['name']);

$body = $mime-&gt;get();
$hdrs = $mime-&gt;headers($hdrs);

$smtpinfo["host"] = “mail address blanked out”;
$smtpinfo["port"] = “25″;
$smtpinfo["auth"] = true;
$smtpinfo["username"] = “mail address blanked out”;
$smtpinfo["password"] = “mail address blanked out”;

$mail =&amp; Mail::factory(“smtp”, $smtpinfo);

if($mail-&gt;send($to, $hdrs, $body))
{
$show_page = “message”;
$smarty-&gt;assign(“message”, “Thank you very much for submitting your Vacancy – we will be in contact with you as soon as possible”);
}
else
{
$cms_go_header = “http://”.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'].”?sended=error”;
}

}
}
?&gt;

Fix Php Script For E-mailing

June 5th, 2009 Comments off

On www.ppl.ie when you do submit vacancy, an input form is displayed. It allows the user to attach a file (usually Word doc) and submit to the website owners.

The form is submitted via SMTP using Pear::Mail (code is below). The body of the mail is not being displayed. I can send previous code (non-SMTP) where the body of the mail was being displayed but the attachment was not working

here’s the code:
&lt;?php
if($_POST['submit_vacancy'])
{
if(!$_POST['company'])
$error[] = ‘Input company’;
if(!$_POST['contact'])
$error[] = ‘Input contact name’;
if(!$_POST['mail'] &amp;&amp; !$_POST['phone'])
$error[] = ‘Input your e-mail or contact number’;
elseif($_POST['mail'] &amp;&amp; !eregi(‘^[a-z0-9._-]+at blanked out[a-z0-9._-]+.[a-z]{2,4}$’, $_POST['mail']))
$error[] = ‘Input correct e-mail’;

if(count($error)==0)
{
include(RelativePath . “/inc/pear/Mail.php”);
include(RelativePath . “/inc/pear/Mail/mime.php”);
$html = “Hello! rnA New vacancy has been submitted. rnCompany: $_POST[company] rnName: $_POST[contact] rnContact Number: $_POST[phone] rnE-mail: $_POST[mail] rnWebsite: $_POST[website] rnJob Title: $_POST[jobtitle] rnSalary: $_POST[salary] rnComments: $_POST[comments] rn”;

$crlf = “rn”;
$hdrs = array(
‘From’ =&gt; ‘mail address blanked out’,
‘Subject’ =&gt; ‘VACANCY SUBMISSION FROM PPL SITE – “‘.$_POST[company].’”‘,
‘CC’ =&gt; ‘mail address blanked out’,
‘Reply-To’ =&gt; ‘mail address blanked out’
);
$to = ‘mail address blanked out, mail address blanked out’;
$to = $to.”, “.$hdrs['CC'];

$mime = new Mail_mime($crlf);

$mime-&gt;setTXTBody($html);
//$mime-&gt;setHTMLBody($html);

if($_FILES['attach_spec']['tmp_name'])
$mime-&gt;addAttachment($_FILES['attach_spec']['tmp_name'], $_FILES['attach_spec']['type'], $_FILES['attach_spec']['name']);

$body = $mime-&gt;get();
$hdrs = $mime-&gt;headers($hdrs);

$smtpinfo["host"] = “mail address blanked out”;
$smtpinfo["port"] = “25″;
$smtpinfo["auth"] = true;
$smtpinfo["username"] = “mail address blanked out”;
$smtpinfo["password"] = “mail address blanked out”;

$mail =&amp; Mail::factory(“smtp”, $smtpinfo);

if($mail-&gt;send($to, $hdrs, $body))
{
$show_page = “message”;
$smarty-&gt;assign(“message”, “Thank you very much for submitting your Vacancy – we will be in contact with you as soon as possible”);
}
else
{
$cms_go_header = “http://”.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'].”?sended=error”;
}

}
}
?&gt;

Bear