> Anyway to reverse the effect of htmlspecialchars?
See the docs found here:
http://www.php.net/manual/en/function.get-html-translation-table.php
Shown there is a way to do this.
Regards,
Philip Olson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTEC
ok, thanks Phillips!
>The new vars will be listed and described in the manual >eventually (fairly soon).
>For now, read the above release >notes.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Hi Brian ,
I don't have any file like ph_gd.dll .
Brian Clark
Check out :
http://www.weberdev.com/index.php3?GoTo=phenominet/prices.htm
This is your one stop shop for hosting. WeberDev.com is hosted there
and I can tell you that their service is amazing. They are fast,
reliable
and more than anything, very professional (specially in PHP / MySQL).
Sincere
Anyway to reverse the effect of htmlspecialchars?
Reason: to send an email message where " is shown as " and not
" LOL
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list a
> hmm, now that i\'m trying to program with register_globals=off, what
> is the new $HTTP_SESSION_VARS?
$HTTP_SESSION_VARS works, as will $_SESSION (after 4.1.0). These
"special" PHP variables are described in the manual:
http://www.php.net/manual/en/language.variables.predefined.php
Some wo
hmm, now that i\'m trying to program with register_globals=off, what is the new
$HTTP_SESSION_VARS?
maybe there should be a page in the online manual describing these new variables for
easy reference after all, i can\'t find reference to them other than those on the
changelog too.
thanks
Dav
because the way && is evaluated.
if the first part of the && expression is false, then it doesn't even
attempt to look at the second part, meaning you get a fastest evaluation
:)...
I think its called Lazy Logic or something, I know its in the PHP Manual
somewhere :)
Andrew
- Original Messa
because they are not documented yet, but, will be. there really is
nothing else to say besides what you quoted, they act like their
counterparts except these new ones are global.
by counterparts i mean _GET == HTTP_GET_VARS so the manual entries on
those will apply. see the predefined variables
At 08:53 PM 12/25/01 -0500, jjt wrote:
>Why does this error not show up every time?
It will show up every time PHP attempts to call the (incorrect) function. But the
functions won't be called every time.
For example, due to short-circuit evaluation, if the string is "B" or "P", the error
will
Hello!
Two items in the new 4.10 change-log caught my attention:
*Introduced a new $_REQUEST array, which includes any GET, POST or
COOKIE variables. Like the other new variables, this variable is also
available regardless of the context. (Andi & Zeev)
*Introduced $_GET, $_POST, $_COOKIE
You may use these two and not have to bother what version of PHP your
script runs on.
Note that you may have to edit wordwrap if you need to chop exceedingly
long words (this code allows long lines in this case).
Please let me know if you use/optimize this.
HTH
Bogdan
> Ah yes... that would do it. How embarrassing! But another respondent brought
> up an interesting question. Why does this error not show up every time? As
> written, it is a basic syntactical error. I tested this thing up and down; I
> test it in production every day.
This error will happen ever
> Is there a utility out there that checks for typos, like a spell check but
> for code? They are the most annoying things ever and probably the hardest of
> errors to find in scrips.
> Something simple, even command line would be handy.
It's good to program with error_reporting turned all the wa
Ah yes... that would do it. How embarrassing! But another respondent brought
up an interesting question. Why does this error not show up every time? As
written, it is a basic syntactical error. I tested this thing up and down; I
test it in production every day.
Ah it's always something th
I recall seeing a thread along these lines previously, but the search
functionality at lists.php.net is currently offline, and try as I might
to save messages that may prove useful to me in the future, I cannot get
them all.
So I apologize that this may be found elsewhere, or may be rehash for m
Dear Listmembers,
I just started to structure WEBPRESENCE SERVICES in a way of generating
income for those participating in the venture. We're still building a
portfolio and just finished this site:
http://www.150plusidea.com/
On the "registration" link you see a contact information collection
Yeah,
I know it's executed client side, but if the buffer fills up because you
have a lot to send to the client (and the network connection is saturated),
then it might fail, since it cannot do the test. it is unlikely, but
possible. Also, that code you quoted is (out of context) inefficient, so
* Manuel Lemos ([EMAIL PROTECTED]) [Dec 25. 2001 17:37]:
> > I think, the function would be very useful to do some pretty reformatting of
> > text when for example sending mail or in general doing text formatted
> > output.
> I have implemented exactly what you need in this class to compose and
Hello,
Thank you. I think I want to stick with the php/mysql combo, so will take ikonboard
off the list.
Indera
Laserjetter wrote:
> Ikonboard has a very nice interface and I know that its very popular but, as
> you thought, it is CGI based.
> I've never managed to get it working - maybe be
Hi Jeff,
Thank you for the link to another script. I had never heard of that one and will
definitely check it
out.
Indera
Jeff Lewis wrote:
> Never thought I'd see this pop on here :) As mentined before, Ikonboard is
> in fact Perl and up until recently was only flatfile. Another you may
Merry Christmas everybody.
I am using MS Windows 98 with Apache and following an example in Julie
Meloni's "PHP - Fast and Easy" (Chapter 10) in which she describes file
uploading using PHP on page 168-174.
She has two files:
1) an html form to receive the input from the user for the file to be
Hello,
Rambo Amadeus wrote:
>
> Hi,
> I have about 100 names in mysql. How can i display them in groups of 10, and
> have next and previous links.
You may want to try this PHP Class that displays HTML tables with query
results that may be limited per page. In that case it display links to
go to
Hello,
Dominik Roettsches wrote:
>
> Hi there,
>
> I've been searching for a PHP implementation of the GNU textformatting tool
> fmt (http://www.gnu.org/software/textutils/textutils.html) which provides an
> almost optimal linebreak for your text.
>
> I'm not skilled in enough in C programming
Never thought I'd see this pop on here :) As mentined before, Ikonboard is
in fact Perl and up until recently was only flatfile. Another you may want
to try is http://www.yabb.info (PHP/mySQL combo)
Jeff
- Original Message -
From: "Indera" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sen
Hi there,
I've been searching for a PHP implementation of the GNU textformatting tool
fmt (http://www.gnu.org/software/textutils/textutils.html) which provides an
almost optimal linebreak for your text.
I'm not skilled in enough in C programming to implement such a feature for
PHP but I'd rea
Is there a utility out there that checks for typos, like a spell check but
for code? They are the most annoying things ever and probably the hardest of
errors to find in scrips.
Something simple, even command line would be handy.
Also, its interesting that only one user of the script got the erro
Ikonboard has a very nice interface and I know that its very popular but, as
you thought, it is CGI based.
I've never managed to get it working - maybe because I couldnt get Active
Perl working properly (well, it was a 25MHz 486 with 8Mb RAM!!).
If you're more into PHP I'd go with phpbb as you'd f
Hello,
I need to find a new host that is relatively in-expensive and found these three. I was
wondering if
anyone here has used them or thinks that they are a good company.
http://www.aletiahosting.com/
http://www.cobaltconnection.com/
http://www.primemaster.com/index2.html
Thanks
Indera
From: LaserJetter
>Out of interest, would it be possible to load a webpage as a record in a
>MySQL database, having another field as say a number or a unique name so
>that a whole site could be placed in a database with a couple of php files?
>Is there a limit on the size of a field in MySQL whic
Hello,
I am trying to decide between these two scripts and was wondering if anyone has either
of them
installed. The one thing I need that I can't figure out if either of them have is
whether or not, I
can hide categories (that contain the forums and topics) on the category page and
based on a
php-general Digest 25 Dec 2001 21:02:03 - Issue 1073
Topics (messages 78711 through 78730):
Re: PHP/MYSQL ..what the hell is wrong here...
78711 by: Brian Clark
Re: gd_installation. :(
78712 by: EMIN CALIKLI
78718 by: Brian Clark
PHP and NIS
> "Call to unsupported or undefined function srtoupper() in on line 82."
srt != str (typo).
> if (strtoupper(substr($xmbrcode,11,1)) != "B" &&
> strtoupper(substr($xmbrcode,11,1)) != "P" &&
> srtoupper(substr($xmbrcode,11,1)) != "H" &&
> srtoupper(substr($xmbrcode,11,1)) != "O"
Thanks for your help. I do not have any more info on the error; that is all
the visitor to my site provided. But I am not sure what more useful detail
there could be; it was a fatal error as I described; the script aborted on
line 82, the IF statement.
However, it might be useful to know that my
Well, what you have said here isn't that clear, however consider the
following revised code:
$teststr = strtoupper(substr($xmbrcode,11,1));
if(($teststr != "B") && ($teststr != "P") && ($teststr != "H") && ($teststr
!= "O")){
do..
}
What you are doing is executing the substr and strtoupp
A visitor to my site repeatedly receives a fatal error in one of my scripts.
He is using a Compaq PC with IE 6; Windows 98. He gets this error message:
"Call to unsupported or undefined function srtoupper() in on line 82."
Line 82 is a compound IF statement which uses strtoupper(). As best I
A visitor to my site repeatedly receives a fatal error in one of my scripts.
He is using a Compaq PC with IE 6; Windows 98. He gets this error message:
"Call to unsupported or undefined function srtoupper() in on line 82."
Line 82 is a compound IF statement which uses strtoupper(). As best I
Thanks Brian!
There is no differens using only ".SID." or ".$SID."
and this line :
automatically givs this responsestring in the urlfield of your browser
(IE6):
second.php3?SID=PHPSESSID%3D193a33f9b7421c17302d1bd58478b20b&var3=1
I will try to manipulate the string
Regards,
Jan
"Brian Clark" <[E
Hello Fred,
Tuesday, December 25, 2001, 7:55:16 PM, you wrote:
F> for ($Character = 65; $Character < 91; $Character++)
F> {
F> echo chr($Character);
F> }
F> Fred
F> Daniel Harik <[EMAIL PROTECTED]> wrote in message
F> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> Hello Guys,
>>
>> Just a stu
for ($Character = 65; $Character < 91; $Character++)
{
echo chr($Character);
}
Fred
Daniel Harik <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello Guys,
>
> Just a stupid question how can i make php show from a-z with a for
> loop, don't want to make 26 ha
Hi
Is there a script or current projects that involve the following. What we
require is the management of client base (contact details etc.) account
blancing with suppliers and monthly billing and invoicing.
If there aren't any scripts in php already, to perfrom this is there
anywhere I could l
Hello Guys,
Just a stupid question how can i make php show from a-z with a for
loop, don't want to make 26 hard coded links
Thank You very much
--
Best regards,
Daniel mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
Merry Christmas Everyone ...
__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
* Jan Grafström ([EMAIL PROTECTED]) [Dec 25. 2001 10:41]:
> The url string looks like this on php-page (sent from flash5):
> mypage.php3?SID=PHPSESSID=193a33f9b7421c17302d1bd58478b20b?.
> >From mypage.php3 I pass sid using ".SID." than on second page the string is
> changed to:
> second.php3?SID=
* EMIN CALIKLI ([EMAIL PROTECTED]) [Dec 25. 2001 05:20]:
> Hi Brian ,
Hiya.
> Thanks for your requests . I 'm using php 4.0.6 + IIS 4.0 (Web Server) . I tried
>many verisons of GD
> library and failed. Did anyone tried php-4.1.0 verison on IIS 4.0 ? By the way Brian
>I configured my
> local w
Maybe this will be a surprise, but I think that more than 90% of the webpages that use
MySQL, use it do exactly what you are wondering about..
Not only are the searches a lot easier, but if you do it right you can make a website
which won't contain any dead links... (By generating links to other
Hi!
I am trying to get my php-scripts to work using flash 5 and with cookies
disabled in the users browser.
At first I pass SID to flash and than I can call my php-scripts by passing
the SID back to PHP using loadvariables and get method, this works fine.
The problem is when I pass it to a php-
Hello php-general,
I want to make good error messages for my libraries, but can't
because there is no way to get __FILE__ and __LINE__ for calling
point. I can print only unusable point inside my library where
trigger_error() is called. Is here any way to do this? May be I miss
somethin
Hi All,
Want to create PDF files using PHP
from file formats,
.eps
.ps
.doc
.ppt
.xls
.html
Can you please suggest a way to do it.
Thanks in Advance.
Regards,
Kumar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
Dear All,
I just curious does PHP has the capability to access the NIS+ table in
Solaris based environment such as Perl ?
I'm asking this because the only NIS+ support in perl seems already
outdated (it works with perl 5.003 but not perl 5.6.1), so if PHP does
support accessing the Solaris NIS+ t
Hi Brian ,
Thanks for your requests . I 'm using php 4.0.6 + IIS 4.0 (Web Server) . I tried many
verisons of GD
library and failed. Did anyone tried php-4.1.0 verison on IIS 4.0 ? By the way Brian I
configured my
local workstation with Apache 1.3.22 + php 4.0.6 and it works fine. I can use it G
* Chris Cocuzzo ([EMAIL PROTECTED]) [Dec 25. 2001 03:16]:
> here's the submit.php page ..which is the one that I suspect is giving me problems:
> case 'gigs':
> print "$date";
> $date = strtotime($date);
> print "$date";
> $query = "INSERT INTO gigs VALUES('0','$date','$locat
php-general Digest 25 Dec 2001 08:47:14 - Issue 1072
Topics (messages 78683 through 78710):
SNMP with 4.1.0
78683 by: Peter Hicks
78692 by: Brian Clark
78694 by: Peter Hicks
78700 by: Brian Clark
78701 by: Brian Clark
78706 by: Brian Clark
Re
> No, this isnt possible - but the constructs in PHP should allow you to
> do anything you can do with SSI just as easily.
This may be possible with Apache 2.0 and greater, once it's in stable
release (perhaps it is already). It would allow the server to perform
multiple passes on documents, thu
Any easy way around this?
Warning: mysql_db_query is deprecated; use mysql_select_db() and
mysql_query() instead in /home/WWW/weberdev/phpAds/acl.inc.php3 on line
7
thanks berber
hey-
Ok so my plan with this stuff is to enter in a few fields for a gig into the database.
Here's the code for the page where i enter the info in:
Date:
Location:
Venue:
Info:
here's the submit.php page ..which is the one that I suspect is giving me problems:
case 'gig
* Todd Cary ([EMAIL PROTECTED]) [Dec 24. 2001 13:46]:
> Currently, the IB SS rpm puts Interbase into /opt/interbase. Here are
> the instructions in the HowTo
OK, what you need to find are the includes for interbase. If you
installed from RPMs, you need to get the interbase "-dev" or "-devel"
eq
* Peter Hicks ([EMAIL PROTECTED]) [Dec 24. 2001 17:39]:
> > > gcc: /usr/local/snmp/lib/.libs/libsnmp.so: No such file or directory
> > Does libsnmp.so actually exist in /usr/local/snmp/lib?
> Yes (a symlink to another file, which exists), and SNMP is detected fine
> through 'configure'.
OK, an
58 matches
Mail list logo