Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: yet more suggestions for .73...: msg#00019

cms.phpslash.devel

Subject: Re: yet more suggestions for .73...

Hello,
Read...

<snip>

I have tried this with the current CVS (and current php-lib-stable cvs)
using both the nobody user / submission page and as a root user using the
story admin page and cannot replicate this behavior using extrans, html
or plaintext formats using Safari-b2.

I'm using phpslash 0.71 with the latest Mozilla 1.3 build for debian unstable.


Please, what versions of phpslash, phplib and php are you running? Does
the above exmaple work exactly as you describe under your environment?
Can you take a screengrab of whhat you enter into the page and what the
preview looks like? Can you send me the extact text that caused this?

phplib that came with the phpslash 0.71 release. (phplib 0.7d ? ). php 4.3 and php 4.1.2 both do exactly the same (two different instalations).


> The {td} part of the hashes will mess up the article badly when previewing.
> In fact, the whole page gets mumble with all kinds of crazy things. What I
> do to fix that is adding spaces between the curly-braces.
>

Clearly that should not happen.

> I don't think this affects the server directly, nor have I try to inject any
> type of code to the database. In other words, I'm assuming this cannot be
> done and have not tried. In any case, only the users with Admin rights can
> add news to the site. So, nothing to worry (right?).
>

If this is a real bug, it may also affect the submission.php page...

> However, I believe that the stories (the text coming from the database to be
> displayed as stories) should not be parse as if it was a template or as if
> dynamic PHP code was coming from the database... That could create problems.
> (It creates problems for people who have sites publishing code, as I do :-)

The input stuff should clean() the text before it even gets to the
database. the {} construct is also the same for phplib tempalte
plcasehoder, AFIK, things that look like {foo} get removed during parsing
by the template system and should be additionally fixed by the submission
and story classes. Joe probably knows how this works off the top of his
head..

The code I'm trying to publish is here:
ftp://ftp.latinomixed.com/downloads/pixdir2html.pl.gz

The only thing I did to that code was to run "cat -n" and save this as a .txt file with line numbers like this:
gunzip pixdir2html.pl.gz
cat -n pixdir2html.pl > pixdir2html.pl.txt

And then try to use the resulting .txt file to make a new story.

I placed a screenshot of a preview story here:
http://www.latinomixed.com/story-preview-screenshot.jpg

Note that this screenshot shows only the first page of the page, the page is a lot longer than this, and it's all garble all the way up to the end. Let me know if you want to see more of the screen so that I can make more screenshots.

----)(-----
Luis Mondesi
System Administrator
LatinoMixed.com

lemsx1-PkbjNfxxIARBDgjK7y7TUQ@xxxxxxxxxxxxxxxx

"...The Mac does this so smoothly, it feels like an extension of your mind." - Paula Speer, MacWorld Magazine 2003-04

Public signature: http://www.latinomixed.com/lems1/public-a.asc

_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr/worldwide.asp



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.postgresql.b...    video.ffmpeg.us...    gis.qgis.devel/...    web.rdf.redland...    file-systems.oc...    recreation.rail...    systems.archos....    python.c++/2003...    lang.c--/2005-0...    multimedia.gpho...    network.unison....    editors.jedit.u...    hardware.pciids...    cms.tiki.cvs/20...    bug-tracking.ma...    java.hadoop.hba...    ietf.rsvp/2002-...    xfree86.devel/2...    qnx.openqnx.dev...    apache.labs.dev...    tex.pdftex/2008...    os.solaris.open...    user-groups.lin...    kde.koffice/200...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation