.
Can someone provide some depth to the mechanisms within the
header(location)?
Thanks in advance,
Chris Hubbard
[EMAIL PROTECTED]
www.wildcharacters.com
425 481 2020
php based web application development
[[ check out phalidate, a data validation class ]]
Y! [EMAIL PROTECTED]
MSN [EMAIL
John,
I think your best option is to convert their format to XML and then use the
XML to drive your quiz system.
Should be pretty straightforward to convert to XML, cause you don't have to
worry about exploding stuff. You just have to match patterns and use
str_replace.
Chris
-Original
Sara,
You're on the right track. You've created your functions, but they need
some work before they can be used.
Starting with getTax()
you've got a naming convention conflict, while not necessarily a problem,
it's bad style. Instead of $item as the parameter for the function, use
something like
Sara,
Try this:
$count = count ($Classes);
for($i=0; $i$count; $i++){
$CurrentIndexValue = key($Classes);
$CurrentContents = current($Classes);
echo option value='$CurrentIndexValue'$CurrentContents/option;
next($Classes);
}
instead of the for loop you're using.
Bas,
Looks interesting. But why would I use bhtml when I've got Smarty and
10,000 other templating systems to choose from?
I'm not interested in the vauge promises of speed. I'm only interested in
systems that make it easier for me to code. Smarty makes it easier for me
to code. How does bhtml
searched the MARC archives, I've searched Google, I've read the manual
and contributed notes.
Any suggestions?
Thanks in advance
Chris Hubbard
[EMAIL PROTECTED]
www.wildcharacters.com
425 481 2020
php based web application development
Y! [EMAIL PROTECTED]
MSN [EMAIL PROTECTED]
AIM ganeshacph
John,
thanks for the quick response. If it had been a snake it would have bit me.
Thanks. I was trying to do it the hard way.
Chris
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 1:20 PM
To: Chris Hubbard; [EMAIL PROTECTED] Php
Bas,
Based on your (somewhat limited) requirements, I recommend that you look at
using Uma.
http://sourceforge.net/projects/uma/
It's easy to use, and you can drop it into your application without any
trouble.
Chris
-Original Message-
From: Bas [mailto:[EMAIL PROTECTED]
Sent: Friday,
/rfc2616/rfc2616 doesn't have the word
refresh on it.
this page: http://us4.php.net/manual/en/function.headers-sent.php does have
the word refresh but it's not relevant.
Thanks in advance.
Chris Hubbard
[EMAIL PROTECTED]
www.wildcharacters.com
425 481 2020
php based web application development
Y
Jake,
it would be helpful if we could see your code.
That said...
first you need to identify what information you need to track in the
sessions, and whether you're going to use php sessions (the $_SESSIONS
array) or build your own mysql based session tracker.
to use php sessions:
you will need
header (Refresh: 0; url=login.php);
}
}
-Original Message-
From: Mike Brum [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 4:31 PM
To: 'Chris Hubbard'; [EMAIL PROTECTED]
Subject: RE: [PHP] Sessions Question
One quick note - if you're starting a session
Jake,
given that I can't see what is in config.php time.php, I'll focus on your
index.php. I assume that the issues I point out will be applicable to
config and time also.
this:
?
should be:
?php
include(config.php);
include(time.php);
assuming that $SuBmIt and inout and username and password
Raquel,
this is an HTML question, not PHP. And here's the answer:
The following goes in the head section of your html:
link href=path/to/style.css rel=stylesheet type=text/css
-Original Message-
From: Raquel Rice [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2003 10:13 AM
To:
I think the BEST php editor out there is Microsoft's Visual Studio.
Here's some of the reasons I think Visual Studio is the BEST
1. None of that annoying syntax highlighting that you find in many other
editors
2. Unlimited technical support (at only $245 per call)
3. At $1000 - $2500 per copy
Vince,
You also need to escape the $, so instead of
. if ($_GET..
use
. if (\$_GET.
You may have to escape the single quotes.
I have written two pretty lame code generators. The first one did not use
templates, the second one does. You've got the lines of code in your
builder script.
I
recommend htmlarea, it's _javascript_, not java.
http://www.interactivetools.com/products/htmlarea/
there's a couple similar scripts available.
chris
-Original Message-From: Todd Cary
[mailto:[EMAIL PROTECTED]Sent: Friday, September 05, 2003
6:48 AMTo: [EMAIL
I'm working on a code generation project. Is there anyone on the list who
has experience building these things, and, would like to discuss
architecture/patterns/structure of code generation off-list?
Chris Hubbard
[EMAIL PROTECTED]
www.wildcharacters.com
425 481 2020
php based web application
: Scott Fletcher [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 9:30 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: PHP code generation
What are the example of code generation project? Are you referring to the
generation of the random characters?
Chris Hubbard [EMAIL PROTECTED] wrote
Jacob,
Yes I've used imagemagick with php. I found that none of the online
documentation worked for me. I was unable to use the imagemagick class and
the tutorials seemed to refer to older versions.
That being said, here's some code that does work, maybe you can extrapolate
from it.
Feel free
Now this is funny. John, you've captured the irony of a number of recent
posts. Congrats. Been a while since I laughed this hard. Cobol. egad.
That's a nice touch.
Thanks for the levity.
chris
-Original Message-
From: John Manko [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24,
, July 24, 2003 2:24 PM
To: Chris Hubbard
Cc: John Manko; PHP General
Subject: RE: [PHP] PHP should know my data!
Unfortunately I don't think some people got the joke. Next thing you
know their going to complain that PHP should have told them the
punchline ;)
Cheers,
Rob.
On Thu, 2003-07-24 at 18:17
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of J. Cox
Sent: Thursday, July 24, 2003 8:26 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: PHP should know my data!
Chris Hubbard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hmm. You're right. Maybe something like
Mike,
the easiest way to do this would be to use smarty. (smarty.php.net)
abstract out your language specific strings into a file that is called by
the template. Use a variable to define the language and use an assign to
dynamically change the language file in the template.
Then build a function
Not sure why you don't want to submit the form. But if you really really
don't want to submit the form then you have to use javascript.
If you're willing to submit the form, then this is relatively simple,
depending on how you want to display the data.
if you're willing to submit, then step
24 matches
Mail list logo