Welcome and have a nice stay !       login   register   need help?  

 Page Info

Page Title: Page URL with PHP
Description: The smallest cursor for a site with PHP
Author: KIRALEX
Submission Date: 11-09-2005 19:48

 Rating & Comments

View or add comments: (0)
Average members rating: 0



So I have written this simple cursor for 2 minutes.
The code means here.


Code :
// hide source code
// hide line numbers

1  <?php include_once("page/$id.php"); ?>



It should be inserted into that place where you wish to place a content.

It is used very simply. http: // sitename.com?id=PAGE where PAGE this name of the document without .PHP

The document should contain in a folder page in a root directory of your site. Also it should have a format .PHP


Simultaneously on a site it is possible to have some such cursors to address to them thus http: // sitename.com/index.php? id=1; b=test; c=test2; d=test3 where b=test means that cursor B loads page test.php in the specified folder. All elementary.

ps: Forgive for my English, it was necessary to print clause through the electronic translator.

Donation:

If you like our free quality work, make a donation by using Paypal and tell us what you would like to see improved on our site for the next few months.

Comments


No comments yet

 Site Activity
Currently online: 0 member(s), 39 guest(s) : All members offline.


 Quick Menu
sitemap
search
galleries
main
forums


 Our Services

Main Projects
Designers For Hire
Unique LDU Skins
LDU Skins For Sale
Seditio Skins For Sale
Templates For Sale


 Statistics
18582 registered members,
1870 topics in forums,
21586 posts in forums,
13589689 pages served since 2004-05-09.
more


 7th Version Design

+++
top