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
 
Copyright © 2011-2026. Samee Articles - All Rights Reserved
Proudly powered by Blogger