LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-07-2009, 02:11 PM   #1
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551

Rep: Reputation: 38
webpage in webpage?


Hi, I want to wrap a php program(www.dolibarr.org) in my webpage. How do i do it? Any leads?

Last edited by kalleanka; 06-07-2009 at 02:13 PM.
 
Old 06-07-2009, 02:22 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

What do you mean "wrap a PHP program in a web page?"

You're aware, of course, that PHP programs are interpreted over on the server, and the resulting HTML is interpreted locally, on the client's browser. This means there's no such thing as executing a PHP program stored on the server as PHP program over on the client's PC (if, in fact, that's what you're suggesting).

Please clarify exactly what it is you're trying to do (please state the "requirements").

Thanx in advance .. PSM
 
Old 06-07-2009, 02:44 PM   #3
noctilucent
Member
 
Registered: Jun 2009
Distribution: slackware
Posts: 123

Rep: Reputation: 34
Hello.

By looking at http://www.dolibarr.org/ it would seem that "Dolibarr" is a piece of opensource software written in PHP [think of things such as FOSS CMS, FOSS BBS, FOSS "wikis" etc.]. Having said that, have you checked the documentation provided on dolibarr.org? They provide installation steps, among others.
 
Old 06-07-2009, 02:46 PM   #4
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551

Original Poster
Rep: Reputation: 38
Ok i have installed dolibarr and I want to have it intact but I want my own menu on the side with related pages. So i figured that I will have one folder dolibarr and another one with my pages called www. When a person surfs to the site he should be directed to /www/index.php and surf under the www folder. But if I or some one in our organisation logs in I want the to be abel to go to the dolibarr pages in folder dolibarr throw a webpage in the folder www.

I want to keep the moduality. And I use php, apache and mysql. The database would be shered between the two folders. But I see no problems there. Probebly because my sql skills are a lot better then my html skills.

I found the iframe tag and i will try that.

Thanks for your response.
 
Old 06-07-2009, 03:07 PM   #5
noctilucent
Member
 
Registered: Jun 2009
Distribution: slackware
Posts: 123

Rep: Reputation: 34
How are your PHP skills? Inline Frames are bad, m'kay?
 
Old 06-07-2009, 03:29 PM   #6
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551

Original Poster
Rep: Reputation: 38
OK so is there a way in php thats better than iframe? Its only for internal use so I do not have to care about IE etc.

My php is better than html or javascript.

And why are iframes bad? Intressted.

Last edited by kalleanka; 06-07-2009 at 03:31 PM.
 
Old 06-07-2009, 04:13 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
According to the CSS gurus, ALL frames are bad. Read--for example--this book:
http://www.amazon.com/Spring-Into-HT.../dp/0131855867
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Webpage How-To Linux~Powered Programming 5 03-19-2007 05:20 PM
Webpage troycus Linux - Software 4 06-16-2005 12:26 PM
webpage sanjibgupta Linux - Newbie 3 10-11-2004 03:09 AM
no one can see my webpage! killjoyce Linux - Networking 7 04-06-2004 02:53 PM
Help with webpage lockejr Linux - General 16 03-28-2003 09:16 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration