I would use target=_blank in the anchor tag so it would work just fine
_without_ javascript ...
Mark C.
-Original Message-
From: Mehmet Kamil ERISEN [mailto:[EMAIL PROTECTED]]
I would use javascript for that.
--- Brandon Orther [EMAIL PROTECTED] wrote:
Does anyone know how I could
bar, or the toolbar?
I was actually using little popups with jscript. If I can
get rid of JS that would be great.
--- Mark Charette [EMAIL PROTECTED] wrote:
I would use target=_blank in the anchor tag so it
would work just fine
_without_ javascript ...
--
PHP General Mailing List (http
I cheat and just include the original form on error ...
Almost all my input values are set to PHP variables in the form. The 1st
time through none are set, so the values are blank. After submitting the
form, I check for validity. If there are errors I mark the errors, generate
an error string,
Yes, I have PHP running just fine under 7.2 (source compile).
PHP doesn't care one whit about your browser; however, Netscape is picky
(as it should be) about end tags. The most common problem when pages display
under IE but not under Netscape is the lask of a /table or /tr tag.
Mark C.
From: Jose [mailto:[EMAIL PROTECTED]]
$temp[]=file($y); \\ To load the file into the array.
---
file() returns an array! So, you ended up with an array ($temp) with element
0 an array (returned from file() ). Read the manual very carefully ...
You probably meant to say
-Original Message-
From: ~~~i LeoNid~~ [mailto:[EMAIL PROTECTED]]
It could be stated on the site, or (and) tar could be re-moved. As far as
I am concerned, as soon as something is placed on the web, you have no
control over reference to it.. And access you can regulate of
If you have access to the Apache server why not set up auth-mysql as the
authentication method? It checks for authentication login/password pairs out
of MySQL.
mark C.
-Original Message-
From: Miles Thompson [mailto:[EMAIL PROTECTED]]
Sebastian,
I believe I have to do what you do,
Don't bother with doing it in PHP, do it in MySQL with a functional
ordering:
Select Make from your_db order by if(left(Make,7)='no make','',Make)
-Original Message-
From: Tom Beidler [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 19, 2001 11:53 AM
To: php list
Subject: [PHP]
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Richard) wrote:
Hi, I want to validate that a variable only contains numbers. I
came up with
this code
I came up with this code:
is_numeric($var)
mark C.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Flush() is the right call, but please note (from the manual):
--
Note: flush() has no effect on the buffering scheme of your webserver or the
browser on the client side.
Several servers, especially on Win32, will still buffer the output from your
script until it terminates before
- Original Message -
From: Tim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 19, 2001 9:35 AM
Subject: Re: [PHP] Protecting variables and functions? Like C#
Private methods and variables are necessary for any serious language
that supports class libraries, IMHO.
From: Michael Gerholdt [EMAIL PROTECTED]
I want the week and month days to have leading zeros - how can I make the
new environment replicate the old?
Loop using the numeric but use printf for the formatting (which is really
what you should have used originally). Refer to the manual for the
From: Miles Thompson [EMAIL PROTECTED]
Well, try it - find a willing victim and just do a simple loop.
Alternately, set up an account with a local, high-bandwidth ISP, batch in
groups of 330-, and use BCC.
Miles
At 04:16 PM 9/6/01 -0700, Fotwun wrote:
Hi,
I need to send a broadcast
what does that entail?
Rasmus Lerdorf [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Why not just configure your server to use an auto_prepend_file ?
Reading the documentation that's easily available.
--
PHP General Mailing List (http://www.php.net/)
To
And, of course, the JSP was running 2 x 2 iterations, or 400,000,000
iterations, in a few seconds.
Yeah, right.
Intersting. I tried the following code (which gives much more detailed
time info, check it out - stolen from Andrey Hristov on php-db), and my
times, on our P2-266
From: Robin Bolton [EMAIL PROTECTED]
Also, if you are considering using JavaScript to validate your form, you
may
want to reconsider doing it in PHP as JavaScript is easy to circumvent.
I think most if not all of us doing industrial-strength Web programming for
our living end up doing it at
Considering that they haven't figured out how to use the spell checker, does
it surprise you that they haven't figured out how to do an dynamic load
(apxs) of PHP? Or save their last good configuration (config.status).
mark C.
--
The phrase computer literate user really means the person has been
From: Adrian Teasdale [EMAIL PROTECTED]
The idea is that this database will
expand to quite a few thousand in the near future and I want to know that
we'll be able to handle it :) The problem is that I cleverly added the
feature that each email has a salutation which personalized to the
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
To download a file from the server needs no special magic - just a link to
the file.
Mark C.
- Original Message -
From: Mark Lo [EMAIL PROTECTED]
To: php general [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 9:36 AM
Subject: [PHP] Download function for php
Hi,
Is there any php
From: Maxim Maletsky [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, July 10, 2001 1:05 AM
Subject: RE: [PHP] stripping white space?
I think it IS a good practice
if you only practicing HTML to be outputted by PHP.
Why, if you know that it's illegal XHTML and XML,
This is probably not a good idea if the data is mostly static. There's no
real reason to use the power of a db engine for something this trivial, and
static serving will be faster than a DB system.
Mark C.
- Original Message -
From: Ben Bleything [EMAIL PROTECTED]
To: [EMAIL PROTECTED];
I dislike the GLOBAL statement in that many of the bugs that get me
scratching my
head are to do with when I have forgotten to use it.
Then you're probably using it way too often.
Global scope variable are inherently dangerous and cause more problems than
they're worth. I've been in this
On Sunday 08 July 2001 21:48, [EMAIL PROTECTED] wrote:
Since I first made the tables for my site I've had to modify them quite a
bit. I always keep a copy of the commands I used to make the tables in case
I need to move a site. Is there a way to ask mysql to list the create table
commands?
Hmmm ...
If I didn't know something like that I'd probably do something stupid like
go to http://www.php.net, type in string or length for a keyword in the
Search box, look at what came back (including the function strlen) and
explore the other calls nearby, too.
Mark C.
- Original Message
How does this _not_ work (as long as you supply the path to mysql, the
username, and the password
mark C.
- Original Message -
From: Chris Anderson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 07, 2001 3:25 PM
Subject: [PHP] Restoring a Dump File With PHP
I created
Start at ftp://sepftp.stanford.edu/pub/World_Map/ which is a copy of the CIA
world data. http://hjem.get2net.dk/bnielsen/ciaworld.html gives some info
for conversion of the cbd format to lat/long.
Projections (a science unto itself) is best left to the interested reader.
It ain't as simpla as it
$newarray=array_flip($myarray)
$newarray will have unique key values made up of the second element of
$myarray.
Mark C.
- Original Message -
From: Aaron Bennett [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 08, 2001 12:51 AM
Subject: [PHP] Getting any possible value inside
From: Leonardo Dias [EMAIL PROTECTED]
Anyways, has anyone experienced it with Sablotron?
Yes.
How did you like it?
Worked as advertised. Which is a bear sometimes - but that's due to XML
limitations, not Sablotron's fault.
Was it any good?
Yup.
Is it fast enough for big websites?
Well,
Reading the MySQL manual on the UPDATE statement (my, what a concept -
actually looking at a manual, especially when you have no clue ...) would
show you that your statement is invalid and why. Something about using a
set column-name=data rather than an invalid values() statement.
Mark C.
-
Considering Websphere/EJB was mentioned ...
Where's the BEA Weblogics review
--
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]
What's the best way of finding out if a specific array key is in an
array?
I have an associative array which *may* look like
(car =saab, house = mansion, countyW= A) but can equally well look
like
(boat = daycruiser, house = flat, county = B).
I want to find out if the key car is
Personally I'd perform a query into MySQL and get what _it_ thinks the
values should be ... before doing anything else. It allows generality in
your error checking code.
Look at mysql_list_fields() et al.
mark C.
- Original Message -
From: "phpman" [EMAIL PROTECTED]
To: [EMAIL
From: "Shaun Thomas" [EMAIL PROTECTED]
The point about Oracle is that it *lets* you do all of those
optimizations, and if you're good at it, it will outperform almost any
other database you throw at it. Trust me on this one.
I'm sorry, I can't trust you very much on this. Having worked as a
And why, pray tell, son't you determine the quicker of the 1st 2
empirically? It's not very hard to roll time a loop ... and then you won't
have 10 different people guessing the answer.
Mark C.
"When the unknown is thought to be unknowable, gaps in knowledge are too
readily filled by fancy, so
From: "Philip Olson" [EMAIL PROTECTED]
They're very useful. Also, regarding SQL, don't do "SELECT * ..." all the
time as it's overkill if not all fields are being used.
And, in fact, doing a "SELECT *" ends up precluding most optimizations
within a query engine! Selecting only what you really
101 - 136 of 136 matches
Mail list logo