Inércia Sensorial pressed the little lettered thingies in this order...
I am sorry, maybe going a little off-message here, but what would do you
mean by eliminate 'table-scans'?
--
What is typically referred to as a table scan is any operation that
requires scanning of the entire table
Matthew Loff pressed the little lettered thingies in this order...
I realize this is off-topic a bit... I also use MySQL for all
database-related projects...
Does anyone have any comments on benchmarks of the new beta of
PostgreSQL vs. MySQL? Postgres appears staggeringly faster in the
Hello,
I want to use SSL for authenting and Session management purpose.
I have apache running SSL successfully. Now i want to use PHP for this
purpose.
How do i do that ???
Please explain in detail.
Thanks in advance
Vinay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi,
Was the complex object issue ever fixed in PHP 4?
I'm running 4.0.6 with imap, and have built a class IMAPSession
defined in lib/sessionobject.inc.php. Here is a script:
?php
$config = array();
require(config/defaults.inc.php);
require(lib/common.inc.php);
Hi all,
I'm currently putting in a tender together for a large web project,
using PHP and MySQL, but I believe my skills may not quite be upto
scratch (or at least my development speed / quality of code), so I'm
considering finding a partner for the project.
They have a realistic budget,
On 14-Jul-01 Rasmus Lerdorf wrote:
I wrote (attribution added)
Enough already.
Whom should we flog and keel-haul for starting this include(foo.inc) crap
?!?
There is nothing wrong with naming include files with a separate
extension.
In the context of C files: *.c *.h . Then i'll
Hi,
I am trying to capture the Header from a mail for my webmail using php and
pop3. The header is something like this:
Content-Type: multipart/mixed;
boundary=B42DA66C4EC07C9B572A58FC
When I use preg_split(/[\d;]*/, $buffer), I get
Content-Type: multipart/mixed;
What I want is
Thank you.
I came to the same conclusion on mySQL after only reading about it's
comparative benchmarks and that's why I choose it.
By their own admission mySQL developers have concentrated their effort
on speed but I wondered about real life situations. I wondered if those
benchmarks where
Sorry for the delay.
The project I'm working on is private by nature in the sence that only
my clients will have access to the application. I don't expect to have
more then a few dozen but each of them may have up to say 50 users. Say
I have 50 clients each with 50 users. This means that I
well...
i don't think there should be any problem if the included file is a class
(right???)
come to think about it,
is it possible to create an object by passing a url like
this: file.inc?file=new mysqlfile-conn() i mean would this run the class??
regards
At 05:00 14/07/01, Rasmus
You have to use javascript
form name=the_form ...
a href=javascript:document.the_form.reset()img /a
/form
Data Driven Design
P.O. Box 1084
Holly Hill, Florida 32125-1084
http://www.datadrivendesign.com
http://www.rossidesigns.net
- Original Message -
From: Brandon Orther [EMAIL
Hei!
I have a script, where people can log-in to administrate a site,
but once they are logged in, what do i have to do to log them out again?
I thought to write a logout-script which deletes the $HTTP_AUTH_USER
variable, but it doesn't work.
It seems that the user-data remains in memory until
Hello!
I have following problem:
?
$container = new ccontainer();
$container-init();
$container-test1-foo();
$container-test2-foo();
$container-test2-owner-test1-foo();
$container-test1-owner-test2-foo();
class ccontainer
{
function ccontainer()
{
}
function init()
{
It's late, I've had a couple of beers, and in the morning I'll spend some
effort trying to imagine such issues. In the mean-time I'd welcome any
real-life examples.
::start.php::
?
$auth = /path/passwds;
include header.php;
?
::header.php::
?
$fp = fopen($auth,'r');
...
?
When
How can I activate the function imagecreate? I'm using PHP 4 in windows
and Linux.
Fatal error: Call to undefined function: imagecreate() in
E:/Augusto/HomePages/img/imagecreate.php on line 37
thanks,
Augusto
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Hi there!
I am trying to compile php 4.0.6 on Red Hat Linux 6.2 with IMAP support.
I have installed the package imap-devel*rpm and can easily compile PHP
as an apache module. But, when I compile using configure --with-imap,
after I install the new php module and restart apache, it complains
And the article was written by Joshua Drake, not Zeev. It seems to have been
published early January, judging by some Google research. Not sure why it
isn't in Zend's article DB anymore...
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application
You need to add --with-kerberos not --without-kerberos
On Sat, 14 Jul 2001, Fernando Lozano wrote:
Hi there!
I am trying to compile php 4.0.6 on Red Hat Linux 6.2 with IMAP support.
I have installed the package imap-devel*rpm and can easily compile PHP
as an apache module. But, when I
OK, there's been another thread floating around about getting:
Fatal error: Call to undefined function: mysql_pconnect()
Turns out, I'm getting this same error message for both mysql_pconnect
as well as plain mysql_connect. I'm using the PHP debian package found
in potato. (4.0.3pl1)
hi,
I would suggest u do not put path to mysql with php configure...simply,
--with-mysql will do..
hope iit works,
thank you
regards,
James
Kurt Lieber wrote:
OK, there's been another thread floating around about getting:
Fatal error: Call to undefined function: mysql_pconnect()
Turns
Since nothing seems to be available at snaps.php.net/manual I grabbed the
phpdoc cvs tree. Could anyone who is building their own manual tell me what
I need to build it? I'm running RedHat Linux 7.1
c
--
Chris Lott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
hie..
it's simply u did not declare ur class variable...
class ctest
{
var $owner;
function ctest($owner)
{
$this-owner = $owner;
}
function foo()
{
echo test!br;
}
}
hope it works :)
regards,
James
Andrew Kirilenko wrote:
Hello!
I have following
hi,,
u could try using explode function
eg:
arrayresult = explode(string, separator);
cont = explode(thestring, \);
echo cont[0] ;
// result as
Content-Type: multipart/mixed;
boundary=
echo cont[1];
//result as
B42DA66C4EC07C9B572A58FC
echo cont[2];
// array index 2 will be
hi,
I'm interested in the position,
would it be ok if I were in the position to do it from distance??
I'm currently living in malaysia...
I could do php with mysql.
I could setup apache , mysql and php with source on the unix environment as
well...
php have been my major for about several
On Sat, Jul 14, 2001 at 07:57:19AM -0800, Chris Lott wrote:
Since nothing seems to be available at snaps.php.net/manual I grabbed the
phpdoc cvs tree. Could anyone who is building their own manual tell me what
I need to build it? I'm running RedHat Linux 7.1
You need, DocBook, Jade, and the
Hi Marius!
On Fri, 13 Jul 2001, Marius Andreiana wrote:
How do you deal with numeric fields which start with 0 ?
Excel takes the 0s out.
[wild-guess]
erm, enclose them in `quotes' ?
-- teodor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
http://www.bosrup.com/web/overlib/
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
Dave Freeman [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On 13 Jul 01, at 21:47, Inércia Sensorial wrote:
Maybe a pop-up or a CSS/javascript box with
Hi David!
On Sat, 14 Jul 2001, David Brumley wrote:
Hi,
Was the complex object issue ever fixed in PHP 4?
works just fine for me (since 4.0.4pl1)
I'm running 4.0.6 with imap, and have built a class IMAPSession
defined in lib/sessionobject.inc.php. Here is a script:
?php
$config =
Just for reference, I originally meantioned a comparison of PostgreSQL
beta vs. MySQL latest-- here's the article:
http://www.phpbuilder.com/columns/tim2705.php3?page=1
I'm curious to hear comments on stability of Postgres, since the author
of that article meantions it as a concern of
Well, all the comparisons were based on year old (July 2000) versions of
each database, so not everything mentioned still holds true today.
__
/ Chris Lambert - [EMAIL PROTECTED]
|- ICQ #: 16435685 - AIM: ClipperChris
`- Cell: (401) 743-2786 - http://sms.clambert.org/
Hi Andrew!
On Sat, 14 Jul 2001, Andrew Kirilenko wrote:
Hello!
I have following problem:
?
$container = new ccontainer();
$container-init();
$container-test1-foo();
$container-test2-foo();
$container-test2-owner-test1-foo();
[*]
$container-test1-owner-test2-foo();
class
Hi u007!
On Sun, 15 Jul 2001, u007 wrote:
hie..
it's simply u did not declare ur class variable...
well, actually you don't have to declare them, you can add members as you go
(as opposed to C++ for example)
class ctest
{
var $owner;
function ctest($owner)
{
From: Christopher Ostmo [EMAIL PROTECTED]
The lack of transactions can easily be overcome by proper programming
logic.
That, unfortunately, is totally untrue if there's the possibility of more
than one person manipulating data at one time on tables.
The old fashioned way of locking all
I have a form with a textarea and it is being used by a marketing dept
to
paste a ms word doc into. It then is saved into a mysql database and
viewable online. the
problem is that the word doc used vbCrLf which is not recognized by
the browser, so the
lines are extmely long.
I have
I get this too. I think it is because I'm running cgi php. Think it is a
500 error.
Easiest fix would to also create a custom 500 error handler.
Ken Gregg
Enhanced Data Systems, Inc.
http://www.rwre.com for the best in Southwest Oregon Real Estate
Scott wrote:
I have custom 404 error
Chris Lott [EMAIL PROTECTED] wrote:
Since nothing seems to be available at snaps.php.net/manual I grabbed the
phpdoc cvs tree. Could anyone who is building their own manual tell me what
I need to build it? I'm running RedHat Linux 7.1
egon answered the question about what you need, but you
The form is no problem but how do INSERT 10 ROWS with one insert
statement. I figure some kind of loop like I did with the form.
When form is submitted:
$query = INSERT INTO songs VALUES ('$id',
'$songname','$rating','$video', '$album_id', '$movie');
$result = mysql_db_query(movies, $query);
I have an array of id numbers ($catids). I would like to select from the
mysql database all records where cid is in that array.
This syntax fails:
select * from categories
where cid in $catids
What is the correct way to do this? It can be done outside of a loop, can't
it?
c
--
PHP General
I'm a new PHP/mySQL user (all of about 10 hours so far, working thru some
web-based tutorial stuff and using resources on the Internet). I have the
following problem:
You can try the code out at
http://www.bond.net/~warrickw/zone6jrs/testsel.php
I want to have a form that lists values in a
I have an array of id numbers ($catids).
This syntax fails:
select * from categories
where cid in $catids
Never mind. I was being stupid. For the record, one needs to implode(,,
$catids) and then use that in the WHERE statement, i.e. where cid in
($catids)
c
--
PHP General Mailing List
phpLinks 2.1 beta is released.
http://phplinks.org/
Thanks,
Greg
--
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 administrators, e-mail: [EMAIL PROTECTED]
function sum_array( $input_array )
{
var $index;
var $sum = 0;
for( $index = 0; $index count( $input_array ); $index++ )
$sum += $input_array[ $index ];
return $sum;
}
The array variable issue has indeed bitten me a couple of times, so now all
my arrays are
hi there!
the operators you want are ~ and ~* and !~ and !~*.
select name from table where name ~* 'test';
to see all operators availlable type \do in psql's interactive mode ;)
Regards,
Nuno Silva
Derek wrote:
anyone know how I force a case insensitive search through a postgres
database.
1) Can someone please clarify if we need something else for this
(asp,cgi,ect).
You don't need anything other than PHP mySQL. What you are talking about
could be done in ASP, but would be much more difficult (most people find ASP
to be a much more difficult language). When you say CGI, you
What if you were to open an SSL tunnel to the DB host, then connect through
that???
like you said... as long as the database provider accepts
connections from outside, you can administer it from anywhere.
if the provider doesn't accept incoming connections, no amount
of tools and software
I need to send form input to a secure CC payment processing form using the
POST method. Before the fields are sent, I need to insert them into a
database, and I prefer that the user not have to press a second submit.
I have been trying to use cURL to do this, but instead of sending the user
to
Ok. I've been in this industry for 32 years. I've loved O/S2, hated windoz
and been intrigued with *nix. So, I have a successful web site and server
under windoz/php/mysql and I decide to venture into RedHat Linux because I
have heard some great things about it.
I get 7.0 and install it,
Hi James,
I don't want someone overseas.
I DID ask for someone in Melbourne.
Thanks anyway.
Justin French
James Tan wrote:
hi,
I'm interested in the position,
would it be ok if I were in the position to do it from distance??
I'm currently living in malaysia...
I could do php
You probably mean SSH tunnel, which is quite feasable-- Hank Marquardt
posted this earlier to the list:
--- BEGIN QUOTE ---
Works just fine ... as does postgres --
ssh -N -2 -f -C -c blowfish -L3306:yourdatabase.server.here:3306
[EMAIL PROTECTED]
or the other usual
hi,
I wanna print out all files in a directory. But i wanna exclude ., ..,
head.jpg, and all files that start with tn_
Here is my script, but it didn't work. Please help me to solve this problem.
Thank You.
-my script-
while ($file_name = readdir($dir2))
if (($file_name!=.
Hi,
I tried to execute the following command from the web interface using a
system call
/usr/bin/play a_wave_file.wav
I tried exec, system, passthru, and shell_exec. None of them worked, that is
I didn't hear any sound played. Note that I'm sitting here on the server
itself, and tried it
Hi All,
I want to enable multiple languages on one of my scripts, so
administrators or visitors can choose in what language they want to browse
the site. I have seen a few ways to do it, like with switch, define or
querying databases.
But, considering performance, what is the best way to
oh,
i didn't realise how php is as flexible as vb :)
yeah.. ops, missed out the owner-test1 does not exist :)
thanx for tips :)
[EMAIL PROTECTED] wrote:
Hi u007!
On Sun, 15 Jul 2001, u007 wrote:
hie..
it's simply u did not declare ur class variable...
well, actually you don't have
dear chris,
mysql does not support 'in' clause at the momment...
the only way to this is to use the loop to generate the sql syntax..
orr.. use the implode function... to join the array into 1 string separated by
the first parameter...
$catsql = implode(or cid=, $catids);
$catsql =
G'day folks,
We've got a web-application ready to install and everything looks okay except
that the client has chosen Hosting4all as their web-hoster. They
(Hosting4all) don't have a version of PHP linked with cURL and we need to
process credit card information. Again, the client has chosen a
55 matches
Mail list logo