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 Sat, 24 Feb 2018 08:02:49 GMT vBulletin 60 http://forums.devshed.com/images/misc/rss.png Dev Shed Forums http://forums.devshed.com/ Cheap India Dedicated Server - Hostripples! http://forums.devshed.com/web-hosting-offers/980126-cheap-india-dedicated-server-hostripples-new-post.html Sat, 24 Feb 2018 05:25:34 GMT *Cheap India Dedicated Server - Hostripples! * Get an high performance cheap India dedicated server,. Even though these are our cheap India dedicated server, we offers you a very high level of performance and security compared to THE competitors offers at a similar price level. You can host multiple projects or websites on cheap India dedicated server you control and manage with total...
Cheap India Dedicated Server - Hostripples!


Get an high performance cheap India dedicated server,. Even though these are our cheap India dedicated server, we offers you a very high level of performance and security compared to THE competitors offers at a similar price level. You can host multiple projects or websites on cheap India dedicated server you control and manage with total autonomy.

IND 100 A - $140/Month
Dual CPU Quad Core Server
8 GB ECC Upto 64 GB RAM
1X1 TB ENTERPRISE SATA HDD
100 Mbps Speed
1000 GB bandwidth
1 Free IP

Buy Now!

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


Visit:- Cheap India Dedicated Server

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/cheap-india-dedicated-server-hostripples-980126.html
Convert table to div http://forums.devshed.com/css-help/980125-convert-table-div-new-post.html Fri, 23 Feb 2018 22:56:56 GMT Hi; The table on desktop and big screen it looks good (https://ibb.co/gBVz7c). I want to convert the table to div so on phone the users see the listings and the details properly rather than this mess. Here is the page (http://free.waynedatingsystems.com/sites_list). If you resize it or check it on phone it looks bad. Thanks Hi;


The table on desktop and big screen it looks good.

I want to convert the table to div so on phone the users see the listings and the details properly rather than this mess.

Here is the page. If you resize it or check it on phone it looks bad.

Thanks ]]>
CSS Help English Breakfast Tea http://forums.devshed.com/css-help-116/convert-table-div-980125.html
MySQL database problem http://forums.devshed.com/mysql-help/980124-mysql-database-new-post.html Fri, 23 Feb 2018 17:30:55 GMT I don't a lot of experience in working with databases. But it is not necessary to be expert for understanding that Record-file is crashed. Such error message I got yesterday at opening MySQL database. I have to get my data back in some days, I'm on MySQL 8.0 under Win 10 x32. ]]> MySQL Help DangeloGill http://forums.devshed.com/mysql-help-4/mysql-database-980124.html PHP MVC + Javascript fetch api issue http://forums.devshed.com/php-development/980123-php-mvc-javascript-fetch-api-issue-new-post.html Fri, 23 Feb 2018 16:25:49 GMT Dear all, I am having problem passing form data to php mvc controller. I have controller = Assets.php method = process.php When I pass the url to fetch api, it throws 404 error. POST 301 Moved Permanently (http://localhost/app/views/assets/process) 404 Not found? here is the fetch Dear all,

I am having problem passing form data to php mvc controller.

I have controller = Assets.php
method = process.php

When I pass the url to fetch api, it throws 404 error. POST 301 Moved Permanently 404 Not found?

here is the fetch
Code:

let url = 'http://localhost/app/views';
        fetch(url + '/assets/process', {
            method: "POST",
            body: params,
          })

Far as I understood, my setup is 'assets' in the controller and 'method' is the process and 'param' is the params.
Any idea what I am doing? Am I passing the url correctly to the fetch?

Any suggestions would be greatly appreciated. ]]>
PHP Development Brume007 http://forums.devshed.com/php-development-5/php-mvc-javascript-fetch-api-issue-980123.html
<![CDATA[Why $stmt -> bind_result($result) Or mysqli_stmt_get_result($stmt) Fail ?]]> http://forums.devshed.com/php-development/980122-stmt-bind_result-result-mysqli_stmt_get_result-stmt-fail-new-post.html Fri, 23 Feb 2018 13:37:50 GMT bind_result" (sample 1) code works. But, sample 2 & 3 "mysqli_stmt_get_result($stmt)" does not work. Why is that ? I see a complete white blank page. Tbl has atleast 6 entries. And, sample 4 "mysqli_stmt_fetch($stmt)" only shows result from one column "date_and_time". Why is that ? I need it to show results from all columns. And, sample 5...]]> Php Folks,

On my following codes, the "$stmt->bind_result" (sample 1) code works.

But, sample 2 & 3 "mysqli_stmt_get_result($stmt)" does not work. Why is that ? I see a complete white blank page. Tbl has atleast 6 entries.

And, sample 4 "mysqli_stmt_fetch($stmt)" only shows result from one column "date_and_time". Why is that ? I need it to show results from all columns.

And, sample 5 "mysqli_stmt_fetch($stmt)" shows blank page.


SAMPLE 1: BIND RESULT WORKING
PHP Code:


<?php 

//Required PHP Files. 
include 'config.php'
include 
'header.php'

//Check if User is already logged-in or not. Get the login_check() FUNCTION to check. 
if (login_check() === FALSE
{
    
//Redirect User to Log-in Page after 2 secs. 
    
header("refresh:2; url=login.php"); 
    exit(); 

else 

    
$user $_SESSION["user"]; 
    
    
$id $_SESSION["id"]; 
    
$account_activation_status $_SESSION["account_activation_status"]; 
    
$id_video_verification_status $_SESSION["id_video_verification_status"]; 
    
$id_video_verification_url $_SESSION["id_video_verification_url"]; 
    
$sponsor_username $_SESSION["sponsor_username"]; 
    
$recruits_number $_SESSION["recruits_number"]; 
    
$on_day_number_on_7_days_wish_list $_SESSION["on_day_number_on_7_days_wish_list"]; 
    
$primary_website_domain $_SESSION["primary_website_domain"]; 
    
$primary_website_email $_SESSION["primary_website_email"]; 
    
$username $_SESSION["username"]; 
    
$first_name $_SESSION["first_name"]; 
    
$middle_name $_SESSION["middle_name"]; 
    
$surname $_SESSION["surname"]; 
    
$gender $_SESSION["gender"]; 
    
$age_range $_SESSION["age_range"]; 
    
$religion $_SESSION["religion"]; 
    
$marital_status $_SESSION["marital_status"]; 
    
$working_status $_SESSION["working_status"]; 
    
$profession $_SESSION["profession"]; 
    
    
$recipient_username $user;

    
?> 
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional/EN"> 
    <html> 
    <head> 
      <meta content="text/html; charset=ISO-8859-1"  http-equiv="content-type"> 
    <title><?php $user ?>Notices in <?php $server_time ?> time.</title>
    </head> 
    <body> 
    <br> 
    <center><span style="font-weight: bold;"><?php $user ?>Notices in <?php $server_time ?> time.</span></center> 
    <br> 
    <br> 
    
<?php 

$recipient_username 
$user
$query 'SELECT id, date_and_time, recipient_username, sender_username, message FROM notices WHERE recipient_username = ?';

if(
$stmt $conn->prepare($query)){
   
/*
        Binds variables to prepared statement

        i    corresponding variable has type integer
        d    corresponding variable has type double
        s    corresponding variable has type string
        b    corresponding variable is a blob and will be sent in packets
*/
   
$stmt->bind_param('i',$id);

   
/* execute query */
   
$stmt->execute();

   
/* Store the result (to get properties) */
   
$stmt->store_result();

   
/* Get the number of rows */
   
$num_of_rows $stmt->num_rows;

   
/* Bind the result to variables */
   
$stmt->bind_result($id$date_and_time$recipient_username$sender_username$message);

   while (
$stmt->fetch()) {
        echo 
'ID: '.$id.'<br>';
        echo 
'To: '.$recipient_username.'<br>';
        echo 
'From: '.$sender_username.'<br>';
        echo 
'Mssg: '.$message.'<br><br>';
   }

   
/* free results */
   
$stmt->free_result();

   
/* close statement */
   
$stmt->close();
}
}
?>


SAMPLE 2: GET RESULT NOT WORKING AS SHOWS BLANK PAGE
PHP Code:



<?php 

//Required PHP Files. 
include 'config.php'
include 
'header.php'

//Check if User is already logged-in or not. Get the login_check() FUNCTION to check. 
if (login_check() === FALSE
{
    
//Redirect User to Log-in Page after 2 secs. 
    
header("refresh:2; url=login.php"); 
    exit(); 

else 

    
$user $_SESSION["user"]; 
    
    
$id $_SESSION["id"]; 
    
$account_activation_status $_SESSION["account_activation_status"]; 
    
$id_video_verification_status $_SESSION["id_video_verification_status"]; 
    
$id_video_verification_url $_SESSION["id_video_verification_url"]; 
    
$sponsor_username $_SESSION["sponsor_username"]; 
    
$recruits_number $_SESSION["recruits_number"]; 
    
$on_day_number_on_7_days_wish_list $_SESSION["on_day_number_on_7_days_wish_list"]; 
    
$primary_website_domain $_SESSION["primary_website_domain"]; 
    
$primary_website_email $_SESSION["primary_website_email"]; 
    
$username $_SESSION["username"]; 
    
$first_name $_SESSION["first_name"]; 
    
$middle_name $_SESSION["middle_name"]; 
    
$surname $_SESSION["surname"]; 
    
$gender $_SESSION["gender"]; 
    
$age_range $_SESSION["age_range"]; 
    
$religion $_SESSION["religion"]; 
    
$marital_status $_SESSION["marital_status"]; 
    
$working_status $_SESSION["working_status"]; 
    
$profession $_SESSION["profession"]; 
    
    
$recipient_username $user;

    
?> 
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional/EN"> 
    <html> 
    <head> 
      <meta content="text/html; charset=ISO-8859-1"  http-equiv="content-type"> 
    <title><?php $user ?>Notices in <?php $server_time ?> time.</title>
    </head> 
    <body> 
    <br> 
    <center><span style="font-weight: bold;"><?php $user ?>Notices in <?php $server_time ?> time.</span></center> 
    <br> 
    <br> 
    
<?php 

if (!$conn)
{
    
$error mysqli_connect_error();
    
$errno mysqli_connect_errno();
    print 
"$errno$error\n";
    exit();
}

$recipient_username $user
$query "SELECT id, date_and_time, sender_username, message FROM notices WHERE recipient_username = ? ORDER BY recipient_username LIMIT 10";

$stmt mysqli_stmt_init($conn);
if(!
mysqli_stmt_prepare($stmt$query))
{
    print 
"Failed to prepare statement\n";
}
else
{
    
mysqli_stmt_bind_param($stmt"s"$id);

    
$notices_array = array('id','recipient_username','sender_username','message');

    foreach(
$notices_array as $notice)
    {
        
mysqli_stmt_execute($stmt);
        
$result mysqli_stmt_get_result($stmt);
        while (
$row mysqli_fetch_array($resultMYSQLI_NUM))
        {
            foreach (
$row as $r)
            {
                print 
"$r ";
            }
            print 
"\n";
        }
    }
}
mysqli_stmt_close($stmt);
mysqli_close($conn);

}
}
?>


SAMPLE 3: GET RESULT NOT WORKING AS SHOWS BLANK PAGE
PHP Code:


<?php 

//Required PHP Files. 
include 'config.php'
include 
'header.php'

//Check if User is already logged-in or not. Get the login_check() FUNCTION to check. 
if (login_check() === FALSE
{
    
//Redirect User to Log-in Page after 2 secs. 
    
header("refresh:2; url=login.php"); 
    exit(); 

else 

    
$user $_SESSION["user"]; 
    
    
$id $_SESSION["id"]; 
    
$account_activation_status $_SESSION["account_activation_status"]; 
    
$id_video_verification_status $_SESSION["id_video_verification_status"]; 
    
$id_video_verification_url $_SESSION["id_video_verification_url"]; 
    
$sponsor_username $_SESSION["sponsor_username"]; 
    
$recruits_number $_SESSION["recruits_number"]; 
    
$on_day_number_on_7_days_wish_list $_SESSION["on_day_number_on_7_days_wish_list"]; 
    
$primary_website_domain $_SESSION["primary_website_domain"]; 
    
$primary_website_email $_SESSION["primary_website_email"]; 
    
$username $_SESSION["username"]; 
    
$first_name $_SESSION["first_name"]; 
    
$middle_name $_SESSION["middle_name"]; 
    
$surname $_SESSION["surname"]; 
    
$gender $_SESSION["gender"]; 
    
$age_range $_SESSION["age_range"]; 
    
$religion $_SESSION["religion"]; 
    
$marital_status $_SESSION["marital_status"]; 
    
$working_status $_SESSION["working_status"]; 
    
$profession $_SESSION["profession"]; 
    
    
$recipient_username $user;

    
?> 
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional/EN"> 
    <html> 
    <head> 
      <meta content="text/html; charset=ISO-8859-1"  http-equiv="content-type"> 
    <title><?php $user ?>Notices in <?php $server_time ?> time.</title>
    </head> 
    <body> 
    <br> 
    <center><span style="font-weight: bold;"><?php $user ?>Notices in <?php $server_time ?> time.</span></center> 
    <br> 
    <br> 
    
<?php 


$id 
$_SESSION["id"]; 
//$query = 'SELECT id, date_and_time, recipient_username, sender_username, message FROM notices WHERE id = ?';

$query 'SELECT * FROM notices WHERE id = ?'


if(
$stmt $conn->prepare($query)){
 
/*
    Binds variables to prepared statement

    i    corresponding variable has type integer
    d    corresponding variable has type double
    s    corresponding variable has type string
    b    corresponding variable is a blob and will be sent in packets
 */
$stmt->bind_param('i',$id);

/* execute query */
$stmt->execute();

/* Get the result */
$result $stmt->get_result();

/* Get the number of rows */
$num_of_rows $result->num_rows;

while (
$row $result->fetch_assoc()) {
        echo 
'ID: '.$id.'<br>';
        echo 
'To: '.$recipient_username.'<br>';
        echo 
'From: '.$sender_username.'<br>';
        echo 
'Mssg: '.$message.'<br><br>';
}

/* free results */
$stmt->free_result();

}
}
?>


SAMPLE 4: FETCH RESULT NOT WORKING AS ONLY SHOWS DATE & TIME COLUMN DATA:
28 2018-02-21 20:58:49 29 2018-02-21 21:01:36 30 2018-02-21 21:02:17 31 2018-02-21 21:03:40 32 2018-02-21 21:13:20
PHP Code:

<?php 

//Required PHP Files. 
include 'config.php'
include 
'header.php'

//Check if User is already logged-in or not. Get the login_check() FUNCTION to check. 
if (login_check() === FALSE
{
    
//Redirect User to Log-in Page after 2 secs. 
    
header("refresh:2; url=login.php"); 
    exit(); 

else 

    
$user $_SESSION["user"]; 
    
    
$id $_SESSION["id"]; 
    
$account_activation_status $_SESSION["account_activation_status"]; 
    
$id_video_verification_status $_SESSION["id_video_verification_status"]; 
    
$id_video_verification_url $_SESSION["id_video_verification_url"]; 
    
$sponsor_username $_SESSION["sponsor_username"]; 
    
$recruits_number $_SESSION["recruits_number"]; 
    
$on_day_number_on_7_days_wish_list $_SESSION["on_day_number_on_7_days_wish_list"]; 
    
$primary_website_domain $_SESSION["primary_website_domain"]; 
    
$primary_website_email $_SESSION["primary_website_email"]; 
    
$username $_SESSION["username"]; 
    
$first_name $_SESSION["first_name"]; 
    
$middle_name $_SESSION["middle_name"]; 
    
$surname $_SESSION["surname"]; 
    
$gender $_SESSION["gender"]; 
    
$age_range $_SESSION["age_range"]; 
    
$religion $_SESSION["religion"]; 
    
$marital_status $_SESSION["marital_status"]; 
    
$working_status $_SESSION["working_status"]; 
    
$profession $_SESSION["profession"]; 
    
    
$recipient_username $user;

    
?> 
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional/EN"> 
    <html> 
    <head> 
      <meta content="text/html; charset=ISO-8859-1"  http-equiv="content-type"> 
    <title><?php $user ?>Notices in <?php $server_time ?> time.</title>
    </head> 
    <body> 
    <br> 
    <center><span style="font-weight: bold;"><?php $user ?>Notices in <?php $server_time ?> time.</span></center> 
    <br> 
    <br> 
    
<?php 

/* check connection */
if (!$conn) {
    
printf("Connect failed: %s\n"mysqli_connect_error());
    exit();
}

$id $_SESSION["id"]; 
/* prepare statement */
if ($stmt mysqli_prepare($conn"SELECT id, date_and_time, recipient_username, sender_username, message FROM notices ORDER BY id LIMIT 5")) {
    
mysqli_stmt_execute($stmt);

    
/* bind variables to prepared statement */
    
mysqli_stmt_bind_result($stmt$id$date_and_time$recipient_username$sender_username$message);

    
/* fetch values */
    
while (mysqli_stmt_fetch($stmt)) {
        
printf("%s %s\n"$id$date_and_time$recipient_username$sender_username$message);
    }

    
/* close statement */
    
mysqli_stmt_close($stmt);
}

/* close connection */
mysqli_close($conn);
}

?>


SAMPLE 5: FETCH RESULT NOT WORKING AS SHOWS BLANK PAGE

PHP Code:

<?php 

//Required PHP Files. 
include 'config.php'
include 
'header.php'

//Check if User is already logged-in or not. Get the login_check() FUNCTION to check. 
if (login_check() === FALSE
{
    
//Redirect User to Log-in Page after 2 secs. 
    
header("refresh:2; url=login.php"); 
    exit(); 

else 

    
$user $_SESSION["user"]; 
    
    
$id $_SESSION["id"]; 
    
$account_activation_status $_SESSION["account_activation_status"]; 
    
$id_video_verification_status $_SESSION["id_video_verification_status"]; 
    
$id_video_verification_url $_SESSION["id_video_verification_url"]; 
    
$sponsor_username $_SESSION["sponsor_username"]; 
    
$recruits_number $_SESSION["recruits_number"]; 
    
$on_day_number_on_7_days_wish_list $_SESSION["on_day_number_on_7_days_wish_list"]; 
    
$primary_website_domain $_SESSION["primary_website_domain"]; 
    
$primary_website_email $_SESSION["primary_website_email"]; 
    
$username $_SESSION["username"]; 
    
$first_name $_SESSION["first_name"]; 
    
$middle_name $_SESSION["middle_name"]; 
    
$surname $_SESSION["surname"]; 
    
$gender $_SESSION["gender"]; 
    
$age_range $_SESSION["age_range"]; 
    
$religion $_SESSION["religion"]; 
    
$marital_status $_SESSION["marital_status"]; 
    
$working_status $_SESSION["working_status"]; 
    
$profession $_SESSION["profession"]; 
    
    
$recipient_username $user;

    
?> 
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional/EN"> 
    <html> 
    <head> 
      <meta content="text/html; charset=ISO-8859-1"  http-equiv="content-type"> 
    <title><?php $user ?>Notices in <?php $server_time ?> time.</title>
    </head> 
    <body> 
    <br> 
    <center><span style="font-weight: bold;"><?php $user ?>Notices in <?php $server_time ?> time.</span></center> 
    <br> 
    <br> 
    
<?php 

/* check connection */
if (!$conn) {
    
printf("Connect failed: %s\n"mysqli_connect_error());
    exit();
}

$id $_SESSION["id"]; 

$stmt mysqli_prepare($conn'SELECT id, date_and_time, recipient_username, sender_username, message FROM notices WHERE recipient_username=?');
mysqli_stmt_bind_param($stmt's'$recipient_username);
mysqli_stmt_execute($stmt);

$notices_row = array();
mysqli_stmt_bind_result($stmt$notices_row['id'], $notices_row['date_and_time'], $notices_row['recipient_username'], $notices_row['sender_username'], $notices_row['message']);
while (
mysqli_stmt_fetch($stmt)) 
{
  echo 
'<p>' $notices_row['id'] . '</p>';
  echo 
'<p>' $notices_row['date_and_time'] . '</p>';
  echo 
'<p>' $notices_row['recipient_username'] . '</p>';
  echo 
'<p>' $notices_row['sender_username'] . '</p>';
  echo 
'<p>' $notices_row['message'] . '</p>';
}

}

?>


Ignore my column names if they seem silly. First things first, got to fix why the row results are not displaying on page for the get_result and fetch_result, before renaming columns.
I'd appreciate it if anyone takes some of my sample codes (if not all) and edits it and shows where I went wrong by showing the edited sample(s). But, I prefer someone be kind enough to edit all samples.

Thanks! ]]>
PHP Development UniqueIdeaMan http://forums.devshed.com/php-development-5/stmt-bind_result-result-mysqli_stmt_get_result-stmt-fail-980122.html
US Canada Europe DC | SSD/HDD Hosting | Free SSL | PHP7 | CloudFlare - Prewebhost.com http://forums.devshed.com/web-hosting-offers/980121-canada-europe-dc-ssd-hdd-hosting-free-ssl-php7-cloudflare-prewebhost-com-new-post.html Fri, 23 Feb 2018 11:58:10 GMT *Looking for 20x faster speed and performance? Checkout our Linux Hosting plans which are hosted on Pure SSD / RAID 10 drives and are built for high traffic websites with low number of customers per server. Our pledge is to provide our customers with nothing but the best-quality and the most fully-featured services at reasonable prices. By choosing the services of Prewebhost.com, customers... Looking for 20x faster speed and performance? Checkout our Linux Hosting plans which are hosted on Pure SSD / RAID 10 drives and are built for high traffic websites with low number of customers per server.

Our pledge is to provide our customers with nothing but the best-quality and the most fully-featured services at reasonable prices. By choosing the services of Prewebhost.com, customers both reduce their expenditures and save time, so think about this deal and contact us if you have more queries related with this and we will be more than happy to help you with your queries.

Features offered with Prewebhost's $1 unlimited hosting :


24x7 Live Chat and Ticket Support
99.9% UpTime Guarantee
30 Day Money Back Guarantee
cPanel control panel to manage account
Easy Domain Transfer to Preweb.com
FREE Site transfer from your old host.
FREE Web Application Installer with all latest PHP scripts.
FREE Hosting duration with all plans for specific billing cycle.
FREE & instant Account Setup
FREE Private Name Servers
Latest and Old PHP Version
Multiple Geo Locations
Free Auto SSL
Free Migration Service
Free SEO Tools
Unlimited Space
Unlimited Bandwidth
Easy Billing upgrades
Discounted Price Available

https://www.prewebhost.com/

Please visit Prewebhost.com to know complete list of features included in our hosting plans. In case of any queries, you can email us at sales@prewebhost.com or contact our 24x7 Online Chat representative through our website.


Regards,
Sales Team
Prewebhost.com
Since 2010
]]>
Web Hosting Offers juankarlos http://forums.devshed.com/web-hosting-offers-100/canada-europe-dc-ssd-hdd-hosting-free-ssl-php7-cloudflare-prewebhost-com-980121.html
$1/month - Free Backups - DDoS - Lets Encrypt SSL - Paypal - Dollar1hosts.com! http://forums.devshed.com/web-hosting-offers/980120-1-month-free-backups-ddos-encrypt-ssl-paypal-dollar1hosts-com-new-post.html Fri, 23 Feb 2018 11:39:35 GMT *Dollar1hosts.com offers highly reliable web hosting service in the industry at extremely affordable prices. We manage our own servers and have access and configure the servers in all aspects that we want. Our technical staffs works 24/7 to make sure the server always fast to improve SEO for our clients websites. We are confident to offer full refund to any client if your web service has uptime... Dollar1hosts.com offers highly reliable web hosting service in the industry at extremely affordable prices. We manage our own servers and have access and configure the servers in all aspects that we want. Our technical staffs works 24/7 to make sure the server always fast to improve SEO for our clients websites. We are confident to offer full refund to any client if your web service has uptime less than 99.9% for any given month. If you have just started your online business, or you simply want a hosting service for your personal website, our BASIC plan is a perfect choice since it costs only $0.50 per month if you pay for yearly billing cycle. The disk space and bandwidth should be many times more than enough for standard websites.

We provide 24x7 Live support via Live chat and E-Mail...So what are you waiting for, just sign up now and get you account activated and setup instantly.

Key Factors For Dollar1hosts.com :

- Unlimited Linux Reseller
- Web Host Manager Panel
- Max Feature Reseller Hosting
– Free Migration Services
– Ideal plans for wordpress Hosting
– Ideal plans for third party scripts or apps
– Multiple GEO Locations
– SEO Tools for search engine submissions
– 24Χ7 Live Chat Support
- Free Migration Service-Half
- Fixed Pricing for Lifetime
- No Hidden Fees
- Unconditional Money Back Guarantee.
- Cheaper Dedicated Servers
- Low Cost Dedicated Servers
- Life Time Fixed Pricing
- Fast Issue Resolution
- Priority Based Customer Support
- Best $1 Unlimited Hosting
- Paypal As an Payment Gateway
- Free Auto SSL


https://www.dollar1hosts.com/ - 1 $ Hosting, $ 1 hosting, 3 dollar reseller, cheap host $1, hosting offers, web hosting offers, reseller hosting offers, instantcpanelhosting, cheap hosting, hosting, cpanel host, wordpress host, cheap web host, budget wordpress hosting, unlimited cpanel hosting, unlimited db hosting, unlimited mysql, unlimited databases, web hosting, hosting, web hosting, linux shared hosting, half dollar hosting, one dollar hosting, $1 hosting, $1 web hosting, $1 unlimited hosting, reliable web hosting, affordable web hosting, latest php hosting, free ssl hosting, money back hosting, cheap dedicated servers, low cost dedicated serfvers, priority hosting support, 24x7 support, best support hosting, dollar1hosts, dollar1host, dollar 1 host, dollar host, 1 dollar host, 1 dollar hosting, 1 dollar web, web hosting $1, cheap hosting solutions, cheap vps hosting, cheap ssl cert, free dedicated hosting, free domain hosting.

HURRY UP.

If you have any query feel free to contact us.
————
Dollar1hosts.com
Sales/Support Team
]]>
Web Hosting Offers karryjones http://forums.devshed.com/web-hosting-offers-100/1-month-free-backups-ddos-encrypt-ssl-paypal-dollar1hosts-com-980120.html
<![CDATA[Domain Registration Promo | .ONLINE .ME & More | Limited time Offer]]> http://forums.devshed.com/web-hosting-offers/980119-domain-registration-promo-online-limited-time-offer-new-post.html Fri, 23 Feb 2018 11:14:10 GMT Temok not only provides the Internet presence services including Website Designing, Website Development, Website Hosting but at the same time we are the best quality domain registration company which provide Domain Registration services. It's quick to sign-up and also easy to manage your domain names by using the established provider. We provide you the benefit of years of expertise you can rely on and trust. Signup it immediately through us. If you offer a special or a unique service or a product, you will also want to register the names of this kind of services and items too. We ensure the most affordable domain name registration and also renewal for the life of your account with us, we offer low cost domain name registration service with premium benefits.


We are proudly offering Discounted Domain Registration for Limited Time. Below you will find all TLDs with discounted price & Promo Code.

Terms & Conditions:

➛ Prices and dates are subject to change without prior notice.
➛ Promotional prices apply only to first year for new registrations.

.PW
Price: $4.80/Year
Promo Code: TLDPW48
Expiry Date: 06/30/18

.SPACE
Price: $6.00/Year
Promo Code: TLDSPACE6
Expiry Date: 06/30/18

.WEBSITE
Price: $9.10/Year
Promo Code: TLDWEBSITE91
Expiry Date: 06/30/18

.SITE
Price: $9.60/Year
Promo Code: TLDSITEONLINE
Expiry Date: 06/30/18

.ONLINE
Price: $9.60/Year
Promo Code: TLDSITEONLINE
Expiry Date: 06/30/18

.CLUB
Price: $12.00/Year
Promo Code: TLDLINK12
Expiry Date: 06/30/18

.CLICK
Price: $12.00/Year
Promo Code: TLDCLICK12
Expiry Date: 03/31/18

.LINK
Price: $12.00/Year
Promo Code: TLDCLICK12
Expiry Date: 03/31/18

.STORE
Price: $12.00/Year
Promo Code: TLDLINK12
Expiry Date: 06/30/18

.ME
Price: $12.00/Year
Promo Code: TLDLINK1212
Expiry Date: 12/31/18

.SHOP
Price: $14.40/Year
Promo Code: TLDSHOP144
Expiry Date: 06/30/18

.BLOG
Price: $14.40/Year
Promo Code: TLDBLOG144
Expiry Date: 03/31/18

.TECH
Price: $16.80/Year
Promo Code: TLDPRESS168
Expiry Date: 06/30/18

.PRESS
Price: $16.80/Year
Promo Code: TLDPRESS168
Expiry Date: 06/30/18

.GIFT
Price: $19.20/Year
Promo Code: TLDGIFT192
Expiry Date: 03/31/18

.HELP
Price: $24.00/Year
Promo Code: TLDHOST24
Expiry Date: 03/31/18

.PHOTO
Price: $24.00/Year
Promo Code: TLDHOST24
Expiry Date: 03/31/18

.HOST
Price: $24.00/Year
Promo Code: TLDHOST24630
Expiry Date: 06/30/18

We are offering some Additional Features for free at the moment.

◌ DNS Management
◌ Email Accounts
◌ Domain Forwarding
◌ Mail Forwarding
◌ Domain Theft Protection
◌ Cheap Privacy Protection
◌ Bulk Tools
◌ Easy to use Control Panel
◌ Lowest Price Guarantee
◌ 24/7 Support
◌ Instant Activation

The individuals who work at Temok are from the industry and most of them possess over 6-8 years practical experience in the web hosting market. Our employees are indeed our main power and we are at all times spending money on different individuals with fresh suggestions.

➛ We accept VISA, MasterCard, American Express, PayPal, WorldPay and Diners Club International for payment.

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/domain-registration-promo-online-limited-time-offer-980119.html
<![CDATA[Where did Northie and ManiacDan's Avatar ManiacDan go?]]> http://forums.devshed.com/dev-shed-lounge/980118-northie-maniacdans-avatar-maniacdan-new-post.html Fri, 23 Feb 2018 06:16:33 GMT This guy was really good. This one too. What happened to them?

I hope we don't lose Kicken or Requnix like that. ]]>
Dev Shed Lounge English Breakfast Tea http://forums.devshed.com/dev-shed-lounge-26/northie-maniacdans-avatar-maniacdan-980118.html
Abstract class and methods, favor composition over inheritance... http://forums.devshed.com/php-development/980117-abstract-class-methods-favor-composition-inheritance-new-post.html Fri, 23 Feb 2018 06:10:11 GMT Someone, please explain these:

1 - "If every subclass needs to define its own method for determining what it's area should be (for example circle, square etc), then we create an abstract method in the parent class and we refer to it as Template Method Design Pattern". Sub-class must provide the content of the method.

2 - "If the parent class is designed to extract common behavior, we make it abstract."

3 - "Favor composition over inheritance".

4 - Is this a new php thing [$jeff]?
PHP Code:

$staff = new staff([$jeff]); 

Thanks ]]>
PHP Development English Breakfast Tea http://forums.devshed.com/php-development-5/abstract-class-methods-favor-composition-inheritance-980117.html
Transition to latest php/mysql http://forums.devshed.com/php-development/980116-transition-php-mysql-new-post.html Thu, 22 Feb 2018 23:04:01 GMT I need advice. I'm not sure where to start. I need to transition a bunch of code from php 4.3.8 to whatever the latest flavor is king.

Where would you advise I start? Why do you advise I start there?

As always, thanks for the help. I appreciate it more than I can say. ]]>
PHP Development HeadElf http://forums.devshed.com/php-development-5/transition-php-mysql-980116.html
<![CDATA[[Python 3] While Loop Name Script not Works..., Help Needed!]]> http://forums.devshed.com/python-programming/980115-python-3-loop-name-script-help-new-post.html Thu, 22 Feb 2018 19:44:06 GMT Hey Python Programmers...

I try to create an script you must typ an name, to find his hobby...
This script must be run to typ all names minimal 1x... but it doesn't...

So this i my script, writting in python 3 on windows 10:
Code:

# Mijn Eerste Collectie:
Run = True

HOBBYS = {'Jamie' : 'Natuurkunde',
        'Ellister' : 'Darten',
        'Sander' : 'Lezen',
        'John' : 'Muziek',
        'Rob' : 'Speelgoed'}

while Run:

    NAMES = str(input('Typ een naam om zijn hobby te weten: '))

    if NAMES in HOBBYS:
        print(HOBBYS[NAMES])
    elif (HOBBYS == HOBBYS):
        Run = False
    else:
        print('Deze naam bstaat niet!')



Sorry for my dutch, i am an dutch user and living in holland... but for this script,
it don't works perfectly...

The problem is thad i want, if you get all the five names typed and get all hobbys (or
reather the awnsers) or tupled names (just you get all names in the list above)...

than my while loop must stop running... but it don't works...

The problem is thad if you typ not the current names (you must be find in my list tuple),
than stop it with running, even if you don't get all names (may be find in the tupple list)...

As example you typ Bart (this name is not generated in this list tuple above)....., this
script stop with running, but even you don't get all names typed, thad i get generated
in my tuple list...

This is just the problem... just please, can enyone help me to correct my code ?...
so i can expiriment with it ?....

Thanks for help, Jamie.... ]]>
Python Programming JamieVanCadsand http://forums.devshed.com/python-programming-11/python-3-loop-name-script-help-980115.html
Redirect blocks the site search button http://forums.devshed.com/regex-programming/980114-redirect-blocks-site-search-button-new-post.html Thu, 22 Feb 2018 18:40:31 GMT Hello
in my .htaccess I have this redirect..

RewriteRule .? https://www.mysite.it/%{REQUEST_URI}? [R=301,L]

Unfortunately block button search.. that should give this URL

https://www.mysite.it/?s=whatsapp&cat=0

Can you help me?
Thanks
Fabrizio ]]>
Regex Programming fabry19dice http://forums.devshed.com/regex-programming-147/redirect-blocks-site-search-button-980114.html
Redirect paths images .htaccess http://forums.devshed.com/regex-programming/980113-redirect-paths-images-htaccess-new-post.html Thu, 22 Feb 2018 18:34:29 GMT Hello I have this path of images that I want to redirect to this other path: FROM https://www.mysite.com/image.axd?picture=/2014/12/whatsapp-emoji.jpg TO https://www.mysite.com/wp-content/uploads/upload//2014/12/whatsapp-emoji.jpg Request is for my .htaccess file. Hello
I have this path of images that I want to redirect to this other path:

FROM
https://www.mysite.com/image.axd?pic...sapp-emoji.jpg

TO
https://www.mysite.com/wp-content/up...sapp-emoji.jpg

Request is for my .htaccess file.

Can you help me?
Thank you
Fabrizio ]]>
Regex Programming fabry19dice http://forums.devshed.com/regex-programming-147/redirect-paths-images-htaccess-980113.html
Find and colour text in DataGridView http://forums.devshed.com/programming/980112-colour-text-datagridview-new-post.html Thu, 22 Feb 2018 16:45:46 GMT This uses the DGV's CellFormatting event to search for text and apply a colour to it. Deleting the search text and performing the search again will remove the colour.

I'm using a TextBox and a Button to perform the search.
You could use a background colour instead, or both.
It searches every cell, but you could restrict it to particular columns using e.columnIndex.
This code was created using https://txeditor.com/

Code:

public partial class Form1 : Form {
    string searchTerm = String.Empty;
    bool searching = false;

    public Form1() {
        InitializeComponent();
    }

    private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) {
        if (searching && e.Value != null) {
            string stringValue = (string)e.Value;
            stringValue = stringValue.ToLower();
            if ((stringValue.IndexOf(searchTerm) > -1)) {
                e.CellStyle.ForeColor = Color.Red;
            }
        }
    }

    private void button1_Click(object sender, EventArgs e) {
        searchTerm = textBox1.Text;
        searching = !String.IsNullOrWhiteSpace(searchTerm);
        dataGridView1.Invalidate();
    }
}

]]>
C Programming bnwebdesign1 http://forums.devshed.com/programming-42/colour-text-datagridview-980112.html