Dev Shed Forums http://forums.devshed.com/ Dev Shed - Open Source web development forums. Topics covered include PHP, Apache, mySQL, Zope, Jserv, Java, Python, Zend, XML, DHTML, Javascript and more. en Mon, 18 Dec 2017 16:48:31 GMT vBulletin 60 http://forums.devshed.com/images/misc/rss.png Dev Shed Forums http://forums.devshed.com/ Best Way We Can Save Cpu Usage Wen Looking For Banned Words ? http://forums.devshed.com/php-development/979683-save-cpu-usage-wen-looking-banned-words-new-post.html Mon, 18 Dec 2017 13:55:55 GMT Php Experts & Gurus,

I need to add a filter on my Web Proxy (Mini Proxy Gpl script) so when a user tries loading a page that contains a banned word then the page does not load but give an error alert instead stating which banned word has been found. And then exits() the script.
Having a look at the following 2 scripts, what do you think ?
I favoured the 2nd one over the 1st at the end. What is your opinion on my choosing ?
The major requirement is that, my webhost's cpu must be used less as much as possible. I was told if I explode all found words on the proxied page and get the filter to check for each word one by one for matches against a list of banned words then that would take too long for big pages (pages with lots of text) and the cpu would be used too much and my site would slow down when this filtering process takes place on each and every page my web proxy fetches. Plus, when a lot of users simultaneously use my web proxy it would be the end of my venture. That means everyone disliked my 1st script.
Anyway, If you agree with what I've been told then how do you reckon I should proceed with the filter building if you reckon my 2nd script is no good and does not follow what others told me (I reckon it follows, though) ? Where should I make changes in my script ? How would you code it yourself ?
I tried my best:

1st Script:

PHP Code:


<?php

ini_set
('display_errors''1');
ini_set('display_startup_errors''1');
error_reporting(E_ALL);
mysqli_report(MYSQLI_REPORT_ERROR MYSQLI_REPORT_STRICT);


// 1). $curl is going to be data type curl resource.
$curl curl_init();

// 2). Set cURL options.
curl_setopt($curlCURLOPT_URL'http://www.tcm.com/this-month/article/297159|0/Dirty-Harry.html');

curl_setopt($curlCURLOPT_SSL_VERIFYPEERfalse);

curl_setopt$curlCURLOPT_RETURNTRANSFERtrue );

// 3). Run cURL (execute http request).
$result curl_exec($curl);

/**
 * It is possible for cURL to return a response that
 * is not a good response. You can't count on the response
 * being usable, so you need to do a little error handling.
 * What I've provided here is the most basic way to see
 * if the response is good.
 */
$response curl_getinfo$curl );
if( 
$response['http_code'] == '200' )
{
    
//Set banned words.
    
$banned_words = array("Dirty Harry","Callahan""Clint Eastwood");

    
//Separate each words found on the cURL fetched page.
    
$word explode(" "$result);

   
//var_dump($word);

    
for($i 0$i <= count($word); $i++){
        foreach (
$banned_words as $ban) {
            if (
stripos($word[$i],$ban) !== FALSE){
                echo 
"word: $word[$i]<br />";
                echo 
"Match: $ban<br>";
            }else{
                echo 
"word: $word[$i]<br />";
                echo 
"No Match: $ban<br>";  
            }
        }
    }
}

// 4). Close cURL resource.
curl_close($curl);
?>

From 1 - 10, how much mark would you give for the above code ? 1 = Worst; 5 = Ok; 10 = Best. And so on.

PHP Code:

<?php

/*
ERROR HANDLING
*/

// 1). Set banned words.
$banned_words = array("Prick","****","***");

// 2). $curl is going to be data type curl resource.
$curl curl_init();

// 3). Set cURL options.
curl_setopt($curlCURLOPT_URL'https://www.buzzfeed.com/mjs538/the-68-
words-
you-cant-say-on-tv?utm_term=.xlN0R1Go89#.pbdl8dYm3X'
);
curl_setopt($curlCURLOPT_SSL_VERIFYPEERfalse);
curl_setopt($curlCURLOPT_RETURNTRANSFERtrue );

// 4). Run cURL (execute http request).
$result curl_exec($curl);
$response curl_getinfo$curl );

if(
$response['http_code'] == '200' )
     {
          
$regex '/\b';      // The beginning of the regex string syntax
          
$regex .= implode('\b|\b'$banned_words);      // joins all the 
          
banned words to the string with correct regex syntax
          $regex 
.= '\b/i';    // Adds ending to regex syntax. Final i makes 
          
it case insensitive
          $substitute 
'****';
          
$cleanresult preg_replace($regex$substitute$result);
          echo 
$cleanresult;
     }

  
curl_close($curl);

  
?>

From 1 - 10, how much mark would you give for the above code ? 1 = Worst; 5 = Ok; 10 = Best. And so on.

Anyone grabbing my code and fixing it as they deem fit are welcome. Just make sure to provide your sample here for everyone's benefit.

Thanks! ]]>
PHP Development UniqueIdeaMan http://forums.devshed.com/php-development-5/save-cpu-usage-wen-looking-banned-words-979683.html
Highly Effective US Dedicated Servers From TEMOK Starting at $65/Mo | Free Reboots http://forums.devshed.com/web-hosting-offers/979682-highly-effective-dedicated-servers-temok-starting-65-mo-free-reboots-new-post.html Mon, 18 Dec 2017 12:43:12 GMT *Temok (https://www.temok.com)* Dedicated Server is much more than simply a server, it is a fully managed solution made to take your business to the next level. As an additional bonus, we include cPanel at no cost with every dedicated server. Your server will be provisioned, safe, and typically supplied within 24 hours of purchase. Having a dedicated server will provide your sites with a greater... Temok Dedicated Server is much more than simply a server, it is a fully managed solution made to take your business to the next level. As an additional bonus, we include cPanel at no cost with every dedicated server. Your server will be provisioned, safe, and typically supplied within 24 hours of purchase. Having a dedicated server will provide your sites with a greater level of security, speed, and uptime. You will have the capability to go far beyond the resource limitations found in a shared hosting environment.


We are proudly offering US Dedicated Servers along with the price & links. All you have to do is to choose the desired plan & get it.

⤏⤏ US Dedicated Server Plan 1 ⤎⤎

∗ 1x Intel Xeon 5520 (2.26GHz, 4c, 8t) - Preconfigure
∗ RAM: 16GB DDR3
∗ Hard Drive(s): 1TB SATA
∗ Bandwidth: 33TB
∗ Set-up Fee: $49.95
∗ Price: $65/Month ⁕ Order Plan 1

⤏⤏ US Dedicated Server Plan 2 ⤎⤎

∗ Dual AMD Opteron 4332 Custom - 3.0 GHz -12 Cores
∗ RAM: 16GB DDR3
∗ Hard Drive(s): 120GB SSD + 2x 1TB SATA
∗ Bandwidth: 20TB
∗ Set-up Fee: $49.99
∗ Price: $66/Month ⁕ Order Plan 2

⤏⤏ US Dedicated Server Plan 3 ⤎⤎

∗ 2x Intel Xeon 5520 (2.26GHz, 4c, 8t) - Preconfigure
∗ RAM: 24GB DDR3
∗ Hard Drive(s): 3TB SATA or 240GB SSD
∗ Bandwidth: 33TB
∗ Set-up Fee: $49.95
∗ Price: $75/Month ⁕ Order Plan 3

⤏⤏ US Dedicated Server Plan 4 ⤎⤎

∗ 1 x Intel E3 1230 v2, 3.3GHz/ 3.7GHz Turbo (4 Cores/ 8 threads)
∗ Preconfigure
∗ RAM: 32GB DDR3
∗ Hard Drive(s): 500GB SSD
∗ Bandwidth: 33TB
∗ Set-up Fee: $49.95
∗ Price: $80/Month ⁕ Order Plan 4

⤏⤏ US Dedicated Server Plan 5 ⤎⤎

∗ Intel Dual Xeon X5650 2.66 GHZ - (12 Cores, 24 Threads)
∗ RAM: 32GB DDR3
∗ Hard Drive(s): 240GB SSD + 2x 1TB SATA
∗ Bandwidth: 20TB
∗ Set-up Fee: $49.99
∗ Price: $80/Month ⁕ Order Plan 5

⤏⤏ US Dedicated Server Plan 6 ⤎⤎

∗ 2 x Intel Xeon 5650, 2.66Ghz - 3.06Ghz (12 Cores/ 24 threads)
∗ Preconfigure
∗ RAM: 64GB DDR3
∗ Hard Drive(s): 120GB SSD + 3TB SATA
∗ Bandwidth: 33TB
∗ Set-up Fee: $49.95
∗ Price: $125/Month ⁕ Order Plan 6

⤏⤏ US Dedicated Server Plan 7 ⤎⤎

∗ 2x Intel Xeon E5-2670 (16c, 32t) Custom - FL
∗ RAM: 32GB DDR3
∗ Hard Drive(s): 2x 300GB SSD + 1TB SATA
∗ Bandwidth: 20TB
∗ Set-up Fee: $49.99
∗ Price: $143/Month ⁕ Order Plan 7

⤏⤏ US Dedicated Server Plan 8 ⤎⤎

∗ 2 x Intel Xeon 5420 (2.5Ghz, 8c, 8t)
∗ RAM: 16GB DDR2
∗ Hard Drive(s): 2 x 1TB SATA || SSD Available
∗ Bandwidth: 100Mbit Unmetered
∗ Set-up Fee: $49.95
∗ Price: $90/Month ⁕ Order Plan 8

⤏⤏ US Dedicated Server Plan 9 ⤎⤎

∗ 2 x Intel Xeon 5520, 2.27GHz(8 Cores/ 16 threads)
∗ RAM: 24GB DDR3
∗ Hard Drive(s): 4TB SATA
∗ Bandwidth: 33TB on 1 Gbps Link
∗ Set-up Fee: $49.95
∗ Price: $95/Month ⁕ Order Plan 9

⤏⤏ US Dedicated Server Plan 10 ⤎⤎

∗ 2x Intel Xeon Xeon E5645
∗ RAM: 24GB DDR3 ECC
∗ Hard Drive(s): 2x 500MB SATA or 1x 120GB SSD
∗ Bandwidth: 20TB
∗ Set-up Fee: $49.95
∗ Price: $99/Month ⁕ Order Plan 10

⤏⤏ US Dedicated Server Plan 11 ⤎⤎

∗ 2x Intel Xeon 5639 (2.13Ghz , 12c, 24t)
∗ RAM: 24GB DDR3
∗ Hard Drive(s): 2TB SATA or 120Gb SSD
∗ Bandwidth: 33TB
∗ Set-up Fee: $49.95
∗ Price: $129/Month ⁕ Order Plan 11

⤏⤏ US Dedicated Server Plan 12 ⤎⤎

∗ 2 x Intel Xeon E5-2620 custom
∗ RAM: 64GB DDR3
∗ Hard Drive(s): 2x 120GB SSD | 2x 2TB SATA
∗ Bandwidth: 20TB
∗ Set-up Fee: $49.95
∗ Price: $220/Month ⁕ Order Plan 12

We have got superior hardware along with a top-notch support staff. At Temok you will enjoy the experience. We try hard to provide service that is not just satisfying but enjoyable. We work beyond your wishes and go the extra mile to achieve your requirements.


Contact Info:
Email: sales(@)temok.com
Skype: temok.sales
Live Chat: Available on our Website
]]>
Web Hosting Offers tk-hassan http://forums.devshed.com/web-hosting-offers-100/highly-effective-dedicated-servers-temok-starting-65-mo-free-reboots-979682.html
vps9.net | SSD Cloud VPS with 1Gbps Speed and Free DDOS Protection http://forums.devshed.com/web-hosting-offers/979681-vps9-net-ssd-cloud-vps-1gbps-speed-free-ddos-protection-new-post.html Mon, 18 Dec 2017 11:49:21 GMT * Highly Reliable SSD Cloud VPS Hosting by VPS9.Networks (https://www.vps9.net/)* VPS9 Networks introducing Reliable Cloud VPS Hosting (https://www.vps9.net/cloud-vps) packages on Customers Demand. Pick any Suitable Cloud Hosting service designed for Enterprise-level Workloads, Inherits Robust and High performance and Runs on Superlative Platform. Our Cloud VPS Hosting comes with High... Highly Reliable SSD Cloud VPS Hosting by VPS9.Networks
VPS9 Networks introducing Reliable Cloud VPS Hosting packages on Customers Demand. Pick any Suitable Cloud Hosting service designed for Enterprise-level Workloads, Inherits Robust and High performance and Runs on Superlative Platform. Our Cloud VPS Hosting comes with High Network Availability, Premium 1Gbps Nodes, Iaas and Paas Services, Next generation SAS Storage and High Uptime to escalate your Business.

Excellent Features of Cloud VPS Hosting
- Cut throat Technologies
- Highly Redundant Platform
- High Bandwidth Capacity
- FREE SAS Drive
- Load Balancer
- FREE Firewall/DDOS Protection

Best of Cloud VPS Hosting Plan - 1
vCPU : 1 Core
vRAM : 1GB
SDD : 40GB
Traffic : 4 TB
Price : 9.99 Euros/Month
> Buy <

Best of Cloud VPS Hosting Plan - 2
vCPU : 2 Core
vRAM : 2GB
SDD : 60GB
Traffic : 6 TB
Price : 16.99 Euros/Month
> Buy <

Best of Cloud VPS Hosting Plan - 3
vCPU : 4 Core
vRAM : 4GB
SDD : 80GB
Traffic : 8 TB
Price : 29.99 Euros/Month
> Buy <

Best of Cloud VPS Hosting Plan - 4
vCPU : 8 Core
vRAM : 8GB
SDD : 160GB
Traffic : 10 TB
Price : 49.99 Euros/Month
> Buy <

Best Addons with Cloud VPS Hosting
''''''''''''''''''''''''
RapidSSL : € 15.73
cpanel/WHM Panel : € 13.99
DirectAdmin : € 16.99
ISPManager Lite : € 4.99
Plesk onyx Web Admin (10 Domains) : € 10.99
Plesk Onyx Web Host (Unlimited Domains) : € 25.99
Plesk Onyx Web Pro (30 Domains) : € 14.99

for more Information go with provided link on Cloud VPS Hosting

Payment Methods: Payza, PayPal, EBS, PerfectMoney, Web Money.
Support Fields:

* Live Support, Skype
* Email Support

Thank You. ]]>
Web Hosting Offers vps9 http://forums.devshed.com/web-hosting-offers-100/vps9-net-ssd-cloud-vps-1gbps-speed-free-ddos-protection-979681.html
<![CDATA[VPS HOSTING IN UKRAINE, USA & NETHERLANDS. SSD VPS. WINDOWS VPS. [Extra IPv4,rent IP]]]> http://forums.devshed.com/web-hosting-offers/979678-vps-hosting-ukraine-usa-netherlands-ssd-vps-windows-vps-extra-ipv4-rent-ip-new-post.html Mon, 18 Dec 2017 09:40:29 GMT Our new tariffs for SSD VPS in the best data centers of Ukraine, Europe and USA are available:

Linux & FreeBSD only/ 1x Xeon 64bit/ 1 GB RAM/ 25 GB SSD 1 Gbit/s share / 2 TB - $6
VPS-2/ 1x Xeon 64bit/ 2 GB RAM/ 50 GB SSD/ 1 Gbit/s shared/ 2 TB - $11
VPS-3/ 1x Xeon 64bit/ 3 GB RAM/ 75 GB SSD/ 1 Gbit/s shared/ 2 TB - $16
VPS-4/ 1x Xeon 64bit/ 4 GB RAM/ 100 GB SSD/ 1 Gbit/s shared/2 TB - $21
VPS-6/ 2x Xeon 64bit/ 6 GB RAM/ 125 GB SSD/ 1 Gbit/s shared/ 2 TB - $29
VPS-8/ 2x Xeon 64bit/ 8 GB RAM/ 150 GB SSD/ 1 Gbit/s shared/ 2 TB - $37

You can also order HDD VPS in Ukraine or Netherlands:

STORAGE VPS 100GB/ 1x Xeon 64bit/ 1GB RAM/ 100 GB HDD/1 Gbit/s shared/ 2 TB - $10
STORAGE VPS 200GB/ 1x Xeon 64bit/ 2GB RAM/ 200 GB HDD/1 Gbit/s shared/ 2 TB - $15
STORAGE VPS 300GB/ 1x Xeon 64bit/ 3GB RAM/ 300 GB HDD/1 Gbit/s shared/ 2 TB - $20
STORAGE VPS 400GB/ 1x Xeon 64bit/ 4GB RAM/ 400 GB HDD/1 Gbit/s shared/ 2 TB - $25
STORAGE VPS 600GB/ 2x Xeon 64bit/ 6GB RAM/ 600 GB HDD/1 Gbit/s shared/ 2 TB - $35

Extra IPv4 are also available for 1 $!

Order VPS at our web-site: 301 Moved Permanently ]]>
Web Hosting Offers Deltahost http://forums.devshed.com/web-hosting-offers-100/vps-hosting-ukraine-usa-netherlands-ssd-vps-windows-vps-extra-ipv4-rent-ip-979678.html
Christmas Deal by Scopehosts : 50% discount on Web Hosting Services http://forums.devshed.com/web-hosting-offers/979676-christmas-deal-scopehosts-50-discount-web-hosting-services-new-post.html Mon, 18 Dec 2017 07:30:25 GMT * Scopehosts (https://www.scopehosts.com) is up with best created offers to make your Christmas memorable. Get 50% onetime discount on all Web Hosting services.* Offer Code : *XMAS50* *Know the Web Hosting Solution (https://www.scopehosts.com/web-hosting) Plans furnished with the exciting deal* --------------------------------------------------------- ** Best of SSD Shared Hosting... Scopehosts is up with best created offers to make your Christmas memorable. Get 50% onetime discount on all Web Hosting services.
Offer Code : XMAS50

Know the Web Hosting Solution Plans furnished with the exciting deal
---------------------------------------------------------

* Best of SSD Shared Hosting Packages
====================================
- 5GB FREE SSD Space
- 100GB Bandwidth
- Host 2 Websites
- Unlimited Sub Domains
- FREE Cloudflare CDN
- Price : Euros 1.99/mo.
Buy Now

* Best of Managed Wordpress Hosting Packages
====================================
- 10GB SSD Space
- 2 WordPress Websites
- Upto 100,000 Monthly Visits
- Anytime MoneyBack
- FREE Domain Lifetime
- FREE Comodo Positive SSL
- FREE Dedicated IP 1st Month
- Price : Euros 3.99/mo.
Buy Now


* Best of Business Hosting Packages
====================================
- 2GB vRAM
- 30GB SSD Space
- 2 vCPU's
- FREE Cloudflare CDN
- FREE Comodo SSL
- FREE Domain
- Price : Euros 9.99/mo.
Buy Now

* Best of Reseller Hosting Packages
====================================
- 10GB SSD Space
- 2 WordPress Websites
- Upto 100,000 Monthly Visits
- Anytime MoneyBack
- FREE Domain Lifetime
- FREE Comodo Positive SSL
- FREE Dedicated IP 1st Month
- Price : Euros 12.99/mo.
Buy Now


Explore more on Web Hosting Services by Scopehosts

Read Before You Subscribe

Live Support :
=================
24/7 Sales/Technical Ticket System Support
E-mail Support
Skype Messenger Support

Thank You. ]]>
Web Hosting Offers Cherin http://forums.devshed.com/web-hosting-offers-100/christmas-deal-scopehosts-50-discount-web-hosting-services-979676.html
<![CDATA[HostForLIFE.eu - WINTER SALE 15% OFF!! Best ASP.NET Core 2.0 Hosting Only Є2.97/month]]> http://forums.devshed.com/web-hosting-offers/979675-hostforlife-eu-winter-sale-15-asp-net-core-2-0-hosting-2-97-month-new-post.html Mon, 18 Dec 2017 05:07:58 GMT Image: https://s28.postimg.org/empr531zx/hostforlife-banner-e1428392544130.png (http://www.asp.net/hosting/hostingprovider/details/953) *HostForLIFE.eu - Crazy SALE 15% OFF, Best ASP.NET Core 2.0 Hosting Features: * Amsterdam (NL), London (UK), Washington, D.C. (US), Paris (France), Frankfurt (Germany), Chennai (India), Milan (Italy), Toronto (Canada) and Sγo Paul(Brazil) Data Center...

HostForLIFE.eu - Crazy SALE 15% OFF, Best ASP.NET Core 2.0 Hosting Features:
Amsterdam (NL), London (UK), Washington, D.C. (US), Paris (France), Frankfurt (Germany), Chennai (India), Milan (Italy), Toronto (Canada) and Sγo Paul(Brazil) Data Center
World Class Plesk Control Panel
Affordable price for a High availability solution
24/7/365 Customer-centric Care & Support
99.9& Uptime Guarantee
Daily Backup
Dedicated Pool
High Availability built in
Built on enterprise-grade hardware


Our Technical Features:
• One click Publish - Web Deploy Hosting
• Windows 2008 R2 and Windows 2012 Server
• ASP.NET 4, ASP.NET 4.5.2 Hosting, ASP.NET 4.6 Hosting ASP.NET 5 Hosting
• ASP.NET MVC 3 hosting, ASP.NET MVC 4 Hosting, and NEW ASP.NET MVC 6 Hosting
• MSSQL 2008, 2008 R2 Hosting, SQL 2012 and MSSQL 2012 R2
• SSRS 2008, SSRS 2008 R2 Hosting, and SSRS 2012 Hosting
• Silverlight 4, WCF RIA Hosting Support, Silverlight 5 and and Silverlight 6 Hosting
• IIS 7.5 Hosting, IIS 8 and IIS 8.5 Hosting
• PHP 5 and MySQL 5 Support
• Crystal Report 2010 Hosting Support
• Node.js Hosting
• Other application like WordPress, Joomla Hosting, Nopcommerce, osCommerce Online Merchant Hosting, Magento Hosting, Drupal , PrestaShop, DotNetNuke, BlogEngine.NET, Drupal Hosting, Umbraco, Moodle Hosting etc.

WHY CHOOSE US?
Using industry-standard web environments with the latest stable technologies like Server 2012, Internet Information Services 8.5, SQL 2012, ASP.NET 3.5 SP1, ASP.NET 4, ASP.NET 4.5.1, ASP.NET 4.5.2, ASP.NET 4.6, ASP.NET Core and ASP.NET Core 1.1. Using powerful Dell servers that are beefy enough to service the requirements of our customers. Our servers use 64 bit software, are dual quad-core, have at least 16 GB RAM, and have RAID 10 disk arrays. We don't skimp on our servers because we believe you deserve better.

We're dedicated to being more than just another web hosting provider as we see ourselves as a long-term business partner tasked with handling a critical component of your website. Combining industry-best practices and staff with cutting-edge knowledge and expertise, we provide the stability and reliability you need to realize success in today's modern world.

ANY QUESTION?
If you have any questions or concerns before you sign up, please feel free to email us at sales@hostforlife.eu or send us a tweet @HostForLIFE

Recommended by
This thread is recommended by ReliableHostingASP.NET. ReliableHostingASP.NET is Windows and ASP.NET Hosting blog review in UK. With ReliableHostingASP.NET you can find the best hosting plan that you need easily. There are many top hosting recommendations that give you the best ever offered. ]]>
Web Hosting Offers dotnetmaster http://forums.devshed.com/web-hosting-offers-100/hostforlife-eu-winter-sale-15-asp-net-core-2-0-hosting-2-97-month-979675.html
20% OFF On Fully Managed Windows Reseller Web Hosting - Hostripples! http://forums.devshed.com/web-hosting-offers/979674-20-managed-windows-reseller-web-hosting-hostripples-new-post.html Mon, 18 Dec 2017 05:05:18 GMT *20% OFF On Fully Managed Windows Reseller Web Hosting - Hostripples! * Hostripples Reseller Hosting accounts allow freelancers and software development companies to host and manage unlimited websites for their customers.We offers the power and flexibility of Parallels Plesk Panel, IIS (Internet Information Services), Microsoft SQL Server 2008 R2, and a wide variety of other hosting features...
20% OFF On Fully Managed Windows Reseller Web Hosting - Hostripples!


Hostripples Reseller Hosting accounts allow freelancers and software development companies to host and manage unlimited websites for their customers.We offers the power and flexibility of Parallels Plesk Panel, IIS (Internet Information Services), Microsoft SQL Server 2008 R2, and a wide variety of other hosting features such as ASP and ASP.Net for a low price.There is no limit on number of mailboxes. Mailboxes are antivirus and ant-spam protected. Reseller hosting is setup on high configuration server like 64 GB to 128 GB RAM,Intel Xeon 2x E5-2650v2, 4x4 TB HDD with DDOS procted server. We are also offering 30-day money back and 99.9% uptime guarantee with any of our Reseller hosting plans.

SMART RESS - $15/Month
Unlimited Web Space
Unlimited Monthly Bandwidth
Unlimited FTP Accounts
Unlimited Mailing List
Free CloudFlare
Free SiteApps
24 x 7 Live Support

Buy Now!

BUSINESS RESS - $25/Month
Unlimited Web Space
Unlimited Monthly Bandwidth
Unlimited FTP Accounts
Unlimited Mailing List
Free CloudFlare
Free SiteApps
24 x 7 Live Support

Buy Now!

ENTERPRISE RESS - $55/Month
Unlimited Web Space
Unlimited Monthly Bandwidth
Unlimited FTP Accounts
Unlimited Mailing List
Free CloudFlare
Free SiteApps
24 x 7 Live Support

Buy Now!

Why choose Hostripples?
Instant Setup
Easy usability
Value for money
24 x 7 customer service
Unmatched server performance


Visit:- Fully Managed Windows Plesk Reseller Web Hosting

Coupon Code: WINRESS20

It’s not that we are bragging about our services, our customers say it all!

Hurry up and get Hostripples – the one-stop solution for your web hosting requirements!

Hostripples - Affordable web hosting
Hostripples.com Cheap Hosting | Unlimited Bandwidth | Unlimited Space | Domain Name Registration

Connect with us: Facebook | Twitter | LinkedIn

Hostripples - Affordable web hosting
http://hostripples.com/
http://hostripples.in/
http://hostripples.co.uk/
https://myhostseo.com/
Hostripples.com $1 Unlimited Hosting | $2 Unlimited Windows Hosting | Unlimited Bandwidth | Unlimited Space | Domain Name Registration ]]>
Web Hosting Offers hi5s2arp http://forums.devshed.com/web-hosting-offers-100/20-managed-windows-reseller-web-hosting-hostripples-979674.html
Managing Users http://forums.devshed.com/linux-help/979673-managing-users-new-post.html Sun, 17 Dec 2017 22:44:31 GMT I would like to set up an account where the user is "jailed" to their home directory *and* one or two other *specific* directories, but I'm unsure how to do this...

OS: CentOS6 ]]>
Linux Help Arty Zifferelli http://forums.devshed.com/linux-help-33/managing-users-979673.html
Dedicated servers in Luxembourg from $46/m Redundant Network 1000 Mb/s http://forums.devshed.com/web-hosting-offers/979672-dedicated-servers-luxembourg-46-redundant-network-1000-mb-new-post.html Sun, 17 Dec 2017 19:45:24 GMT MaxiDed provided secure * dedicated servers in Luxembourg* (https://maxided.com/dedicated-servers/luxembourg) *Location:* Luxembourg *Data center:* Giganet Internet S.r.o *Speed Test Files:* Private Network 213.135.234.63/24 Multiple subnet 213.135.230/24 *Delivery time:* Unix/Linux-based OS – 24 hours. Windows-based OS – 48 hours. *Allowed:* adult, erotic, movies, doorways, dating, vpn,... MaxiDed provided secure dedicated servers in Luxembourg

Location: Luxembourg
Data center: Giganet Internet S.r.o
Speed Test Files: Private Network 213.135.234.63/24 Multiple subnet 213.135.230/24
Delivery time: Unix/Linux-based OS – 24 hours. Windows-based OS – 48 hours.
Allowed: adult, erotic, movies, doorways, dating, vpn, blogs

Best cheap deal:
Processor: AMD Phenom II x2 320
RAM: 8 GB
Harddisk: 2x500GB SATA LSI RAID 0x2
IP: 1 IPv4 included
Bandwidth: Redundant Network 1000 Mb/s

Order Now 46 USD per month

Enter promo code: 55f44ddb2 5% Discount!

If you have any question, feel free to contact us: https://maxided.com/support

Thank you,
MaxiDed team

__________________
Our offer for datacenter and providers
Skype: maxided.com ]]>
Web Hosting Offers MaxiDed http://forums.devshed.com/web-hosting-offers-100/dedicated-servers-luxembourg-46-redundant-network-1000-mb-979672.html
SolaDrive - 35% Off For Life - Fully Managed Pure SSD VPS - Linux/Windows http://forums.devshed.com/web-hosting-offers/979671-soladrive-35-life-managed-pure-ssd-vps-linux-windows-new-post.html Sun, 17 Dec 2017 14:00:05 GMT SolaDrive was built on principles to fix the gap many other hosts are missing. Our focus is fast, knowledgeable support and quality of service. We strive for 15 minute response times or better, and with truly redundant servers we feel we have the most reliable service to offer. All of our VPS plans come fully managed as well, no more worrying about how to manage your server. Give us a shot, and... SolaDrive was built on principles to fix the gap many other hosts are missing. Our focus is fast, knowledgeable support and quality of service. We strive for 15 minute response times or better, and with truly redundant servers we feel we have the most reliable service to offer. All of our VPS plans come fully managed as well, no more worrying about how to manage your server. Give us a shot, and you surely won’t regret it!

★ 35% Off All VPS For Life ★
(Coupon: 35WHT)


All VPS Plans Include
» Choose your Location: Los Angeles, CA - New York City - Maidenhead, UK
» 24 Core Servers, SSD Raid-10, see rest of server specs below
» Feature packed SolusVM Control Panel
» 24/7 Fully Managed by Experienced US Technicians
» Instant VPS Activation After Payment
» 10-15 Minute Response Times (1 hour guarantee)
» 99.9% Server Uptime Guarantee
» Free VPS Migration
» Daily Backups of each VPS to Offsite Server
» 30 Day Money Back Guarantee!
» $10 cPanel Licenses


****************************************
Managed Linux SSD Plans - Click To View

Managed Windows Plans - Click To View

Managed Hybrid Server Plans - Click To View
****************************************

Server Locations:
Los Angeles, CA Test IP: 96.44.132.122 - DC Info Page
New York City Test IP: 216.156.135.66 - DC Info Page
Maidenhead, UK Test IP: 78.157.209.195 - DC Info Page

Our Server Specifications:
- Dual Intel Xeon E5-2620 or E5-2620v2’s (24 Cores)
- 96-128GB DDR3 ECC Ram
- Supermicro Chassis, Motherboard, and Power Supplies
- Dual redundant power supplies
- True A + B power meaning an entire power grid for “A” could go out and server would still be operational on grid “B”
- 4 x 512GB Samsung 850 SSD’s
- Newest LSI raid card currently available, for superior performance
- 1Gbps Port Speeds


Follow us on Twitter:
http://twitter.com/soladrive
Find us on Facebook: http://www.facebook.com/pages/SolaDrive/299607303390655
Support: support@soladrive.com
Sales: sales@soladrive.com
Support Desk: http://soladrive.com/support

Recent Reviews:
- http://www.webhostingtalk.com/showth...2870&p=9454894 << NEW
- http://www.webhostingtalk.com/showthread.php?t=1427999
- http://www.webhostingtalk.com/showthread.php?t=1358474
- http://www.webhostingtalk.com/showthread.php?p=8844371
- http://www.webhostingtalk.com/showthread.php?p=8767309
- http://www.webhostingtalk.com/showthread.php?t=1220491
- http://www.webhostingtalk.com/showpo...3&postcount=21
- http://www.webhostingtalk.com/showpo...01&postcount=4
- http://www.webhostingtalk.com/showth...ight=soladrive
- http://www.webhostingtalk.com/showth...ight=soladrive
- http://www.webhostingtalk.com/showth...ight=soladrive
- http://www.webhostingtalk.com/showth...ight=soladrive
- http://www.webhostingtalk.com/showth...ight=soladrive
- http://www.webhostingtalk.com/showpo...71&postcount=9
- http://www.webhostingtalk.com/showpo...00&postcount=2
- http://www.webhostingtalk.com/showpo...97&postcount=5
- http://www.webhostingtalk.com/showpo...89&postcount=9
- http://www.webhostingtalk.com/showpo...3&postcount=12
- http://www.webhostingtalk.com/showpo...41&postcount=7
- http://www.webhostingtalk.com/showpo...5&postcount=13 ]]>
Web Hosting Offers SolaDrive.com http://forums.devshed.com/web-hosting-offers-100/soladrive-35-life-managed-pure-ssd-vps-linux-windows-979671.html
Up To 30% Off Servers For Life - E3-1230v6 at $98/m - Fully Managed - LA/NY Locations http://forums.devshed.com/web-hosting/979670-30-servers-life-e3-1230v6-98-managed-la-ny-locations-new-post.html Sun, 17 Dec 2017 13:53:57 GMT With a brand new line up of servers, we are offering a hefty discount to help fill a bunch of brand new, empty servers! Up to 30% off for the lifetime discount on servers below can be taken advantage of. This discount applies to all configurations made to servers as well. *Each Server Comes With:* » Full Server Management w/ True 10-15 Minute Response Times! » Wide variety of operating... With a brand new line up of servers, we are offering a hefty discount to help fill a bunch of brand new, empty servers! Up to 30% off for the lifetime discount on servers below can be taken advantage of. This discount applies to all configurations made to servers as well.

Each Server Comes With:
» Full Server Management w/ True 10-15 Minute Response Times!
» Wide variety of operating systems to choose from!
» IPMI: Allows you to remote reboot, reload, console your machine!
» Enterprise-level 100% uptime SLA on power and network availability
» Free Dedicated IP
» Supermicro Motherboard's and Enterprise Hardware! Don’t settle for cheap, old, unreliable servers!
» FREE 1 Hour Hardware Replacement SLA
» Free Transfer Assistance
» Adult Content - Allowed
» Generally online within 2-4 hours during business hours (8AM-5PM PST Mon-Friday)

Test IP's/Locations:
Buffalo, NY (east coast): 23.94.156.29
Los Angeles, CA (west coast): 198.55.111.5

Intel i3-4330 - (4 Cores)
• 2 x 500GB SATA-III Drive or 2 x 120GB SSD
• 16GB DDR4 RAM
• 10TB Bandwidth
• 100Mbps Uplink
• Fully Managed
Monthly Price: Only $58.00/m
15% Off Coupon: 30OFF
>>> Order From New York <<<
>>> See Servers Located in Los Angeles <<<


Intel Xeon E3-1230v6 - (8 Cores)
• 2 x 500GB or 2 x 120GB SSD
• 16GB DDR4 RAM
• 10TB Bandwidth
• 100Mbps Uplink
• Fully Managed
Monthly Price: Only $98.00/m
15% Off Coupon: 15OFF
>>> Order From New York <<<
>>> See Servers Located in Los Angeles <<<



Intel Xeon E3-1270v6 - (8 Cores)
• 2 x 500GB or 2 x 120GB SSD
• 16GB DDR4 RAM
• 10TB Bandwidth
• 100Mbps Uplink
• Fully Managed
Monthly Price: Only $115.00/m
15% Off Coupon: 15OFF
>>> Order From New York <<<
>>> See Servers Located in Los Angeles <<<


Intel Xeon E5-1650v4 - (12 Cores)
• 2 x 500GB or 2 x 120GB SSD
• 16GB DDR4 RAM
• 10TB Bandwidth
• 100Mbps Uplink
• Fully Managed
Monthly Price: Only $157.00/m
15% Off Coupon: 15OFF
>>> Order From New York <<<
>>> See Servers Located in Los Angeles <<<

Intel Xeon 2 x E5-2620v4 - (24 Cores)
• 2 x 500GB or 2 x 120GB SSD
• 16GB DDR4 RAM
• 10TB Bandwidth
• 100Mbps Uplink
• Fully Managed
Monthly Price: Only $208.00/m
15% Off Coupon: 15OFF
>>> Order From New York <<<
>>> See Servers Located in Los Angeles <<<

Intel Xeon 2 x E5-2660v4 - (40 Cores)
• 2 x 500GB or 2 x 120GB SSD
• 16GB DDR4 RAM
• 10TB Bandwidth
• 100Mbps Uplink
• Fully Managed
Monthly Price: Only $395.00/m
15% Off Coupon: 15OFF
>>> Order From New York <<<
>>> See Servers Located in Los Angeles <<<


Addon Pricing
» Add 500GB Drive: $10
» Add 1TB Drive: $15
» Add 2TB Drive: $20
» Add 4TB Drive: $35
» Add 10TB Drive: $75
» Add 128GB SSD: $10
» Add 256GB SSD: $15
» Add 512GB SSD: $20
» Add 1TB SSD: $35
» Add 2TB SSD: $75
» Add 16GB Ram: $20
» 100Mbps >> 1Gbps: $15
» Add 25TB Bandwidth: $50
» Add cPanel/Plesk Unlimited: $30
» Add Windows 2008/2012/2016 Standard: $25
» Add LSI-9271 w/CacheVault Raid Card: $35

[B]
Support: support@soladrive.com
Sales: sales@soladrive.com
Support Desk: http://soladrive.com/support


Recent Reviews:
- http://www.webhostingtalk.com/showthread.php?t=1658402 << NEW
- http://www.webhostingtalk.com/showth...13#post9450513
- http://www.webhostingtalk.com/showthread.php?t=1427999
- http://www.webhostingtalk.com/showthread.php?t=1358474
- http://www.webhostingtalk.com/showthread.php?p=8844371
- http://www.webhostingtalk.com/showthread.php?p=8767309
- http://www.webhostingtalk.com/showthread.php?t=1220491 ]]>
Web Hosting SolaDrive.com http://forums.devshed.com/web-hosting-12/30-servers-life-e3-1230v6-98-managed-la-ny-locations-979670.html
<![CDATA[Syntax error, unexpected "]]> http://forums.devshed.com/php-development/979669-syntax-error-unexpected-new-post.html Sun, 17 Dec 2017 13:41:48 GMT tag. That line shows this: *$body = "$first_name." ".$surname ?>,*]]> Folks,

Do you spot any logical errors in my script ?
I have not given the full script but the SendMail part where I am encountering problem.

I get error:
Parse error: syntax error, unexpected '"' in /home/...... on line 155.

Line 155 is the line before the <html> tag. That line shows this:
$body = "$first_name." ".$surname ?>,

Look at the 5th line from the following code *** that is where the error occurs:

PHP Code:

$account_name = "$username";
                    //Step 3C. Email user their account activation link for them to click to confirm their Email Address and activate their new Account.
                    $to = "$primary_website_email";
                    $subject = "Your Following Browser account activation details!";
                    $body = "$first_name." ".$surname ?>,
                    <html>
                    <head>
                    <title>Activation Link</title>
                    </head>
                    <body>
                    Thank you for joining us!<br>
                    You need to click on the following link <a href="<?php .$account_activation_link.">$account_activation_link?></a> to activate your account.
                    </body>
                    </html>"
;
                    <?
php $headers "From: $site_admin_email";
                    
//More headers
                    //Always set content-type when sending HTML email
                    
$headers "MIME-Version: 1.0" "\r\n";
                    
$headers .= "Content-type:text/html;charset=UTF-9" "\r\n";
                    
                    if (!
mail($to,$subject,$body,$headers)) 
                    {
                        
//Alert user System Error. System unable to email the Account Activation Link.
                        
echo "Sorry! We have failed to email you your account activation details. Please contact the website administrator!";
                        exit();
                    }
                    else
                    {
                        
//Alert user System Success. System was able to email the Account Activation Link.
                        
echo "<h3 style='text-align:center'>Thank you for your registration!</h3><br>";
                        echo 
"Now, check your email \"$primary_website_email\" for details on how to activate your new account \"$account_name\" which you just registered.";
                        exit();
                    }

]]>
PHP Development UniqueIdeaMan http://forums.devshed.com/php-development-5/syntax-error-unexpected-979669.html
<![CDATA[[Python 3 + Tkinter] Option Menu, Error Found!]]> http://forums.devshed.com/python-programming/979655-python-3-tkinter-option-menu-error-found-new-post.html Sat, 16 Dec 2017 17:47:41 GMT Hey Python Programmers... I try to create an option menu they create diffrence buttons... but i get an problem with it... *This is an test to train my self in programming... this is my script:* Code: --------- from tkinter import * Hey Python Programmers...

I try to create an option menu they create diffrence buttons... but i get an problem with it...

This is an test to train my self in programming... this is my script:
Code:

from tkinter import *

main = Tk()

def selectOption(optionselect):

    global select

    select = optionselect

    select = 'Image'

    if select == 'Image':
        selectOption_Image()
        buttonTexture.config(text = 'Texture' % (buttonTexture, buttonTextureExt))
        buttonPreview.config(text = 'Preview' % (buttonPreview, buttonPreviewExt))
        buttonExport.config(text = 'Export' % (buttonExport, buttonExportExt))

    if select == 'Texture':
        selectOption_Texture()
        buttonImage.config(text = 'Image' % (buttonImage, buttonImageExt))
        buttonPreview.config(text = 'Preview' % (buttonPreview, buttonPreviewExt))
        buttonExport.config(text = 'Export' % (buttonExport, buttonExportExt))

    if select == 'Preview':
        selectOption_Preview()
        buttonImage.config(text = 'Image' % (buttonImage, buttonImageExt))
        buttonTexture.config(text = 'Texture' % (buttonTexture, buttonTextureExt))
        buttonExport.config(text = 'Export' % (buttonExport, buttonExportExt))


    if select == 'Export':
        selectOption_Export()
        buttonImage.config(text = 'Image' % (buttonImage, buttonImageExt))
        buttonTexture.config(text = 'Texture' % (buttonTexture, buttonTextureExt))
        buttonExport.config(text = 'Export' % (buttonExport, buttonExportExt))


    def selectOption_Image():

        def selectOption_Image_Button():

            def printImage():

                print('')
                print('Image Found!')

            buttonImageExt = Button(main, command = printImage)
            buttonImageExt.pack()
            return buttonImageExt

        buttonImage = Button(main, command = selectOption_Image_Button)
        buttonImage.pack()
        return buttonImage

    def selectOption_Texture():

        def selectOption_Texture_Button():
           
            def printTexture():

                print('')
                print('Texture Found!')

            buttonTextureExt = Button(main, command = printTexture)
            buttonTextureExt.pack()
            return buttonTextureExt

        buttonTexture = Button(main, command = selectOption_Texture_Button)
        buttonTexture.pack()
        return buttonTexture


    def selectOption_Preview():

        def selectOption_Preview_Button():

            def printPreview():

                print('')
                print('Preview Render!')

            buttonPreviewExt = Button(main, command = printPreview)
            buttonPreviewExt.pack()
            return buttonPreviewExt

        buttonPreview = Button(main, command = selectOption_Preview_Button)
        buttonPreview.pack()
        return buttonPreview

    def selectOption_Export():

        def selectOption_Export_Button():

            def printExport():

                print('')
                print('Source Exported !')

            buttonExportExt = Button(main, command = printExport)
            buttonExportExt.pack()
            return buttonExportExt

        buttonExport = Button(main, command = selectOption_Export_Button)
        buttonExport.pack()
        return buttonExport

optionlist = ('Image', 'Texture', 'Preview', 'Export')

variable = StringVar()
variable.set(optionlist[0])

optionmenu = OptionMenu(main, variable, *optionlist, command = selectOption)
optionmenu.pack()


main.mainloop()

This is an simple test to train my self in programming and write software... but if i run this script,
i get an error... for more information...

This my error (# Image Button):
Quote:

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Gebruiker\Desktop\Software\Python\Ware\lib\tkinter\__init__.py", line 1699, in __call__
return self.func(*args)
File "C:\Users\Gebruiker\Desktop\Software\Python\Ware\lib\tkinter\__init__.py", line 3436, in __call__
self.__callback(self.__value, *args)
File "C:/Users/Gebruiker/Desktop/Options.py", line 14, in selectOption
selectOption_Image()
UnboundLocalError: local variable 'selectOption_Image' referenced before assignment
This is my error (#Texture Button):
Quote:

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Gebruiker\Desktop\Software\Python\Ware\lib\tkinter\__init__.py", line 1699, in __call__
return self.func(*args)
File "C:\Users\Gebruiker\Desktop\Software\Python\Ware\lib\tkinter\__init__.py", line 3436, in __call__
self.__callback(self.__value, *args)
File "C:/Users/Gebruiker/Desktop/Options.py", line 14, in selectOption
selectOption_Image()
UnboundLocalError: local variable 'selectOption_Image' referenced before assignment
This my error (# Preview Button):
Quote:

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Gebruiker\Desktop\Software\Python\Ware\lib\tkinter\__init__.py", line 1699, in __call__
return self.func(*args)
File "C:\Users\Gebruiker\Desktop\Software\Python\Ware\lib\tkinter\__init__.py", line 3436, in __call__
self.__callback(self.__value, *args)
File "C:/Users/Gebruiker/Desktop/Options.py", line 14, in selectOption
selectOption_Image()
UnboundLocalError: local variable 'selectOption_Image' referenced before assignment
And the error in the Export Button:
Quote:

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Gebruiker\Desktop\Software\Python\Ware\lib\tkinter\__init__.py", line 1699, in __call__
return self.func(*args)
File "C:\Users\Gebruiker\Desktop\Software\Python\Ware\lib\tkinter\__init__.py", line 3436, in __call__
self.__callback(self.__value, *args)
File "C:/Users/Gebruiker/Desktop/Options.py", line 14, in selectOption
selectOption_Image()
UnboundLocalError: local variable 'selectOption_Image' referenced before assignment
Pleace... said not thad this program is boring... this only an simple test to figure out, how i can
create diffrenct menu buttons... but i need some help with tkinter...

Can you correct my code, just i can expiriment with it ?... thanks for help,
Jamie... ]]>
Python Programming JamieVanCadsand http://forums.devshed.com/python-programming-11/python-3-tkinter-option-menu-error-found-979655.html
Returning PHP/JS via AJAX http://forums.devshed.com/javascript-development/979654-returning-php-js-via-ajax-new-post.html Sat, 16 Dec 2017 15:30:27 GMT Well, as long as I'm returning one or the other straight, things seemed fine, but when calling an action that needs to embed something in a page, the action fails. Overall, it seems the way I am trying to embed the HTML on the PHP side before returning the javascript back to AJAX.

Initial JS action: (Worked)
Code:

} else if(page == 'invoice' && action == 'select') {
  this.html(data[0]);
  this.append($('<input />', { type: 'hidden', value: values }));

Current Version: (Simplified to rule out many if/else conditions)
Code:

eval(data[0]);
Initial PHP: (Worked)
PHP Code:

case 'select':
  
$select select_account(key($_POST));
  echo 
json_encode(array($selectNULL));
  break; 

An Attempt:
PHP Code:

case 'select':
  
$select select_account(key($_POST));
  
$return "this.html('" $select "'); this.append($('<input />', { type: 'hidden', value: values }));";
  echo 
json_encode(array($returnNULL));
  break; 

The overall intent is to move all the JS/jQuery actions from the numerous if/else conditions over to the PHP file, and just have it return that action as well with its initial return. ]]>
JavaScript Development Triple_Nothing http://forums.devshed.com/javascript-development-115/returning-php-js-via-ajax-979654.html
The Concatenation Puzzle http://forums.devshed.com/php-development/979653-concatenation-puzzle-new-post.html Sat, 16 Dec 2017 14:51:31 GMT Php Experts, I have a concatenation question. I have seen tutorials teach concatenation in these 2 formats but the last format the most. Last format puzzling to me. Lessons teach to *just add the dot to join 2 strings or variables* (if I understood that correct). PHP: --------- Php Experts,

I have a concatenation question.
I have seen tutorials teach concatenation in these 2 formats but the last format the most.
Last format puzzling to me.
Lessons teach to just add the dot to join 2 strings or variables (if I understood that correct).

PHP Code:

<?php
$full_name 
$first_name." ".$surname;
echo 
"1. $full_name";
?>

Based on "to add a dot to join 2" is a good example above. Note the space inbetween the 2 double quotes. This space separates the first & surname.
So far, so good. So logical.

PHP Code:

$full_name "".$first_name." ".$surname."";
echo 
"2. $full_name";
?>


But wait! What is this example just above ? Weird!
I see a dot prior to $first name and I see a dot after the $first name and likewise I see in the $surname.
Why the extra dots (concatenators) prior and after the variables (or strings) ?
Ok, I can't understand the dot prior the $first_name. But, I can understand the dot after the $first_name as that dot joins the space inbetween the 2 double quotes.
And, I can understand the dot that comes after the 2 double quotes (that represent the space) and prior the $surname. But, I can't understand the dot that comes after the $surname.
I'm highlighting the 22 dots I don't understand. Just what exactly are they doing and what are they for ? What do they represent ?

Anyway, which format you use, the 1st or the last ? Somebody amended my script many months back to so:

Why I See Blank Page After Submitting Form And Why Echoing Fails ?

PHP Code:

$body  ".$first_name." ".$surname.",
                    <
html>
                    <
head>
                    <
title>Activation Link</title>
                    </
head>
                    <
body>
                    
You need to click on the following link <a href=".$account_activation_link.">.$account_activation_link.</ato activate your account.
                    </
body>
                    </
html>"; 

I'm switching it to this:

PHP Code:

$body  "$first_name." ".$surname,
                    <html>
                    <head>
                    <title>Activation Link</title>
                    </head>
                    <body>
                    You need to click on the following link <a href="
.$account_activation_link.">.$account_activation_link.</a> to activate your account.
                    </body>
                    </html>"



Good idea ? :) ]]>
PHP Development UniqueIdeaMan http://forums.devshed.com/php-development-5/concatenation-puzzle-979653.html