Algorithms Arrays Passwords Uncategorized
Commerce Uncategorized
Databases Abstraction Layers Informix LDAP MS SQL MySQL ODBC PostgreSQL Uncategorized
Date & Time Calculators Conversion Translation Uncategorized
Discussion Chat Forums Guestbooks Polls Uncategorized
Email Validation Uncategorized
External Uncategorized
Files and Directories Uncategorized
Games Uncategorized
Graphics 3-D Graphs Resizing Thumbnails Uncategorized
HTML Forms Menus & Navigation Source Viewers Tables Templates Uncategorized
HTTP Authentication Cookies File Uploading Uncategorized
I18N Uncategorized
Math Uncategorized
Miscellaneous Uncategorized
Searching and Trees Uncategorized
Security Uncategorized
Text Uncategorized
Utilities Calendars Counters Link Checkers Weather Uncategorized
XML Uncategorized
| php sample source codes |
|---|
|
Similar to a breadcrumbs script, it automatically completes the <title> field using directory and filename information
|
|
Windows with maximize and minimize features. You can even include a window inside another. Better see the example...
|
|
This Script will make an automatic reload of the current page, but only for a limited number of time (useful to update content without wasting ressources)
|
|
A scriptlet to generate links out of the letters of the alphabet.
|
|
This function just extract the html tags from a string and put them in a array like<br>
["IMG"][0]["WIDTH"] = 130<br>
I think this is useful for who wants get some tag properties. For example, I created it to help me developing a bot to search throught a website and
it was designed just to get tags information.
By now, for getting meta tags is still better using the php functions.
Any doubts you can email me at carlosjordao@yahoo.com, but don't worry if I answer you from another address.
|
|
Sick of forgetting to close tags</b> when generating tables and HTML documents in a PHP script? This library contains 2 classes: <ul><li><b>CTagDocument</b> <li><b>CHTMLDocument</b> (an extension of CTagDocument).</ul> These classes track HTML tags as you open and close them; CHTMLDocument is geared towards generation of a complete HTML document, while CTagDocument can be used for structures like TABLE and LIST. Basic HTML formatting is also done for you. These <b>classes do not buffer</b> their output to memory - they <b>echo()</b> their output to the browser as they go. Call 'CloseAllTags()' to properly close all open tags, or 'CloseTag()' to close the current tag. See the example below...
|
|
This function allows to form query string with a values added to it from current query string
|
|
we can notes in a PDF documents
|
|
this small program will allow you to add
or delete URL from your website with your own password without editing or changing any code.Very easy to understand and uses easy javascripts
|
|
This fragment allows you to click on an annimated gif. It will then popup the windows favorites box; so, the visitor can bookmark your page where he or she wants to place the bookmark. I am fairly new at this. I want to learn and contribute.
|
|
A simple array which builds an alphabetic links array (a,b,c) great for directory type search engines where you wish to list alphabetically.
|
|
Give it a string containing HTML code and it'll extract all the anchors (links) from it. It'll set up an array of the URLs (as they appear in the code) and another array of the related "hilighted" text.
This isn't perfect, but I figured I'd toss it up since I was looking for it earlier today.
|
|
simple to understand authenticate with no peculiar behaviour like http
authentication. Has logout function unlike ,many other authentication systems
|
|
You may use this code to authenticate users to view some page.
The password field on MySQL should be entered as password("somepasshere"), to increase the security of the datas.
|
|
Auto-Generates a listing of you Bookmarks, great for anyone who runs a
personal webserver and has a homepage in need of some active content.
It will go recursively through your favorites folder, and create a page
of links.
The folder must be accessable via the server rights or php won't find it.
You may want to make a mirror folder of you favorites inside a secure
directory.
Formatting is up to you, right now it just indents correctly.
|
|
Auto link URL and Email address in a document. And it will not mess up <a href> tag like many other auto link script did. Also, it only use two preg_replace statement for FAST translation.
<br>
(1.2 version fix the HTML A tag not giving out the correct URL)
<br>
Restriction: Any URL begin with " or "> will not be linked.
|
|
auto linked URL, E-mail address in document
|
|
The idea behind this javascript-function is to add a bookmark of your website. PHP helps to detect the server name.
|
|
I find myself frequently making various tests/sample sites/etc in PHP that I like to keep around.<BR><BR>This is a code fragment I use to automatically generate a table containing a series of links.
|
|
The algorithm is quite simple and goes like this: try to split the long
text after the desired page length, but delay the split if we are still in
<table>'s or <pre>'s or <p>'s in order to avoid screwing
up tables (ouch!) or preformatted sections. Guaranteed, this is not perfect,
but it works well in most cases. You might want to add the avoidance of
breaking
<script> sections if you want, etc. For slightly more details, take a look at this <a href="http://steven.haryan.to/php/StoryPager.html">page</a>. Enjoy.
|
|
This php application reads a text file
containing a list of banners and the
time in seconds to display on the screen. The application will construct
the proper javascript after reading the text file from the server. It loads each banner, display it on the screen, the specified number of seconds. The list of banners and time can be freely edited.
The format of the text file (timer.txt)
is as follows:
first.gif 3000 =waits for 3 seconds
second.gif 4000 =waits for 3 seconds
third.gif 5000 =waits for 3 seconds
email:nuthankrishnan@hotmail.com
|
|
it is able to detect opera,netscape,internet explorer,mozilla
very easy to understand , just copy and paste script
|
|
Example of changing two frames at once.
|