Simple, blank page with just content, thats the only true way,
Anyway why you wanna be backward compatible that far is beyond me cus
they handle HTML even worse so its a losing battle!,
use the CSS @import
rule for style sheets and older browsers will simply ignore the CSS, you
could then just
I think you need a \r\n between the headers,
Philip J. Newman wrote:
My code is this ...
// MAIL HEADERS.
$headers = "X-Priority: 1\n";
$headers .= "Return-path: <[EMAIL PROTECTED]>\n";
$headers .= "From: \"Philip Newman\" <[EMAIL PROTECTED]>\n";
Testing news reader
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey Coders,
I know there's a couple premade scripts to grab weather on hotscripts.com. I wanted to
know if anyone has a simple method to fetch the day's local weather from something
like yahoo. All I really need is the temperature, condition (rainy, sunny)and maybe
windspeed. If I could includ
on standard transaction servers where you post a string containing the
transaction info (card, name, amount, login, password, etc) do the
following:
get a merchant account
sign up for authorize.net, ccnow, ibill, etc.
use an application called cURL to post the info to the server from php.
dump th
this is as simple and complex as it gets.
session_start;
session_register("my_var");
now say we do:
$my_var = 5;
any script, page, whatever you serve that calls $my_var will return 5.
Once you change the variable, $my_var will now be that new value in every
bit of code.
All you have to do is
yes, that is what PHP does best (displaying dynamic content from a
database).
- Original Message -
From: Don <[EMAIL PROTECTED]>
To: php list <[EMAIL PROTECTED]>
Sent: Wednesday, February 07, 2001 2:08 PM
Subject: [PHP] question about PHP use
> Hi,
>
> I've been looking at using PHP but
To the best of my knowledge, they do the same thing. I believe echo was
started back in the early days of PHP. Print has now replaced it with more
functionality. Echo still exists because some people are used to it and for
compatibility with older code.
- Original Message -
From: Jeff Oi
Uhmm well, you don't have to use print to display HTML. If you did there
would be no reason for the tags. switches between HTML (which is
not parsed by the interpreter and PHP code (which is interpreted).
Basically, print is used when you have to print a variable.
For instance name.php
My
Hey,
Simple question. Breifly rumaged through the PHP docs and couldn't find this answer.
How do i force PHP to hold ending zero in a double?
Ie- if the price is 15.50, php will output it as 15.5 after it does the math. how do i
overcome this. thanks!
jason
Well... I think I probably owe most of the people on this list some serious cash in
consulting fees by now. But we're opensource, so I guess I'm off the hook, right? =)
Anyways, another question for you people. I'm on the last leg of designing this
e-commerce site. All I have left to design is
yea.. it worked. thanks.
- Original Message -
From: Shane McBride <[EMAIL PROTECTED]>
To: JB <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2001 9:44 PM
Subject: Re: [PHP] Session Errors, do you recognize?
> One more thing after looking
ne 14
any other ideas? =)
thanks
> You are missing a parentheses:
>
> if (!session_is_registered('cart') {
>
> correct:
> if (!session_is_registered('cart')) {
> ^
> -Original Message-
> From: JB [mail
ne 14
any other ideas? =)
thanks
> You are missing a parentheses:
>
> if (!session_is_registered('cart') {
>
> correct:
> if (!session_is_registered('cart')) {
> ^
> -Original Message-
> From: JB [mail
Hey, I keep getting the same error messages when trying to fire up sessions in this
code i wrote. i've written some test scripts to test sessions on my machine, and they
are working, so the problem must lie within my code. Here' what I'm getting, anyone
know how to resolve this?
Warning: Canno
html-kit... gets the job done. excellent support for a ton of languages.
- Original Message -
From: Cynic <[EMAIL PROTECTED]>
To: Philip Olson <[EMAIL PROTECTED]>
Cc: Boget, Chris <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2001 6:47 PM
Subject: RE: [PHP] lookin
I also forgot to mention. I am leaning towards using GET to send the session
ids. Many people have told me that customer penatration decreases, some
times significantly, when requiring cookies to use the cart. How would this
have an effect on my script? i will have to call the sessid in all of my
ok, this all looks good, but then I again I am having a problem figuring out
that code you wrote below. the code i'm attempting to write isn't going to
be complex. there's maybe 10 or 15 items going to be sold. it would be very
rare if the customer ever had 1 or 2 things in their basket, let alone
18 matches
Mail list logo