It uses sendmail by default.
You can change that in php.ini to anything you want.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer
>
> $text = "yadayada";
>
> $date= "today...";
>
> $connectionstring = odbc_connect("MYSKODB", "Sa", "");
>
#> odbc_do($connectionstring, "INSERT INTO lappar (text,datum) VALUES
#> ('$text','$date')");
$query = "INSERT INTO lappar (text,datum) VALUES('$text','$date')";
echo $query, "\n";
odbc_do
> I want to be able to include a graphic or something of that sort in a form
> mail (using mail() from ). Is this possible?
You can figure out a whole lot of gnarly MIME stuff, or you can get a
pre-written function/class that does it for you from one of the sites linked
here:
http://php.net/links
Are you using full path for every file?
Are you sure you've got the correct syntax to MySQL doesn't prompt you for
the password?
Any messages in your HTTP error_log file?
Use the optional args to exec() to get back any output and also an error
code, and then use man errno to look up the error c
> PHP is not able to load bmp images... is there any setting to be
>done in ini file???
PHP does not support BMP.
If you can find an OpenSource implementation of BMP functions, you could
probably add BMP support.
However, I think BMP is a Microsoft proprietary format, so there may be no
ho
Hi
Does anyone know if there's a php command line parser,
that lets you run php-scripts from the command prompt instead of running
them over http. (much like perl)
Regards
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
Php uses sendmail, atleast on Unix systems.
Alex Shi wrote:
> Hi,
>
> I have a question regarding to mail() function:
> Does mail() function use sendmail, or just use a mail program of php?
> If it uses a mail program other than sendmail, how can configure it to
> work correctly?
>
> Alex
>
I'm not sure if this is a problem with my php coding or html or the server or what,
but I made a simple photo album that just basically lets users add a pic of themselves
through a form and it records the url of their pic in a sql db and then i just display
it on a page. Now the problem is only
Hi,
Can anyone tell me why header() cannot been used after any network
operation?
In my script, there are following steps:
1).a socket is opened for smtp;
2).send email;
3).closed the socket;
4).use header() to redirect to another page.
If no 1), 2) and 3), 4) can be processed without any p
Has anybody wrote a quality search engine in Php Something like
goto.com or googly. Not a site search engine. Preferably one that is a
pay per click search that pulls from a mysql database and also will
pull from other search engines. I am looking for one if you know were
there is one I would real
On Wed, 5 Sep 2001, nyon wrote:
> I got an error "Maximum execution time of 30 seconds exceeded in C:\... on line 224"
>while
> accessing a PHP page tie to a Mysql database.
>
> 3. How to I set it to 60 seconds ?
This is the default PHP configuration.
In your php.ini file, look for this line:
>I got an error "Maximum execution time of 30 seconds exceeded in C:\... on
line 224" while
>accessing a PHP page tie to a Mysql database.
>1. Is 30 seconds the normal setting before it times out ?
It is the default settings. It's rarely normal that a script last that long.
My longest scripts is
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Vicki) wrote:
> $db = mysql_connect ("hostname", "user", "password");
>
> if (!$db)
> {
> echo "Error: Could not connect to database. Please try again later.";
> exit;
> }
BTW, you can reduce that block down to a single line:
$db = mysql_con
Hi,
I got an error "Maximum execution time of 30 seconds exceeded in C:\... on line 224"
while
accessing a PHP page tie to a Mysql database.
1. Is 30 seconds the normal setting before it times out ?
2. Is this error is due to PHP or Mysql ?
3. How to I set it to 60 seconds ?
Thanks
Nyon
http://www.php.net/manual/en/language.variables.scope.php
On Tue, 4 Sep 2001, Aaron Moore wrote:
> Sorry about the newbie question. I have a config.php file which contains a
> string which I would like a function to access. How do i make it global so
> that it can do so.
>
> Thanks for your help
I have seen people using
include ("config.php");
in the begining of the page for that purpose.
--- Aaron Moore <[EMAIL PROTECTED]> wrote:
> Sorry about the newbie question. I have a config.php file
> which contains a
> string which I would like a function to access. How do i
> make it global so
Sorry about the newbie question. I have a config.php file which contains a
string which I would like a function to access. How do i make it global so
that it can do so.
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
I have some images in a photo album type thing of charts with a black
background. Some users have complained that when they print this
they use a lot of ink. I was wondering if it were possible to convert
an image to black and white (b&w only, no grayscale) and then reverse
it so the background w
Well this is progress! My sloppy semicolons seem to have been the
problem. The error message has now moved down to line 14, which in
Dreamweaver 4 is the closing "}" of that code block.
Since the line numbers in the error messages don't seem to be exact, the
problem is probably in the lines im
On Tue, 4 Sep 2001 14:29:42 -0700 (PDT), Rasmus Lerdorf
<[EMAIL PROTECTED]> wrote:
>> In perl I can say something like:
>>
>>($var1, $var2) = $sqh->fetchrow_array()
>($var1, $var2) is magic. I hate magic. What do you look up in the Perl
>manual when you hit syntax like that? In PHP the eq
On Wed, 5 Sep 2001 11:20, Gary wrote:
> Hi,
> Could someone give me an example of using stripslashes with echo and
echo stripslashes($variable_to_strip_slashes_from);
> one with .msg in a mail function.
Not quite sure what you mean by this?
--
David Robley Techno-JoaT, Web Maintainer,
Hi Vicki,
try this:
"; #<-- you
need a semi colon here and
echo "Please go back and try again."; #<-- another echo here.
exit;
}
you could also do this:
Please go back
and try again.";
exit;
}
Jack
-Original Message-
From: Vicki [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September
> I've been stuck on this all afternoon. The opening PHP tag is
> what's on line 8.
You may have disabled the "short" PHP tags - namely, .
These tags conflict with XML specs.
Try http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Not only am I new to PHP, I'm new to programming altogether. I'm trying
to take it step by step, and my first big experiment was the script
below, used to enter info from a form into a mySQL database. I get the
following error message when it runs:
Parse error: parse error, expecting `','' or
Please reply, privately or at least CC ...
Can anyone suggest/recoment/point to a PHP suite for doing web mail ala
Hotmail or Yahoo! mail? Something with a simple interface and easy to
maintain.
Can anyone suggest/recoment/point to a PHP suite for maintaining a mail
server? Agai
Someone else just mentioned this one to me, looks very inexpensive:
http://www.simonweb.com/standardunix/index.htm
--
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,
On Wed, 5 Sep 2001 06:59, Rasmus Lerdorf wrote:
> > In perl I can say something like:
> >
> >($var1, $var2) = $sqh->fetchrow_array()
> >
> >
> > to assign column values to more than one variable at a time. So I
> > tried similar syntax with PHP:
> >
> >
> > ($var1, $var2) = mysql_fetch_r
Hi,
Could someone give me an example of using stripslashes with echo and
one with .msg in a mail function.
TIA
Gary
--
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 administrato
>I use list context a lot in PHP and Perl, and I prefer Perl's way of
>doing it *because* it allows you to be as verbose or terse as you
>like.
>PHP, unfortunately, doesn't give you that freedom.
Hmm... the freedom to write unreadable, unmaintainable code, yes this
is a very important feature.
> You wrote:
> > ($var1, $var2) is magic. I hate magic.
>
> It's not magic. It's just simpler.
>
> > What do you look up in the Perl
> > manual when you hit syntax like that?
>
> http://www.perldoc.com/perl5.6/pod/perldata.html
I said "what" not "where". I still maintain that if you don't know
You wrote:
> ($var1, $var2) is magic. I hate magic.
It's not magic. It's just simpler.
> What do you look up in the Perl
> manual when you hit syntax like that?
http://www.perldoc.com/perl5.6/pod/perldata.html
> In PHP the equivalent syntax is:
>
> list($var1, $var2) = ...
Which is longer,
Hi Again,
Maybe you are using "parrent" instead of "parent" (one 'R')? If it is
not that no clue? It works perfect for me. Have you tried chapter 13 of
the manual?
Sean C. McCarthy
SCI, S.L. (www.sci-spain.com)
Jeroen Olthof wrote:
>
> when I use parrent::function() to use pare
: Some people's REMOTE_ADDR changes every time they make a web request...
:
: For example a ISP i use, uses a array of invisible proxys, that change my
IP
: on each request..
Thanks for the advice. That would have been rather embarassing if people
couldn't login! Then is just the session id sec
Hello,
You may want to check out connecticut-web.com
I use their $36/year plan for several domains. They are
always up and running.
They provide mysql+php support.
--- Jason Bell <[EMAIL PROTECTED]> wrote:
> I recently moved all of my domains to www.prohosters.com
> and have been
> nothing but p
Seb,
If you don't mind Canadian... we use http://www.nl2k.ab.ca/ for both our
business and for a number of our customer sites.
Go to http://www.nl2k.ab.ca/services/website_hosting.html for pricing and
details. They are a smaller company, but their downtime is very minimal (I
can't recall any
Greetings, Seb.
I've had good luck with csoft.net in Canada. Plenty of space, extremely
good uptime though they've had a few outages, but mostly due to problems
out of their control, ie. upstream provider.
They meet all of your requirements and quite a bit more.
hth
Happy Programming!
Chris M
If anyone knows of such a setup in the US that achieves that cost with that
amount of space, I too would be interested.
But, short of that, at least one solution is Hurricane Electric. They have
a variety of "self serve" web plans, ranging from $10/month on up. It
includes PHP and MySQL, runs o
I recently moved all of my domains to www.prohosters.com and have been
nothing but pleased with them.
They offer unlimited (within reason):
space (their plans list disk quotas but they will be the first to tell
you that they ignore them)
pop3 accounts
MySQL Databases
Domain Names.
I thought I had good web hosting, but I don't. They're often very slow and
frequently (I'd say at least an hour every day) my site is inaccessable.
Today I've barely been able to get on it at all.
So I'm moving.
I'm in the UK. Is it stupid for me to go with a US hoster? And either way
who do
when I use parrent::function() to use parent class function from the child
(extended one) I get
Undefined class name 'parent'
What I'm I doing wrong
kind regards
Jeroen Olthof
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
I the Sears Christmas catologe is out, Im going to make a christmas wish
too.
I wish I could just do this
function test()
{
somefunc(func_get_args(), 'one more arg');
}
but I cant, I have todo this, ouch
function test()
{
$args = func_get_args();
eval("somefunc( '". implode("', '",
I have my reason, and yes you are absolutely right, one reason tinyweb is
small and does what I need and does it well, and this setup is for a small 2
pc internal network. Anyway, it works fine with perl and java stuff etc.
I have tried to set the required tinyweb env and associate .php with p
I don't know if it's IIS or ASP that handles this, but there's a beast
called a remote scripting object. It combines JavaScript and ASP to call a
remote script on your server without having to submit your browser or load
a new page. SO I can add a value to a form field and in the onchange eve
Jeremy:
Have you tried echoing your $sql variable to ensure it has in it what
you expect? In other words, does $PHP_AUTH_USER have the value you need
it to have?
hth
Happy programming!
Chris Mulcahy
> -Original Message-
> From: Jeremy Morano [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday,
You can use a while loop. Ie: (where $row is the result of a sql query)
if ($row = mysql_fetch_array($result)) {
do {
$var1 = $row["column1"];
$var2 = $row["column2"];
$var2 = $row["column3"];
} while ($row = mysql_fetch_array($resu
> In perl I can say something like:
>
>($var1, $var2) = $sqh->fetchrow_array()
>
>
> to assign column values to more than one variable at a time. So I
> tried similar syntax with PHP:
>
>
> ($var1, $var2) = mysql_fetch_row($sqh);
>
>
> but could not seem to work it out.
>
> I know you can
Michelle:
This line seems to be a problem.
print("If the problem persists you can mail your question directly to
mailto:[EMAIL PROTECTED]\%22";>the forum
administrator");
Try escaping your quotes surrounding your mailto href.
hth
Happy programming!
Chris Mulcahy
> -Original Message-
In perl I can say something like:
($var1, $var2) = $sqh->fetchrow_array()
to assign column values to more than one variable at a time. So I
tried similar syntax with PHP:
($var1, $var2) = mysql_fetch_row($sqh);
but could not seem to work it out.
I know you can do this with a tempor
how stupid of me, ofcourse extends does the trick, thanks !
but one little question, somehow classname::function() works
but parent::function() doesn't seem to work ???
"Sean C. McCarthy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> What you are lo
I'm sorry, I didn't intend to sound like I was slamming PHP. I'm just
unable to use it in good conscience on the systems I'm administering due
to the issues such as getting the graphics library (gd) and other
libraries to work with it.
I know that the PHP developers have no control over this, Ze
That's quite a rational response...
The most common problem people have when building GD support is that they
download their own version of GD, but leave the system version of GD and
PHP picks up the system header files instead of the desired ones and
things get confused.
Building PHP with GD on
Thanks,
The manual doesn't really make it clear though, all it says is:
This sets the value of the specified variable.
php_flag name on|off
And then it later it says:
engine boolean
This directive is really only useful in the Apache module version of PHP. It
is used by sites that would like to
Yes, you are right, when add backslashes it works. But I really
don't understand why ereg()/ereg_replace behaves differently on
different servers...
Alex
- Original Message -
From: "CC Zona" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 01, 2001 11:59 PM
Subject:
Hi,
What you are looking for is the OOP class extension. Look for "extends".
Sean C. McCarthy
SCI, S.L. (www.sci-spain.com)
Jeroen Olthof wrote:
>
> hi,
>
> picture I have a class with some variable holding the information of this
> class. Now there are some functions to mani
Banning PHP from your system just because GD won't compile with it seems
a bit drastic...
You have to realize that the PHP developers don't really have anything
to do with GD, pdflib, etc... they have added support for them into the
PHP language, but an issue with one of these external libraries
Just out of curiosity, are you going to be posting every time you have a
syntax error?
As for this error, it's likely a combination of:
1. not having either single or double quotation marks around the string
literal; or
2. If that line isn't the last line in a php block, it needs a semi-colon
Dennis:
Unfortunately, no, I have not had any luck or even any responses to my
email.
I have officially given up on PHP and have banned it from any system I
administer due to problems such as this. Once you get past the mod_perl
compiling with Apache, all is well with Perl and extending it is e
> the require(morefunctions.php); will ofcource not work but
> bassicly this is what I want. en all the functions added should
> be able to use VAR1 VAR2 VAR3 (and the other functions that
> are allready in the class)
> is there a why to do this ??
Yes, there is.
Go here:
http://www.php.net
Hi Jason
No, but I have taken the output from $xarray ...
--
$result = exec("mysqldump -umyname --password=mypassword
tablename >db.dump",$xarray,$status);
echo "status[$status]";
$count = count($xarray);
Hi all...
Having problems with some php3 to php4 stuff.. the site has a form that has
been setup to ask questions outside our discussion forums.
The form.html contains
The questionmailer code is as below. I have only changed the email addy and the
file extension from .php3 to .php on the
The system() call will flush the headers to the client while exec() won't, but exec()
won't wait until the system call is over.
Is there a way to make a system call, and wait until it ends, but don't send the
headers to the client?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To
Have you tried storing the mysqldump output to a string and then using PHP
to open a file, dump the string into the file, and then close the file?
Might work that way...
- Original Message -
From: "Tony Frasketi" <[EMAIL PROTECTED]>
To: "Sam Masiello" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROT
Hello everyone, I'm having a problem with my option block... I'm trying to
pass the value of uid to the next page. I always get the last uid value in
table user. How can I change this so I get to pass the value of the user's
choice?
$sql = "SELECT user.uid, user.first_name, user.last_name
hi,
picture I have a class with some variable holding the information of this
class. Now there are some functions to manipulate the vars. well, you nou
what classes are about. but now I want to add functions that are located in
a different php file. but this functions need to use the the var of t
Hi Sam
Thanks to suggestions from jason, Alexander, and yourself I tried the
unix which command and found that mysqldump was located at...
/usr/bin/ directory
And I changed my exec command to include this directory but alas, the
results were the same.
Is it possible that the mysqldump comman
Actually it doesn't matter '&&' or 'and' they are equal but I found a
solution - I just took away conditions and put this instead
$relev = "$title_search+$descr_search+$act_search";
$result = mysql_query("SELECT skits.*,category.*,match
(skits.title,skits.descr,skits.skits) against ('$relev')
Hello,
This message is being sent to you because you either sent / or requested
this information from me. We are offering a full or part-time position using our
program. You can work at home. I do require that you have a computer and
are familar with internet/email functions. As to the salar
Thanks Michael,
What I'm after is how well PHP can handle load, I know it's quick, I've
tested it and I have to say that the results are somewhat interesting.
But, what I can't test properly is how it handles hundreds, even thousands
of simultaneous connections.
I know that the above is probabl
try use redirections.
e.g, call your php script that redirects to your pl script with all required
parameters that redirects for a resulting php script... arrrgg
but i think the better way is to convert everthing to PHP or Perl
Cheers
Valter Sa
So sprach »Tony Frasketi« am 2001-09-04 um 13:53:10 -0500 :
> section of the phpinfo listing. Do you know of a unix shell command I
> could use to get the location of mysqldump?
which mysqldump
this should tell you.
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote
the unix command to see where an executable is, is which. Example: "which
mysqldump"
- Original Message -
From: "Tony Frasketi" <[EMAIL PROTECTED]>
To: "Sam Masiello" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 11:53 AM
Subject: Re: [PHP] Newbie Question:
You could do:
"which mysqldump" (without the quotes, of course :) ).
This is provided that mysqldump is in your path (if you can enter just
"mysqldump" from the command line, then it is).
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
---
The problem I had was with the compilation of the gd program. I installed
an RPM version of gd from Redhat and recompiled. It worked like a charm on
RedHat v7.0.
I am still working on the tarball version of gd. The documentation says to
play around the order of some of the settings in the make
PHP4's configuration syntax has changed; see
http://www.php.net/manual/en/configuration.php
Try using the line
php_flag engine on
-steve
At 11:35 AM -0700 9/4/01, PHP List wrote:
>Hi,
>I am trying to update my server to php4. Everything seemd to compile fine.
>httpd -l shows
Hi Sam
No I haven't tried this since I'm on a virtual server and don't know
where mysqldump is located. I tried doing a phpinfo() to see if I could
get the mysqldump location from there but I didn't see it in the mysql
section of the phpinfo listing. Do you know of a unix shell command I
could use
Hi Uchendu!
Yes, this is very possible! Here are a few things that come to mind.
There are of course many ways to do this :
To check the existance of a variable, consider isset() as it checks for
the existance of a variable :
if (isset($HTTP_GET_VARS['images']))
Maybe set some default val
Hi sagar
The $xarray,$status parameters are part of the PHP exec command not the
embedded mysqldump command.
$result = exec("mysqldump -umyname --password=mypassword
databsename >db.dump",$xarray,$status);
Thanks, Tony
sagar wrote:
>
> did u got it or not ?
> recently i u
Have you tried putting in the fully qualified pathname to the mysqldump
executable?
/usr/somepath/mysqldump
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
-Original Message-
From: Tony Frasketi [mailto:[EMAIL PROTECTED]]
Sent: T
Hi,
I am trying to update my server to php4. Everything seemd to compile fine.
httpd -l shows mod_php4.c in the list.
I used to use these entries in my httpd.conf to specifically turn php on in certain
dirs instead of default on for everyting.
php3_engine on
But I cannot find a combo that
Hi Sam
Thanks for the reply. I had the permission set for 777 so that should
allow access to the directory for writing from PHP, should it not?
Also I tried specifying >/tmp/db.dump in the command and had the tmp
directory permission also set for 777 but still get same results. The
file get writt
Hi Sagar
My goof in the email composition! 'tablename' should have been 'dbname'.
So yes, the database name is specified and I am attempting to dump the
entire database with all tables.
Thanks for point out my error.
sagar wrote:
>
> Did u mention the database name from where the table has to b
Did u mention the database name from where the table has to be
picked up.
check out the manual for correct syntax.
/sagar
- Original Message -
From: Tony Frasketi <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 11:25 PM
Subject: [PHP] Newbie Question: mysql
I would say that you have a permission problem with where PHP is trying
to write the file to. Try outputting the file to /tmp/db.dump and see
if you have the same problem.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
-Original Messag
Hi,
Is there anyway that I can hide my website name in the authenticate window?
if ( ! $auth ) {
header( 'WWW-Authenticate: Basic realm="Private");
header( 'HTTP/1.0 401 Unauthorized' );
echo 'Authorization Required.';
exit;
}
--
PHP General Mailing List (http://www.php.
Goalposts change.
The zdnet eweek article from last november showed PHP being *THE* fastest
between JSP, ASP, CF and PHP. PHP was 47 pages/second. ASP was 43, CF
was 25 or 26, and JSP was 13. The benchmark was a ecommerce store -
each system had functionally equivalent code, and ran on the sa
Hello listers
I'm trying to implement a mySQL database dump via PHP4 on a unix system
as follows...
--
$result = exec("mysqldump -umyname --password=mypassword
tablename >db.dump",$xarray,$status);
echo "status[$stat
what is the correct POSIX-regexp to match a range of characters
between two parantheses, while ensuring that it is the largest
match possible? need fast reply. thanks.
Running against
(foo (bar (baaz) quux( fred woody) wang))
it should return
foo (bar (baaz) quux( fred woody) wang)
> I'm about ready to go insane over this one. I have the following link.
>
> http://www.wayneswoodworks.net/test/samples.php3?&key=1
>
> When I get into samples.php3 I do:
>
> $record = $HTTP_GET_VARS["key"];
>
> echo "record=$record";
>
> And the record variable is blank/missing.
Did you ge
I'm recursivley reading and editing every .htm and .html file in a 500 page
website and upgrading it to contain linked CSS, Javascript includes and PHP
includes. i can't use a pre_pend file as there's more than one website on
the server, and the changes are embedded in the document rather than jus
Hi,
I have a question regarding to mail() function:
Does mail() function use sendmail, or just use a mail program of php?
If it uses a mail program other than sendmail, how can configure it to
work correctly?
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMA
Hi ,
Is there anyway of hiding the name of the website in the isset "Enter
Network Password" window?
if (isset( $PHP_AUTH_USER ) && isset($PHP_AUTH_PW))
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
Although I have a solution to my script, I would rest at ease if someone
could confirm that I have erred and perhaps if I had read some particular
part of the manual I'd never have had the problem.
http://www.php.net/bugs.php?id=13055&edit=2
rgds
Mal
--
PHP General Mailing List (http://www.p
OK, I have a problem calling a function using default variables.
In 'gallery.inc':
-
function gallery ($filename, $first = 1, $tablewidth = 4, $total = 20) {
echo "Filename: $filename, First image: $first, Table Width:
$tablewidth, Total: $total";
}
---
>You cant use a select statement withoug using a table name.
>check out this
>$query = "insert into classification(customername) (select customername
from username >where username='$username')";
Incorrect in mySQL you can do
mysql> select 3+5;
returns 8
plus a whole lot of other functions that
If you run Apache you might want to look into the ab program, it's in the
apache/bin directory IIRC.
HTH
Jon
-Original Message-
From: Andrew Brampton [mailto:[EMAIL PROTECTED]]
Sent: 04 September 2001 16:48
To: [EMAIL PROTECTED]
Subject: [PHP] Load testing
Hi,
I'm looking for a app t
Do u want to get the table data for backup ?
then try mysqldump -u -p -d -t>
somefile.txt;
check out once the manual for mysqldump syntax
/sagar
- Original Message -
From: Balaji Ankem <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 12:13 AM
Subject:
You cant use a select statement withoug using a table name.
check out this
$query = "insert into classification(customername) (select customername from username
where username='$username')";
i cant answer ur second question, since i dont the
structure of your table
/sagar
original message
On Tue, 4 Sep 2001, Boaz Yahav wrote:
> I'm currently using PHP 4 on Solaris on a front end server with MySQL on
> Solaris as a db server.
...
> I want to work with MSSQL Server 2000 instead of MySQL, does anyone have
> experience with working with such
> a combination? PHP4 on Solaris as front an
Hi,
I'm looking for a app that I can run across my network that will load test my
webserver & pages...
Something like a program that will open 100 pages at once and tell me the response
times or error occuring etc...
Does anyone know of such a app?
Thanks
Andrew
Boaz Yahav wrote:
>Hi
>
>I'm currently using PHP 4 on Solaris on a front end server with MySQL on
>Solaris as a db server.
>Since I'm having weird problems with MySQL (3.23.41) on very active
>tables (a 700,000 records table with lots
>or reads and writes) .
>
>I want to work with MSSQL Server
1 - 100 of 142 matches
Mail list logo