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
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
-Original Message-
From: Ray Gaylog [mailto:[EMAIL PROTECTED]]
I've been using PHP for just a little while, however I have
noticed somthing.
In the doc's I've noticed you can do this:
printf(line1 \n line2 \n);
Now..this should (like C) print two seperate lines..however It
-Original Message-
From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 26, 2001 11:16 PM
To: Ben Clumeck
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Mailling Lists
I'm really unable to discuss the mailing-list topic because I
have nil expertise
in this
From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
Unlike PEAR-DB and PHPlib, Metabase provides true database independence
to your applications.
Actually - no. Querys/conformance to specs/sequences/stored procs and more
are different from DB to DB. While the abstration layers help a little, they
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
Before somebody decides to repress my opinion again,
Hah! That's got to be one of the funniest things I've ever read!
Downloads do not imply usage, only curiosity. I've downloaded a large number
of PHP class libraries
From: Michael Kimsal [EMAIL PROTECTED]
Philip J. Newman wrote:
Don't know is this is a Mysql problem or PHP, but I have a table with
100 records in it. One of the field names is $iName.
When listing all the records I want only the 1st Uneak value to be
displayed.
For excample
if
What exactly are you measuring and how?
-Original Message-
From: James Drabb [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 23, 2002 9:09 AM
To: php-general
Subject: [PHP] output_buffering
I was running some speed tests on a page that returns 1000 records from
a db and spits them into a
This is a common question, related to the lack of understanding of
client/server architectures I believe.
PHP is all server side - a browser is all client side.
Servers can send data only to the browser, nothing else. The server can
inquire and gather data from text files and databases, but it
Or setting a cookie in JavaScript. It will be transmitted on the next page
request.
-Original Message-
From: John Holmes [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 29, 2002 3:30 PM
To: 'Jed Verity'; [EMAIL PROTECTED]
Subject: RE: [PHP] Javascript to PHP?
Not possible. You must
LIMIT was not included in the SQL92 SQL standards and very few vendors
implement all of SQL99; the use of ANSI standards to promote portable
programs has always been beset by this kind of problems.
Mark Charette
Former ANSI X3H3.1 member
-Original Message-
From: Alberto Serra [mailto
Or, even easier and no tech, I get a low-paying job in some convenience
store, and make copies of the credit card receipts.
Game Over.
Using a credit card anywhere involves trust. Period. End of story.
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]]
How about an even
Of course not on an open list that's crossed to the newsgroups ...
However, there's a deny list on ezmlm that the moderator can add addresses
to. As a manager of a number of ezmlm mailing lists I've done that - which
really infuriates the spammers - they still get the posts until they
Since you get width height the ratio is trivial.
mark C.
-Original Message-
From: Vins [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 13, 2002 3:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] IMAGING WITH PHP
There is nothing in there about image ratios
but let me double
How to convert string in windows-1250 to asci, I need convert special
national characters
to standard english characters.
Discard all characters with a value over 127 (high bit set). ASCII is only
defined for 7 bit encoding.
Mark Charette
--
PHP General Mailing List (http://www.php.net
Hehehe. And I thought the OTBSW (One True Brace Style Wars) had passed into
memory back some 10 or 15 years ago! Lo! They resurface yet again! 30 years
in this business and still I hear them argue.
Perhaps a cb style program for PHP so people can write any blasted style
they feel like and then
From: Randum Ian [mailto:[EMAIL PROTECTED]]
Control Panel
-Add User
-Delete User
-Validate Email
-Send Mail (HTML/Text)
-Archive Mail
HTML Generator
-Subscription Box
-Unsubscribe Box
-Statistics
Let's see. Double opt-in with cryptographic/time security, automatic bounce
message
Just about all of them can have/do have simple HTML interfaces that can send
data to them. I built one for ezmlm in about 20 minutes ... and then found a
number of them already available.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Sun, 21 Apr 2002
You've just pointed out that you're a clueless newbie, that's' all, and
can't read a spec worth a whit.
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 11, 2002 4:50 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] setcookie()
Rasmus
server-side /
Or read the man page on mysql_pconnect/mysql_connect ?
-Original Message-
From: Jochem [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 9:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Is This Possible? (Database - PHP)
Why don't you install Mysql on your local machine and do your
If it ain't foolproof then only a fool would use it ...
IP addresses are just about the worst way to identify anyone.
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 8:17 PM
To: 'Rasmus Lerdorf'; Matthew Walker
Cc: [EMAIL PROTECTED]
Subject:
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Try comparing reading 10K rows from a DB using Perl and PHP would be a more
useful benchmark.
---
When's the last time you wrote a Web page that needed 10K rows displayed?
Writing good _and relevant_ benchmarks is one of the more difficult things
to do
From the man page:
Note: The second parameter was added in PHP 4.1.0
-Original Message-
From: Monty [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 27, 2002 7:28 PM
To: [EMAIL PROTECTED]
Subject: [PHP] RTRIM() - Won't accept 2nd Param
When I issue this command to remove any commas at
Or, of course, a selection of fields as a unique key. The insert will fail
if there is an exisiting record with that key; you can interrogate the error
and report on the exisitence of a duplicate record.
The select/lock method is used for update purposes ('select for update' et
al.), not to keep
Ahem. Why not check out the MySQL docs for reserved words (they _are_ right
there ...):
http://www.mysql.com/doc/en/Reserved_words.html
PHP Docs are for PHP. MySQL Docs are for MySQL. PHP != MySQL.
-Original Message-
From: victor [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 31,
interfere with...
- Victor www.argilent.com
-Original Message-
From: Mark Charette [mailto:[EMAIL PROTECTED]]
hem. Why not check out the MySQL docs for reserved words (they _are_
right
there ...):
http://www.mysql.com/doc/en/Reserved_words.html
PHP Docs are for PHP. MySQL Docs are for MySQL
No, only one db at a time may be updated. The where clauses can contain
multiple db.
-Original Message-
From: Sascha Braun [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 31, 2002 7:04 PM
To: PHP Mailingliste
Subject: [PHP] UPDATE Query
I want to know if its possible to update two
Hey, Jason, since you really need this BUG fixed, and the PHP developers
would welcome good, well-documented, and tested code ...
Why not devote some of your precious time to helping them along? If _you_
write, document, and test the code, and then pass the code to the
development team you'll
Images don't have a resolution per se; display devices have a resolution.
Images (the formats you're talking about, anyway) are measured in pixel
width and height. The height and width in any units other than pixels of
course necessitates conversion - for an easy example, a 300x300 image on a
select count(*) as n from ... where ...
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]]
Can someone point me in the right direction to find out how i can return the
amount of records in a mysql databace ?
--
PHP General Mailing List (http://www.php.net/)
To
I've had no problems using qmail-inject and MySQL to send over 100K emails
in a day. I doubt it's an MySQL problem unless you've done something
drastically wrong; perhaps you're bandwidth limited?
-Original Message-
From: Research and Development [mailto:[EMAIL PROTECTED]]
Hello. I
Just how are you going to decrypt it? Password encryption is ordinarily
one-way - you have no choice. You have to compare encrypted passwords.
-Original Message-
From: Tom Ray [mailto:[EMAIL PROTECTED]]
SI want to compare a password to a encrypted password stored in my mySQL
database
This comes up so very often ...
The answer is - you may be able to get _an_ IP number for a machine that
accesssed your site. It is meaningless as a means of identification:
Proxies use 1 IP for a number of users.
-Original Message-
From: Anil Garg [mailto:[EMAIL PROTECTED]]
hi,
Can
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
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:
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,
-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
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
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,
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: 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
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
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
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
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
- 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.
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]
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.
-
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,
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
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?
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,
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
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: "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
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: "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
Robert Cummings wrote:
On Fri, 2006-09-08 at 18:38 -0400, tedd wrote:
At 5:03 PM -0400 9/8/06, JD wrote:
In all of the answers given thus far, no one mentioned that the use
of $_REQUEST has a security issue with regard to where the $_REQUEST
originated.
$_REQUEST is an array
Stut wrote:
Mark Charette wrote:
However, looking at it from a 'knowing early the data is tainted'
perspective, not from a 'validating and cleaning perspective', if you
have coded that (for instance) a variable is set via COOKIE, then
only looking for that variable set via COOKIE
Robert Cummings wrote:
On Sat, 2006-09-09 at 11:30 -0400, Mark Charette wrote:
Stut wrote:
Mark Charette wrote:
However, looking at it from a 'knowing early the data is tainted'
perspective, not from a 'validating and cleaning perspective', if you
have coded that (for instance
M. Sokolewicz wrote:
Rory Browne wrote:
What might be more useful is stripping out comments, If you don't use
javascript it is simply a case of replacing all !-- anything -- with
a blank space. If you do though it's more complicated since it is
considered good practice to place js inside !--
Stéphane Bruno wrote:
Once you get to do very advanced things, you need
to code using Object Oriented approaches, modular programming, web
services, etc. which both products allow you to do.
I guess those non-linear crash codes I wrote in Fortran not so many
years ago aren't very advanced
chris smith wrote:
On 2/25/06, Mark [EMAIL PROTECTED] wrote:
Does anyone know if its possible or how difficult it would be to have
a user
send an email from outlook express to a websites mysql database and
update
records.
You could write a script to parse the email and do the update.
Shaun wrote:
Warning: main(/cms/templates/footer.php): failed to open stream: No such
file or directory in /home/m/y/mysite/public_html/cms/news/index.php on line
38
Most assuredly the file isn't there (do you have the include path set?)
or the permissions are not sufficient to open the
Chris W. Parker wrote:
I'm definitely open to suggestions on how we can minimize our customers'
risk
At least run GPG on the data immediately, keep the private key somewhere
other than on the server, and decrypt only for the moment its needed.
--
PHP General Mailing List
Oz wrote:
First I wanted to create a queue for tasks; instead of forking
directly only a limited number of processes should be run from the
queue, when one finishes another should start. But I decided not to do
this, because the queue can easily grow to reach the memory limit.
If the queue
Satyam wrote:
In general, user input should never be trusted. Someone once told me
that if you ask for yes or no, you should always validate for yes, no
and don't know (of course, this was before windowed environments where
the users can only click what you offer them).
Users can submit
Ben Litton wrote:
You could certainly write an extension to do so. That's what I did
(mostly I was writing one for another purpose and added a function I
stole from O'Reilly.
As you stated in your article, it isn't rfc822 compliant (it isn't even
close). Richard was pretty specific in
TECO rox!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Al wrote:
John Nichel wrote:
n.g. wrote:
hi,
i want to register a domain name through NetworkSolutions.com,
but it require a credit card which i dont have to pay the bill.
if you have a credit card, i can transfer to your account, and then
you please regiter the domain using my info.
or
Let me give an example:
on fileplanet.com, they have something so called download slot and
lines. They limit the number of concurrent downloads. If there are
too many users, they will disallow new user to download their files.
As I know, they do it with custom HTTP server.
Not so custom
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
Evert - Rooftop Solutions wrote:
I heard that shared memory is actually slower than writing and reading a
file and it is not available on windows systems.
Hmmm ... that's an interesting thing you heard concerning shared memory.
Care to share _who_ told you that?
I'd like to make sure I don't
Evert - Rooftop Solutions wrote:
Check it out, is in old article, but it says |shm| -- The |shm|
container stores the cached data in the shared memory. Benchmarks
indicate that the current implementation of this container is much
slower than the |file| container.
Which, of course, is miles away
Leonidas Savvides wrote:
ATTENTION: I DO NOT MEAN
SAVE IT TO MY HDD FIRST AND AFTER UPLOAD IT !!! TELL ME THIS SAMELY FOR
Dreamweaver MX ?
Not in PHP. It's a client side trick (done with machine and/or OS
specific code). Even Web-based Documentum (eRooms) uses a staging
directory on the users
Reynier Perez Mira wrote:
Hi list:
I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP .NET is better than PHP, so I need information to response they about this theme. Can you put me some sites, statics, intrview to big
On Thu, 19 Dec 2002, Max Clark wrote:
Hi-
I was wondering if php had a case function?
Instead of building a large if/elseif/else block I would like to do a case
$page in (list).
The documentation and search capabilities at http://www.php.net are your
frientd. It would behhove you to at
From: Gerard Samuel [mailto:[EMAIL PROTECTED]
I was wondering, if for example, an AOL user browses your site that uses
php sessions,
do the session ids change when they hop ip addresses?
No. Sessions are not (or should not be!) tied to IP numbers.
Im looking for a better way to
The first line of the script had the magic incantation:
#!/usr/local/bin/perl
(or something very similar) which makes the leading 'perl' superfluous.
PHP scripts can be made into self executing scripts in a similar fashion
if the 1st line looks like:
#!/path/to/the/php/command/line/executable
And which database are you using?? (hint - mysql_select_db() might be a good
idea ...)
-Original Message-
From: Phil Powell [mailto:[EMAIL PROTECTED]]
Anyone know why this is happening? I have mySQL on Win2000
Server with IIS
and PHP:
--
PHP General Mailing List
You know, if you actually looked at the link you've created you'd find your
answer ...
-Original Message-
From: D.M. van Gladbach [mailto:[EMAIL PROTECTED]]
There not much in there because I strip it for testing.
test1.php
?
$org[index-A]=1701;
$org[index-B]=1209;
print
make sure you use:
ImageCreateTrueColor()
to create the thumbnail image and
ImageCopyResampled()
when you copy the image.
Mark C.
-Original Message-
From: Victor [mailto:[EMAIL PROTECTED]]
I have a script that takes uploaded images (jpeg only) and makes
proportionate thumbnails
It is incredibly easy to write a short little php script that edits a
template and submits it directly to qmail-inject; if you're using qmail
already php mail()/sendmail is just a wrapper to qmail-inject. I use
qmail-inject directly because it allows me to write my own VERP and process
bounces
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
2. $tempQuery1 =
SELECT @most_recent:=MAX(date) from presenters;
$tempQuery2 =
SELECT @recent_presenter:=presenter FROM presenters WHERE
date=@most_recent;
$presenterQuery =
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
That number of messages is small and with today's servers you can queue
that volume of personalized is less than a minute. Your problems will
start as you enter in the tens of thousands of recipients, not because
qmail
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
On 01/26/2003 08:22 PM, Mark Charette wrote:
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
That number of messages is small and with today's servers you can queue
that volume
All arrays in PHP are associative; we sometimes use integers to refer to
them, but the order of the array internally is not necessarily the same as
the integers; indeed, any array can have holes in them. So the question is
moot.
There are no different indexed and associative array types in PHP,
From: Beauford.2005 [mailto:[EMAIL PROTECTED]
It's obvious though that PHP can not handle it.
Since thousands of people and websites use the header() function without
your problems ...
It's obvious at this point you've got a bug and can't figure out how to fix
it, even though you've been
-Original Message-
From: Corey Edwards @ Dreamstar Computer Software
I finally set up an Apache Web Server. I didn't realize you needed that to
run php until now.
That's only true if you need to serve Web pages; php runs fine from the
command line ...
--
PHP General Mailing List
From: Nicole [mailto:[EMAIL PROTECTED]
Thanks. The cookie sets fine using the redirect. The problem is accessing
the cookie when the script is called via the image tag. If the script is
called directly, the cookie is accessible.
Images have their own connection (which is why you can see a
-Original Message-
From: Neil Freeman [mailto:[EMAIL PROTECTED]
Is there any way that I can do a PHP Header() statement that does the
equivalent of JavaScript's
window.self.location.replace(http://www.mysite.com/mypage.php;)?
No. JavaScript (if turned on) is your only choice.
1 - 100 of 136 matches
Mail list logo