[PHP] Re: What Works Works Validator

2005-06-02 Thread JB
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

[PHP] Test message

2003-06-15 Thread jb
Testing news reader -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] / [Newman] When i send an email it ...

2003-06-15 Thread jb
I think you need a \r\n between the headers, Philip J. Newman wrote: My code is this ... ?php // MAIL HEADERS. $headers = X-Priority: 1\n; $headers .= Return-path: [EMAIL PROTECTED]\n; $headers .= From: \Philip Newman\ [EMAIL PROTECTED]\n;

Re: [PHP] HOWTO handle sessions ?

2001-02-09 Thread JB
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

Re: [PHP] Credit Cards

2001-02-09 Thread JB
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

[PHP] Fetching Local Weather

2001-02-09 Thread JB
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

Re: [PHP] html -echo-print

2001-02-07 Thread JB
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

Re: [PHP] html -echo-print

2001-02-07 Thread JB
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

Re: [PHP] question about PHP use

2001-02-07 Thread JB
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 am

[PHP] Walking Through Array Values, Simple?

2001-01-11 Thread JB
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

[PHP] Session Errors, do you recognize?

2001-01-10 Thread JB
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:

Re: [PHP] Session Errors, do you recognize?

2001-01-10 Thread JB
? =) thanks You are missing a parentheses: if (!session_is_registered('cart') { correct: if (!session_is_registered('cart')) { ^ -Original Message- From: JB [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 10, 2001 6:05 AM To: [EMAIL PROTECTED