Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Html Embed Editor?


I ve coded a CMS which also allows the administrator to write custom php modules that get stored in the database. Those modules are called in the frontend with eval(). It works great.

The problem, is that the only way i can edit the module is on a big textarea. and its not very nice to code in there. Does anyone know any html embed php editor?




View Complete Forum Thread with Replies

Related Forum Messages:
Embed Php Generated Html In Another Html Page
I am trying to include some php generated html in a page that is just a standard html file, NOT a php file. I have seen other html pages do this by including an src to the cgi script in script tags, like this:

<script src="http://someurl.com/somescript.cgi"></script>

the html page loads and the script is executed and the returned html is displayed in the calling page. So, I tried this:

<script src="http://someurl.com/somescript.php"></script>

It doesnt work!!

View Replies !
Embed A Php Code Into Html
I want to embed a php code into my html file. But its not showing anything. The same code works when I rename the file as .php

<html>
<body>
<?php echo "hi";?>
</body>
</html>

This code works as hi.php3 but doesn work when I rename file to hi.html.

View Replies !
Embed PHP Script In HTML Page...
The first page of my Internet website must be INDEX.HTM. But, if I want to embed some PHP code in this page, I must rename it to INDEX.PHP. Easy, but not simple, because INDEX.PHP will not load as the default startup-page of my website.

So, my question is:

How can I embed some PHP code within a normal HTML page (without using the
..PHP extension)?

View Replies !
Returning HTML As Word, How Do I Embed Images?
I'm sending html content to the client computer as "application/msword" using the following code (see further down): Is it possible to embed images in $docContent so it will be accessible in the client computer if he:

1. Saves the downloaded doc and.
2. Laiter open the document without being online?

example code:

View Replies !
Embed Lots Of Html Code In Php & Construct Objects In Php
I have a php file, it contains just a few php codes. The php codes I
need to use is to construct an object, and use it several times, from
html head until the last line of html code.

I know I can construct the same object (I am using php5) several
times, something like $object = new $class, and use several <?php
$object->functionX ? ... <?php $object->functionZ ? to include
php code in html code.

However, to construct this object I have to call a remote server, and
rely on its response, which is a bit slow. To construct it several
times takes even more time, and I do not like that.

So my questions are :

1) How can I embed a big chunk of html code in php without using
something like echo "<a href="aaa.html">" all the time

2) Can I just construct an object one time and use it in different <?
php ... ?blocks?

View Replies !
Allow Editor Of HTML
Im trying to make a portal that is open access, and you can login to it. It will be broken into multi-datebase's for each Team for supported products. I am trying to make an easy way to allow the Team Leaders to modify only there team pages And have one master account, my account.

allow me to click a link, and edit the HTML of the entire page. allow me to save and its automaticly updated For the Team pages, there only allowed to Edit, something thats with in (Defined Tags) that are demmed editable by me.


View Replies !
Html Editor For Cms
I am building a cms for a newsletter database. I have a posting page where writers can write their articles and submit it to the database. My problem though is the text just gets stored ignoring all the new paragraphs and such. So is there a way to create an html editor like phpBB forum or wordpress so people can post without knowing html tags?

I have a theory it has something to do with grep and regular expressions.

View Replies !
HTML Editor
I am developing a website which one of the client requirments is to have an HTML Editor. In other words, there will be a control panel that he can add Text, Hyperlinks, Images, Tables, changing font colours and size, etc in the control panel.

Once he is able to do that it should be save in the database and then viewed in other page anytime with the format that he has entered in the control panel.

For example, Let's say I have a page in the site called About Us. In this page he wants to be able to go the control panel and do all the formating and then once he visit About Us page he sees the page with all the format he entered.

View Replies !
HTML Editor Box
The title doesn't really cover it but what I am after is the ability to present a textarea which people can enter text into but with buttons that will bold, italicise, sent font information, create lists etc. Very like the box into which I am typing now really.

The idea is that I can give people who don't know any HTML the ability to enter tags in a product description.

View Replies !
Looking For PHP-aware HTML Editor
I was recently approached by a friend who maintains a small web site --
about 30 pages, static content only. He was bothered by the fact that
he had to spend a lot of time making comparatively simple changes; the
problem was that every single page contains a header, footer, and menu,
and whenever changes to any of those elements had to be made, they had
to be applied to every single page.

I investigated and I discovered that the ISP that hosts this web site
runs Apache with PHP. So, I separated all the common elements into
separate files, and put PHP 'include' tags wherever needed to include
them.

So far, so good, but unfortunately my friend is not an HTML expert and
manipulating all the nested <table> tags that are needed to accomplish
the pages' layout is a bit beyond him; so far, he has done most of his
HTML editing using FrontPage -- and with my new version of those pages,
he can't use FrontPage any more, since all the missing <table> and <tr>
elements are causing the table layout to come out wrong in the editor.

So now I'm wondering, are there any PHP-aware WYSIWYG HTML editors out
there?
I realize that it is impossible to do this in general, since the
content of an active page is by definition not something you can edit
interactively, but even something as basic as recognizing PHP 'include'
tags and substituting them in place would be a lifesaver for us.

View Replies !
Webbased Php/html/css Editor
i am using fckeditor to create content on my website, but i need soething to create and edit php scripts. i want to be able to edit any pages code in any directory on my server and also create new pages and save them anywhere

does anyone know where i could get this started? i am happy to try to code it myself if sme one could point me in the right direction for a good tutoirial or i amhappy to edit an existing script.. i just can find anything to get started.

View Replies !
Anyone Know Of A Good HTML Editor With PHP Support?
I'm tired of switching between Hotmetal Pro and Textpad. I just like the speed aspect for basic html stuff.

View Replies !
Admin Text 2 Html Editor
I was looking for something that looks much like wordpad (or can be anything else for the moment), so that users can type in text (and can bold, center, make a newline) and it will be converted into html format so I can store it into a db.

View Replies !
Wnat To Embed Full HTML Page In Email, But Migrating Style From Css Files To Element Style Attributes
My web pages of course use css files, but Webmail services require
style to be in element style attributes.

How do I convert a standard HTML page to HTML suitable for delivery to
webmail services?

Perhaps another way to ask the question is:

How to I walk the DOM and for every element, for every style, set the
element's style attribute to the values that are looked up in the css
file in normal rendering.

Anyone know of any tools, or examples to do this?

View Replies !
Full HTML Form Textbox Editor
I was wondering if there is a such thing that lets users input text into a html form input box, but when they start a new line or something, it inputs "<p>" when is outputed to php. So that the text that they inputed will look exactly the same on a php's output. Its sort of like this forum's way of inputting text.

View Replies !
HTML EDITOR Highlight_text Wysiwyg Line Numbers
I'm after a script/code which will let me edit content on my site. However i want to do the editing in code format.

I have seen many WYSIWYG editor's but none offering what i really need.

As i said above i would like the content to be displayed in code format, but then using the 'highlight_text' so i can easy spot what is html/php code and what is general text.

Another bonus would be if it could display line numbers as well.

below is an example of a file being viewed, but its only in viewable form, not editable.

View Replies !
Copying Data From Ms Word To Html Editor Not Saving The Form
In my form there is html editor, When I try to copy data from ms word and paste in html editor and save the form, it does not save the information properly. Is there any tip that we can delete uncessary tag place by the ms word?

View Replies !
Form Editor For PHP GTK A La MS Visual Basic Editor?
I have (finally) gotten php-gtk working in Redhat Linux 9 with the
instructions at: www.agata.org.br/us/install_pre.php

Now I would like to know if some good tools (freeware or otherwise)
exist to let me graphically create and edit forms (ie. with buttons,
textboxes..etc), in a similar way that can be done in Microsoft Visual
Basic editor.

View Replies !
Embed API
I want to embed the PHP interpreter on some C programs I have. Those programs generate static HTML and I thought that PHP will be the best engine for this task.

First I search for the Embed API but there seems to be no documentation or tutorials on the subject except for a couple of references on a lecture that was given on the Intl' Conference.

Have any of you made a C or C++ program embeding PHP as the interpreter?

View Replies !
Embed C With Php
i dont know whether i am asking the correct question or not but i hope you will get the basic idea out of it...

i heard that people now a days embed C/C++ with php, and somebody gave me an example of cURL function..

so if really its possible to write code or a function in C/C++ and use it with php then please guide me through this process i would love to do so coz i am very good in C.

View Replies !
PHP In The <embed> Tag
I have a flash banner rotator that runs using PHP at the backend. The way in which the flash banner is called into the script is by using the following PHP:

<? php include("http://www.mysite.com/banners"); ?>

I have also used this in other ways such as:

<?php $file = file_get_contents("http://www.mysite/banners"); ?>

I am struggling to incorporate this into the <object> tag. Is there a way in which I can do this? Can I somehow get this to work in the <param name="movie"> tag? Or is there some other method that I can use? Code:

View Replies !
At Embed
At embed, clould'nt see status bar and control bar.

<table cellpadding=1 border=0>
<tr>
<td width="241" align=center>
<? for ($i=0; $i<count($list); $i++) {
$file = "$g4[path]/data/file/$bo_table/".$list[$i][file][0][file]; ?>
<div align="center"> <a href='<?=$list[$i][href]?>'>
<embed src="<?= $file?>" width=215 height=190 SHOWCONTROLS=1 SHOWSTATUSBAR=1 AUTOSTART=1 PlayCount=0 wmode=transparent></embed>
</a> </div></td>
<? } ?>
</tr>
</table>
<p>&nbsp;</p>

What am I missing?

View Replies !
Embed PDF In PHP
i want to show pdf as an embed file in php pages..how can i do this?

View Replies !
PHP Embed Sound
So I am using this: <embed src="soundfile.mp3" autostart="true" loop="true"></embed>

But it is breaking my sound file, like pausing at the loop, then repalying. Any way to fix this? Maybe use PHP instead of HTML?

View Replies !
Embed A Font
How do I embed a font onto a remote user's machine? Say he dont have a Papyrus but I want him to view the webpage using the Papyrus font.

View Replies !
PHP + IE Embed Problem
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<titleMy title </title>
</head>
<body>
on place un embed
<embed id="embed1" alt="ne marche pas..." src="ws.php?
projet=ppp&mode=mmm&fichier=fff.xml&fichierxsl=xxx.xsl" type="image/svg
+xml" WIDTH="300" HEIGHT="300"></embed>
on place un embed
<embed id="embed2" src="ppp.svg" type="image/svg+xml"
WIDTH="500" HEIGHT="500"></embed>
etc....
</body>
</html>
--------------------------------------
I run an Apache web server and unfortunatly, the first embed
(name="embed1") is never requested by IE. The second one
(name="embed2") is load correctly.
Can anyone explain me why ? Maybe IE doesn't recognise a correct file
extension, what else ???
I have been testing lots and lots of changes, but never work with IE.
It works fine with Firefox...

View Replies !
Embed PHP In Javascript
I know that javascript is executed client side, and that the PHP is processed first, server side - but wondered if anyone knows of a way to achieve the following. I have a javascript function:

function requestProd{
document.imgProd.src = 'elements/products1.gif';
document.imgServ.src = 'elements/services0.gif';
document.imgEven.src = 'elements/events0.gif';}

When I invoke this javascript function, I want to be able to set a session variable in PHP - eg.

<? $_SESSION['pressed'] = 'prod'; ?>

ie. I effectively want to execute this, whenever the above function is executed.  This is because I have Onclick events in javascript which execute this - and I have similar functions that I want to set the same session variable to different values.  This is to allow a PHP script I run later to know what option the user pressed.

View Replies !
Embed Metadata Into The PDF
I am been searching around the internet for some information about PDF and PHP integration. I know about all the stuff with PDFLib and FPDF and the other free classes.

What I am unable to find is if PHP can embed metadata into the PDF it creates such as a member id so that is the database is corrupt it could be rebuilt.

View Replies !
Youtube Embed
Ive made a form to enter a youtube address, then when submit is clicked it loads the movie on anouther page but this is not working, so far ive got it to reconise that the object that it is embedding is flash.

But the flash movie does not load, when i right click where it has embedded it, it says movie not loaded. Code:

View Replies !
Embed Web Page
I am trying to embed the resulting html page from a php page on another server in a website. I want it to be hardcoded so search engines can find it so i will ideally use a <?php include ?> type thing. I have an ajax method which uses a http proxy php page to fetch the page and update a <div> and I know I could chop that up and skip the javascript bit.

I want the imported page to be processed rather than as php as there is an sql database query thing going on and I want to display the results on any old website without giving out my db password etc.

View Replies !
Trying To Embed A Movie
I know the HTML embed tag but it is not working very well in IE or FireFox... is it just me or is it the browser support? I mean the code is simple.

<html>
<body>
<embed src="movie.mov" width="640" height="480"></embed>
</body>
</html>

View Replies !
Embed Php Code In A Cgi Script
I have a form on a php site and I'm trying to send the information filled out in the form to an email address, aswell as sending the email I also want to display a thank you page. However I want the thank you page to be in php with includes and so on. So my question is how do I get a cgi to recognise php commands?

View Replies !
Embed AppleScript Into A PHP CL Script?
Is it possible to embed AppleScript into a PHP script written for the
command-line PHP interpreter? I tried using the Heredoc method to put an
applescript into a string variable then run it through the shell but I keep
getting a parse error no matter what I try.

For a short example, say I want to run this applescript from a PHP command line
script:

View Replies !
Embed Variables Into String
Anybody know whether it is meter which of the following two string to use?

print "<table width="$width%">";
print "<table width="".$width."%">";

View Replies !
Embed Variable In Link
In the code below, I'd like an existing variable called id to apear instead of XXXXX, but I can't seem to find the right way of doing it.

if ( $answer == $dbanswer){echo '<P>The answer you provided was correct, so you can continue authorized. Please <a href="page2.php?id=XXXXX">CLICK HERE<A> to continue.</P>'}

If I put id=$id, the link followed just says $id at the end rather than pasting the variable's value itself.

View Replies !
Allow Users To Safely Embed
My social networking site was once open to many kinds of attacks. One programmer that helped me right after a redirection attack restricted embed from being entered in the users profile fields. The problem is that users are used to myspace where people can embed a video, etc. Daily I'll have requests asking why they can't save video code from another site. Is there any way to allow users to embed in their profiles without opening up a can of worms? One of my primary concerns, besides a direct attack, would be for a user to somehow steal cookies from visitors to their profile.

View Replies !
YouTube Embed Script
I want a php page where my users can enter a title, description and a youtube embed code, the script then adds the post variables to another page which will be used to display the information provided and the youtube video, I also want the pages to be indexd so that they are easyly searchable, also a small admin area to delete the broken youtube links.

View Replies !
How Do You Embed PHP Commands Inside Another PHP Variable Set?
I would like a very nice PHP shortcut to dynamically setting a
variable value by embedding PHP commands inside, which is what I can
easily do in TCL:

set stuff "hello [if {[regexp {/dev} $env(HTTP_HOST)]} {set x "
devworld"} else {set x " world"}]"

in TCL this would set stuff to either "hello world" or, if you're in
/dev "hello devworld"

how can I accomplish this great TCL feature in PHP? I haven't found a
way yet, everything I have done has so far produced parse errors:

$stuff = "hello" . (if (preg_match('//dev/i', $HTTP_HOST)) { $stuff
..= ' devworld' } else { $stuff .= ' world' });


View Replies !
Embed SMS Wireless Messaging Into PHP Applications
I know wireless is a big topic these days, and combining wireless messaging and PHP is a great new advance. Our company, Simplewire, is involved in doing that. We've set up a free Developer Program where you guys can try out our PHP software which lets your application send wireless messages via SMS to cell phones and pagerws worldwide. You can join at URL and try it out.

View Replies !
How To Embed Microsoft Word In A Page Using Php
how to embed or open microsoft word file in a page using php script

View Replies !
How Can I Embed A Video Player In Site Using Php?
I would like to embed a video player in my site using php where people can watch video without downloading it.

View Replies !
Embed Windows Media Player
I would like to embed a window media player in my site using php script.

<PARAM NAME="filename" VALUE="video.php?option=1">

Would appreciate if someone could help me with the video.php script.

View Replies !
How To Embed Image Into A Word Document
I need to generate a report as a word document. And i also have to embed some pictures/images into this word document using PHP script. So customer can download this word into his own pc and still can see the images.

Generating a word document using PHP is not a problem. But i really don't know how to embed images into word document. I try many ways but they don't work and I google internet but cannot find a solution.

View Replies !
Embed Javascript Link In Else Statement?
I have an online registration form that is validated from an external php file and i am trying to echo a javascript (history) back button if they need to go back and correct their details. This is my code so far:

if($jobtitle){//----> CHECK input
}
else{
$error.="Please, go back and fill out your <strong>job title</strong><br><br><a href="javascript: history.go(-1)">Back</a>
";//----> ERROR if no input
}

View Replies !
Embed Language Strings Into Javascript Code
I am using language files to localize my script. For example, I include lang_english.php that holds the english language strings like:

define("_WAIT","Please Wait...");
define("_ERRORNAME","Please enter your name");

Then use the defined string in my scripts like

echo _ERRORNAME;

As fas as PHP scripts are concerned, everything works fine so far. But, I can't localize my Javascript codes. For example form error alerts. I include my javascript files externally in my header.php, like Code:

View Replies !
Need To Do A 'Post A Video' Site (embed Only.) Security Issues
I am about to start one of those post your favorite youtube/liveleak /... video. It will be vbulletin integrated and I need to make sure that my programmer doesn't forget anything that could cause me to get hacked or whatever.

What things can get overlooked, yet are vital to security? Once again, the videos will be hosted by others.

Would a "Allowed to post from" domain list be smart? They will also be ratings and comments (so I can get as much text as possible.)

View Replies !
Include/Require - Make The Entire File CGI And Embed PHP In It?
I am trying to implement a cgi discussion board into the design of my site. My site is PHP based and the top and left hand sides are all dynamic. I want to make the body the discussion board, but I don't know how to make it execute as PERL within the PHP document.
Should I make the entire file CGI and embed PHP in it? or vice versa?

View Replies !
Which Editor Do You Use?
Ok, ok. I know. How many times have we heard the question: "which editor do you use?"

Well, I thought I would post this because recently I've vasilated between vim, some ftp/text editors, text editor and a separate ftp client...etc, etc, etc...

So I would like to know from you, the developers, your opinions on which editor works the best for development. If it's notepad, cool. If it's vim, cool. FTPeditor, ok. If its a full IDE, thats cool too.

Thanks.

View Replies !
FCK Editor
Hi all, if anybody have used FCKEditor please share about the way of
creating a link/button in toolbar that would let us upload a file
using PhP script. I also need to call a user defined html page by
clicking on this link/button.

View Replies !
Which Editor To Use
which editor is the best to make php code?

View Replies !
PHP Editor/IDE
I am not spamming this news group. I wanted to pass along a great offer
(40% off) from EnglnSite (Makers of PHP Editor/IDE and PERL Editor/IDE)
http://www.enginsite.com/ . Read this News item for the details
http://ravenphpscripts.com/article-626--0-0.html Their debugger and
profiler will rival most any other IDE out there, especially considering the
price.

View Replies !
Regarding Php Editor
hi i just want to know which is a good editor for php. currently we are using edit plus.but is there any oother editor whixh has some additional functionalities.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved