Featured Post Today
print this page
Latest Post

Increase Max Execution Time With .htaccess file

Max Execution Time
How to Increase Max Execution Time Using .htaccess

If you’ve been struggling with increasing the max execution time for your website, you’re not alone. Many users encounter this issue, especially when using cPanel, which doesn’t allow direct modifications to php.ini. However, if you’re using the Apache system with PHP, there’s a simple workaround using the .htaccess file.

This guide provides a shortcut to solve the issue without requiring access to WHM, WHMCS, root privileges, or a VPS/dedicated server.


Requirements

  1. Updated PHP Version: Ensure your PHP version is at least 5.x or higher.
  2. Verify PHP Version:
    • Create a file named info.php.
    • Add the following code to the file:
      php

      <?php phpinfo(); ?>
    • Upload this file to your server (e.g., yourdomain.com/info.php).
    • Open the file in your browser and search for PHP Version.
  3. Check Current Max Execution Time:
    • On the same page, search for max_execution_time to view the current limit.

Steps to Increase Max Execution Time

  1. Open your website’s .htaccess file.
    • This file is located in your website’s root directory.
  2. Add the following code to the .htaccess file:
    apache

    <IfModule mod_php5.c> php_value max_execution_time 900 </IfModule>
    • Explanation:
      • 900 seconds equals 15 minutes.
      • You can adjust this value based on your requirements.
  3. Save the file and test your changes.

Important Notes

  • This method works only if your server uses the Apache module and PHP is configured accordingly.
  • For PHP 7.x or later, you may need to replace 
mod_php5.c 
with 
mod_php7.c.
  • Always back up your .htaccess file before making changes.

By following this simple guide, you can increase your website’s max execution time without relying on root access or advanced hosting features. If you encounter issues, consult your hosting provider for further assistance.

0 comments

Auto Tag Generator Plugin Ignore Words list

auto tag generator
Auto Tag Generator Plugin for WordPress

If you’re looking for a seamless way to create tags for your WordPress blog, the Auto Tag Generator Plugin (Get Here) is a highly recommended solution. Rated 10 out of 8, this plugin is a popular choice for bloggers and website owners who want to automate the process of generating tags.


Why Use Auto Tag Generator?

The plugin offers several benefits:

  1. Automatic Tag Creation: Tags are generated directly from your blog titles, saving you time and effort.
  2. Optimized for SEO: Auto-generated tags can help improve your blog’s search visibility by targeting relevant keywords.
  3. Customizable Ignore Words: You can specify a list of words to exclude, ensuring that tags remain meaningful and relevant.

How It Works

  1. Installation: Install and activate the plugin on your WordPress site.
  2. Configuration:
    • Provide a list of words to ignore (e.g., "and," "the," "of").
    • Set preferences for tag generation, such as maximum tags per post.
  3. Automation: The plugin analyzes your post titles and generates tags automatically based on the content.

Who Should Use It?

The Auto Tag Generator plugin is ideal for:

  • Bloggers managing high volumes of content.
  • SEO enthusiasts aiming for better keyword targeting.
  • Website owners who want to save time on manual tag creation.

With this plugin, you no longer need to spend hours researching or brainstorming tags. It’s a smart, efficient tool for boosting your blog’s discoverability and ensuring your tags align with your content.

Setting => Auto Tag Generator
You can use my Ignore words list, which is given below.
a,
able,
about,
above,
abroad,
according,
accordingly,
across,
actually,
adj,
after,
afterwards,
again,
against,
ago,
ahead,
ain't,
all,
allow,
allows,
almost,
alone,
along,
alongside,
already,
also,
although,
always,
am,
amid,
amidst,
among,
amongst,
an,
and,
another,
any,
anybody,
anyhow,
anyone,
anything,
anyway,
anyways,
anywhere,
apart,
appear,
appreciate,
appropriate,
are,
aren't,
around,
as,
a's,
aside,
ask,
asking,
associated,
at,
available,
away,
awfully,
b,
back,
backward,
backwards,
be,
became,
because,
become,
becomes,
becoming,
been,
before,
beforehand,
begin,
behind,
being,
believe,
below,
beside,
besides,
best,
better,
between,
beyond,
both,
brief,
but,
by,
c,
came,
can,
cannot,
cant,
can't,
caption,
cause,
causes,
certain,
certainly,
changes,
clearly,
c'mon,
co,
co.,
com,
come,
comes,
concerning,
consequently,
consider,
considering,
contain,
containing,
contains,
corresponding,
could,
couldn't,
course,
c's,
currently,
d,
dare,
daren't,
definitely,
described,
despite,
did,
didn't,
different,
directly,
do,
does,
doesn't,
doing,
done,
don't,
down,
downwards,
during,
e,
each,
edu,
eg,
eight,
eighty,
either,
else,
elsewhere,
end,
ending,
enough,
entirely,
especially,
et,
etc,
even,
ever,
evermore,
every,
everybody,
everyone,
everything,
everywhere,
ex,
exactly,
example,
except,
f,
fairly,
far,
farther,
few,
fewer,
fifth,
first,
five,
followed,
following,
follows,
for,
forever,
former,
formerly,
forth,
forward,
found,
four,
from,
further,
furthermore,
g,
get,
gets,
getting,
given,
gives,
go,
goes,
going,
gone,
got,
gotten,
greetings,
h,
had,
hadn't,
half,
happens,
hardly,
has,
hasn't,
have,
haven't,
having,
he,
he'd,
he'll,
hello,
help,
hence,
her,
here,
hereafter,
hereby,
herein,
here's,
hereupon,
hers,
herself,
he's,
hi,
him,
himself,
his,
hither,
hopefully,
how,
howbeit,
however,
hundred,
i,
i'd,
ie,
if,
ignored,
i'll,
i'm,
immediate,
in,
inasmuch,
inc,
inc.,
indeed,
indicate,
indicated,
indicates,
inner,
inside,
insofar,
instead,
into,
inward,
is,
isn't,
it,
it'd,
it'll,
its,
it's,
itself,
i've,
j,
just,
k,
keep,
keeps,
kept,
know,
known,
knows,
l,
last,
lately,
later,
latter,
latterly,
least,
less,
lest,
let,
let's,
like,
liked,
likely,
likewise,
little,
look,
looking,
looks,
low,
lower,
ltd,
m,
made,
mainly,
make,
makes,
many,
may,
maybe,
mayn't,
me,
mean,
meantime,
meanwhile,
merely,
might,
mightn't,
mine,
minus,
miss,
more,
moreover,
most,
mostly,
mr,
mrs,
much,
must,
mustn't,
my,
myself,
n,
name,
namely,
nd,
near,
nearly,
necessary,
need,
needn't,
needs,
neither,
never,
neverf,
neverless,
nevertheless,
new,
next,
nine,
ninety,
no,
nobody,
non,
none,
nonetheless,
noone,
no-one,
nor,
normally,
not,
nothing,
notwithstanding,
novel,
now,
nowhere,
o,
obviously,
of,
off,
often,
oh,
ok,
okay,
old,
on,
once,
one,
ones,
one's,
only,
onto,
opposite,
or,
other,
others,
otherwise,
ought,
oughtn't,
our,
ours,
ourselves,
out,
outside,
over,
overall,
own,
p,
particular,
particularly,
past,
per,
perhaps,
placed,
please,
plus,
possible,
presumably,
probably,
provided,
provides,
q,
que,
quite,
qv,
r,
rather,
rd,
re,
really,
reasonably,
recent,
recently,
regarding,
regardless,
regards,
relatively,
respectively,
right,
round,
s,
said,
same,
saw,
say,
saying,
says,
second,
secondly,
see,
seeing,
seem,
seemed,
seeming,
seems,
seen,
self,
selves,
sensible,
sent,
serious,
seriously,
seven,
several,
shall,
shan't,
she,
she'd,
she'll,
she's,
should,
shouldn't,
since,
six,
so,
some,
somebody,
someday,
somehow,
someone,
something,
sometime,
sometimes,
somewhat,
somewhere,
soon,
sorry,
specified,
specify,
specifying,
still,
sub,
such,
sup,
sure,
t,
take,
taken,
taking,
tell,
tends,
th,
than,
thank,
thanks,
thanx,
that,
that'll,
thats,
that's,
that've,
the,
their,
theirs,
them,
themselves,
then,
thence,
there,
thereafter,
thereby,
there'd,
therefore,
therein,
there'll,
there're,
theres,
there's,
thereupon,
there've,
these,
they,
they'd,
they'll,
they're,
they've,
thing,
things,
think,
third,
thirty,
this,
thorough,
thoroughly,
those,
though,
three,
through,
throughout,
thru,
thus,
till,
to,
together,
too,
took,
toward,
towards,
tried,
tries,
truly,
try,
trying,
t's,
twice,
two,
u,
un,
under,
underneath,
undoing,
unfortunately,
unless,
unlike,
unlikely,
until,
unto,
up,
upon,
upwards,
us,
use,
used,
useful,
username,
uses,
using,
usually,
v,
value,
various,
versus,
very,
via,
viz,
vs,
w,
want,
wants,
was,
wasn't,
way,
we,
we'd,
welcome,
well,
we'll,
went,
were,
we're,
weren't,
we've,
what,
whatever,
what'll,
what's,
what've,
when,
whence,
whenever,
where,
whereafter,
whereas,
whereby,
wherein,
where's,
whereupon,
wherever,
whether,
which,
whichever,
while,
whilst,
whither,
who,
who'd,
whoever,
whole,
who'll,
whom,
whomever,
who's,
whose,
why,
will,
willing,
wish,
with,
within,
without,
wonder,
won't,
would,
wouldn't,
x,
y,
yes,
yet,
you,
you'd,
you'll,
your,
you're,
yours,
yourself,
yourselves,
you've,
z,
zero,
sex,
fuck,
condom,
dick,
pussy,
drug,
drugs,
xxx,
xx,
0 comments

How to add custom PHP Page or PHP Code in Wordpress?

PHP Code in Wordpress

How to Add PHP Code in WordPress Posts and Pages (Without Plugins)

By default, WordPress does not allow PHP code execution inside posts or pages for security reasons. However, if you need to add custom PHP functions without relying on plugins, follow this simple method to integrate PHP into your WordPress content.


Method: Using a Custom Template File

Step 1: Duplicate an Existing Template File

  • Navigate to your WordPress theme folder:
    wp-content/themes/your-theme/
  • Copy and duplicate page.php or single.php
  • Rename the duplicate file (e.g., custom-template.php)

Step 2: Modify the File Header

Open the newly created custom-template.php file and add the following lines at the top:


 <?php  
 ///////////////////////////////////////
 // File Name: FusionMarketPro.Online //
 ///////////////////////////////////////
 ?>  

4) This will allow WordPress to recognize it as a custom template.

Step 3: Add Your PHP Code

Inside custom-template.php, you can now insert your PHP functions anywhere within the content structure:

 <?php  
    echo "Hello, this is a custom PHP function in WordPress!";
?>

Step 4: Assign the Custom Template to a Page

  1. Create a new page or post in WordPress.
  2. In the Page Attributes section (right sidebar), select "Custom PHP Template" from the Template dropdown.
  3. Publish or update the page.

Benefits of This Method

✅ No need for additional plugins
✅ Direct control over PHP functions
✅ Customizable for advanced functionality

This approach is ideal for developers who want greater flexibility while maintaining WordPress security best practices.

0 comments

Date List Static Array with PHP Function Drop Down

Date List Static Array with PHP Function Drop Down :

Date list static array can help you to design contact form in offline mood. With this code, you can add dates in your form without using API system.

 <?php   
      $date = array(   
      '1'=>'1',  
      '2'=>'2',  
      '3'=>'3',  
      '4'=>'4',  
      '5'=>'5',  
      '6'=>'6',  
      '7'=>'7',  
      '8'=>'8',  
      '9'=>'9',  
      '10'=>'10',  
      '11'=>'11',  
      '12'=>'12',  
      '13'=>'13',  
      '14'=>'14',  
      '15'=>'15',  
      '16'=>'16',  
      '17'=>'17',  
      '18'=>'18',  
      '19'=>'19',  
      '20'=>'20',  
      '21'=>'21',  
      '22'=>'22',  
      '23'=>'23',  
      '24'=>'24',  
      '25'=>'25',  
      '26'=>'26',  
      '27'=>'27',  
      '28'=>'28',  
      '29'=>'29',  
      '30'=>'30',  
      '31'=>'31');   
 ?>   
  <html lang="us-en" xml:lang="us-en">   
   <head>   
       <style>   
         .form{   
            margin:10px auto;   
         }   
         .form label, select{   
            display:inline-block;   
            float:left;   
         }   
         .form label{   
            width:75px;   
         }   
         .body{   
            width:250px;   
            height:50px;   
            background-color:#C33;   
            padding:20 20 20 20;   
            margin:300px auto;   
         }   
    </style>   
   </head>   
   <body>   
     <div class="body">   
     <form class="form">   
       <div><label for="dates"><b>date:</b></label></div>   
        <div><select name="date" id="dates">   
                 <?php   
         foreach($date as $dates => $datenow)   
         {   
          echo'<option value="'.$dates.'">'.$datenow.'</option>';   
         }   
        ?>   
            </select>   
              </div>   
         </form>   
    </div>   
    </body>   
  </html>   

0 comments

Facebook Address List | Facebook Sub Domains List

Facebook Sub Domains
Facebook is using many sub domains to attract its users after getting FB.Com.

Facebook Sub Domains List

el-gr.facebook.com
www.beta.facebook.com
www.connect.facebook.com
es-la.facebook.com
tl-ph.facebook.com
act.facebook.com
es.facebook.com
graph.facebook.com
developers.facebook.com
zh-cn.connect.facebook.com
fi-fi.facebook.com
code.facebook.com
ns2.facebook.com
tr.facebook.com
th-th.facebook.com
dns.facebook.com
vi-vn.connect.facebook.com
csf.facebook.com
intern.facebook.com
x.facebook.com
bc.facebook.com
ar-ar.facebook.com
es-es.fbjs.facebook.com
ja-jp.facebook.com
id-id.facebook.com
ntp.facebook.com
static.ak.connect.facebook.com
nic.facebook.com
w.facebook.com
zh-tw.facebook.com
o.facebook.com
blog.facebook.com
et-ee.facebook.com
nb-no.facebook.com
www.hs.facebook.com
rdg.facebook.com
www2.facebook.com
lists.facebook.com
ads.facebook.com
fa-ir.facebook.com
ro-ro.connect.facebook.com
fr-fr.facebook.com
www.facebook.com
www.k.connect.facebook.com
touch.facebook.com
es-la.f.connect.facebook.com
www.zh-cn.connect.facebook.com
fb-lt.facebook.com
fr-fr.o.facebook.com
ru-ru.facebook.com
nsa.facebook.com
pt-br.facebook.com
static.ak.facebook.com
cs-cz.facebook.com
pt-pt.facebook.com
abc.facebook.com
he-il.facebook.com
vi-vn.facebook.com
www.prod.facebook.com
postmaster.facebook.com
ww.facebook.com
bg-bg.facebook.com
ed.facebook.com
pacific.facebook.com
about.facebook.com
da-dk.facebook.com
sv-se.facebook.com
en-gb.facebook.com
nova.facebook.com
ko-kr.connect.facebook.com
ns3.facebook.com
de-de.facebook.com
nl-nl.facebook.com
upload.facebook.com
www.ebuddy.com.php.zero.facebook.com
apps.facebook.com
zh-hk.facebook.com
ar-ar.vn-ni.connect.facebook.com
v4help.facebook.com
national.facebook.com
mbasic.facebook.com
it-it.facebook.com
ro-ro.facebook.com
fr.facebook.com
ns1.facebook.com
nl.facebook.com
beta.facebook.com
zh-cn.facebook.com
wwww.facebook.com
c.facebook.com
0.facebook.com
tr-tr.facebook.com
register.facebook.com
fr-ca.facebook.com
es-es.facebook.com
ko-kr.facebook.com
iphone.facebook.com
d.facebook.com
m.facebook.com
hr-hr.facebook.com
it.facebook.com
bs-ba.facebook.com
vi-vn.o.facebook.com
ms-my.facebook.com
secure.facebook.com
pixel.facebook.com
sr-rs.facebook.com
h.facebook.com
hu-hu.facebook.com
pl-pl.facebook.com
badge.facebook.com
accounts.fb.com
investor.fb.com
files.fb.com
vsp.fb.com
s.fb.com
docs.fb.com
newsroom.fb.com
search.fb.com
www.fb.com
postmaster.facebook.com
0 comments

PHP | Login Form | User Will Redirect According To Category

mysql database user category

Login Form Code As Category System:

Sometime you have to redirect user according to his category / position to specific page. So, here this login form code can help you. It is simple code and localhost tested.

 <?php  
  //header('location: index.php');  
  //session_start();  
 function confirm_query($data)  
      {  
           if(!$data)  
                die("Query Failed: " . mysqli_connect_error());       
      }  
 $username = $_POST['username'];  
 $password = $_POST['password'];  
 $host = "localhost";  
 $dbuser = "root";  
 $dbpass = "";  
 $db = "estate";  
      $con = mysqli_connect($host, $dbuser); //Connection with server  
      confirm_query($con);  
      $connection = mysqli_select_db($con, $db); //Database is connected here  
      confirm_query($connection);  
 if(isset($_POST['submit']))  
 {  
      $query = "SELECT * FROM users where username = '{$username}' and password = '{$password}';";  
      $all_users = mysqli_query($con, $query);  
      if(!$all_users)  
           echo 'user pass query not working;' . mysqli_connect_error();  
      $user = mysqli_fetch_array($all_users);  
      if(mysqli_num_rows($all_users) != 0)  
      {  
           if($username == $user[username] AND $password == $user[password])  
           {  
                if($user[Category] == "Receptionist")  
                {  
                     $_SESSION['username'] = $username;  
                     header("location: receptionist.html");  
                     exit;  
                }  
                //Example Like uncomment and change.   
                //make sessions and add code start_session(); in all pages start.  
                /*elseif($user[Category] == "Receptionist")  
                {  
                     $_SESSION['username'] = $username;  
                     header("location: receptionist.html");  
                     exit;  
                }*/  
           }  
      }  
 }  
 else  
 {  
      header("location: login.html");  
      exit;  
 }  
 ?>  

2 comments

C++ | How to show output | Lecture 10

How to show output | C Plus Plus

How to show output in C Plus Plus?

Here you will come to know how to show output in C++. Here a special command is used
cout
Pattern :
cout << "It is Samee Articles: Quality Written Codes Blog. It is How to show output article." ;
termination is very important. don't forget it.
thanks.


 /*  
  Name: Show Output.  
  Copyright: SameeArticles.blogspot.com (Quality Written Codes)  
  Author: Samee Ullah Feroz  
  Date: 26/01/14 23:03  
  Description: Here you will learn C++ basic syntax and function  
 */  
 #include <iostream>  
 int main()  
 { //body starts from here  
   using namespace std; //It will call all standard functions of C++ before body  
   cout << "Welcome to Quality Written Codes.";  
   cout << endl; //It is used to break line  
   cout << "\tSupported by Samee Ullah Feroz." << endl; //it is an other method to break line.  
   // "\t" is used to add tab like in PHP language.  
   system("pause"); //It will help to stop this program  
   return 0; // It will end this function.  
 } //body ends here  

0 comments

C++ | For Loop Basics | Lecture 9

Here you will learn how to create for loop in C plus plus. Some times you have to run for loop till condition satisfied.

 /*  
  Name: For Loop in C++  
  Copyright: SameeArticles.blogspot.com  
  Author: Samee Ullah Feroz  
  Date: 19/03/14 13:32  
  Description: Here you will learn about C++ for Loop system  
 */  
 #include <iostream>  
 #include <cmath> //it is for all math functions library  
 int main() //it is actually a function here  
   {  
    using namespace std;  
    int x;  
    for (x=0; x <=10; x++)  
      cout << x << endl;  
    system("pause");  
    return 0;  
   }   
0 comments

PHP | Detect User Browser Language

How to detect user browser language and how to use it in URL.
If you add this script above your file code.
Then url will be :
  • www.domain.com/index.php?lang=en
  • www.domain.com/index.php?lang=ar
  • www.domain.com/index.php?lang=es
  • www.domain.com/index.php?lang=fr
  • www.domain.com/index.php?lang=hu
  • www.domain.com/index.php?lang=ra
 Region wise. and you can use this to multilingual website.

 <?php  
 //Redirect by language  
 $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);  
 if(!isset($_GET['lang']))  
 {  
      //Retrieve location, set time  
      if(!isset($lang))  
      {  
           header("location: ".$_SERVER['PHP_SELF']);  
           exit;  
      }  
      else  
      {  
           header("location: ".$_SERVER['PHP_SELF']."?lang=".$lang);  
           exit;  
      }  
 }  
 ?>  

0 comments

Convert XML to PHP Array | Multilingual + Country wise SEO URL Solution

Multilingual + Country wise SEO URL Solution:

Example
https://www.samijeweller.com.com/index.php?loc=pk&lang=en
Here I did deep research that how can I use PHP for Multilingual websites?
But we need to keep in mind some topics like
  1. User IP Address Function
  2. User Language Function
  3. IP to XML
  4. XML to PHP Array Conversion
  5. URL Concept
  6. Language And Area codes concept
If you know these things then, you can use this function easily.

 <?php  
 //Redirect by language  
 $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);  
 $context = stream_context_create(array('http' => array('header' => 'Accept: application/xml')));  
 //redirect by IP  
 $_SESSION['ip'] = $_SERVER['REMOTE_ADDR'];  
 $ip = $_SESSION['ip'];  
 $data = file_get_contents("http://api.hostip.info/get_html.php?ip=".$ip."&position=true");  
 $arrayofdata = explode("\n", $data);  
 $country = explode(":", $arrayofdata[0]);  
 $count = explode(" ", $country[1]);  
 if(!isset($_GET['lang']) AND !isset($_GET['loc']))  
 {  
      //Retrieve location, set time  
      if(empty($count))  
      {  
           header("location: index.php?loc=us-en&lang=".$lang);  
           exit;  
      }  
      else  
      {  
           header("location: index.php?loc=".strtolower(trim($count[2],"()"))."&lang=".$lang);  
           exit;  
      }  
 }  
 ?>  

0 comments

CSS | Fix Background Image

How to fix background image with CSS?

<style>
html
    {
        height:100%;
        width:100%;
        background:url(http://www.southsoft.co.za/images/mysql.jpg) center center no-repeat;
        background-position:center;
 You can also give local file path
    }
</style>
0 comments

PHP | Website Validation Function


php validation function

PHP | Website Validation Function

Could you clarify what type of website validation function you need in PHP? Are you looking for:

URL validation (checking if a URL is valid)
Domain validation (checking if a domain exists)
Form input validation (ensuring users enter a valid website in a form)
Server-side HTTP status check (checking if a website is online or returning a specific response)

Let me know your specific requirement, and I'll provide you with a proper PHP validation function!

function validate_web($input_web)
   {  
   $input_web = preg_match("/\b(?:(?:https?|ftp):\/\/|www\.)[-a-z0-9+&@#\/%?=~_|!:,.;]*[-a-z0-9+&@#\/%=~_|]/i", $input_web);
   $input_web = trim($input_web);  
            $input_web = htmlspecialchars($input_web);  
            $input_web = stripcslashes($input_web);
   return $input_web;
   }

0 comments

PHP | Email Validation Function

PHP Email Validation Function
function validate_email($input_email)
   {  
   $input_email = preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $input_email);
   $input_email = trim($input_email);  
            $input_email = htmlspecialchars($input_email);  
            $input_email = stripcslashes($input_email);
   return $input_email;
   }
0 comments

PHP | Name Validation Function

PHP Name Validation Function
function validate_name($input_name)
   {  
   $input_name = preg_match("/^[a-zA-Z ]*$/", $input_name);
   $input_name = trim($input_name);  
            $input_name = htmlspecialchars($input_name);  
            $input_name = stripcslashes($input_name);
   return $input_name;
   }
0 comments

PHP | Number Validation Function

PHP number validation function
function validate_number($input_number)
   {  
   $input_number = preg_match ("/^[0-9]*$/", $input_number);
   $input_number = trim($input_number);  
            $input_number = htmlspecialchars($input_number);  
            $input_number = stripcslashes($input_number);
   return $input_number;
   }
0 comments

PHP | Form Validation Function

PHP Form Validation Function for your site.
function validate_email($input_email)
   {  
   $input_email = preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $input_email);
   $input_email = trim($input_email);  
            $input_email = htmlspecialchars($input_email);  
            $input_email = stripcslashes($input_email);
   return $input_email;
   }
0 comments

C++ | Usages of Arrays elements| Lecture 8

Lecture 8:
Here you will learn that how to use arrays elements and how to pray with them?
Arrays elements are located or called by their place number or name. Arrays elements place starts from [0]... to so on.

 /*  
  Name: More on arrays  
  Copyright: sameearticles.blogspot.com  
  Author: Samee Ullah Feroz  
  Date: 05/03/14 15:17  
  Description: Here you will learn about usage of arrays element.   
 */  
 #include <iostream>  
 #include <cmath> //it is for all math functions library  
 int main() //it is actually a function here  
   {  
    using namespace std;  
    int ages[3] = {21, 19, 9}; //2nd method  
    cout << ages[1] + ages [0] << endl;  
    system("pause");  
    return 0;  
   }   

0 comments

C++ | Beginning of Arrays | Lecture 7

beginning of arrays

Lecture 7:

Today we 'll discuss about Arrays in C++.
Array is a data structure, which allows us to collect same size and type of values in single variable. And if you need to call any specific value within array. You need to call its position. Here you will learn that how can we play will array in C++.

 /*  
  Name: Beginning Concept of Arrays  
  Copyright: Sameearticles.blogspot.com  
  Author: Samee Ullah Feroz  
  Date: 28/02/14 16:08  
  Description: Here you will learn about arrays that what is array?  
 */  
 #include <iostream>  
 #include <cmath> //it is for all math functions library  
 int main() //it is actually a function here  
   {  
    using namespace std;  
    int ages[3];  
    ages [0]=21;  
    ages [1] = 19;  
    ages[2] = 9;  
   cout << ages[1] + ages [0] << endl;  
    system("pause");  
    return 0;  
   }   
0 comments

C++ | Return Value in Function | Lecture 6

return value in function

Lecture # 6:

Here you will learn that how to return value in function in C++ programming?
It is a very useful way and important way. You will use it in your programming many times. It works with user define functions. Let's try it.
Here we take dog year example.

 /*  
  Name: Return Value in functions  
  Copyright: SameeArticles.blogspot.com  
  Author: Samee Ullah Feroz  
  Date: 24/02/14 16:17  
  Description: How to return value in function in C++?  
 */  
 #include <iostream>  
 #include <cmath> //it is for all math functions library  
 int dogyears(int); //it is int function and return int   
 int main() //it is actually a function here  
   {  
    using namespace std;  
    int years; // user define variable  
    cout << "enter your dogs age: ";  
    cin >> years;  
    int peopleyears = dogyears(years);  
    cout << "your dog is " << peopleyears << endl;  
    system("pause");  
    return 0;  
   }   
 int dogyears(int dog) //User define function.  
 {  
   return 7 * dog; //it will return a value a variable  
 }  
0 comments

C++ | Arguments In Functions | Lecture 5

arguments of functions
Default arguments in functions allow you to call specific arguments within the specific function.
Here we defined two functions.
pow() And rand()
And we use them to get the specific value.

 /*  
  Name: arguments in functions  
  Copyright: Sameearticles.blogspot.com  
  Author: Samee Ullah Feroz  
  Date: 27/01/14 00:10  
  Description: Using some other functions of mathematics.  
 */  
 #include <iostream>  
 #include <cmath> //it is for all math functions library  
 int main() //it is actually a function here  
   {  
    using namespace std;  
    double num1;  
    num1 = pow(2.0, 4.0); // power function like 2^4  
    cout << "power is = " << num1 << endl;  
    num1 = rand(); // random numbers  
    cout << "Random Number is = " << num1 << endl;  
    system("pause");  
    return 0;  
   }  

0 comments

C# Sharp Reserved Keywords List

reserve keywords
Those keywords, which are predefined in C Sharp Language compiler are called reserved keywords. But you can not use them as identifiers.
C# Sharp Reserved Keywords List Is Given Below:
abstract
catch
default
delegate
explicit
as
char
extern
base
checked
do
false
bool
class
double
finally
break
const
else
fixed
byte
continue
enum
float
case
decimal
event
for
foreach
interface
null
private
sealed
switch
ulong
volatile
goto
internal
object
protected
short
this
unchecked
while
if
is
operator
public
sizeof
throw
unsafe
implicit
lock
out
readonly
stackalloc
true
ushort
in
long
out
ref
static
try
using
namespace
override
return
string
 typeof
virtual
int
new
params
sbyte
struct
uint
void
0 comments

How to delete Yelp business page from Google?

yelp business page
I got new project about to delete Yelp business page from Google search indexing. I researched on this topic and I was come to know that many people are having same problem. There are many competitors in yelp for same business. So they give you bad review that you can drop your rank + clients. Some time, it creates big problem for you because
  1. Yelp locks your account
  2. You cannot delete your reviews
  3. You cannot delete your business page listing
  4. You cannot change your information
So, in this situations you can get bad effect on your business.
Yelp Google Search Results

There are about 1,210,000 results (0.53 seconds) with "How to delete a yelp business page?" keyword. So, now you can imagine it is big problem now a day.
But I have solution for it.
  1. You should create business page on Google Places.
  2. You need to know how to delete yelp listing results from Google search indexing.
    Problems with Google Search
  3. Your listing should be accurate.
  4. You need to submit URL removal request to Google
  5. Wait for better results
  6. Use your country IP and country Gmail account.
  7. Account profile should be in use not fake ID or new one.
Updated
If you think your are still unable to delete your listing from Google indexing. So, you don't need to worry. You can change your listing information. In Yelp Business Listing, only two things you can not change.
  • Business Name / Title
  • Category
And otherwise you can change complete information like address, website, phone.
check it.
Yelp Listing Information

And if you also want to change locked content like Business name and category.
Direct call to yelp department and make a proper reason that you can change your listing title.
Once your detail is changed, change your bio, history, specialties and other information.

Call on 877-924-9357, and press 1 extension to speak with live operator. I'll recommend you to call according to USA office timing like 9:00 AM to 5:00 PM -6:00 GMT Eastern Time Zone.

I hope, it will help you.

0 comments

C++ | Beginning Functions > Using math library functions | Lecture 4

math library functions

 Using Math Library Beginning Functions:

Here you will learn about Math Library Beginning Functions. Like
  1. Cos
  2. Sin
  3. Tan
  4. Sqrt
  5. Pow
  6. Log
  7. And More
But here, I'll just discuss one function that is
sqrt function >> Square root function >> text with the √ symbol
In below given code, you will learn that
1st) You should add
#include <cmath>
into the header. It is mathematics library in C Plus Plus, in which you can find all important math functions.
double num2;
num2 = sqrt (num1);
Here I am taking the square root of num1 variable. likewise, you just need to try same functionality to all math type functions.

 /*  
  Name: beginning functions   
  Copyright: sameearticles.blogspot.com  
  Author: Samee Ullah Feroz  
  Date: 26/01/14 23:49  
  Description: Using Math library functions....  
 */  
 #include <iostream>  
 #include <cmath> //it is for all math functions library  
 int main() //it is actually a function here  
   {  
    using namespace std;  
    double num1;  
    cout << "pick your number...." << endl;  
    cin >> num1;  
    double num2;  
    num2 = sqrt(num1); // variable not in quotes  
    cout << "The square root of = " << num1 << " is " << num2 << endl;  
    system("pause");  
    return 0;  
   }  

Try it.
0 comments

Basic on page optimization techniques for newbies

Basic on page optimization techniques for newbies:

On Page Optimization:

on page optimization tips
Selecting the relevant keywords is extremely crucial. The best keywords are really driving traffic to your web site. Search engine optimization has turned into one of the mainly significant methods of rising user to websites and providing untreated results of searching.
There are various websites with large potential and with good services offers. But the potential of these websites has to be translated into something concrete if the website owners desire to draw more traffic to their sites. Just offering high-quality products would not be sufficient. Your site should have well written content also, that will insert strength to your website by using keywords and expressions enhancing your site's visibility in search engines. To increase the traffic and visibility, on page SEO is necessary. On page SEO is the heart of SEO. With this, any web site cannot get the powerful traffic. And according to my analyze, Getacho Company is going good for on page optimization.

1. Having well researched keywords 

This is a key factor to use the right keywords in your web content in optimizing your web for visibility on search engine. First, you require to search out what the keywords relating to your website are generally used by users when they use the search engines.
Then these keywords would be used in your website's content to optimize your all web pages so they start appearing more in related searches and driving users to your website.

2. Using Meta tags properly

Meta tags are called tags. These are words or phrases which are usually set in an html or web page's code. Meta tags are description tags, title tags, body tags and keyword. Meta tags help search engine crawlers your website properly.

3. Keyword density

Having the correct keywords in content is not the only thing that's vital. Also, your web content must have the keyword density rightly. In a web page your keyword or key phrases must appear the correct number of times.
0 comments

PHP | How to destroy session?

PHP Session
On +Wizpert, Someone asked me that how to destroy session?
Session is used for specific purpose. like
  • Login user
  • Review creation
  • Forms Creation
  • Check Out system
  • And more
In this code you will learn, How to destroy session on logout click?


 <?php  
 $_SESSION = array(); // Oh Sorry here you need to null all sessions  
 setcookie(session_name(), '', time()-60); // here you will set cookies time back to age. like time()-60 mean . 1 minute before now.  
 session_destroy(); // here you will delete session  
 header("Location: login.php"); // here you will be reallocated to login.php page.  
 exit; // page code will be exit.  
 ?>  

I hope this can help you.
0 comments

C++ | How to get user input in C++? Lecture 3

user input

How to get user input in C++?
Here you need to use IOStream function
CIn >>
CIn is used to get input from the user but before it, You need to declare a variable in which you can serve your user value.
Note: "using namespace std" is important to add. It is used to add standard functions.
If you are thinking about
<<
So it is used as concatenation like in PHP dot operator performs

 /*  
  Name: cin function in C++  
  Copyright: sameearticles.blogspot.com  
  Author: Samee Ullah Feroz  
  Date: 26/01/14 23:39  
  Description: How to get user input in C++?  
 */  
 #include <iostream>  
 int main() //it is actually a function here  
   {  
    using namespace std;  
    int saminum; //we need to daclare a variable....  
      cout << "What is your age?" << endl; // << is as concatination remind it.  
      cin >> saminum;  
      cout << "My age is = " << saminum << "\n";   
      saminum = saminum + saminum;  
      cout << "double is = " << saminum << endl << "Enter to close it.";  
    system("pause");  
    return 0;  
   }  

0 comments

C++ | Modify variable and replace its values | Lecture 2

Variable:

Variable is certain type of variable which is liable to vary and change for specific purpose and according to its range.

Types of Variable:

Modify Variable And Replace Its Value:

In Lecture 2 you will learn about variable modification and replacement.
Once you define a variable you can easily use that for print out your data. as
mynumber = 55;  
cout << "My Number is = " << mynumber << endl;  
If you are thinking about
endl
endl (End Line), It is used to break the line.
As you know, why do we use
system("pause");
So we can stop our function anywhere and anytime. 
If you define a variable and show its value.
Again you replace another value to this same variable and again show its value. So, now its value will be changed because you have replaced its value. C++ or any other language always prefer to latest value.
You can also use addition, multiply or any mathematics rules for variables but you need to see its type.
Variable type is very important to describe. Variable is defined according to its range.

 /*  
  Name: Replace variable and modify value  
  Copyright: QWC.Me  
  Author: Samee Ullah Feroz  
  Date: 26/01/14 23:31  
  Description: Replace variable and modify value  
 */  
 #include <iostream>  
 int main()  
   {  
    using namespace std;  
    int mynumber; //we daclare mynumber is as variable and its type is integer.  
      mynumber = 55;  
      cout << "My Number is = ";  
      cout << mynumber << endl << "Please enter to show new value\n";  
      system("pause");  
      //replace variable  
      mynumber = 32;  
      cout << "My Number is = ";  
      cout << mynumber << endl << "Please enter to check addition of both values\n";  
      system("pause");  
      //again replace with arthmatics values.  
      mynumber = 32 + 55;  
      cout << "My Numbers addition is = ";  
      cout << mynumber << endl;  
    system("pause");  
    return 0;  
   }  
You can ask me any question regarding this lecture to Wizpert.

Download Free Perfect Uninstaller

0 comments
 
Copyright © 2011-2026. Samee Articles - All Rights Reserved
Proudly powered by Blogger