database but your data is kept separate. (Until MySQL
comes out with views, then it gets a lot easier.)
HTH,
=C=
* Cal Evans
* http://www.eicc.com
* We take care of your IT,
* So you can take care of your business.
*
* I think inside the sphere.
Steve Buehler wrote:
I am running PHP/MySQL
in page to try
var_dump($_POST['email_recipients']);
=C=
* Cal Evans
* http://www.christianperformer.com
* Stay plugged into your audience
* The measure of a programmer is not the number of lines of code he writes
but the number of lines he does not have to write.
*
- Original Message
http://www.php.net/manual/en/function.ini-set.php
* Cal Evans
* http://www.christianperformer.com
* Stay plugged into your audience
* The measure of a programmer is not the number of lines of code he writes
but the number of lines he does not have to write.
*
- Original Message -
From
have 3 select boxes bdMonth, bdDay, bdYear.
Then when processing the $_POST, simply contact them in the format you want.
$bdString = $_POST['bsMonth'].'/'.$_POST['bsDay'].'/'.$_POST['bsYear'];
HTH,
=C=
* Cal Evans
* http://www.christianperformer.com
* Stay plugged into your audience
Mike,
I'm glad you vented. Now let me. I say none of this in anger and quite a lot
of it in amusement. Please don't take this the wrong way. (By saying that
I'm insuring that you WILL take it the wrong way!) :)
Why is it helpful to give a person the answer to a question that has been
answered
check www.freshmeat.net. There are several.
=C=
* Cal Evans
* http://www.christianperformer.com
* Stay plugged into your audience
* The measure of a programmer is not the number of lines of code he writes
but the number of lines he does not have to write.
*
- Original Message -
From
The only way to do that would be to open a connection to the SMTP server
directly and try and send the email. (Instead of using the mail function)
This way the mail server would give you an error code if it didn't work.
=C=
* Cal Evans
* Stay Plugged Into Your Audience
* http
1: yes you can.
2: You can use either print or echo. I use echo when I actually want
something output, most of my scripts don't output anything. If there is some
output of import, I use mail() to send it to myself.
3: Yes, I am.
* Cal Evans
* Stay Plugged Into Your Audience
* http
ok.
PHP does not 'run as root'. The CLI will run as whomever is executing the
script.
My $.02 worth.
=C=
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianperformer.com
-Original Message-
From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003
take a look at the database abstraction layer ADODB at php.weblog.com Even
if you are like me and never use more than just MySQL, it makes like a lot
easier.
=C=
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianperformer.com
-Original Message-
From: Hunter, Jess
did you bounce the service after uncommenting the line?
=C=
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianperformer.com
-Original Message-
From: Anthony Ritter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 10:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP
are you preloading graphics using JavaScript?
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianperformer.com
-Original Message-
From: Chris Hayes (SENSE) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 9:13 AM
To: [EMAIL PROTECTED]
Subject: [PHP] page shown
using JavaScript you can use an INPUT type='IMAGE' and in the onClick call
a function that sets the form's target and then calls
document.formname.submit();
=C=
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianperformer.com
-Original Message-
From: Greg [mailto:[EMAIL
of a kludge. (IMHO, etc.)
=C=
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianperformer.com
-Original Message-
From: Greg Luce [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 9:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie Question
Can someone explain
php=backend
alert boxes=front end
checkout JavaScript. You can use php to dynamically generate JavaScript.
=C=
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianperformer.com
-Original Message-
From: Sunfire [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 2
form METHOD='POST'
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianperformer.com
-Original Message-
From: Jonas Geiregat [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 3:42 PM
To: [EMAIL PROTECTED]
Subject: [PHP] general question ?
http://kemu.ath.cx
find / -iname php.ini
or create a page with
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
html
head
titleUntitled/title
/head
body
?echo(phpinfo());?
/body
/html
Save it and then call it form your webserver. It'll tell you where the ini
is.
=C=
* Cal Evans
* Stay
in advance,
Frappy
[EMAIL PROTECTED] (Cal Evans) wrote in message
news:[EMAIL PROTECTED]...
Yes, just user $_SERVER['PHP_SELF'] as the action of your form. This will
cause the page to call itself. Then you can branch your processing on the
existence of a SUBMIT button (or whatever) and handle
=
* Cal Evans
* Stay plugged into your audience.
* http://www.christianperformer.com
-Original Message-
From: Vernon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 6:13 AM
To: [EMAIL PROTECTED]
Subject: [PHP] URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2
After
, the first should be true and the second should be false.)
=C=
*
* Cal Evans
* Stay plugged into your audience.
* http://www.christianperformer.com
*
-Original Message-
From: Webapprentice [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 7:36 PM
To: [EMAIL PROTECTED]
Subject
, I wish it wouldn't. People have more trouble
*because* of the automatic conversions than they would if they had to do the
converting themselves.)
To keep from running into this simply do the conversions yourself before you
do comparisons.
intval(08)==8
=C=
*
* Cal Evans
* Stay plugged into your
John.
Actually, 08 is equal to 8 in PHP. PHP will convert the string to an
integer and the two will compare as equal.
No they are not equal. Yes, PHP will do the conversion so that they are
equal. That does not refute the fact that logically '08' != 8.
Someone already posted why the problem
the
windows help version open at all times) and familiarize yourself with the
language. You do not need to memorize each function' signature but it would
help if you read the description of each function. You'll be surprised what
you find in there.
/brutal
=C=
*
* Cal Evans
* Stay plugged
both results in:
$_POST['mySelect'][1] == Don't pick me
$_POST['mySelect'][2] == Pick me
HTH,
=C=
*
* Cal Evans
* Stay plugged into your audience.
* http://www.christianperformer.com
*
-Original Message-
From: Gregory Chagnon [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 11
whoops. Sorry, didn't read the question. Wrong answer. John gave the correct
answer.
=C=
*
* Cal Evans
* Stay plugged into your audience.
* http://www.christianperformer.com
*
-Original Message-
From: Cal Evans [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 18, 2003 8:41 AM
';
Then, when the form is submitted use:
parse_str($_POST['storeStuffHere']);
This will create the array storeStuffHere with the 3 values.
HTH,
=C=
*
* Cal Evans
* Stay plugged into your audience.
* http://www.christianperformer.com
*
-Original Message-
From: Gregory Chagnon [mailto:[EMAIL
://mypage.com/mypage.php?prevURL=http://mypage.com/lastpage.php
if I have to pass a full query string then I urlencode() it first and
urldecode() it on the other side.
This survives sessions expiring.
=C=
*
* Cal Evans
* Stay plugged into your audience.
* http://www.christianperformer.com
exactly how do you load an icon? What are you loading it into?
=C=
*
* Cal Evans
* Stay plugged into your audience.
* http://www.christianperformer.com
*
-Original Message-
From: hei [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 3:18 PM
To: [EMAIL PROTECTED]
Subject: [PHP
I've created an 850 and a base class x12. It's not terribly hard. I did not
find much in the way of useful classes already built though.
=C=
*
* Cal Evans
* Stay plugged into your audience.
* http://www.christianperformer.com
*
-Original Message-
From: Edward Peloke [mailto:[EMAIL
CURL to call a SOAP process somewhere if your X12 partner had
a brain. (mine does not, the company I was a consultant for in the medical
insurance industry did not either)
Anyhow, I'm happy to share what I know if you have questions.
HTH,
=C=
*
* Cal Evans
* Stay plugged into your audience.
* http
personally, I would ditch the Error class and put raise_error in Base.
=C=
*
* Cal Evans
* Stay plugged into your audience.
* http://www.christianperformer.com
*
-Original Message-
From: Jordan Elver [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 3:52 PM
To: [EMAIL
yes but it's more of an HTML/JavaScript thing.
use INPUT Type='BUTTON' to put a second button on your form. Then use the
onClick method to assign an action to it. If you want it to submit your
form then call document.formName.submit();
=C=
*
* Cal Evans
* The Virtual CIO
* http
since you've not indicated that you've looked around and not found one, I
suggest starting your search at www.freshmeat.net.
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: GWAD Mailinglist [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18
Possible but a single table with all addresses and an addressType (SHIP_TO
or BILL_TO) linked back to the main order table will allow you to retrieve
both addresses with a single select:
select * from address where orderID=x
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
for you but in my 2 years of using PHP, you are the first
person I've seen ask for it. Therefore I don't think it qualifies as a
serious flaw.
IMHO, etc.
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent
in the habit of writing my arrays like this. It's confusing
to say the least.
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: Meltem Demirkus [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 6:35 AM
To: [EMAIL PROTECTED]
Subject
,
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: Beeman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 8:30 AM
To: php
Subject: [PHP] MySQL Current Row??
What function/array index should I use to determine the current row of a
MySQL
not yet (Zend engine 2.0 I believe has this) Currently the convention is to
name private functions _* (variables the same) This denotes to other coders
that you intended this to be a private function.
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message
with everything.
HTH,
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: Pag [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 10:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP] security login
Well, first off sory for a very basic question, but i
Tell apache that .html files are to be served through php
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: Dave at Sinewaves.net [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 11:00 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Banner Ad
No.
No. PHP runs on the server. It knows nothing of the client.
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: Thomas omega Henning [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 5:33 AM
To: [EMAIL PROTECTED]
Subject: [PHP
interaction) or an abstraction of a
physical object (Person, Invoice, Order) then I use object. The code in the
page mainly creates objects and manipulates them.
HTH,
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: Martin Clifford [mailto:[EMAIL
As a general rule of thumb you should ALWAYS validate the information posted
as a form before sending it on to whatever backend you are using.
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: William S. [mailto:[EMAIL PROTECTED]]
Sent: Saturday
because $row['plevel'] is NEVER == '0' It is probably == 0 though. (note
the missing quotes. ) :)
HTH,
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: JJ Harrison [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 11:01 PM
To: [EMAIL
Have you done a var_dump on $row to make sure that plevel exists?
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: JJ Harrison [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 11:11 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] How come
++ is an incrementor.
$i=1;
$i++;
echo $i;
=C=
p.s. -- is a decrementor.
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: Jay [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 13, 2002 8:32 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie question
off the top of my head, I'd suggest :
if(intval($row['plevel']) == 0){
Grasping at straws here but you've moved beyond a simple question into a
debigging process. (Which doesn't work too well for email.)
Sorry I couldn't be of more help.
=C=
*
* Cal Evans
* The Virtual CIO
* http
only if user stupidity can be considered a virus.
=C=
- Original Message -
From: Lazor, Ed [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Monday, July 08, 2002 11:37 AM
Subject: RE: [PHP] don't want to receive but email please
So is this a new virus?
-Original
size_of()
(insert obligatory RTFM comment here)
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 05, 2002 9:16 AM
To: [EMAIL PROTECTED]
Subject: [PHP] function for size of array
I agree with Ed. Use sessions.
It's more secure that how you are doing it because theusername is not stored
in the page and retransmitted each page.
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: Peter [mailto:[EMAIL PROTECTED]]
Sent
don't reinvent the wheel. (Unless you jsut REALLY want to) Try
www.nagios.org It has support for SMS.
(Be prepared to spend about 3-4 hours setting it up)
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Duncan [mailto:[EMAIL
Jeff,
Also, try php.weblogs.com ADODB if you absolutly MUST have all of your data
in an array.
I'll agree with Richard that it's not a great idea unless there is a
specific need. While loops for displaying the contents of many records are
much better. (IMHO, etc...)
=C=
*
* Cal Evans
='departmentID'
?PHP
//While !EOF
?
?PHP
option value=PHP echo $rs-fields['departmentID']; ?PHP echo
$rs-fields['departmentName']; ?
?
?PHP
// loop
?
/SELECT
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Mike Tuller [mailto
.
Thanks for your cooperation,
=C=
p.s. I accomplish applicaiton level variables by storing them in a table
called application in my application's database. This way I can change them
on the fly and all my pages can see them. I have objects that read them in
on the pages that need them.
*
* Cal
Have you tried:
$query = UPDATE poll_options SET votes = votes + 1;
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: JJ Harrison [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 28, 2002 8:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP
:// and the host name if you like.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 12:40 PM
To: php-gen
Subject: [PHP] HTTP1.1
Kinda off topic, but it deals
store the user's preference in a database. Once they have logged in, use
their login or userID to retrieve it form the database and redirect to the
appropriate page.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Renaldo
have you searched freshmeat.net? google.com? both of those can give you the
examples you are looking for.
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Jay Fitzgerald [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 2
your own session handler is one way to do it. But if you have no
session info to pass, why is it a problem?
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Jason Dulberg [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 3:08
.
My $0.02 worth,
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Edgard Berendsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 8:11 AM
To: [EMAIL PROTECTED]
Subject: [PHP] newbie: cron jobs
Hi,
I'm new to cron jobs
][0] // = 0;
echo $array[untitled_1.jpg][1] // = 3;
echo $array[untitled_1.jpg][2] // = 4;
echo $array[untitled_1.jpg][3] // = 0;
echo $array[untitled_1.jpg][4] // = 1;
or:
$x = $array[untitled_1.jpg];
echo $x[0];
echo $x[1];
echo $x[2];
echo $x[3];
echo $x[4];
HTH,
=C=
*
* Cal Evans
* Journeyman
if (1){
if (1) {echo hello;}
} else { }
?
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Miroslav Figlar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 7:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP
I've been using it for about 4 months and it's very stable.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Jerome Houston [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 4:05 PM
To: [EMAIL PROTECTED]
Subject: [PHP
Do a google search for ADODB. It's a PHP database abstraction layer. It has
built in 'pagination' methods (Previous X, next X) along with an example of
how to use them.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Jason
sweet. Very nice solution.
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 10:18 PM
To: David McInnis; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED
IANAL!
It's against the law in most states to create booby-traps in your code.
As others have suggested, don't turn over the code until you've received
payment. IMHO, you really should have specified the payment schedule in your
contract.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno
Generate a random number when creating a form, store it in the session and
in a hidden on the form. Then when the post comes back, make sure the hidden
is there and that it matches the one in the session.
Cal
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
no, it's not possible to do it that way. If you need to return multiple
values from a function, your best bet is to return an array or some kind of
record structure.
By design, in almost all languages, functions only return a single value.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno
the manual is your friend.
http://www.php.net/manual/en/function.nl2br.php
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Randum Ian [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 10:20 AM
To: PHP
Subject: [PHP] Text
in
transport.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Stefen Lars [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 10:24 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Secure MySQL connections in PHP with 'stunnel'
Hello all
I
';)
Then your PHP script can execute and see the value of $_GET['data']
HTH,
Cal
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Steve Buehler [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 10:30 AM
To: [EMAIL PROTECTED
It means that something has already output to the outbuffer in unbuffered
mode. Therefore, whatever header operation you are trying to do (start a
session? redirect?) cannot be done.
IMHO, the biggest culprit of this is blank lines in your include files.
=C=
*
* Cal Evans
* Journeyman
of comfort. (but not a lot)
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Jan Peuker [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 1:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP] In Addition to [PHP] PHP Security
Sorry
It's not PHP's place to do this.
That being said, check out ADODB. It's a data abstraction layer for several
different databases that will give you this functionality.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Joshua
Having moved a moderately sized website last year from ASP to PHP I can say
from experience that if you can re-write it, the move will go smoother and
you will have fewer lines of code. I ended up with about 1/2 as many lines
of code to maintain after the port was done.
=C=
*
* Cal Evans
PHP can fork but the docs say not to do it in a web server environment.
basically, it's only usable on *nix machines and in a shell scripting
environment.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Matthew Walker
Actually, if they are static variables that rarely or never change, I would
stick with the include file. It's faster than making a database connection
and selecting them.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From
Break those lines out into another file...
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Alberto Wagner [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 13, 2002 4:33 AM
To: Php General Mailling List
Subject: [PHP] Including
www.list.org
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Randum Ian [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 13, 2002 7:44 AM
To: PHP
Subject: [PHP] Mailings Lists?
Hi there,
I want to be able to send an email
I guess it would help if you explained what you are trying to do. the
answer to your initial question is no.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Alberto Wagner [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 13
If you are using METHOD=GET, your browser is probably doing it. Try
METHOD=POST
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Paul Roberts [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 13, 2002 12:14 PM
To: php
Subject
;
}
} // function myFunction($formArray=null)
WARNING: I have not tried the code above. Use at your own risk. But the
concepts are there.
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Paul Roberts [mailto:[EMAIL PROTECTED]]
Sent: Saturday
in a database but
that's up to you.
If you need to read in and execute PHP code, you MIGHT could get away with
reading them in as described above and then using eval() to do execute them
one at a time...but I'd steer clear of this.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http
of hand holding.
My $.02 worth. Hope you found an answer somewhere among the rant. :)
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: martinahingis [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 31, 2002 6:26 PM
To: [EMAIL
then not really. Since the
PHP never gets executed on the client machine. The best you could hope for
was a JavaScript/VBScript solution. Of the two, I'd look hardest at VBscript
since M$ likes it better.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original
Have you tried shaving the article off a couple of chrs before the last one
and seeing if the insert works? Also, what is the size limit on a MySQL TEXT
field?
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#BLO
B
May give a hint.
=C=
*
* Cal Evans
* Journeyman
are banging your head against the upper limit. I did
notice that it has a BIGTEXT type. Maybe try that. It still won't solve
the problem but it may give you more room.
HTH,
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Chris
help you better than I.
Sorry I wasn't more help,
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Chris Snyder [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 31, 2002 5:06 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject
error
masked by an HTML tag in there? (grasping at straws here)
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Chris Snyder [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 31, 2002 5:22 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL
purchase a copy of 4.5, it too
has color coded syntax for PHP (That's about all the support that I found in
5.0 also) and it rocks...as long as you don't try to use the FTP
thingy...but that's another rant.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
defunct, at least
until the author gets his head out of his butt) and Gentoo. Gentoo is by
far the best.
But be prepared. There's no graphical installer. It takes time and patience
to get it running.
My $0.02,
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
with the
tradition.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Team GotFusion [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 6:59 AM
To: [EMAIL PROTECTED]
Subject: [PHP] ?include?... another dumb question
I have people telling
No.
Wrapping in PHP or any other scripting language won't hide the HTML from the
user. For the browser to render it, you HAVE to send the HTML to the
browser.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: jas [mailto
Personally, I'm leaning towards generating a PDF, displaying that for the
user and letting them click the print button.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Ivan Carey [mailto:[EMAIL PROTECTED]]
Sent: Monday
at the file level (or the O'Reilly Horse book) and
check www.phph.net for additional info on how PHP deals with this.
HTH,
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: John Gurley [mailto:[EMAIL PROTECTED]]
Sent: Monday
Sumthin like this...
?PHP
$a=10;
$b=20;
echo add($a,$b)
function($one, $two){
return $one + $two
} // function($one, $two)
?
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: me us [mailto:[EMAIL PROTECTED]]
Sent: Wednesday
Assuming soldQty is a number and not a string:
UPDATE products SET soldqty=soldqty+$sqty WHERE
articelno='$articleno';
If ArticleNo is a number you might want to remove the quotes there too.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original
you COULD...actually, you would need to either open a socket or use the curl
functions to talk to the server, retrieve a page, examine the headers and
find the type.
Might just be easier to go to www.netcraft.com
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
statement
$ns1 = doubleval(number_format(rand(900,1200)*1000)) ;
$cogs1 = doubleval(number_format(rand(450,600)*1000)) ;
$gm1 = doubleval(number_format (($ns1 - $cogs1) * 1000));
echo '1:'.$ns1.\n;
echo '2:'.$cogs1.\n;
echo '3:'.$gm1.\n;
?
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http
When you check your info page, do sessions automatically start? If not, make
sure you do a session_start(); in there somewhere before you start checking
things.
Not sure why (lost in the annuls of time) but I always manually start/stop
my sessions.
=C=
*
* Cal Evans
* Journeyman Programmer
1 - 100 of 139 matches
Mail list logo