Monday, August 12, 2002, 4:57:36 AM, Petre wrote:
PA> to the default php.ini, and have checked it and register_global = On
PHP settings can be altered outside of php.ini (using Apache .htaccess files
for example) Add this line to page2.php to see the run-time setting:
echo " register_globals is
Hello,
I've inherited a MySQL db (4MB on disk) that's riddled with
inconsistent storage of character entities from being pasted from
Word. At very least I hope to convert all quotes "‘" - "”"
to HTML's """ and "'".
I imagine I'll run a big query, save the id's needing edit in a file
than have a
Saturday, June 15, 2002, 11:11:49 AM, Julie wrote:
JM> update tablename set fieldwithcrap = replace(fieldwithcrap,
JM> 'oldstring', 'newstring');
Julie, lovely solution and shockingly fast. Thanks.
Steve
--
[EMAIL PROTECTED] ** http://mrclay.org
--
PHP General Mailing List (http://www.php.
Hello,
To perform a certain task I have to run one of my PHP scripts as a
CGI, which works fine except that the CGI doesn't have permissions to
my sessions that were saved running under the Apache module. I
expected different permissions, but I thought my user would have
/more/ permission to thos
Saturday, May 18, 2002, 1:05:30 PM, I wrote:
SC> CGI, which works fine except that the CGI doesn't have permissions to
SC> my sessions that were saved running under the Apache module. I
Figured it out:
from Apache mod script before CGI script:
//allow CGI to access session
$sess_file = session_
Hello,
On winNT I have Personal Web Server, PHP4.1.1, MySQL.
My target is Apache1.3, PHP4.2.2, Perl, MySQL.
Should I uninstall both PHP and PWS then install Apache, then PHP?
Would it be easier to uninstall mySQL and use a package like PHPtriad
than to set up Apache & PHP seperately? A package
Sunday, June 02, 2002, 7:55:09 PM, Andre wrote:
AD> I've been wondering why code in 'pure' php? Is there some compelling reason
AD> (that I'm unaware of) for doing so? Should I rewrite all my earlier code into
Andre,
Sorry to chime in so late, but IMO, be more concerned with
saving outpu
On another note,
Are there any open-source/freeware PHP scripts that have the
functionality of PHPMyAdmin, but modifiable for my custom tables/needs? The
admin script I could write at this point would be an inferior web
interface for our MySQL DB (only 2 tables), so I'd rather save time
a
Hello,
I'm building an e-commerce site which uses sessions to
hold my $cart object. This works great but I've two worries:
1) When the user connects through our secure hostname, can I ensure
the browser will send the server the cookie (w/ SESSID)? The user
will shop through domain.com and
Tuesday, March 19, 2002, 2:51:33 PM, Alexander wrote:
AS> Well, use GnuPG. Then you can use "PGP". And what you stated above is
Just some advice if you go with GPG and you don't have root/chown
access.
Since you'll create your keyring under your user, you'll likely have
to run PHP as a CGI so
Hello,
On my site I paginate query results by limiting rows output to a
value, say LIMIT, and then the 2nd, 3rd pages run the same query with
$skip=LIMIT, $skip=(LIMIT*2) value posted back. I use the following
code to "skip" these result rows, which is just fetching the next row
to an unused arr
Maxwell,
I tried it out. The sample test crashed the PHP 4.0.5 CGI binary everytime on my winNT
system. No script has ever /crashed/ the executable before, just might be worth note.
Steve
Friday, March 22, 2002, 12:45:11 AM, . wrote:
> I'm looking for opinions on RC4Crypt
--
[EMAIL PROTECTED
Hello,
I run Personal Web Server on NT just for local testing but I'm
considering installing Apache. Would this allow me to run mod_php
instead of the CGI? Ideally I'd like to configure Apache so that only
local requests are served - Is this easily done?
Anyone on NT/win2k have anything good t
GS> echo 'Finished';
?>>
I can do one better:
... ?>Finishedhttp://mrclay.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ron,
You probably want strstr(). or stristr().
Just as a usability recommendation on you code below, please don't restrict your pages
to IE only.. This would be better:
if (!strstr($HTTP_USER_AGENT,"MSIE 5.5") {
print "Please note this page has functionality designed for IE5.5";
}
Users of
Just as a note, recent builds of Mozilla have a cookie manager that is
the best for seeing exactly what's going on with your cookies. You
can list by name or host and see all the properties of each. Know
when your session cookies are sent/deleted, know if PHP is allowing
use of the same SESSID i
Monday, January 16, 2006, 5:14:49 PM, tg-php wrote:
> Should just be a matter of adding "start.php" to your defaults list in
> whatever priority order you want.
Apache's .htaccess:
DirectoryIndex start.php index.php index.html
In start.php:
// instead of redirecting, just set page
if (!isset($_GE
Tuesday, January 17, 2006, 10:54:21 AM, [EMAIL PROTECTED] wrote:
> If you can't set a new 'default page' on your server, using a
> header('Location: ...') will simulate the same thing.
Not really. Sending a "Location:" header says, "this page is temporarily
moved" and the browser has to send a 2n
Tuesday, January 17, 2006, 11:33:18 PM, HiFi Tubes wrote:
> Thanks to all of you who responded. Yes, I am doing the grid --basically
> 100 radio buttons, that is ten comments that must be ranked from 1 to 10.
Ugh. If you absolutely can't use Javascript, here's an idea:
Present this question by i
Sunday, January 22, 2006, 8:56:01 PM, HoWang wrote:
> software. I have made a quick search on php.net but I can't found amy
> extension support telnet. Is there any way to do so? Or it is impossible
Try http://www.geckotribe.com/php-telnet/ which uses fsockopen [1].
CURL [2] /claims/ telnet suppor
Sunday, January 22, 2006, 10:10:54 PM, Adam Hubscher wrote:
> ee dee da da da? §ð <-- those that look like html entities are
> the represented characters. I was mistaken, they are html entities,
Can you show us a small chunk of this XML that throws errors?
You said you've tried various parsers.
Monday, January 23, 2006, 5:06:02 AM, David BERCOT wrote:
> But, I have just another question about all the options I have to put in
> this file... Is it necessary to do all of this (sorry for my
Check phpinfo(). Several of those settings may already be set by your
server's php.ini file. Generally
Monday, January 23, 2006, 1:35:13 PM, Chris wrote:
> the ->saveHTML() method ... outputs as ``
> I need my output HTML to conform to XHTML strict.
Since XHTML is XML, try ->saveXML()?
Steve
--
http://mrclay.org/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Wednesday, January 25, 2006, 2:52:21 PM, S Yang wrote:
> Which method might I use to split the signature I have built in PHP into
> (r,s)? How can I know what the signature looks like?
Run the function http://us2.php.net/openssl_sign and pass it a $signature.
According to the manual, if successfu
24 matches
Mail list logo