Featured Post Today
print this page
Latest Post

PHP Brief Definition

PHP definition

PHP Brief Definition

PHP is a widely-used open-source scripting language designed for web development and can also be embedded in HTML.

Key Points:

  • Meaning: PHP originally stood for "Personal Home Page," but now it is a recursive acronym for "PHP: Hypertext Preprocessor."
  • Purpose: It is primarily used to build dynamic and interactive websites.
  • Platform: Most commonly used on Linux web servers but is also compatible with various platforms like Windows and macOS.
  • Features:
    • Server-side execution.
    • Integration with databases like MySQL, PostgreSQL, and others.
    • Free and open-source with extensive community support.
  • Use Cases: Content Management Systems (like WordPress), e-commerce websites, APIs, and more.

In essence, PHP is a powerful tool for developers to create dynamic, database-driven websites efficiently.

0 comments

Pop Up Twitter Window Bookmark Code

Twitter Popup Window
Twitter Popup Window

Pop Up Twitter Window Bookmark Code

Here's the complete code and method to create a pop-up Twitter window bookmark on your Firefox browser:

Steps:

  1. Open Firefox.
  2. Make sure the Bookmarks Toolbar is visible. If not:
    • Right-click on the top of the browser (near the address bar).
    • Select Bookmarks Toolbar > Always Show.
  3. Right-click on the Bookmarks Toolbar and select Add Bookmark.
  4. In the New Bookmark window:
    • Name: Tweet
    • Location: Paste the following code into the location field:
Source:
javascript:window.open("https://twitter.com/intent/tweet?url=&text=&original_referer=","Post_Tweet","width=300,height=300")
  1. Click Add or Save.

How to Use:

  • Click the Tweet bookmark on your toolbar.
  • A small Twitter window will pop up where you can compose your tweet and post it directly.

 

0 comments

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