Date: 11/16/99
- Next message: teresa12a <email protected>: "[PHPLIB] Fire the Boss and Break the alarm clock!"
- Previous message: Massimiliano Masserelli: "Re: [PHPLIB] Falling back to "nobody" ?"
- In reply to: serghej petrov: "Re: [PHPLIB] put <?php .. ?> tag into database ?"
- Next in thread: serghej petrov: "Re: [PHPLIB] put <?php .. ?> tag into database ?"
- Reply: serghej petrov: "Re: [PHPLIB] put <?php .. ?> tag into database ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Serghej,
I know understand what you are talking about... I rawurlencode everything now a
days. The only negative to rawurlencoding DB information is it's harder to search. But
I find myself passing around encoded strings all over the place. And normally I use
javascript to unencode my data to forms.
For example:
<FORM NAME="form1">
<TEXTAREA NAME="textbox">Some stuff<TEXTAREA>other stuff</TEXTAREA></TEXTAREA>
</FORM>
This would fail to have the desired affect.
While
<TEXTAREA NAME="textbox"></TEXTAREA>
<SCRIPT LANGUAGE=JAVASCRIPT>
<!-- Hide from older browsers! (But won't function right so what's the point!)
document.form1.textbox.value = unescape("<?php echo rawurlencode("Some
Stuff<TEXTAREA>other stuff</TEXTAREA>");?>");
// -->
</SCRIPT>
Would work fine.. I realize this doesn't help your situation but
rawurlencoding/decoding of data to be passed around is the way to go.
Alec Effrat
alec <email protected>
serghej petrov wrote:
> The problem is in $sess->purl
> ^_____this operator, because for html this is the
> end of <a href=.....> tag!
>
> some other ideas?
>
> thanks all.
>
> Alec Effrat wrote:
>
> > I think you just forgot the semicolon...
> > it should look like this
> >
> > <?php ...
> > code
> > .... ?>
> > Please Click <A HREF="<?php $sess->purl("index.php");?>">here</A>
> >
> > <?php more code
> > ...
> > ?>
> >
> > Alec Effrat
> > alec <email protected>
> >
> > serghej petrov wrote:
> >
> > > Hi all.
> > >
> > > I'have try manage messages via database, and if i put the string with php tag like
> > > this
> > >
> > > "please Click <a href="<?php $sess->purl("index.php")?>">here</a>"
> > >
> > > after select this string from db i have : please Click ">here
> > >
> > > Is it possible to do it?
> > >
> > > tHX
> > >
> > > Serg
> > >
> > > -
> > > PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
> > > To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
> > > the body, not the subject, of your message.
>
> -
> PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
> To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
> the body, not the subject, of your message.
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: teresa12a <email protected>: "[PHPLIB] Fire the Boss and Break the alarm clock!"
- Previous message: Massimiliano Masserelli: "Re: [PHPLIB] Falling back to "nobody" ?"
- In reply to: serghej petrov: "Re: [PHPLIB] put <?php .. ?> tag into database ?"
- Next in thread: serghej petrov: "Re: [PHPLIB] put <?php .. ?> tag into database ?"
- Reply: serghej petrov: "Re: [PHPLIB] put <?php .. ?> tag into database ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

