Web Site Promotion | About | Contact | Web Design News |
Chicago Animation : Chicago Web Design - Go Back

Simple Solution for Php Includes - IFrames

 

Search Engine Specialist

search engine expert Free Internet Marketing consultings from ChicagoAnimation.
To use this free service please fill out the form below and we will call you to offer you free tips.

* First Name: * Last Name:
* Email Address: * Phone Number:
Street Address: City:
ZipCode: Your State (2 Letters):
URL (if available): Your Cell Phone #:
Company Name:
How long has your website been live?
What services or packages can we help you with?

How may we help you?
My current budget is. . .



I have recently created my first Php program. I wanted to share with others some of the problems that I encountered, and how I finally overcame these obstacles.

My Reason for needing a Php Include

To start, my most recent website features a free classified advertising solution, a modified version of PhpBB stripped to function as an Article Bulletin Board (No replying), and a link directory. The business model of my Website offers free Classified Advertising, but charges a small fee for enhanced advertisements (Featured, Bolded, and Better Placement). The Classifieds were purchased from a developer, so I had little experience with the application. The link directory was a free resource of an old program that I modernized a bit. I choose the old link directory because the links are clean. They are not replaced with coding to count outbound traffic. I figured this would increase the value of links, to sites who exchanged links with me.

To increase revenue on the new site, I realized that I needed to increase the value of, "Featured Advertisements". To do this I wanted to randomly rotate featured advertisements, from the classifieds, across my Bulletin Board and Link Directory. Bare in mind, all three are run from a unique table, and I wanted to leave it that way. In addition, I had little experience with the development for all three applications.

I started reading tutorials and utilizing Forums to create a Php program for external pages on the site. The program would pull a random featured ad from the classified table. This program only took me about 32 hours to create, while performing research. I didn't intend to get into the schematics of the program with this post, so forgive me if you are looking for a Random generator. But I would be more than happy to share my code upon request.

The code I created was simple, it worked just the way I wanted, but I ran into one cumbersome obstacle; how do I implement this easily across two unique table driven applications? The answer was to use a Php Include

I started reading tutorials on, "Php includes and functions and classes". I realized quickly that this was a bit more confusing than creating the actual coding. In addition, I ran into parsing errors if I included the new coding in only one application.

My solution to using the, "Include ()," Php function

I found that very few people were willing to provide any feedback for such a problem, even in the most resourceful forums for Php Coding and information resources. I fumbled with the coding for over 72 hours. I thought this was a bit ridiculous, as the code itself took less time to create.

I finally came across a helpful solution that may prove beneficial, if you are in the same situation with Php Includes. The code was uploaded onto my server as a file (something.php). I removed the standard, "Php Include ()," function from all links and the PhpBB coding. I then called the Php file (page) using an Iframe tag, on pages I wanted it to appear. This proved to be a successful replacement for the Php Include.

Search Engine Results Using Iframe for Php Include

I waited until Google came around to see how the Iframe affected my sites search rankings. Finally, the other day this happened. The conclusion, my search rankings still increased due to recent link exchanges. The code is working to my needs, and it is easily included on any page that I want, even externals outside my site can call on the code, which opens more doors for advancement.

Here is the simple Iframe code I used to replace the Php Include:

iframe align=top valign=right width=600 height=105 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no src="http://your.com/file-to-include.php" width=600 height=105> /iframe

Using the Iframe tag for Php Include Conclusion

I have encountered no problems with including my PHP code on pages across external servers, using the iframe as a Php Include. As you can see, it is totally customizable. You can specify the width, height, alignment, border, scrolling, margins and more. The only obstacle that I have encountered, is the style sheet that the site, or page, with the, "Php Include," is not utilized. The page that the code is on seems to need its own unique style sheet.

I hope this proves beneficial to anyone having trouble with running a "Php Include" across various unique online applications.

About The Author

Michael J. Medeiros is the owner of www.Mjmls.com. He has worked as an Independent Real Estate Agent for three years, in New Jersey. He has an extensive background in Business and Marketing. Michael's latest research and attention has been devoted to online business development and the Internet.

 

MORE RESOURCES:

DailyTech

Apple Recommends Antivirus Software For Mac OS X
InformationWeek, NY - Dec 2, 2008
What's more, Apple's products, such as its iTunes software, its QuickTime media player, and its Safari Web browser, have become increasingly popular among ...
Apple on the Need for Anti-Virus Software: Now You Do, Now You Don't Wired News
Apple Pulls 'Old' Antivirus Software Warning CIO Today
Apple suggests Mac users Install antivirus software CNET News
Apple Insider - Computerworld
all 230 news articles


COPsync Software Called Upon to Secure the Texas State Border
MarketWatch - 7 hours ago
a software technology provider to law enforcement and emergency service professionals, is pleased to announce that the State of Texas, Division of Emergency ...


Likewise Software Joins HP Developer & Solution Partner Program
MarketWatch - 9 hours ago
BELLEVUE, Wash., Dec 03, 2008 /PRNewswire via COMTEX/ -- Likewise Software, the leader in delivering open source audit and authentication for mixed networks ...


Lagan Expands Board of Directors with Software Industry Veteran ...
MarketWatch - 13 hours ago
McKay brings over 25 years of experience building and leading world class software and services companies. As President and CEO of Watchfire from 2001 ...


McAllister Software Systems(R) Announces Release of AVImark ...
MarketWatch - 14 hours ago
PIEDMONT, Mo., Dec 03, 2008 /PRNewswire via COMTEX/ -- McAllister Software Systems, Inc. announced that version 2009 of AVImark, which will be available at ...
McAllister Software Systems(R) Announces Release of AVImark ... International Business Times
McAllister Software Systems(R) Announces AVImark(R) Integration ... MarketWatch
all 16 news articles


RTT News

Software maker Adobe to lay off 600 workers
San Francisco Chronicle,  USA - 3 hours ago
Narayen said the chief cause of Adobe's problems is weaker than expected demand for the company's latest software, Creative Suite 4, which began shipping in ...
Adobe slashes revenue forecast Financial Times
Adobe to cut 600 jobs, report lower fourth-quarter revenue SiliconValley.com
Adobe Revenue Forecast Trails Analysts’ Estimates (Update1) Bloomberg
Reuters - San Jose Mercury News
all 82 news articles


Emerging Markets Hold Potential for World Retail Software Markets ...
MarketWatch - 15 hours ago
New analysis from Frost & Sullivan ( http://www.kiosks.frost.com), World Retail Software Market, finds that the retail software market earned revenues of ...


Adaptive Planning Wins Prestigious Software Satisfaction Award for ...
MarketWatch - 14 hours ago
This honor, awarded by Sift Media and presented by Finance Week, was established to reward high standards from software application providers serving UK ...


SAFE Corporation Releases SourceDetective, Internet Search for ...
MarketWatch - 14 hours ago
SAFE-corp.biz), the leading provider of software tools for detecting and measuring software intellectual property, has just released SourceDetective(TM), ...


Ryma and Pervasive Software Join Forces to Bridge the Gap Between ...
MarketWatch - 12 hours ago
Ryma is the software solutions market leader serving the Product Management community. As the thought leaders for Integrated Product Management, ...

Software - Google News

ChicagoAnimation's Acquisitions: Market Polls - 1pennyStock.com
Sponsors: Paving | VTL's | Religious Statues