$message = "Dear $cusname,".$originalMessage;
$fromaddress = "[EMAIL PROTECTED]";
mail($to, $subject, $message, $fromaddress);
}//end of for
}//end of if
*
* Cal Evans
* Techno-Mage
* http://www.calevans.com
;
$subject = "hello";
$message = "Dear $cusname,".$originalMessage;
$fromaddress = "[EMAIL PROTECTED]";
mail($to, $subject, $message, $fromaddress);
the EASIEST thing to do is create
VFP COM objects to do the dirty work and call them from your PHP pages.
There are other ways but not as reliable.
HTH,
=C=
*
* Cal Evans
* Techno-Mage
* http://www.calevans.com
*
- Original Message -
From: "Tony Alanis" <[EMAIL PROTECTED]
store $name on one line and $welcomemssg on a separate line. Then just
remember that all odd numbered liens are names and even numbered lines are
messages.
=C=
*
* Cal Evans
* Techno-Mage
* http://www.calevans.com
*
- Original Message -
From: "Jule Slootbeek" <[EMAIL P
it to fire. Kinda goofy but no
more so than the lack of overloading. (I REALLY miss overloading functions!)
=C=
*
* Cal Evans
* Techno-Mage
* http://www.calevans.com
*
- Original Message -
From: "Steve Dix" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday
ex code for a space. When the url get 'URLENCODED' any non-valid
characters get converted to hex. In some (broken?) browsers a space in the
URL may work but it's generally not a good idea.
=C=
*
* Cal Evans
* Techno-Mage
* http://www.calevans.com
*
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
URL??
:)
*
* Cal Evans
* Techno-Mage
* http://www.calevans.com
*
- Original Message -
From: "Adrian Greeman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 14, 2002 8:18 AM
Subject: [PHP] Editor
> I am just surprised that noone mention
middle page in the chain a HP, start
the session and test for the variable. If it does not work then the problem
is not the middle page being html.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Dave [mailto:[EMAIL PROTECTE
Not HP!!! HTML!!! ( I HATE Outlook's spellchecker sometimes.)
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Cal Evans [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 10:46 PM
To: Dave; [EMAIL PROTECTED]
Su
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
I think, what he's trying to say is check to make sure it's not an errant
quote and not a string length issue. The same behavior may be caused by an
errant quote.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From:
that I am
aware of. (Your language options for writing programs for a PocketPC are
very limited.)
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Craig Westerman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:44
e that
works and can be easily implemented, please share.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Scott St. John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 12:41 PM
To: [EMAIL PROTECTED]
Subject:
Sumthin like this...
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: me us [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 3:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] novice question
Hi
Id reelly
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.c
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
Hm...you may be on to something. If you run this code you will see that
about 30% of the time $ns1 IS actually 1. the funny thing is that if you
remove the doubleval calls, $ns1 purports to have a value > than 1.
Interesting...
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* h
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: M
he OS 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]]
Se
k 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] ... 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 [m
5. If you can 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
* h
e, and SGL (now 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
* htt
ill require a lot 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, 200
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
*
-Ori
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
My guess is that you 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
*
-Ori
ople there who could 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:
he source, is there a PHP 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: [EM
ed application
development.
=C=
Get on the M$ treadmill. There's a toll-booth every 10 steps.
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Mallen Baker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 11:30 AM
Never actually tried to do this (Never actually thought it was a good idea)
but:
this = null;
may do the trick.
Then again it may cause your php page to blow chow all over your screen.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message
main database.
Change the mysql password daily. Make sure it's different form the password
to get into your main server.
Is this secure? No. Does it make it harder to get the CC info? Yes. Harder
is all you can hope for. Impossible is...well, impossible. :)
HTH,
=C=
*
* Cal Evans
*
e the advantage of
not compromising very sensitive data if the rest of the data is compromised.
My $0.2 worth, again, not arguing with you...:)
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: SHEETS,JASON (Non-HP-Boise,ex1) [m
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 to
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
} else {
return false;
}
} // 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 [
them in a table 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 P
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 W
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-
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
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---
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
* T
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
ecure 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
World';)
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
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
e level 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 Securi
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
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 Prog
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
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--
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]
Sub
implement a
cron job on any machine you care about.
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: [
ot;][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 Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Victor Spang Arthursson [mailto:[EMAIL PROTECTED]]
Sen
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]
Store your session information in a database. Assign it an ID and send that
ID to the cookie or the URL in the new domain. Then you can write a session
handler that retrieves the session info form the database.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
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
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: Re
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
n
omit the http:// 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 topi
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]
Sub
Hi Mike,
Check out ADODB. It's a database abstraction layer for PHP that has
functions to do this. (php.weblogs.com) Otherwise it's kinda easy to do
this, here's some psuedo-code that shoudl get you going.
fields['departmentID']; ?>">fields['depa
.
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.
*
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:[
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=
*
*
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]]
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
Is
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?
>
> -Origi
and
write to it like it were any other file. My preference would be to write
the order out to a file and then issue a system command to print that file.
Cal
http://www.calevans.com
-Original Message-
From: ThoVer Webproducties [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07,
Yeppers, it'll do that for you.
Cal
http://www.calevans.com
-Original Message-
From: Don [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 4:09 PM
To: php list
Subject: [PHP] question about PHP use
Hi,
I've been looking at using PHP but am unsure if it will
Ok this used to work but now I've done something to break it.
My info.php says that I have PHP support:
pdf
PDF Support enabled
PDFLib Version 3.03
CJK Font Support yes
In-memory PDF Creation Support yes
BUT when I try and run the clock test code, I get:
Fatal error: Call to undefined function
Why is this good design?
If I create a user object, populate it, kill the connection to the database
(or return it to the pool) and cache the object then I can retrieve it any
time I want without having to hit the database.
Not arguing, just curious as to your perspective.
Cal
http
What extensions and where can you get them?
Cal
http://www.calevans.com
p.s. love homesite use it for everything from HTML to Java to php.
-Original Message-
From: Wacks, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 10:59 AM
To: 'Egan'; [EMAIL PROTECTE
there's an implementation of PHP for IIS.
-Original Message-
From: Todd Cary [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 4:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP simulator
Is there a PHP simulator for NT? One that can be used for testing and
development?
Todd
Put a web cam on it and we've got a winner! :)
Cal
-Original Message-
From: Monte Ohrt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 4:21 PM
To: [EMAIL PROTECTED]; Brandon Orther
Subject: Re: [PHP] How can I get a random number
You can blow some ping pong balls a
>
2: in the last line, you try to echo $name. $name is defined within the
function testPassVar() and goes out of scope when that function is done At
this point in your script, $name does not exist.
Hope this helps,
Cal
http://www.calevans.com
-Original Message-
From: Abe [mailto:[EMAI
$url, $keyValuePairs)
A simpler method is to pass in a single key and value and let the function
add them and return you the newly munged URL.
function testPassVar($url, $key, $value) {
//won't work if it's the first pair. need to test for that!
return $url."&".$key.&quo
I think you are looking for printf. Check the manual. it won't hold it, but
you can make it PRINT it. (Which, I'm asumming, is what you really want)
Cal
http://www.calevans.com
-Original Message-
From: JB [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 9:09 AM
Don't reinvent the wheel. It will take you longer to write it than it will
to learn to admin majordomo or any of 10 other programs like it.
IMHO,
Cal
-Original Message-
From: Jason Beebe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 7:49 PM
To: [EMAIL PROTECTED]; [
HAR! :)
cal
-Original Message-
From: Tim Zickus [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 6:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] mixing HTML and PHP code
> that's why I didn't implement one of those keyword things in binarycloud.
> ergh.
P
How does it deal with sessions? Or do use store sessions in the database?
Cal
-Original Message-
From: Joe Stump [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 13, 2001 11:22 AM
To: Rasmus Lerdorf
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] load balancing with php/apache?
> h
When you say "handled by us" do you mean you:
1) Write the sess_* files to a shared drive
2) Store them in the database
3) ignore them totally, who needs users anyhow?
4) some other option?
Cal
http://www.calevans.com
-Original Message-
From: jeremy brand [mailto:[EMAIL
ouple of ways that you could use JavaScript to force a refresh of a window
that it has a handle to, upon an event. (Like pressing the submit button in
a browser.)
Cal
http://www.calevans.com
-Original Message-
From: Hendry Sumilo [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 14, 2001 1:
I agree. You've piqued my curiosity. Can you go into details?
Cal
http://.calevans.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 13, 2001 10:19 PM
To: jeremy brand
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] load balancing wit
don' get it. If you want the contract then I
would go JSP. If you don't want' it/need it, walk away.
Cal
http://.calevans.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 14, 2001 9:35 PM
To: PHP list
Subject: [PHP] PHP
I'd do it with JavaScript. Dynamically composed JavaScript if need be. But
it seems to me that it would be easier to do this on the client side.
Cal
http://www.calevans.com
-Original Message-
From: Tom Beidler [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 14, 2001 2:33 PM
To
a poorly tuned Oracle database.
My $0.02,
Cal
http://www.calevans.com
-Original Message-
From: Alex Black [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 14, 2001 7:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP vs JSP
http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.ht
$a= intvalue(10/3)
echo($a)
Cal
http://www.calevans.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 12:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] simple division.. but how?
if you want to do
10 / 3
i want it to show 3 and
I see:
...
checking whether to include Pdflib 3.x support... /usr/local/lib
no
...
I can't seem to figure out how to make it say YES!
Any help would be greatly appreciated.
Cal
Cal
http://www.calevans.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROT
You sir (or madam), are a god among men!
Thanks for the assist.
Cal
http://www.calevans.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jani Taskinen
Sent: Monday, January 15, 2001 3:59 PM
To: Cal Evans
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP
try a blank page with
as the only line.
Does that work?
Cal
http://www.calevans.com
-Original Message-
From: Phil Scopes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 5:01 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP locking up
I have installed PHP 4.0 with Apache
try:
http://www.zend.com/manual/function.eval.php
Cal
http://www.calevans.com
-Original Message-
From: Paul Cohen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 6:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP] String to Variable converstion
Hello all,
I am trying to build
I would try:
if (isset($fieldname) && empty($fieldname)){
// do something here with the variable
} else {
$fieldname="na";
} // if (isset($fieldname) && empty($fieldname))
Cal
http://www.calevans.com
-Original Message-
From: Jacky@lilst [mailto:[EMAIL
Yes, it can be done.
No it's not easy.
No, it's not advisable.
Mixing content like that is a recipe for disaster.
If you feel you absolutely must do it without creating dirs, consider
putting the content of the pages in a database.
Cal
http://www.calevans.com
-Origin
It's means that what's on the right is part of the object on the left.
i.e.
$myObject->myMethod();
fires the method myMethod() of the object $myObject.
echo $myObject->myAttribute;
displays the value of the attribute myAttribute of the object $myObject.
Clear as mu
$generic is an object. Somewhere you've got a line in your code that
instantiates it. (i.e. $generic = new ...)
Cal
http://www.calevans.com
-Original Message-
From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 1:18 PM
To: Cal Evans; PHP Mailing
mysql. Depending on
your database size, this may or may not work.
Cal
http://www.calevans.com
-Original Message-
From: Fang Li [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 3:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP] how to rename a database
Does anyone know how to rename a dat
Guessing here:
Define can't take a variable. It has to have a constant.
define("RUSER", 1);
would compile but not give you the results you want. I'm not sure you can do
what you want.
have you tried:
define("RUSER", '$REMOTE_USER');
Cal
http://
1 - 100 of 115 matches
Mail list logo