When on mailing lists such discussion get longer and longer, like
'Attitude of B van Ouwerkerk', I always remember of this email. Could
everyone give a moment of thought and get back to the purpose of this list?
I know that this includes myself too, which I apologize for my behavior:
Q: How
Is it maybe one of those where you mixmatch your GET/POST?
FORM ACTION=foo.php?x=1 METHOD=POST
Try moving the ACTION before the METHOD. No, it shouldn't matter...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD:
There has to be an ultimate php tutorial out there which goes from start to
finish being easy on the brain. if someone finds a tutorial this good,
i may be forced to post less on this list. and i wouldnt like that
Try the WebMonkey and the DevShed ones, I think... Or just try the first
Miles,
The LIMIT works great with UPDATE too.
Miles Thompson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Come on, you're pushing SQL in directions it's not supposed to go! It is
set oriented after all.
So it's experimentation time. I've never tried, but
on 8/2/01 9:01 PM, Ralph Guzman at [EMAIL PROTECTED] wrote:
In mySQL, how do I set an auto increment field to start at a certain
number-let's say 1? Do I just insert the first record with the desired
number I wish to start with?
it appears to depend on the table type. i believe you are
Can someone tell me how to properly compare the value returned from the
db to see if it is blank ?
Depending on how you got it in there, I suspect the value from the db could
be:
NULL
-00-00 00:00:00
0
You may need to test if the value is == '' to catch the NULL case.
Everything else
select tableA.*, tableB.* from tableA,
left join tableB ON tableA.keyfield = tableB.keyfield
When I then try to access the column keyfield, after using
select tableA.keyfield as mykeyfield, tableA.*, tableB.* ...
Unless you actually need *EVERY* field, do *NOT* use tableA.*, tableB.*
Every
setlocale(LC_ALL, '');
putenv('LANG=fr');/* changed here */
setlocale(LC_ALL, '');
WILD GUESS ALERT!
My gut says you need setlocale(LC_ALL, 'fr') or similar in the French one...
And maybe even 'en' for the English one.
Even if the docs say you don't.
There was
Kyle,
Apache runs as a background program.
When you've installed apache, and php, you don't actually run them from the
commmand line.
What you have to do is open up a browser window, and point it to your
computer.
Open up Internet Explorer (you're running windows it looks like),
and type in
On Tue, 31 Jul 2001, B. van Ouwerkerk wrote:
There's nothing wrong with being a newbie.. the only newbie-problem I
see/have is the lazy one.. ask ask ask ask without taking the time to read
the manual or to do a search in the archive. Sure there are newbies who
read the manual.. get some
Sehr geehrte Damen und Herren,
Sie benötigen regelmäßig Übersetzungen von Fachtexten und Webseiten
- und das am besten in Stunden, und nicht in Tagen?
In nur 60 Sekunden können Sie sich hier umfassend über unseren innovativen B2B
Übersetzungsdienst informieren:
Does anyone know of any functions / tools / utilities / whatever that can
be
used to provide a timing of the execution of each line of a php program?
I'm
guessing this would probably be a test harness or a debug app or
something.
I've used timing functions to record the execution of blocks
Does anyone know of a more-or-less authoritative source that states that
the common convention for HTTP GET/POST queries is a series of name=value
pairs joined by characters? I know I'm not just making this up, but I
need to persuade someone that it is a commonly-accepted practice. Before
you
I just discovered PHP this week. I'm reading about include statements. If
I
have a text file 2000 characters in length that I want to include, I would
do this to include to whole file:
?php
include (file.txt);
?
http://php.net/fopen
http://php.net/fread
?php
$path = file.txt;
Hello.
I've read a book, PHP DEVELOPER'S COOKBOOK, with great interest and it's a
great contribution to my bookcollection :-)
There is something I would like to know thoughI have searched through
all my books and sites on PHP, but didn't find the answer
In chapter 16 (Creating a
How do i set up extra functions on my computer like mail() and date()
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
Any body there with experience setting up Netscape Enterprise Web Server
with PHP as CGI binary. I need to know how to configure Netscape Web
Server.
If Netscape Enterprise Web Server has a HowTo for setting up Perl as a CGI
binary, do PHP exactly the same way.
Except for the Perl-PHP bit, of
selecting behavior possible. Currenty all questions go to php-general. If
there were, say, a php-newuser and a php-questions list then perhaps
php-general could be used for slightly higher level discussions. Actually
This paricular can of worms has been discussed *WAY* too often already.
Come on, you're pushing SQL in directions it's not supposed to go! It is
set oriented after all.
So it's experimentation time. I've never tried, but as LIMIT works on a
SELECT, try it on an update. And let us know what happened.
Miles
At 10:30 AM 8/2/01 +0200, elias wrote:
How can I update
No, the ^ inside the [] means the negation of whatever's inside...so,
it'll strip out anything except 0-9.
jack
-Original Message-
From: Martin Cameron [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 02, 2001 8:40 PM
To: mike cullerton
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Phone
You could use the implode() function to convert the arrays to strings
and then pass the concatenated strings to the mail() function.
- Tim
On 03 Aug 2001 09:00:04 +, Geoffrey Makstutis wrote:
I'm sure that I'm missing something obvious (probably sleep), but how can I take the
contents of
stop a file called foo.bar from being downloaded with a web server ?
Say you'r web site's name is foobar.net.
..and...
Script-kiddy Johny knows that,
but also knows that you'r secret file is called foo.bar
and it is saved in the root dir. of you'r web site.
in a http browser little Johny
can
If I am talking to non geeky types, and they bother to ask, I
go with Professional Hypertext Processor.
Now that's a good one I will keep in mind!
--
Herzlich
Werner Stuerenburg
_
ISIS Verlag, Teut 3, D-32683 Barntrup-Alverdissen
I'm currently just playing around with a few things and want to
write a script that will listen on a UDP port and then log/process the
information. The problem i have it that i don't know if php can do this. I
know that you can connect to a UDP port but can you listen on one? And if
you cant
Can anyone help me with this, I am using apache and assume that this
virtual
command should work, am I best to leave it in shtml or should I change to
php as I am using php more and more ??? Please can somebody help me
There's using Apache with PHP as a Module, and there's using Apache with
http://php.net/tut.php
Then jump over to WebMonkey and run through their tutorial.
--
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:
Please post in text format.
session_start();
if (isset($login))
{
session_register(name, pwd);
$name=
$pwd =
} else if (isset($logout))
{
session_unregister(name);
session_unregister(pwd);
}
-
Balaji Ankem [EMAIL PROTECTED] wrote in message
00db01c11be2$57e26c20$[EMAIL
insert into test values (0,''; DELETE FROM test; ',1);
ERROR 1064: You have an error in your SQL syntax near '' at line 1
what about
insert into test values (0,'\'; DELETE FROM test; ',1);
the character ' is used to denote the beginning and the end of a
field value. If you have this
On Fri, 3 Aug 2001 14:07, Gerard Samuel wrote:
In my script that puts out a form I have a drop down list which include
== echo option$Education/option\n;
echo optionBachelor's Degree/option\n;
It uses a $PHP_SELF target. After the form is submitted, on the new
page, in the textbox I have
The function return value is by reference.
http://www.php.net/manual/en/language.references.php
- Tim
Ex. in DB/standard.php; function db_fetchall($args=array()){ ...
I've seen and used the pass by reference syntax on function parameters but
not on functionnames.
What effect does
Well which is easier to program?
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
- Original Message -
From: scott [gts] [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Thursday, August 02, 2001 8:45 AM
Sorry I missed the important detail: Solaris Sparc (2.6). I already saw the
site you mentioned. Thanks.
- Original Message -
From: R. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 02, 2001 11:07 AM
Subject: [PHP] Re: Netscape Enterprise Server
On which system?
You
I'm still trying to compress an entire directory on a linux server to be
decompressed probably in windows client. I'm trying to use exec command and
tar (compressor for linux), but I don't know how to do it. Can anybody
pleeeaase help me?
So, like, do they download it later, or is your PHP
i dont know if this is elagant but ti works. but a fake index.htmlin your
directory for browsers to default to. . ..
- Original Message -
From: Marcus James Christian [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 03, 2001 12:30 AM
Subject: [PHP] Q: Hiding Folder
On Friday 03 August 2001 05:59, Craig Westerman wrote:
?php
$txtfile = fopen(text.txt, r);
while (!feof($filePointer))
$txtfile instead of $filePointer
{
$line = fgets($txtfile, 250);
fgets reads a line (i.e. up to a newline) with at most the specified
numbers of characters. So
I'm still trying to transfer a directory form one server to another but with no
results.
I have the username and password of the ftp account source and I know I'll have to ask
for the username and password of the destination. I can't simply upload or copy the
directory, but there must have an
Depends what is to happen to the array afterwards, but in general no.
An interesting thing is to put timing method calls around a block of code in
question, you will find something like this (depending upon size of db)
takes somehting like 0.005 seconds. Timing things can be useful measures of
a
How can I add an excel file with *.xls extension
directly into MySQL database..is it possible to do or
I need to convert it into *.csv format or *.txt format
first?
Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
--
PHP General Mailing List
I need PHP developers for potential big project. The site is extremely big
with ecommerce, membership areas...
If you're interested, please reply to me with a plaintext resume and the
URLs of sites you've built in PHP. Also, I'd like to know your rate.
Thanks,
Jack.
Dear friends,
Any one of you know when PHP Manual in PDF Format will be available?
Thanks
Pere
--
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
IMO: There should be something like the OpenBSD-misc = PHP General, and
OpenBS-Tech = A more advanced list... Please do not cross post...
Regards,
Martin Marconcini
www.marconcini.com.ar
Life must be lived looking forward and can be understood only looking
backward. Soren Kierkegaard
on 8/2/01 9:55 PM, Richard Lynch at [EMAIL PROTECTED] wrote:
While the solution given will work, consider the following perfectly valid
phone numbers:
312-555-1234x1001
1-800-MY-STUFF
Also, once you strip out all the spaces and dashes, nobody but a computer
can use it...
Do you
Is there a routine out there to strip all characters from a phone
number except the numbers? I was going to write my own but
figured there must already be one out there I can use. Thanks.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Thanks everybody, and Sam, that makes sense WRT the multiple words causing
troubles.
On Wed, 1 Aug 2001 12:54:01 -0400, Sam Masiello wrote:
You will need to put single quotes around your variables in your SQL
statement. Like this:
$sql = UPDATE TABLE seminar SET
At 03.08.2001 10:36, Pere Vineta wrote:
Dear friends,
Any one of you know when PHP Manual in PDF Format will be available?
Thanks
Probably when Adobe stops picking on innocent cryptographers pointing out
weaknesses in their software and stops hiding the source for what they forced
through as
At 03.08.2001 04:44, mike cullerton wrote:
another vote for analog.
Dunno what this has got to do with php, but my vote is for
webalyzer... fast and easy to use...
--
Andreas D Landmark / noXtension
Real Time, adj.:
Here and now, as opposed to fake time, which only occurs there
and
$var = stripslashes($var);
- Original Message -
From: Gerard Samuel [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Friday, August 03, 2001 2:37 PM
Subject: [PHP] ( === huh??)
In my script that puts out a form I have a drop down list which include
==
echo
isnt this fact a good enough reason to believe it worthless???
- Original Message -
From: Kyle Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 03, 2001 6:34 AM
Subject: [PHP] Spot the difference?
Whats the difference between ASP and PHP cause ASP has gotta have
I dont mean to be picky but .. .. allows you to import comma separated
files .. dunno about .csv ..
csv = comma seperated values
so yes mysql can import csv using the LOAD DATA func or user writen php func
:) sorry about pointing that out.
--
Chris Lee
[EMAIL PROTECTED]
James Holloway
OPen the file and read in the required number of characters (short
explanation). Have a look at the file handling functions.
--
David Robley
Thanks David,
I came up with this, but it doesn't work. Does text file need to be in a
special format? It is 4 paragraphs of plain text created in
on 8/3/01 4:22 AM, void at [EMAIL PROTECTED] wrote:
stop a file called foo.bar from being downloaded with a web server ?
Say you'r web site's name is foobar.net.
..and...
Script-kiddy Johny knows that,
but also knows that you'r secret file is called foo.bar
and it is saved in the
Please everyone, stop talking about this it's getting old. If you have
issues with a list member, take it off the list. We, your fellow list
members, don't want to hear about it.
Publically making fun of someone isn't cool but rather, it's stupid.
Regards,
Philip
--
PHP General Mailing
Hi.
I'm using the timestamp format (AAMMDDHHMMSS) on my session.
how can I know the minutes between two dates.
I'm doing:
$date = $row_secao['date'];
$date_now=date(ymdHis);
$x=$date_atual-$date;
if ($x 1000) {
echo Session expired.;
}
but I have
Hi! dearest friend,
how to create session while login and hoe to end
session after pressing logout button.
Thanks in advance.
Regards
-Balaji
The Information contained and transmitted by this E-MAIL is proprietary to
Wipro Limited and is intended for use only by the individual or entity
I'm in the exact same position. It's definitely not a PHP problem.
The problem with the way you're redefining your timestamp is that you may
get January 32, June 31st, etc.
I'm tempted to simply check for spring-forward and fallback before I advance
the timestep, but that's one extra if
Thank you everyone who replied on my treat Syntax There was
just a typo and problem is solved
Youri
God is our provider
http://www.body-builders.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
the structur is like:
id, item name, items in stock , frogserialnumber, status
1, frog, 7, 002121, Reserved
2, frog, 7, 101011, Free
1, frog, 7, 212001, Free
that's why I want to mark only N entries Reserved,
Lawrence Sheed [EMAIL PROTECTED] wrote in message
[EMAIL
$sql = SELECT first_name, last_name, address, state, zip_code, country,
company, occupation, telephone, fax, email, entry_name, password, package,
registration_date, valid_until, max_users
FROM $table_name
WHERE uid = \$uid\
;
$result = @mysql_query($sql,$connection)
Er, that's a MySQL manual and it doesn't have much in terms of php coding i
n it, IIRC.
GP
- Original Message -
From: Augusto Cesar Castoldi [EMAIL PROTECTED]
To: Andreas D. Landmark [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, August 03, 2001 3:51 PM
Subject: Re: [PHP] PHP
I wasn't sure if mktime(0,0,0,1,32,2001) would work.
BUT!!! I stand corrected. you are absolutely right. PHP is smart enough to
know that January 32nd is really February first. :)
Next Time I'll test the code before i respond.
Johnny Nguyen
-Original Message-
From: Steve Brett
It does not work with the = right in the URL.. PHP gives me a warning
about the fopen statement or file statement if I do.. and then returns
nothing.
If I escape it, it loads the proper URL, but then the page it opens
does not recognize the defined variables because it loads
Hi I have a question about parsing a page on another server to grab some
headlines.
I want to search down the page until I find a string -headlines- then I
want to grab everything between the next pair of table/table tags.
Anyone have a quick solution?
Thanks,
Chuck
--
PHP General Mailing
hey folks, hope the day is treating you well.
here's a programming theory/methodology type question for y'all. i am
relatively new to programming and very new to object-oriented(ness).
suppose i have a site using sessions managed with an object $dog. $dog
contains a member object $dog-member
Richard Lynch [EMAIL PROTECTED] wrote in message
050001c11be5$c93a81c0$6401a8c0@Lynchux100">news:050001c11be5$c93a81c0$6401a8c0@Lynchux100...
setlocale(LC_ALL, '');
putenv('LANG=fr');/* changed here */
setlocale(LC_ALL, '');
WILD GUESS ALERT!
My gut says you
?php
$test[0] = 0;
$test[1] = 1;
echo $test[8];
?
you never defined test[8] thats why its undeined. more likley then not check
in your php.ini file, i bet you have
warning = ~E_WARNINGS E_ALL;
in your linux box and
warning = E_ALL;
in your win box.
I like all warnings and errors
Hi,
I want to upload multiple files in one step. I know how to handle the things
on PHP side, but how can I select more than one file in the select box. It
does not work with:
FORM ENCTYPE=multipart/form-data ACTION=_URL_ METHOD=POST
INPUT NAME=userfile TYPE=file/FORM
I can only select one
You wrote:
additionally I also tend to always provide an alternative, especially
if dealing
with nested ifs or loops, even if just a comment... call it habit
(from where I
don't know).
if($condition){
do this
}else{
# oops, $condition didn't exist
}
saves a hell of alot of time when
Can't you just run a cron job (set it to do it automatically every so
often) to delete the file from your web account's tmp folder.. ?
Has anyone figured a way to purge access-log files after webalizer is
done
using to data only so far back?
-eric
- Original Message -
I'm
check the cache settings in IE and change to check for new version always.
sounds like you're reading a cached version of your page.
Steve
Jorge Fernando Tamez Seceñas wrote in message
news:[EMAIL PROTECTED]...
Hi:
I'm coding my first programs in PHP using MySQL in Windows. I
instaled the
pierre-yves schrieb am Donnerstag, 2. August 2001, 21:50:55:
Hello,
I need to convert an application that run on mysql to an oracle database. The
application strickly use the db_mysql class
from phplib. Can anyone suggest me another class and maybe common pitfalls to avoid ?
As far as I
RedHat 6.2 / Apache 1.3.14 w/ matching modssl and openssl 0.9.6b
Latest SDK (3.0?) for Linux.
Hello all!
Problem is this:
PHP compiles just fine with
--with-pfpro=shared,/home/verisign/payflowpro/linux ... but I keep getting
Fatal error: Call to undefined function: pfpro_init() when trying
if (!$HTTP_POST_VARS) exit();
else {
if (!$Age) { echo Please enter your age.br\n; }
if (!$Email) { echo Please enter your email.br\n; }
if (!$State) { echo Please enter your Location.br\n;}
if ($Age $Email $State) echo Thanks for your submission.;
}
Your if and else statements used
It's also remotely possible that some sort of transaction support is going
on, and/or in conjunction with mysql_pconnect that only after a _pconnect is
dead will the insert get committed...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?
Just to throw one more unwelcome cat amongst the pigeons..
Different countries/time zones have summer time, I think almost all
countries do, but the actual days when they switch vary from country (yes
I
know, bloody nusiance isn't it?)
I know as an example of this theres about three weeks
Dear folks,
Any body there with experience setting up Netscape Enterprise Web Server with PHP as
CGI binary. I need to know how to configure Netscape Web Server.
TIA,
Herman Tolentino
explain
- - - - - - - - - -
Scott Poarch
www.globalhost.com
- - - - - - - - - -
From: Richard Lynch [EMAIL PROTECTED]
Organization: Lynch Interplanetary Enterprises
Date: Fri, 3 Aug 2001 17:09:49 -0500
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Left Join extremely slow (MySQL)
Use
Then you'll need to do an ftp_cd or something to go down in that
sub-directory and do ftp_nlist again, I think...
--
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
I have tried the virtual() command but keep receiving error - undefined
function, can someone give an example in how to use this ?
virtual() only works if you are running PHP as an Apache module.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Hello:
I'm looking for the formal grammar definition for PHP, Do you know where
I can find it? I'm trying to make a parser for it.
Best Regards.
QaDRAM, RAD development for the WEB
http://www.qadram.com
VCLCrawler.com, your VCL search engine
below is a snippet from a larger code used to capture a daily output graphic
file from a site... I put your requirements into it and removed a lot of
superfluous stuff, but it is not set to capture text spanning more than one
line, but you should be able to modify it accordingly if you can
How do I get the raw data from a http request?
There's some variable for it...
Add ?php phpinfo();? to your POST-processing script to find out what the
name is. :-)
Or, search http://php.net for raw URI
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Eduardo,
Are you trying to do this in PHP or interactively? If with PHP I won't be
much help, as the I've not used its FTP functions. Otherwise it's a
straightforward FTP operation.
There may be a problem doing it from within PHP as the webserver is
probably running as nobody, who usually,
another vote for analog.
on 8/2/01 9:46 PM, Chris Fry at [EMAIL PROTECTED] wrote:
analog seems to be the industry standard - use it with the extended log
format.
http://www.statslab.cam.ac.uk/~sret1/analog/
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To
Submit should get set when you click the submit button... it is not used
anywhere else...
Again, it works when you click the button, just not when you press
enter...
=
I'm going to try what Richard just suggested, and I'll get back to you.
Ben
-Original Message-
From: Queen
First you should manage your code nicer so that it is easier to read
and troubleshoot. Go through this to find my notes...
if (!$HTTP_POST_VARS) { exit();}
elseif ($HTTP_POST_VARS) {
if (!$Age) { echo Please enter your age.br\n;
} if
Why
I have a string can look like either of the following:
psome stuff/p
p align = leftsome stuff/p
I want to use eregi_replace to take out the first p tag whether it be p or p
align.. with a space
I assumed that $str = eregi_replace (p.*, ,$str);
but it matches the entire string and thus
Just to throw one more unwelcome cat amongst the pigeons..
Different countries/time zones have summer time, I think almost all
countries do, but the actual days when they switch vary from country (yes I
know, bloody nusiance isn't it?)
I know as an example of this theres about three weeks of
In my script that puts out a form I have a drop down list which include ==
echo option$Education/option\n;
echo optionBachelor's Degree/option\n;
It uses a $PHP_SELF target. After the form is submitted, on the new
page, in the textbox I have Bachelor\\\'s Degree getting outputed by
$Education
Your process should be:
logrotate access_log
Use Webalizer on old log.
Purge old log.
Webalizer does not need the raw data after it has processed it once.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD:
Probably when Adobe stops picking on innocent cryptographers pointing out
weaknesses in their software and stops hiding the source for what they
forced
through as the defacto standard for document distribution...
Last I heard, Adobe had dropped charges, and it was the US Government that
won't
dont knwo if ti easier but much better yes . . .
- Original Message -
From: scott [gts] [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Friday, August 03, 2001 12:38 AM
Subject: RE: [PHP] Q: Hiding Folder Directories from public while still...
if you're using apache, there's a
http://www.stupeedstudios.f2s.com/probs.gif
You turned on browscap, but didn't snag a valid browscap.ini file anywhere,
and the default one with PHP is blank (I think) or maybe you just didn't
configure php.ini to find the good browscap.ini file where you put it...
Or, wait...
Line 8206 is a
Can someone tell me how to properly compare the value
returned from the
db to see if it is blank ?
if ( (
mysql_result($db_result,$db_record,'order_date')=00)
) ) {
Two things, Jack. Enclose 00 in quotes, since it is a string,
but more importantly, use '=='
Hello everyone,
Need some help. I installed phpMyAdmin on this new server and cannot
get it to work. I've installed this tool many times, so i'm pretty
comfortable with the installation process. However, I've never ran into
the errors I am getting today.
The server is Apache+PHP 4.0.6
explain
Use MySQL's built in analyze (describe? SQL statement to see what's
taking so long).
The statement is called EXPLAIN. You can find it described here:
http://www.mysql.com/doc/E/X/EXPLAIN.html
I'm betting on one server having an INDEX on the id or ex fields, and the
other not.
If
I'm pretty sure PHP uses bison/flex/yacc/lex stuff, so there might be an
input file in the source you can use...
--
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:
Just curious but that last else you told him to put in... what is that
referring to? There is already an else statement, you can't have another.
Unless you're putting the else statement after the if (!$State) which you
would need to subtract the } before the else, but this would give you
Yes, I see what you mean...
In showing why the last section didn't work, I messed up the actual
overall
logic of the code.
I should have noticed that...nice catch
so for clarification where it says (MARK) should be
echo Thanks for your submission.;
}
Thanks...
Jack Sasportas wrote:
or, if the field is a MySQL DATE field, try comparing to
-00-00, since that's what a blank date defaults to.
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 02, 2001 10:34 AM
To: Jack Sasportas
Cc: php
Subject: Re: [PHP] How to Compare
Use MySQL's built in analyze (describe? SQL statement to see what's
taking so long).
I'm betting on one server having an INDEX on the id or ex fields, and the
other not.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a
1 - 100 of 123 matches
Mail list logo