Posts tagged php

Read feedburner awareness api using php simplexml_load_file()

1

hi  cheap Drugstore all,

this is a simple php script to retrieve and read feedburner awareness xml file.

it is based on simplexml_load_file()  function.

all what  you need to do is changing the $title variable. all the best.

< ?php
$title="Dimw";
$apicall="https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=".$title;
$xml = simplexml_load_file($apicall);
echo "URI: ".$xml->feed['uri'];
echo "DATE: ".$xml->feed->entry['date'];
echo "CIRCULATION: ".$xml->feed->entry['circulation'];
echo "HITS: ".$xml->feed->entry['hits'];
echo "REACH: ".$xml->feed->entry['reach'];
?>


pligg, stories with no comments

17

Pligg is an open source digg clone. in addition to that, it cheap online buy Amoxil without prescription is flexible and very easy to modify.

Pligg shows published stories in the front page, and it has a link to show the queued stories.

moneygram washington style=”font-size: medium;”>Today I am going to levitra buying teach you the way to show both commented and not commented stories in the same way of published and queued diflucan buy pages.

The procedure contains many steps. Please be ready to face a tidy job.

Download the complete guide and (ready to use) files from here: pligg no-with comments

Adding those features to your pligg site will help you building a pligg-based Q & buy phentermine A website. Where stories are the questions and comments are the answers. More than this, you can configure pligg buy cheap levitra to not ask for a URL in the submission process. Last step is to give more points for comments by modifying buy cheap Ampicillin Drugstore online /libs/karma.php

Feel free to contact me if you have any questions.

1

write text on image using php

1


hello,

this is a simple method to write text on image using php. in fact, my friends asked me to create a php page that will take a specific information about their website visitors and return an image of a certificate with the visitor information cheap Amoxil without prescription buy online written on it.

the logic of the program has three steps:

  1. read input e.g. from a form
  2. write it on the certificate image
  3. return the new image to the browser

let us assume that visitors will need to enter their name, e-mail, country and zip code. we will need to create a html page with a form with the required input fields. such html page can look like this:

buy levitra online method=”get”>Name:

moneygram new york name=”name” type=”text” />

E-Mail:

Country:

diflucan buy cheap levitra cheap />

Zip Code:


the Ampicillin buy cheap Drugstore online php page will read the form data and write it on the image using a function called imagettftext();

imagettftext takes an image and draw the specified text on it. read more about it at

http://www.php.net/imagettftext

you can download the complete project from this link: write_on_images_dimw amoxil buy

Dynamic Meta keywords and description,PhpNuke

1

Hi all,

Even that PhpNuke is a popular CMS, still it has not implemented in a way that it can generate dynamic Meta keywords purchase levitra or descriptions for its pages. Fortunately, there are many modules to deal with this problem. They are easy to install, but really I can not make them run properly on my site. … No prob. I got angry and found a solution for my problem in my way.

download:

dynamic_meta_keywords_and_description_for_phpnuke

In the beginning we should understand the structure of the PhpNuke Meta generation. Just by looking on the folder (includes) you will find a file called (meta.php). That file is the one responsible for adding Meta for your site pages. blah blah blah …… jump!


Open (meta.php) find those lines:


$metastring .= “<META NAME=\”KEYWORDS\” CONTENT=\”……. “>\n”;

$metastring .= “<META NAME=\”DESCRIPTION\” CONTENT=\”…….”\”>\n”;

What we need is to replace the CONTENT value by our dynamic values.

* Dynamic KEYWORDS:

westernunion kentucky left; direction: ltr; unicode-bidi: embed;”>

First we need to download this module.

sn_dynamic_titles_addon

price cialis style=”font-size: medium;”>

After that you will need to upload (dynamic_titles.php) to (includes). Then open (header.php), find:


levitra buy medium;”>echo “<title>$sitename $pagetitle</title>\n”;

Change it to:

include(“includes/dynamic_titles.php”);

//echo “<title>$sitename $pagetitle</title>\n”;


Now open (meta.php) find this line:

$metastring .= “<META NAME=\”KEYWORDS\” CONTENT=\”……. “>\n”;


Change it to:

$metastring .= “<META NAME=\”KEYWORDS\” CONTENT=\”$newpagetitle, …any constant text….\”>\n”;

This will add the page title to the keywords of the page.

* Dynamic DESCRIPTION:

Now open (meta.php) find this line:

$metastring .= “<META NAME=\”DESCRIPTION\” CONTENT=\”…….”\”>\n”;

Change it to:

//dynamic DESCRIPTION

if ($_GET["sid"]!=”){

$dynamic_DESCRIPTION = $db->sql_fetchrow($db->sql_query(“SELECT hometext FROM “.$prefix.”_stories WHERE sid=’”.$_GET["sid"].”‘”));

$dynamic_DESCRIPTION = filter($dynamic_DESCRIPTION['hometext'], “nohtml”);

$metastring .= “<META NAME=\”DESCRIPTION\” CONTENT=\”".$dynamic_DESCRIPTION.”\”>\n”;}

else{

//it is not an article, generate the normal description.

$metastring .= “<META NAME=\”DESCRIPTION\” CONTENT=\”$newpagetitle, …any constant text….\”>\n”;

}

You may notice the word (“hometext”) in the select query. It is because PhpNuke use it to store the introduction part of the article, where the remaining text should be stored in the bodytext.

At this level, both of your site KEYWORDS and DESCRIPTION meta are dynamics.

All the best.

Own a website in no time and with no fees

0

Hi,

Nowadays many people dream of making there own websites. Their aims are vary from one to one. But I am sure that all of them have the aim to share something with others. As one of those people, I want to make a home page for myself, a blog to write my ideas and forum to discus things with my website visitors.

Years ago doing such a website is considered as an ultimate task for the ultimate web designer. Today there are many free websites engines, designs, etc, which allow starting of any website in no time. Just choose the website you want and start filling your data into it.

But the question is how we choose our website system and where to host it?

Obviously first we need to specify our requirements; cheap without prescription online Amoxil buy then search for the available systems that fill full them. So what do you want?

I want a home page:

This is the easiest. Open any software like FrontPage and start a home page project.

Or you may take a look on free website designs available on the web. Just take the design and change the content.

I want a blog:

There are many wonderful blog systems available. They allow a fast setup, and they are easy to use and manage. You may consider using one of the free blog systems like Blog, wordpress, etc.

I want forum:

Forums are very famous websites. Today they come with large number of cheapest generic levitra online features and functionality. VBuilten is a very famous forum. If you are looking for free alternative you may look for phpBB.

I want a mixture of above:

It is time to talk about CMS content management systems. Those systems are powerful enough to make things as easy as doing nothing. You setup them once then leave things to them.

There are many famous cms available as open source projects. You can choose anyone of them and start using it immediately. What you need is that you test the westernunion illinois alternatives cms you can get and find out if they are good enough to full fill your requirements.

If buy online cheap Ampicillin Drugstore you are looking for CMS then you may give a look for Joomla , durpal, phpnuke, xoops and other cms out there.

Now is the time to find a place to host our new website.

There are many sites that provide free hosting service with no additional fees. You may search the net for them. Just type: “free web host”.  Remember to check the features they give in buying diflucan online there free plans. You will need php support and mysql database.

Another solution is that you may register on some free services cialis buy vardenafil commercial provided by famous sites. Yahoo, wordpress and Google provide a free blog for there users. Yahoo and lycous provide a free home pages. levitra buying And you will find more offers if you search the net.

Do not forget to regist an attractive name for your site. You can find free domain names. CO.CC provides free domain names up to two per an account. It will be nice to get a domain like MyName.CO.CC

In the end I wish all the best for your new websites.

installing mysql, php , apache on ubuntu

0
installing buy cheap online Drugstore Ampicillin mysql, php , apache on ubuntu

i have got my lovely new aspire one note book , which Yamani (MY FRIEND) helped me formatting it and installing ubuntu in it.

buy generic levitra style=”text-align: center;”>

now i was thinking on the best way of using it and i think the best way is that i will need it in demonstrating the sites i create to the clients, well the problem is i need to install Apache, PHP, and MYSQL in the machine now to


moneygram new york be able to show the sites i have created.
so with some search and few tries this is the way of doing that

to install apache2 open the terminal and write the following command

sudo apt-get install apache2

then to start the diflucan 150 mg Apache services write

sudo /etc/init.d/apache2 start

now cheap online Amoxil buy without prescription you can check if Apache is working by visiting

http://localhost

now installing php return to the terminal and write
sudo apt-get install php5 libapache2-mod-php5

this will install php engine and it will be working with apache , but you need to restart apache for that by

sudo /etc/init.d/apache2 restart

and now if you want to test simply create a php file and put in apache buy penicillin sites directory which will be in
/var/www

installing MYSQL is again simple type the following in your terminal
sudo apt-get install mysql-server

while installing pay special care when it asks you for you mysql root password since if forget it it will not work

now to run mysql type

mysql -uroot -pyourpassword

and there we are every thing is ready to make my php site run on my ubuntu cialis online buy cheap levitra sale spire one box :)

Go to Top